Pull data from the Cisco Umbrella API
Overview
Use the HTTP Pull Listener to collect data from the Cisco Umbrella API. Currently, we support the reports endpoint.
HTTP Pull Listener configuration
In Falcon Onum, go to the Listeners area and click New Listener > HTTP Pull. Give a name to your new Listener and enter the following data:
Parameters
Add the following parameter:
Name -
domainValue - Enter your Cisco Umbrella domain name.
Secrets
You must define these credentials in Onum:
cisco_authwill reference your Umbrella Token Authorization API.
To do it, click Add element and enter a Name for the secret (in this case, cisco_auth). Then, click the Value field and select 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.
You can now select the secret you just created in the Value field list.
Learn more about secrets in Onum in this article.
Setup
After entering the required parameters and secrets, you can choose to manually enter the rest of configuration fields, or simply paste the given YAML:
Toggle ON the Config as YAML option to enable a free text field where you can paste the following YAML:
Temporal Window
Toggle ON to add a temporal window for events. This repeatedly shifts the time window over which data is collected.
Duration* -
5mOffset* -
5mFormat* -
Epoch
Authentication
Toggle ON to configure the authentication phase. This is required to get the token to pull data using OAuth.
Type* -
TokenToken Retrieve Based Authentication
Request
Method* -
POSTURL* -
https://${parameters.domain}/auth/v2/token
Headers
Name -
Content-typeValue -
application/x-www-form-urlencodedName -
AcceptValue -
application/jsonName -
AuthorizationValue -
${secrets.cisco_auth}
Body Type* -
UrlEncodedBody Params
Name -
grant_typeValue -
client_credentials
Token Path* -
.access_tokenAuth Injection
In* -
headerName* -
authorizationPrefix -
'Bearer 'Suffix -
''
Retry
Toggle ON and configure the following parameters:
Retry type* -
FixedInterval* -
2s
Collection Phase
Pagination Type* -
Offset/LimitZero Index* -
falseLimit* -
100Request
Response Type -
JSONMethod* -
GETURL* -
https://${parameters.domain}/reports/v2/activityQuery Params
Name -
fromValue -
${temporalWindow.from}Name -
toValue -
${temporalWindow.to}Name -
offsetValue -
${pagination.offset}Name -
limitValue -
${pagination.limit}
Output
Select* -
.dataMap -
.Output Mode* -
element
When you're done, click Create labels to move on to the next step and define the required Labels if needed.
Last updated
Was this helpful?

