Class: Scanny::Checks::SystemTools::GpgUsageCheck
- Inherits:
-
Check
- Object
- Check
- Scanny::Checks::SystemTools::GpgUsageCheck
show all
- Includes:
- Helpers
- Defined in:
- lib/scanny/checks/system_tools/gpg_usage_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
15
16
17
|
# File 'lib/scanny/checks/system_tools/gpg_usage_check.rb', line 15
def check(node)
issue :info, warning_message
end
|
#pattern ⇒ Object
7
8
9
10
11
12
13
|
# File 'lib/scanny/checks/system_tools/gpg_usage_check.rb', line 7
def pattern
[
pattern_gpg_class,
pattern_gpg_method,
build_pattern_exec_command('gpg')
].join("|")
end
|