Alerts
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 (
Domain)
Secrets
Authorization (
greymatter_token) refers to the API Token used to authenticate the connection to Greymatter.
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.


Learn more about secrets in Onum in this article.
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 Greymatter API Alerts fields, or simply paste the desired YAML.
Configure as YAML
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 -
5mFormat -
RFC3339
Authentication Phase
OFF
Enumeration Phase
OFF
Collection Phase
Pagination Type* -
cursorCursor Selector* -
.data.drpAlerts.pageInfo.endCursorInitial Request
Method* -
POSTURL* -
https://greymatter.myreliaquest.com/graphqlHeaders -
Name -
X-API-KEYValue -
${secrets.greymatter_token}Name -
Content-TypeValue -
application/json
Body type-
rawBody raw -
| { "query":"query drpAlerts ($after: String, $filter: DrpReportTriageItemViewFilterInput, $first: Int!, $orderBy: DRPAlertOrder) {\n drpAlerts (after: $after, filter: $filter, first: $first, orderBy: $orderBy) {\n edges {\n cursor\n node {\n active\n alertFingerprint\n classification\n closedSource\n createdAt\n domain\n hosts\n id\n migrated\n rejectedByRuleIds\n removedAt\n riskFactorKeys\n riskType\n severity\n shortCode\n sourceGroup\n sourceRef\n sourceUpdated\n sourceUris\n subTitle\n thumbnailUri\n title\n updatedAt\n uri\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n}", "variables": { "after": "T18w", "filter": { "changed": "PT5M#UTC" }, "first": 1000, "orderBy": { "direction": "ASC", "orderBy": "CREATED_AT" } } }
Next Request
Method* -
POSTURL* -
https://greymatter.myreliaquest.com/graphqlHeaders -
Name -
X-API-KEYValue -
${secrets.greymatter_token}Name -
Content-TypeValue -
application/json
Body type-
rawBody raw -
| { "query": "query drpAlerts ($after: String, $filter: DrpReportTriageItemViewFilterInput, $first: Int!, $orderBy: DRPAlertOrder) {\n drpAlerts (after: $after, filter: $filter, first: $first, orderBy: $orderBy) {\n edges {\n cursor\n node {\n active\n alertFingerprint\n classification\n closedSource\n createdAt\n domain\n hosts\n id\n migrated\n rejectedByRuleIds\n removedAt\n riskFactorKeys\n riskType\n severity\n shortCode\n sourceGroup\n sourceRef\n sourceUpdated\n sourceUris\n subTitle\n thumbnailUri\n title\n updatedAt\n uri\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n totalCount\n }\n}", "variables": { "after": "${pagination.cursor}", "filter": { "changed": "PT5M#UTC" }, "first": 1000, "orderBy": { "direction": "ASC", "orderBy": "CREATED_AT" } } }
Output
Select -
.data.drpAlerts.edgesMap -
.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?

