Class: Scanny::Checks::Session::SessionSecureCheck

Inherits:
Check
  • Object
show all
Defined in:
lib/scanny/checks/session/session_secure_check.rb

Instance Method Summary collapse

Methods inherited from Check

#compiled_pattern, #issue, #visit

Instance Method Details

#check(node) ⇒ Object



9
10
11
# File 'lib/scanny/checks/session/session_secure_check.rb', line 9

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

#patternObject



5
6
7
# File 'lib/scanny/checks/session/session_secure_check.rb', line 5

def pattern
  pattern_session_settings
end

#strict?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/scanny/checks/session/session_secure_check.rb', line 13

def strict?
  true
end