Before submitting events to the Director for processing, they need to be translated into the data structure that the Director expects. This is a dictionary of key value pairs where the key names must correspond to valid fields for the event objects in Director.
The following sections provides details for the fields used and criteria requirements to match events to Job Actions.
Event Fields
Some integrations have field mappings sections that tells the platform which fields from the integration to match against. To improve event matching to Job Actions, it is best practice to populate as many of the fields as possible for each event. The following integrations have these field mapping sections: Azure Sentinel, Azure LogAnalytics, Elasticsearch, FireEye Helix, Graylog, LogRhythm Elasticsearch, Logzilla, and Securonix SNYPR. There are other integrations, such as Splunk and Splunk ES, that will require similar configuration in the integration itself.
| Field Name | Description |
|---|---|
computer | An optional field for the computer name used when matching Host CLI Actions. When present, this is checked against the hostname known for the Actor involved in the Action. |
description | A human-friendly description or name of the event. |
dest_ip | For network events, the destination IP Address of the event. This is an optional field, but if present it must be a string of at most 255 characters. It can be an IP address in dotted-quad format, a hostname, or an FQDN. |
dest_port | For network events, the destination port of the event. This is an optional field that should have an integer between 0 and 65535 when populated. |
email_recipient | For events created in response to email Actions, this could be the username or email address of the email sender. |
email_sender | For events created in response to email Actions, this could be the username or email address of the email sender. |
email_subject | For events created in response to email Actions, this could be the subject of the email that was sent. |
filehashes | Optional field for events that contain one or more hashes of files. If present, it is used when matching Actions where the hashes of the file is involved. This can contain multiple hashes, separated by a pipe character |, such as when an event has an MD5 and a SHA256 value. |
host | This is what is displayed as the event source in the Director UI. In most cases it would be the sensor/device that generated the event, but it could be something different based on the needs of a specific integration. |
raw_event | Whenever possible, this would be the original raw event (eg, in the case of a SIEM, it might be the log line received over syslog). If that's not available, a JSON dump of the raw event fields is typically used. |
sid | A short identifier of the type of event. This is strictly optional and is not displayed in the UI or used for matching an event to a Job Action. |
src_ip | For network events, the source IP Address of the event. It can be an IP address in dotted-quad format, a hostname, or an FQDN. |
src_port | For network events, the source port of the event. This is an optional field that should have an integer between 0 and 65535 when populated. |
start_time | The timestamp for the event. This should be a string in ISO8601 format to avoid problems with timezone differences. |
url | Optional field that currently isn't displayed in the UI anywhere. However, it is used for matching Malicious DNS Query Actions. If you run that type of Action, the field should be the domain name. |
user | An optional field for events that contain a username, for example events from certain endpoint products might have this. This is not currently shown in the UI or used for matching Job Actions. |
Network Action Matching Criteria
There are specific criteria an event must meet to match a Network Job Action. In the following table, the Match Type column contains the string the platform uses to indicate the match. These strings can be seen in an API response.
| Match Type | Description |
|---|---|
actor_address/time/filehash | This match type is only available for Job Actions that use a file from the File Library.
|
actor_address/time/port |
|
actor_address/time/single_port | This match type is often encountered when the Job Action ran through a proxy to an AWS Actor.
|
address/port |
|
address/port/time |
|
address/time |
|
address/time/job_action_no_ports |
|
dns:time/domain | The Job Action is a Malicious DNS Query.
|
email:address/time | The Job Action is an email Action
|
email:subject/uid | The Job Action is an email Action.
|
port_scan:address/time/single_port | The Job Action is a port scan Action.
|
Host CLI Action Matching Criteria
Host CLI Actions have a specific set of criteria that an event must meet that is similar, but different from Network Job Actions. In the following table, the Match Type column contains the string the platform uses to indicate the match. These strings can be seen in an API response.
| Match Type | Description |
|---|---|
host_cli:host/time |
|
| host_cli:host/time/filehash |
|
host_cli:ip/time |
|