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

# List Azure scan options

`GET /api/v2/agentless_scanning/accounts/azure`

## Request

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

Fetches the scan options configured for Azure accounts.

## Response `200`

OK

- AzureScanOptionsArray: Response object containing a list of Azure scan options.
  - `data` AzureScanOptionsData[], required: A list of Azure scan options.
    - `attributes` AzureScanOptionsDataAttributes: Attributes for Azure 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 Azure subscription ID.
    - `type` 'azure_scan_options', required: The type of the resource. The value should always be `azure_scan_options`.

## Other responses

- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
