Query

site

Returns an individual site from Burp Suite DAST.

Arguments

id: ID!


Returns

Site

Example

Query
query GetSite($id: ID!) {
  site(id: $id) {
    id
    name
    parent_id
    scope_v2 {
      start_urls
      in_scope_url_prefixes
      out_of_scope_url_prefixes
      protocol_options
    }
    agent_pool {
      id
      name
    }
  }
}
Variables
{
  "id": "1"
}
Result
{
  "data": {
    "site": {
      "id": "1",
      "name": "Example site",
      "parent_id": "0",
      "scope_v2": {
        "start_urls": [
          "https://example.com"
        ],
        "in_scope_url_prefixes": [
          "https://example.com",
          "https://shop.example.com"
        ],
        "out_of_scope_url_prefixes": [
          "https://example.com/logout"
        ],
        "protocol_options": "USE_SPECIFIED_PROTOCOLS"
      },
      "agent_pool": {
        "id": "-1",
        "name": "Default pool"
      }
    }
  }
}