Object

ScanDelta

Exposes information about how the number of issues has changed in relation to the previous scan.

Fields

new_issue_count(): Int!
The number of issues found by the most recent scan that were not found by the previous scan.
repeated_issue_count(): Int!
The number of issues found by the most recent scan that were also found by the previous scan.
regressed_issue_count(): Int!
The number of issues that were found in an earlier scan, were identified as being resolved by the previous scan, but have now reappeared in the most recent scan.
resolved_issue_count(): Int!
The number of issues that were found by the previous scan but were no longer found by the most recent scan.

Example

Query
query GetScanDelta ($id: ID!) {
  scan(id: $id) {
    scan_delta {
      new_issue_count
      regressed_issue_count
      repeated_issue_count
      resolved_issue_count
    }
  }
}
Variables
{
  "id": "4"
}
Result
{
  "data": {
    "scan": {
      "scan_delta": {
        "new_issue_count": 0,
        "regressed_issue_count": 0,
        "repeated_issue_count": 1,
        "resolved_issue_count": 1
      }
    }
  }
}