Class: TCellAgent::SensorEvents::CommandInjectionMatchEvent
- Inherits:
-
Hash
- Object
- Hash
- TCellAgent::SensorEvents::CommandInjectionMatchEvent
- Defined in:
- lib/tcell_agent/sensor_events/command_injection.rb
Instance Method Summary collapse
-
#initialize(rule_id, command) ⇒ CommandInjectionMatchEvent
constructor
A new instance of CommandInjectionMatchEvent.
Constructor Details
#initialize(rule_id, command) ⇒ CommandInjectionMatchEvent
Returns a new instance of CommandInjectionMatchEvent.
7 8 9 10 11 12 |
# File 'lib/tcell_agent/sensor_events/command_injection.rb', line 7 def initialize(rule_id, command) self["rule_id"] = rule_id if command self["command"] = command end end |