Class: Scanny::Checks::SystemTools::TarCheck
- Inherits:
-
Check
- Object
- Check
- Scanny::Checks::SystemTools::TarCheck
show all
- Includes:
- Helpers
- Defined in:
- lib/scanny/checks/system_tools/tar_check.rb
Instance Method Summary
collapse
Methods included from Helpers
#build_pattern_exec_command
Methods inherited from Check
#compiled_pattern, #issue, #strict?, #visit
Instance Method Details
#check(node) ⇒ Object
11
12
13
|
# File 'lib/scanny/checks/system_tools/tar_check.rb', line 11
def check(node)
issue :medium, warning_message, :cwe => 88
end
|
#pattern ⇒ Object
7
8
9
|
# File 'lib/scanny/checks/system_tools/tar_check.rb', line 7
def pattern
build_pattern_exec_command(/tar\s+/)
end
|