Reference: Gateway examples for Threat Response

Tanium Gateway provides a GraphQL API integration point for Tanium solutions, including Threat Reponse. Threat Response includes a mutation to assign the Resolved status to a Threat Response alert.

For additional Gateway example syntax, see Reference: Filter syntax and Reference: Gateway examples.

Assign Resolved status to an alert

mutation.threatResponseAlertResolve

Assign Resolved status to alert

The following request assigns the Resolved status to the Threat Response alert matching the GUID.

JSON
mutation exampleResolveTHRAlert($guid: ID) {
  threatResponseAlertResolve(ref: {guid: $guid}) {
    resolved
    guid
    error
  }
}

Include the GUID variable in the Variables panel or in your variables dictionary:

JSON
{
  "guid": "12345678-90ab-cdef-1234-567890abcdef"
}

Example response:

JSON
{
  "data": {
    "threatResponseAlertResolve": {
      "resolved": true,
      "guid": "12345678-90ab-cdef-1234-567890abcdef",
      "error": null
    }
  }
}