Collect data from Dropbox
Overview
Get a list of event streams from Dropbox.
Configuration
Parameters
parameters.domainwill store the value of the API URL, excluding the endpoint paths like/oauth2/tokenor/2/team_log/get_events


Secrets
refresh_tokenwill reference the Dropbox refresh token.secrets.client_idwill reference the Client IDsecrets.client_secretwill reference the Client Secret.


To add a Secret, open the Secret fields and click New secret:
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 corresponding fields.
After entering the required parameters and secrets, you can choose to manually enter the Falcon API Alerts fields, or simply paste the given YAML:
Toggle this ON to enable a free text field where you can paste your CrowdStrike Falcon API YAML.
Temporal Window
Toggle ON to add a temporal window for events. This repeatedly shifts the time window over which data is collected.
Duration - 5 minutes (
5m) as default, adjust based on your needs.Offset -
5mFormat -
RFC3339
Authentication Phase
Toggle ON to configure the authentication phase. This is required to get the token to pull data using OAuth.
Type* -
tokenRequest Method* -
POSTURL* -
${parameters.domain}/oauth2/tokenHeaders
Name -
Content-typeValue -
application/x-www-form-urlencoded
BodyType* -
UrlEncodedBody params
Name -
grant_typeValue -
refresh_tokenName -
refresh_tokenValue -
${secrets.refresh_token}Name -
client_idValue -
${secrets.client_id}Name -
client_secretValue -
${secrets.client_secret}
Token Path* -
.access_tokenAuth Injection
In* -
headerName* -
authorizationPrefix -
BearerSuffix -
''
Enumeration Phase
OFF
Collection Phase
Pagination Type* -
cursorCursor -
.cursorInitial Request
Method* -
POSTURL* -
https://${parameters.domain}/2/team_log/get_eventsHeaders -
Name -
Content-TypeValue -
application/json
Body Type -
rawBody Raw -
| { "time": { "start_time": "${temporalWindow.from}", "end_time": "${temporalWindow.to}" } }
Next Request
Method* -
POSTURL* -
https://${parameters.domain}/2/team_log/get_events/continueHeaders -
Name -
Content-TypeValue -
application/json
Body Type -
rawBody Raw -
| { "cursor": "${pagination.cursor}" }
Output
Select -
.eventsMap -
.Output Mode -
element
This HTTP Pull Listener now uses the business API to extract events.
Click Create labels to move on to the next step and define the required Labels if needed.
Last updated
Was this helpful?

