Alert Endpoints
Overview
Get a list of all or filtered alerts. The alerts listed are what remains after alert exclusions are applied by Netskope.
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/alerts/compromisedcredential?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/alerts/compromisedcredential?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: elementwithTemporalWindow: 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/alerts/ctep?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/alerts/ctep?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: elementwithTemporalWindow: 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/alerts/dlp?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/alerts/dlp?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: elementwithTemporalWindow: 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/alerts/malsite?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/alerts/malsite?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/alerts/malware?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/alerts/malware?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: elementwithTemporalWindow: 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/alerts/policy?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/alerts/policy?operation=next&index=${parameters.netskopeIndex}"
headers:
- name: Accept
value: application/json
- name: Netskope-Api-Token
value: "${secrets.netskopeApiToken}"
output:
select: ".result"
map: "."
outputMode: element mwithTemporalWindow: 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/alerts/quarantine?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/alerts/quarantine?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/alerts/remediation?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/alerts/remediation?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/alerts/securityassessment?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/alerts/securityassessment?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/alerts/uba?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/alerts/uba?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/alerts/watchlist?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/alerts/watchlist?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/alerts/INSERT NAME FROM YAMLS ABOVE?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/alerts/INSERT NAME?operation=next&index=${parameters.netskopeIndex}Headers -
Name -
AcceptValue -
application/jsonName -
Netskope-Api-TokenValue -
${secrets.netskopeApiToken}
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?

