Query

scan

Returns an individual scan from Burp Suite DAST.

Arguments

id: ID!


Returns

Scan

Example

Query
query GetScan($id: ID!) {
  scan(id: $id) {
    id
    status
    scan_target {
      id
      name
      type
    }
    start_time
    end_time
    duration_in_seconds
    issue_counts {
      total
      high {
        total
      }
      medium {
        total
      }
      low {
        total
      }
      info {
        total
      }
    }
  }
}
Variables
{
  "id": "1"
}
Result
{
  "data": {
    "scan": {
      "id": "1",
      "status": "succeeded",
      "scan_target": {
        "id": "1",
        "name": "Example site",
        "type": "site"
      },
      "start_time": "2026-01-01T09:00:00.000Z",
      "end_time": "2026-01-01T10:00:00.000Z",
      "duration_in_seconds": 3600,
      "issue_counts": {
        "total": 0,
        "high": {
          "total": 0
        },
        "medium": {
          "total": 0
        },
        "low": {
          "total": 0
        },
        "info": {
          "total": 0
        }
      }
    }
  }
}