Class: TCellAgent::SensorEvents::CommandInjectionMatchEvent

Inherits:
Hash
  • Object
show all
Defined in:
lib/tcell_agent/sensor_events/command_injection.rb

Instance Method Summary collapse

Constructor Details

#initialize(rule_id, command) ⇒ CommandInjectionMatchEvent

Returns a new instance of CommandInjectionMatchEvent.



6
7
8
9
# File 'lib/tcell_agent/sensor_events/command_injection.rb', line 6

def initialize(rule_id, command)
  self['rule_id'] = rule_id
  self['command'] = command if command
end