Class: Scanny::Checks::Sql::SanitizeCheck
- Defined in:
- lib/scanny/checks/sql_injection/sanitize_sql_check.rb
Overview
Check for use of the “sanitize_sql” method
Instance Method Summary collapse
Methods inherited from Check
#compiled_pattern, #issue, #strict?, #visit
Instance Method Details
#check(node) ⇒ Object
12 13 14 |
# File 'lib/scanny/checks/sql_injection/sanitize_sql_check.rb', line 12 def check(node) issue :info, , :cwe => 89 end |
#pattern ⇒ Object
8 9 10 |
# File 'lib/scanny/checks/sql_injection/sanitize_sql_check.rb', line 8 def pattern pattern_sanitize_sql end |