Object

ScanSettings

Scan settings for a site or folder. It does not include scan settings inherited from parent folders.

Fields

site_or_folder_id(): ID!
site_or_folder_name(): String!
scan_configurations(): [ScanConfiguration!]!
extensions(): [Extension!]!
bchecks(): [BCheck!]!
email_recipients(): [EmailRecipient!]!
slack_channels(): [SlackChannel!]!
platform_authentication(): [PlatformAuthentication!]!
request_headers(): [RequestHeader!]!
request_cookies(): [RequestHeader!]!
proxies(): [Proxy!]!

Example

Query
query GetScanSettings($site_or_folder_id: ID!) {
  hierarchical_scan_settings(site_or_folder_id: $site_or_folder_id) {
    settings {
        site_or_folder_id
        site_or_folder_name
        scan_configurations {
            id
        }
        extensions {
            id
        }
        email_recipients {
            id
            email
        }
        slack_channels {
            id
            name
        }
     }
  }
}
Variables
{
  "site_or_folder_id": 3
}
Result
{
  "data": {
    "hierarchical_scan_settings": {
      "settings": [
        {
          "site_or_folder_id": "0",
          "site_or_folder_name": "Root folder",
          "scan_configurations": [],
          "extensions": [],
          "email_recipients": [],
          "slack_channels": []
        }
      ]
    }
  }
}