refreshIncident
Re-query the org's real scanner data (SBOMs + issues) for this incident's indicators.
Examples
mutation RefreshIncident($incidentId: String!) {
refreshIncident(incidentId: $incidentId) {
totalMatches
newCount
resolvedCount
removedCount
safeVersionCount
lastCheckedAt
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"incidentId": "example"
}curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "mutation RefreshIncident($incidentId: String!) { refreshIncident(incidentId: $incidentId) { totalMatches newCount resolvedCount removedCount safeVersionCount lastCheckedAt } }",
"variables": {
"incidentId": "example"
}
}'Arguments
You can use the following argument(s) to customize your refreshIncident mutation.
Argument
Description
Supported fields
incidentId String! required
Fields
Return type: IncidentRefreshResult!
You can use the following field(s) to specify what information your refreshIncident mutation will return. Please note that some fields may have their own subfields.
Field
Description
Supported fields
totalMatches Int!
newCount Int!
resolvedCount Int!
removedCount Int!
safeVersionCount Int!
lastCheckedAt DateTime!
Last updated