Mutation

update_site_scan_configurations

Updates the default scan configurations for a given site.

Arguments

input: UpdateSiteScanConfigurationsInput!

The fields used to specify which site you want update and what its new default scan configurations should be.


Input Fields

id(): ID!
The unique identifier of the site whose default scan configurations you want to update.
scan_configuration_ids(): [ID!]
A list of the default scan configurations that you want to use for scans of the site that you are updating.

Return Fields

site(): Site!
The updated site.

Example

Query
mutation UpdateSiteScanConfigurations($input: UpdateSiteScanConfigurationsInput!) {
  update_site_scan_configurations(input: $input) {
    site {
      id
      name
      parent_id
      scope {
        included_urls
        excluded_urls
      }
      application_logins {
        id
        label
        username
      }
      scan_configurations {
        id
      }
      email_recipients {
        id
        email
      }
      ephemeral
    }
  }
}
Variables
{
  "input": {
    "id": "42",
    "scan_configuration_ids": [
      "fc5b5ab2-cde5-41bc-ac62-fab3502ae38e"
    ]
  }
}