Class: Scanny::Checks::DenialOfServiceCheck
- Inherits:
-
Check
- Object
- Check
- Scanny::Checks::DenialOfServiceCheck
show all
- Defined in:
- lib/scanny/checks/denial_of_service_check.rb
Instance Method Summary
collapse
Methods inherited from Check
#compiled_pattern, #issue, #strict?, #visit
Instance Method Details
#check(node) ⇒ Object
8
9
10
|
# File 'lib/scanny/checks/denial_of_service_check.rb', line 8
def check(node)
issue :medium, warning_message, :cwe => 400
end
|
#pattern ⇒ Object
4
5
6
|
# File 'lib/scanny/checks/denial_of_service_check.rb', line 4
def pattern
pattern_find_with_like
end
|