Get Events
POST /Command/GetEvents
Gets a list of filtered events with specified fields.
Request
Authentication: API keys or JSON web tokens (JWT)
Body Parameters
Parameter Name | Type | Required/Optional | Description |
---|---|---|---|
Username |
| Required | The username of your D3 SOAR account. |
Site |
| Required | The D3 SOAR site to run the remote command. |
Filter |
| Optional | These condition queries filter data. Key "field" indicates the selected field in the event, key " operator " indicates the condition operator applied to the field and key "value" is the desired value. Valid values for key "field" are: ID, EventID, Type, RiskLevel, TimeofOccurrence, IntakeTime, Status, Datasource, Eventsource, EventFileName, LastEscalatedBy, Event Raw Data. "AND" logic applies between JSON objects in the same array, "OR" logic applies between different arrays. (Input must be in JSON format) Available operators: ["<",">","=","<=",">=","!=","LIKE","IS EMPTY","IS NOT EMPTY"] |
Fields |
| Optional | Select the event field keys to be displayed in the result. The keys available for selection are listed below. In the case of an empty input, only general keys will be selected for each resulting event. General keys are every key in the list below except for "Event Raw Data". (Input must be in JSON format) |
Start Time |
| Required | The start of the date range for events. Based on 'IntakeTime' (UTC) of the event. |
End Time |
| Required | The end of the date range for events. Based on 'Intake Time' (UTC) of the event. |
Output Format |
| Required | 1 - CSV, 2 - JSON, 3 - CSV link, 4 - JSON link |
Page Index |
| Optional | The page number to receive results from. The default page index is 0. Note: if no value or 0 is given for both Page Index and Page Size, all events will be fetched. |
Page Size |
| Optional | The maximum number of incidents to fetch, ranges from 1 to 1000. If no value or 0 is given, a default page size of 100 will be applied. Note: if no value or 0 is given for both Page Index and Page Size, all events will be fetched. |
READER NOTE
Fields represents an input parameter as an array of strings. Each field in this array is optional. If you include these fields, the response will contain the specified fields. The options are:
ID, EventID, Type, Tactic, Technique, RiskLevel, TimeofOccurrence, IntakeTime, Status, Description, Site, Datasource, Eventsource, Username, Sourceip, Targetip, Integrationconnection, EventFileName, LastEscalatedBy, Event Raw Data, LinkedIncidents
READER NOTE
The fields "Event Raw Data" can contain large amounts of data. Use these fields cautiously and consider using pagination input parameters (page index and page number) to manage the data volume efficiently.
READER NOTE
For Date/Time parameters Start Time, End Time:
All times and timestamps are in this format: yyyy-MM-dd HH:mm:ss.
For example, May 15, 2024, 2:32 PM should be 2024-05-15 14:32:00.