You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.
[root@hydranorth hydranorth]# dawn .
16:25:38 [!] dawn: Owasp Ror CheatSheet: Security Related Headers check failed
16:25:38 [$] dawn: Severity: info
16:25:38 [$] dawn: Priority: unknown
16:25:38 [$] dawn: Description: To set a header value, simply access the response.headers object as a hash inside your controller (often in a before/after_filter). Rails 4 provides the "default_headers" functionality that will automatically apply the values supplied. This works for most headers in almost all cases.
16:25:38 [$] dawn: Solution: Use response headers like X-Frame-Options, X-Content-Type-Options, X-XSS-Protection in your project.
16:25:38 [$] dawn: Evidence:
16:25:38 [$] dawn: {:filename=>"./spec/controllers/users_spec.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./spec/controllers/users_controller_spec.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/application_controller.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/catalog_controller.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/users_controller.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/generic_files_controller.rb", :matches=>[]}
The text was updated successfully, but these errors were encountered:
gem install dawnscanner
[root@hydranorth hydranorth]# dawn .
16:25:38 [!] dawn: Owasp Ror CheatSheet: Security Related Headers check failed
16:25:38 [$] dawn: Severity: info
16:25:38 [$] dawn: Priority: unknown
16:25:38 [$] dawn: Description: To set a header value, simply access the response.headers object as a hash inside your controller (often in a before/after_filter). Rails 4 provides the "default_headers" functionality that will automatically apply the values supplied. This works for most headers in almost all cases.
16:25:38 [$] dawn: Solution: Use response headers like X-Frame-Options, X-Content-Type-Options, X-XSS-Protection in your project.
16:25:38 [$] dawn: Evidence:
16:25:38 [$] dawn: {:filename=>"./spec/controllers/users_spec.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./spec/controllers/users_controller_spec.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/application_controller.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/catalog_controller.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/users_controller.rb", :matches=>[]}
16:25:38 [$] dawn: {:filename=>"./app/controllers/generic_files_controller.rb", :matches=>[]}
The text was updated successfully, but these errors were encountered: