Class: Scanny::Checks::ResetSessionCheck

Inherits:
Check
  • Object
show all
Defined in:
lib/scanny/checks/reset_session_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/reset_session_check.rb', line 8

def check(node)
  issue :info, warning_message, :cwe => 384
end

#patternObject



4
5
6
# File 'lib/scanny/checks/reset_session_check.rb', line 4

def pattern
  pattern_reset_session
end