Mutation

retest

Initiates a retest of a single issue record. If the site is within an active scan freeze window, the retest is blocked unless override_scan_freeze_window is set to true.

Arguments

input: RetestInput!


Input Fields

id(): ID!
The unique numeric identifier of the issue record to retest.
override_scan_freeze_window(): Boolean
Proceed even though the site is within an active scan freeze window. Defaults to false.

Return Fields

retest(): LatestRetest!
The retest that was queued. Its id identifies this retest in later queries.

Example

Query
mutation Retest($input: RetestInput!) {
  retest(input: $input) {
    retest {
      id
      status
      outcome
    }
  }
}
Variables
{
  "input": {
    "id": "1"
  }
}
Result
{
  "data": {
    "retest": {
      "retest": {
        "id": "1",
        "status": "queued",
        "outcome": null
      }
    }
  }
}