Agentless Scanning

List GCP scan options

Fetches the scan options configured for all GCP projects.

get/api/v2/agentless_scanning/accounts/gcp

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: security_monitoring_findings_read

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "compliance_host": false,
        "vuln_containers_os": true,
        "vuln_host_os": true
      },
      "id": "company-project-id",
      "type": "gcp_scan_options"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.