Event
Overview
Get a list of all or filtered events.
Configuration
Parameters
Domain (
netskopeDomain)Index (
netskopeIndex) - The index parameter in the Netskope API for Data Export is used to:Uniquely identify an export session.
Prevent multiple API consumers from overlapping their collections.
Allow incremental paging without losing events.
Secrets


After entering the required parameters and secrets, you can choose to manually enter the Netskope API Alerts fields, or simply paste the desired YAML.
Configure as YAML
withTemporalWindow: true
temporalWindow:
duration: 5m
offset: 0
tz: UTC
format: Epoch
withAuthentication: false
withEnumerationPhase: false
collectionPhase:
paginationType: "cursor"
cursor: ".timestamp_hwm"
initialRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/alert?index=${parameters.netskopeIndex}&operation=${temporalWindow.from}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
nextRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/alert?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: element withTemporalWindow: true
temporalWindow:
duration: 5m
offset: 0
tz: UTC
format: Epoch
withAuthentication: false
withEnumerationPhase: false
collectionPhase:
paginationType: "cursor"
cursor: ".timestamp_hwm"
initialRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/application?index=${parameters.netskopeIndex}&operation=${temporalWindow.from}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
nextRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/application?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: element withTemporalWindow: true
temporalWindow:
duration: 5m
offset: 0
tz: UTC
format: Epoch
withAuthentication: false
withEnumerationPhase: false
collectionPhase:
paginationType: "cursor"
cursor: ".timestamp_hwm"
initialRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/audit?index=${parameters.netskopeIndex}&operation=${temporalWindow.from}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
nextRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/audit?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: element withTemporalWindow: true
temporalWindow:
duration: 5m
offset: 0
tz: UTC
format: Epoch
withAuthentication: false
withEnumerationPhase: false
collectionPhase:
paginationType: "cursor"
cursor: ".timestamp_hwm"
initialRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/incident?index=${parameters.netskopeIndex}&operation=${temporalWindow.from}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
nextRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/incident?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: element withTemporalWindow: true
temporalWindow:
duration: 5m
offset: 0
tz: UTC
format: Epoch
withAuthentication: false
withEnumerationPhase: false
collectionPhase:
paginationType: "cursor"
cursor: ".timestamp_hwm"
initialRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/infrastructure?index=${parameters.netskopeIndex}&operation=${temporalWindow.from}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
nextRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/infrastructure?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: element withTemporalWindow: true
temporalWindow:
duration: 5m
offset: 0
tz: UTC
format: Epoch
withAuthentication: false
withEnumerationPhase: false
collectionPhase:
paginationType: "cursor"
cursor: ".timestamp_hwm"
initialRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/network?index=${parameters.netskopeIndex}&operation=${temporalWindow.from}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
nextRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/network?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: element withTemporalWindow: true
temporalWindow:
duration: 5m
offset: 0
tz: UTC
format: Epoch
withAuthentication: false
withEnumerationPhase: false
collectionPhase:
paginationType: "cursor"
cursor: ".timestamp_hwm"
initialRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/page?index=${parameters.netskopeIndex}&operation=${temporalWindow.from}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
nextRequest:
method: GET
url: "https://${parameters.domain}/api/v2/events/dataexport/events/page?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: element Manually Configure
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 - initial offset should be
0(the latest alert).Format -
Epoch
Authentication Phase
OFF
Enumeration Phase
OFF
Collection Phase
Pagination Type* -
cursorCursor Selector* -
.timestamp_hwmInitial Request
Method* -
GETURL* -
https://${parameters.domain}/api/v2/events/dataexport/events/INSERT NAME FROM YAML?index=${parameters.netskopeIndex}&operation=${temporalWindow.from}Headers -
Name -
AcceptValue -
application/jsonName -
Netskope-Api-TokenValue -
${secrets.netskopeApiToken}
Next Request
Method* -
GETURL* -
https://${parameters.domain}/api/v2/events/dataexport/events/INSERT NAME?operation=next&index=${parameters.netskopeIndex}Headers -
Name -
AcceptValue -
application/jsonName -
Netskope-Api-TokenValue -
${secrets.netskopeApiToken}
Body type* - there is no required body type because the parameters are included in the URL. However, these fields are mandatory, so select
rawand enter the{}placeholder.
Output
Select -
.resultMap -
.Output Mode -
element


Click Create labels to move on to the next step and define the required Labels if needed.
Last updated
Was this helpful?

