Threats
Overview
Returns the audit events matching security requests.
Configuration
Parameters
Domain (
domain)
Secrets
Client Id (
client_id)Client Secret (
client_secret)
Open the Secret fields and click New secret to create a new one:
Give the secret a Name.
Turn off the Expiration date option.
Click Add new value and paste the secret corresponding to the value.
Click Save.


Learn more about secrets in Onum in this article.
You can now select the secret you just created in the corresponding fields.
After entering the required parameters and secrets, you can choose to manually enter the fields, or simply paste the given YAML.
Configure as YAML
Manually configure
All parameters are the same, except the URLs in the request fields, which you change according to the type
Events - https://${parameters.domain}/threats/v1/events
SIEM Events - https://${parameters.domain}/siem/v1/events/cg
Temporal Window
Toggle ON to add a temporal window for events. This repeatedly shifts the time window over which data is collected.
Duration - 1 minute
Offset - initial offset should be
1mFormat -
2006-01-02T15:04:05Z
Authentication Phase
Toggle ON to set the Authentication settings.
Type* -
tokenRequest Method* -
POSTURL* -
https://${parameters.domain}/oauth/tokenHeaders
Name -
Content-typeValue -
application/x-www-form-urlencodedName -
AcceptValue -
application/json
BodyType* -
UrlEncodedBody params
Name -
client_idValue -
${secrets.client_id}Name -
client_secretValue -
${secrets.client_secret}Name -
grant typeValue -
client_credentials
Token Path* -
.access_tokenAuth Injection
In* -
headerName* -
authorizationPrefix -
BearerSuffix -
''
Enumeration Phase
OFF
Collection Phase
Pagination Type* -
cursorCursor Selector* -
.meta.nextPageInitial Request
Method* -
GETURL* - INSERT URL HERE
Headers -
Name -
AcceptValue -
application/jsonName -
Content-TypeValue -
application/json
Query Params
Name -
timestampRangeStartsAtValue -
${temporalWindow.from}Name -
timestampRangeEndsAtValue -
${temporalWindow.to}Name -
pageSizeValue -
50
Next Request
Method* -
GETURL* - INSERT URL HERE
Headers -
Name -
AcceptValue -
application/jsonName -
Content-TypeValue -
application/json
Query Params
Name -
timestampRangeStartsAtValue -
${temporalWindow.from}Name -
timestampRangeEndsAtValue -
${temporalWindow.to}Name -
pageSizeValue -
50Name -
pageTokenValue -
${pagination.cursor}
Output
Select -
.valueMap -
.Output Mode -
element
This HTTP Pull Listener now uses the data export API to extract audit events.
Click Create labels to move on to the next step and define the required Labels if needed.
Last updated
Was this helpful?

