Class: ForemanCveScanner::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- ForemanCveScanner::Engine
- Defined in:
- lib/foreman_cve_scanner/engine.rb
Overview
Rails engine for the Foreman CVE Scanner plugin.
Class Method Summary collapse
Class Method Details
.register_rex_features ⇒ Object
50 51 52 53 54 55 56 57 |
# File 'lib/foreman_cve_scanner/engine.rb', line 50 def self.register_rex_features RemoteExecutionFeature.register( :run_cve_scan, N_('Run a CVE scan on a host'), description: N_('Run CVE scan on host'), host_action_button: true ) end |