Class: Scanny::Checks::SSL::VerifyCheck

Inherits:
Check
  • Object
show all
Defined in:
lib/scanny/checks/ssl/verify_check.rb

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/ssl/verify_check.rb', line 12

def check(node)
  issue :high, warning_message, :cwe => [296, 297, 298, 299, 300, 599]
end

#patternObject



5
6
7
8
9
10
# File 'lib/scanny/checks/ssl/verify_check.rb', line 5

def pattern
  [
    pattern_ssl_verify_none,
    pattern_ca_file
  ].join("|")
end