Skip to content

Commit 2bfa56e

Browse files
authored
Merge pull request #24 from inetsys/nginx-control-11
Duplicated control 'nginx-11'
2 parents e1b9439 + e1588cb commit 2bfa56e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

controls/nginx_spec.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -219,15 +219,6 @@
219219
end
220220
end
221221

222-
control 'nginx-11' do
223-
impact 1.0
224-
title 'Disable content-type sniffing'
225-
desc 'It prevents browser from trying to mime-sniff the content-type of a response away from the one being declared by the server. It reduces exposure to drive-by downloads and the risks of user uploaded content that, with clever naming, could be treated as a different content-type, like an executable.'
226-
describe parse_config_file(nginx_hardening, options_add_header) do
227-
its('add_header') { should include 'X-Content-Type-Options nosniff' }
228-
end
229-
end
230-
231222
control 'nginx-12' do
232223
impact 1.0
233224
title 'TLS Protocols'

0 commit comments

Comments
 (0)