Object

Scope

The URLs that will be crawled and audited during scans of a given site. The scope includes all the subdirectories of any included URLs, minus any excluded URLs and their subdirectories.

Fields

included_urls(): [String!]!
A list of URLs that will be crawled and audited during scans of this site. By default, all subdirectories of these URLs will be included in the scan. You can use the excluded_urls field to specify any subdirectories that you want to exclude from scans.
excluded_urls(): [String!]!
A list of URLs will be skipped during scans of this site. For example, if a particular subdirectory contains sensitive data, you can enter its URL here to exclude it from scans. All subdirectories of an excluded URL will also be skipped.
protocol_options(): ScopeProtocolOptions
Options to determine which protocols are used when scanning your site's URLs.

Example

Query
query GetSiteScope($site_id: ID!) {
  site(id: $site_id) {
    scope {
      included_urls
      excluded_urls
      protocol_options
    }
  }
}
Result
{
  "data": {
    "site": {
      "scope": {
        "included_urls": [],
        "excluded_urls": [],
        "protocol_options": null
      },
    }
  }
}