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.



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