Collect data from OKTA
Overview
Get system logs using the OKTA API.
Configuration
Parameters
parameters.mydomainwill store the value of the API URL, excluding the endpoint paths like or/api/v1/logs


Secrets
Auth Token (
OktaAuthorization)


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 OKTA System Log fields, or simply paste the given YAML:
Toggle this ON to enable a free text field where you can paste your 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 -
2006-01-02T15:04:05
Authentication Phase
Off
Enumeration Phase
Off
Collection Phase
Pagination Type* -
webLinkingZero index* - false
Limit* - 100
Request
Response Type* -
JSONMethod* -
GET
URL* -
https://${parameters.myDomain}/api/v1/logsHeaders
Name - Accept
Value -
application/jsonName - Content-Type
Value -
application/jsonName - Authorization
Value -
SSWS ${secrets.OktaAuthorization}
Query Params
Name - since
Value -
${temporalWindow.from}Name - Content-Type
Value -
${temporalWindow.to}
Output
Select -
.Map -
.Output Mode -
element
This HTTP Pull Listener now uses the data export 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?

