lib/codesake/dawn/kb/owasp_ror_cheatsheet/csrf.rb in codesake-dawn-1.0.0 vs lib/codesake/dawn/kb/owasp_ror_cheatsheet/csrf.rb in codesake-dawn-1.0.1

- old
+ new

@@ -14,10 +14,11 @@ :applies=>["rails"], :glob=>"application_controller.rb", :aux_links=>["https://www.owasp.org/index.php/Ruby_on_Rails_Cheatsheet"], :message=>message, :attack_pattern => ["protect_from_forgery"], - :negative_search=>true + :negative_search=>true, + :mitigation=>"Make sure you are using Rails protect_from_forgery facilities in application_controller.rMake sure you are using Rails protect_from_forgery facilities in application_controller.rb" }) # @debug = true end end