Object

PreScanCheck

A pre-scan check of one of your sites using the embedded Burp Scanner. A pre-scan check object is created in response to create_pre_scan_check.

Fields

id(): ID!
created_time(): Timestamp!
The time the pre-scan check was created.
start_time(): Timestamp
The time the pre-scan check started.
end_time(): Timestamp
The time the pre-scan check completed.
The status of the pre-scan check.
The results of the pre-scan check.
scan_failure_code(): Int
A number that indicates why a pre-scan check failed.
scan_failure_message(): String
A message that provides information about why a pre-scan check failed.

Example

Query
query GetPreScanCheck($site_id: ID!) {
    pre_scan_check(site_id: $site_id) {
        id
        status
        created_time
        start_time
        end_time
        results {
            result_json
        }
        recorded_logins {
            images_available
            results {
                label
                failure_message
                failure_code
                images {
                    index
                    timestamp
                    url
                }
            }
        }
    }
}
Variables
{
  "site_id": 5
}
Result
{
  "data": {
    "pre_scan_check": {
      "id": "5",
      "status": null,
      "created_time": null,
      "start_time": null,
      "end_time": null,
      "results": [
        {
          "result_json": "{\"key\":\"value\"}"
        }
      ],
      "recorded_logins": {
        "images_available": true,
        "results": [
          {
            "label": null,
            "failure_message": null,
            "failure_code": 0,
            "images": [
              {
                "index": 0,
                "timestamp": null,
                "url": "/api-internal/sites/5/recorded_replay/images/1"
              }
            ]
          }
        ]
      }
    }
  }
}