Class: Scanny::Checks::HTTPBasicAuthCheck
- Inherits:
-
Check
- Object
- Check
- Scanny::Checks::HTTPBasicAuthCheck
show all
- Defined in:
- lib/scanny/checks/http_basic_auth_check.rb
Instance Method Summary
collapse
Methods inherited from Check
#compiled_pattern, #issue, #strict?, #visit
Instance Method Details
#check(node) ⇒ Object
11
12
13
|
# File 'lib/scanny/checks/http_basic_auth_check.rb', line 11
def check(node)
issue :info, warning_message, :cwe => [301, 718]
end
|
#pattern ⇒ Object
4
5
6
7
8
9
|
# File 'lib/scanny/checks/http_basic_auth_check.rb', line 4
def pattern
[
pattern_basic_auth,
pattern_http_authentication
].join("|")
end
|