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

# List AWS scan options

`GET /api/v2/agentless_scanning/accounts/aws`

Fetches the scan options configured for AWS accounts.

## Response `200`

OK

- AwsScanOptionsListResponse — Response object that includes a list of AWS scan options.
  - `data` AwsScanOptionsData[] — A list of AWS scan options.
    - `attributes` AwsScanOptionsAttributes — Attributes for the AWS scan options.
      - `compliance_host` boolean — Indicates whether host compliance scanning is enabled.
      - `lambda` boolean — Indicates if scanning of Lambda functions is enabled.
      - `sensitive_data` boolean — Indicates if scanning for sensitive data 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 — The ID of the AWS account.
    - `type` 'aws_scan_options' — The type of the resource. The value should always be `aws_scan_options`.

## 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)
