---
title: "List GCP scan options"
method: GET
path: "/api/v2/agentless_scanning/accounts/gcp"
tags: ["Agentless Scanning"]
---

# List GCP scan options

`GET /api/v2/agentless_scanning/accounts/gcp`

Fetches the scan options configured for all GCP projects.

## Response `200`

OK

- GcpScanOptionsArray — Response object containing a list of GCP scan options.
  - `data` GcpScanOptionsData[], required — A list of GCP scan options.
    - `attributes` GcpScanOptionsDataAttributes — Attributes for GCP scan options configuration.
      - `compliance_host` boolean — Indicates whether host compliance scanning is enabled.
      - `vuln_containers_os` boolean — Indicates if scanning for vulnerabilities in containers is enabled.
      - `vuln_host_os` boolean — Indicates if scanning for vulnerabilities in hosts is enabled.
    - `id` string, required — The GCP project ID.
    - `type` 'gcp_scan_options', required — GCP scan options resource type.

## Other responses

- `403` — Not Authorized
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
