← Back to Pull requests

[DOCS-16346] Document Datadog Hosted (SaaS) Agentless Scanning #41618

Merged
janine-c merged 24 files (4134 lines) on Nov 25, 2026 00:09 UTC
View on GitHub
janine-c janine-c commented on Nov 10, 2026 22:42 UTC
Author

<!-- Note: Please remember to review the Datadog Documentation Contribution Guidelines if you have not yet done so. -->

What does this PR do? What is the motivation?

Fixes DOCS-16346

Adds Datadog-hosted Agentless Scanning (Preview, AWS only), where Datadog runs the scanners instead of the customer. The overview compares both hosting modes. Deployment Methods and Enable are converted to Cdocs with a Scanner hosting filter, and Enable also has a Cloud provider filter.

Merge readiness

  • Ready for merge
  • AI assistance

    Drafted with Claude Code and revised by the author.

    For Datadog employees:

  • ⚠️ Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR.

  • 🤖 New: Comment with /review to run an automated check that catches common issues before a Documentation team member reviews your PR.
  • Additional notes

  • New Cdocs trait agentless_scanner_hosting needs Cdocs team sign-off.

  • TODO(DOCS-16346) comments mark open SME questions.
  • 🤖 Generated with Claude Code

    Diff: 4134 lines (+1132 / -3002) across 24 files Reviewer: sarrazaghbib-dev Review duration: 20247m
    All Vouch review confidence checks passed
    Residual risk 0.12 = Change Risk (0.77) × (1 − Review Confidence (0.84)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.77 · 4134 lines diff across 24 files
    0.77
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.84 · 5 substantive comment(s)
    0.84
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    83%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.400
    Mass File Touch mass_file_touch
    0.080
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    47 items
    github-actions[bot] github-actions[bot] commented on Nov 10, 2026 22:48 UTC
    Bot

    Preview links (active after the build_preview check completes)

    New or renamed files


    https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/cloud_security_management/setup/agentless_scanning/deployment_methods
    https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/cloud_security_management/setup/agentless_scanning/enable

    Removed or renamed files (these should redirect)


    https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/cloud_security_management/setup/agentless_scanning/deployment_methods
    https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/cloud_security_management/setup/agentless_scanning/enable

    Modified Files


    https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/cloud_security_management/setup/
    https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/cloud_security_management/setup/agentless_scanning/
    https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/cloud_security_management/setup/agentless_scanning/compatibility
    https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/cloud_security_management/setup/agentless_scanning/update
    https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/cloud_security_management/troubleshooting/agentless_scanning
    https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/guide/aws_fargate_config_guide
  • https://docs-staging.datadoghq.com/janine/docs-16346-cloudsec-agentless-dd-hosted/security/workload_protection/setup/fargate
  • leo-wang-dd leo-wang-dd commented on Nov 12, 2026 18:54 UTC
    Contributor

    <img width="1574" height="556" alt="image" src="https://github.com/user-attachments/assets/6e6289d8-20fc-4a1d-9723-ed0a4f21ff18" />

    For this front page - thoughts on including a section explaining what agentless is and what the 2 modes are before having the user select one?

    Also - right now it's defaulted to Self-hosted first, but it should default to SaaS first

    leo-wang-dd leo-wang-dd commented on Nov 12, 2026 20:21 UTC
    Contributor

    <img width="1128" height="1212" alt="image" src="https://github.com/user-attachments/assets/40a34b55-fb4d-4cab-937f-f8cda8fd18ec" />

    For this piece - I don't think we need to mention the specific cloud provider. Just saying that US1 site means resources are scanned in US1 scan region is good - the table is also optional, this could probably do with just one example (perhaps an EU one since they care more about data residency)

    leo-wang-dd leo-wang-dd commented on Nov 12, 2026 20:22 UTC
    Contributor

    <img width="1112" height="296" alt="image" src="https://github.com/user-attachments/assets/0f5172f0-79a9-42ab-a1b6-48de8c269d2a" />

    Something important to call out is that in SaaS mode, bucket contents will be brought to datadog to be scanned (same as disk snapshots), but good to explicitly mention it since buckets are typically more sensitive.

    Note that SDS can be turned off for SaaS mode

    leo-wang-dd leo-wang-dd commented on Nov 12, 2026 20:28 UTC
    Contributor

    This is the Cloudformation of Datadog hosted instructions
    <img width="1032" height="1034" alt="image" src="https://github.com/user-attachments/assets/c16d24e9-479d-4adf-953c-1a03bf25420b" />

    This is the Cloudformation instructions of the self hosted
    <img width="1094" height="826" alt="image" src="https://github.com/user-attachments/assets/6a4c14c0-ffff-41bc-a724-765a20180106" />

    We should have these be similar structure - few feedback points here.

    1. let's not recommend the quick start for the setup (only shown to new orgs once) - let's first link them to the setup page. Then it should link them to clicking on add AWS account or clicking into one of their already integrated accounts. Then configure agentless scanning from the side panel. Here's where the split happens (i'll leave a screenshot here of our portal as reference) - they can select either Datadog hosted (saas) or deploy new scanner (self hosted).
    <img width="2004" height="1476" alt="image" src="https://github.com/user-attachments/assets/4741817c-6b09-4dd6-873b-78c42d45d433" />

    leo-wang-dd leo-wang-dd commented on Nov 12, 2026 20:29 UTC
    Contributor

    <img width="1070" height="1186" alt="image" src="https://github.com/user-attachments/assets/baccf07b-1b1b-448b-9ca3-c427357728c1" />

    we also have a cloudformation stackset for SaaS mode too now

    leo-wang-dd leo-wang-dd commented on Nov 12, 2026 20:29 UTC
    Contributor

    Looks like the terraform for SaaS mode is missing -
    <img width="1104" height="390" alt="image" src="https://github.com/user-attachments/assets/5f26329c-cee8-4cd4-800f-16ef2ab9dfe2" />

    can ask in the ask agentless channel for that and the stackset link

    leo-wang-dd leo-wang-dd commented on Nov 12, 2026 20:30 UTC
    Contributor

    <img width="1096" height="370" alt="image" src="https://github.com/user-attachments/assets/c5ff019a-bacd-48fd-bdb2-4c55aaee7098" />

    we need to remove this lambda vulns line - it's shown in cloud security vulnerabilities now too - i think removing the line and changing the first line to

    "For host and container and serverless vulnerabilities"

    leo-wang-dd leo-wang-dd commented on Nov 12, 2026 20:32 UTC
    Contributor

    Also not sure about this UK1 to eu-west-2 mapping in the example - would just remove that to be safe

    sarrazaghbib-dev sarrazaghbib-dev commented on code on Nov 16, 2026 21:33 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -22,13 +22,65 @@ further_reading:
     
     Agentless Scanning provides visibility into vulnerabilities that exist within your AWS, Azure, and GCP cloud infrastructure, without requiring you to install the Datadog Agent. Datadog recommends enabling Agentless Scanning as a first step to gain complete visibility into your cloud resources, and then installing the Datadog Agent on your core assets over time for deeper security and observability context.
     
    +You can run Agentless scanners in one of two ways:
    +
    +- **Self-hosted**: Scanners run in your own cloud account.
    +- **Datadog Hosted (SaaS)**: Datadog runs the scanners, and you grant Datadog permissions to scan your account. AWS only.
    +
    +Both modes use the same scanning engine and produce the same findings. The difference is where the scanner runs. Self-hosted scanning remains fully supported. To compare the two, see [Choose where scanners run](#choose-where-scanners-run).
    +
     <div class="alert alert-info">Agentless Scanning excludes resources that have the Datadog Agent installed.</div>
     
    -## How it works
    +## Choose where scanners run
    +
    +{{< callout url="https://www.datadoghq.com/product-preview/agentless-saas-mode/" header="Datadog Hosted (SaaS) Agentless Scanning is in Preview" respect-site-support="false" >}}
    +Datadog-hosted scanning supports AWS accounts only.
    +{{< /callout >}}
    +
    +| | Self-hosted | Datadog Hosted (SaaS) |
    +|---|---|---|
    +| Where the scanner runs | In your cloud account | In Datadog's infrastructure |
    +| What you deploy | Scanner instances and their networking; for AWS, this includes EC2 instances in an autoscaling group, a VPC, and a NAT gateway | An IAM policy attached to your existing Datadog integration role |
    +| Where disk contents are read | In your cloud account | In a Datadog scanning environment, in the region of your Datadog site (see [Datadog-hosted data residency](#datadog-hosted-data-residency)) |
    +| Supported cloud providers | AWS, Azure, GCP | AWS |
    +| Scanner updates | You update the scanner | Datadog updates the scanner automatically |
    +| Cloud provider infrastructure cost | Compute and networking costs appear on your cloud provider bill | None |
    +| Scanning engine and findings | Same in both modes | Same in both modes |
    +| Datadog billing | Same in both modes | Same in both modes |
    +
    +<!-- TODO(DOCS-16346): Confirm with SME whether scan frequency (12 hours), resource coverage, and Sensitive Data Scanner support are identical for Datadog-hosted; if so, add rows. -->

    Yes, the scan frequency (~ 12 hours), resource coverage (AWS only) as well as SDS support are identical.

    sarrazaghbib-dev sarrazaghbib-dev commented on code on Nov 16, 2026 21:34 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -85,30 +137,72 @@ Scanner instances require [permissions][4] to create and copy snapshots and desc
     - Enable unattended security updates, and rotate instances automatically every 24 hours.
     - Don't allow inbound access to scanner instances (security group restricted).
     
    -## Cloud Storage scanning
    +### Cloud Storage scanning {#cloud-storage-scanning}
     
     You can enable [Sensitive Data Scanner][8] for your Agentless Scanning resources during deployment or after setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage (such as Amazon S3 buckets). It only reads data stores and their files in your environment, without sending any sensitive data to Datadog.
     
    -## On-demand scanning
    +### On-demand scanning {#on-demand-scanning}
     
     By default, Agentless Scanning automatically scans your resources every 12 hours. For AWS, you can also trigger an immediate scan of a specific resource (host, container, Lambda function, or S3 bucket) using the On-Demand Scanning API. For more information, see the [On-Demand Scanning API][14] documentation.
     
    +## Datadog Hosted (SaaS) Agentless Scanning {#datadog-hosted-scanning}
    +
    +Datadog runs the scanners in its own infrastructure. This mode is in Preview and supports AWS only. For setup instructions, see [Enabling Agentless Scanning][19].
    +
    +### How it works {#datadog-hosted-how-it-works}
    +
    +1. Datadog discovers your resources through cloud provider APIs. This step reads metadata only.
    +2. Datadog creates a snapshot of each volume to scan in your AWS account. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.
    +3. Datadog reads the snapshot's blocks over HTTPS using the Amazon EBS direct APIs.
    +4. Datadog presents the blocks to a scanning sandbox as a block device, and the sandbox mounts the partitions as read-only.
    +5. Scanners analyze the mounted file systems and send findings and SBOMs to Datadog.
    +6. Datadog deletes the snapshot and destroys the sandbox.
    +
    +Each scan runs in a new hardware-isolated microVM with its own kernel, which Datadog destroys when the scan ends. Datadog never runs code on your instances.
    +
    +### What data is sent to Datadog {#datadog-hosted-what-data-is-sent-to-datadog}
    +
    +Datadog reads your disk contents in its scanning environment to analyze them. Datadog reads the blocks on demand and does **not** retain any copy of your disk contents. When the scan ends, Datadog destroys the sandbox. Like with self-hosted scanning, the only data that persists in Datadog is the findings and SBOMs.
    +
    +### Data residency {#datadog-hosted-data-residency}
    +
    +Scans run in the region of the Datadog site that your organization uses, not in the region where your resources are located. For example, if your organization uses the EU1 site, Datadog scans your resources in the EU, regardless of which AWS region your resources are in.
    +
    +If your resources are in a different region than your Datadog site, scanning can involve a cross-border data transfer. Review your privacy requirements before you enable scanning for these accounts. If your data must be processed in your own cloud account or region, use self-hosted scanning.
    +
    +### Cost {#datadog-hosted-cost}
    +
    +There is no scanner infrastructure cost on your cloud provider bill and no additional Datadog cost.
    +
    +### Cloud Storage scanning {#datadog-hosted-cloud-storage-scanning}
    +
    +You can enable [Sensitive Data Scanner][8] for Amazon S3 buckets during setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage.
    +
    +With Datadog-hosted scanning, Datadog reads the contents of your S3 buckets in its scanning environment, in the same way as disk contents. Because buckets often hold more sensitive data than disks, review your data handling requirements before you enable Sensitive Data Scanner. Sensitive Data Scanner is optional: you can turn it off and still use Datadog-hosted scanning for vulnerabilities.
    +
    +<!-- TODO(DOCS-16346): Confirm with SME that Datadog doesn't retain S3 object contents after a scan, and where to turn off Sensitive Data Scanner after setup. -->
    +
    +<!-- TODO(DOCS-16346): Confirm with SME whether the On-Demand Scanning API works with Datadog-hosted scanning; if so, add an on-demand scanning section here. -->

    On Demand Scanning is not available for the datadog hosted mode for now.

    sarrazaghbib-dev sarrazaghbib-dev commented on code on Nov 16, 2026 22:25 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -85,30 +137,72 @@ Scanner instances require [permissions][4] to create and copy snapshots and desc
     - Enable unattended security updates, and rotate instances automatically every 24 hours.
     - Don't allow inbound access to scanner instances (security group restricted).
     
    -## Cloud Storage scanning
    +### Cloud Storage scanning {#cloud-storage-scanning}
     
     You can enable [Sensitive Data Scanner][8] for your Agentless Scanning resources during deployment or after setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage (such as Amazon S3 buckets). It only reads data stores and their files in your environment, without sending any sensitive data to Datadog.
     
    -## On-demand scanning
    +### On-demand scanning {#on-demand-scanning}
     
     By default, Agentless Scanning automatically scans your resources every 12 hours. For AWS, you can also trigger an immediate scan of a specific resource (host, container, Lambda function, or S3 bucket) using the On-Demand Scanning API. For more information, see the [On-Demand Scanning API][14] documentation.
     
    +## Datadog Hosted (SaaS) Agentless Scanning {#datadog-hosted-scanning}
    +
    +Datadog runs the scanners in its own infrastructure. This mode is in Preview and supports AWS only. For setup instructions, see [Enabling Agentless Scanning][19].
    +
    +### How it works {#datadog-hosted-how-it-works}
    +
    +1. Datadog discovers your resources through cloud provider APIs. This step reads metadata only.
    +2. Datadog creates a snapshot of each volume to scan in your AWS account. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.
    +3. Datadog reads the snapshot's blocks over HTTPS using the Amazon EBS direct APIs.
    +4. Datadog presents the blocks to a scanning sandbox as a block device, and the sandbox mounts the partitions as read-only.
    +5. Scanners analyze the mounted file systems and send findings and SBOMs to Datadog.
    +6. Datadog deletes the snapshot and destroys the sandbox.
    +
    +Each scan runs in a new hardware-isolated microVM with its own kernel, which Datadog destroys when the scan ends. Datadog never runs code on your instances.
    +
    +### What data is sent to Datadog {#datadog-hosted-what-data-is-sent-to-datadog}
    +
    +Datadog reads your disk contents in its scanning environment to analyze them. Datadog reads the blocks on demand and does **not** retain any copy of your disk contents. When the scan ends, Datadog destroys the sandbox. Like with self-hosted scanning, the only data that persists in Datadog is the findings and SBOMs.
    +
    +### Data residency {#datadog-hosted-data-residency}
    +
    +Scans run in the region of the Datadog site that your organization uses, not in the region where your resources are located. For example, if your organization uses the EU1 site, Datadog scans your resources in the EU, regardless of which AWS region your resources are in.
    +
    +If your resources are in a different region than your Datadog site, scanning can involve a cross-border data transfer. Review your privacy requirements before you enable scanning for these accounts. If your data must be processed in your own cloud account or region, use self-hosted scanning.
    +
    +### Cost {#datadog-hosted-cost}
    +
    +There is no scanner infrastructure cost on your cloud provider bill and no additional Datadog cost.
    +
    +### Cloud Storage scanning {#datadog-hosted-cloud-storage-scanning}
    +
    +You can enable [Sensitive Data Scanner][8] for Amazon S3 buckets during setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage.
    +
    +With Datadog-hosted scanning, Datadog reads the contents of your S3 buckets in its scanning environment, in the same way as disk contents. Because buckets often hold more sensitive data than disks, review your data handling requirements before you enable Sensitive Data Scanner. Sensitive Data Scanner is optional: you can turn it off and still use Datadog-hosted scanning for vulnerabilities.
    +
    +<!-- TODO(DOCS-16346): Confirm with SME that Datadog doesn't retain S3 object contents after a scan, and where to turn off Sensitive Data Scanner after setup. -->

    Datadog doesn't retain S3 object contents. It keeps where sensitive data was found (bucket, object path, rule, position), not the matched data.
    Turning off SDS after setup requires scan option deactivation either setting the sensitive_data_scanning_enabled variable to false in TF or turning it off in the UI when using CloudFormation for the setup.

    sarrazaghbib-dev sarrazaghbib-dev approved these changes on Nov 16, 2026 22:25 UTC
    Approved Reviewer

    Approved these changes.

    janine-c janine-c commented on Nov 16, 2026 23:20 UTC
    Author

    Thanks for taking a look, @sarrazaghbib-dev ! Would you mind taking a quick look to make sure that the edits Claude made (and that I edited) make sense?

    sarrazaghbib-dev sarrazaghbib-dev commented on code on Nov 17, 2026 14:49 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/deployment_methods.mdoc.md:1
    @@ -98,22 +124,48 @@ Each scanner has throughput limits governed by cloud provider API quotas:
     | Maximum scanners per account per region | 4 (hard cap; cloud providers like AWS limit concurrent snapshots to 100 per account per region) |
     | Scan interval | Every 12 hours |
     
    -<div class="alert alert-danger">Do not increase the Autoscaling Group (ASG) desired count beyond four scanners per region. Additional scanners cannot create snapshots due to cloud providers' concurrent snapshot limit.</div>
    +{% alert level="danger" %}
    +Do not increase the Autoscaling Group (ASG) desired count beyond four scanners per region. Additional scanners cannot create snapshots due to cloud providers' concurrent snapshot limit.
    +{% /alert %}
     
    -[1]: /security/cloud_security_management/setup/agentless_scanning/enable#aws-cloudformation-stackset-setup
    +{% /tab %}
     
    -{{% /tab %}}
    -{{< /tabs >}}
    +{% /tabs %}
     
     ## Enterprise networking considerations
     
    -By default, the scanner creates a new VPC during deployment. If your organization is using Terraform and has Service Control Policies (SCPs) that restrict VPC creation, use the [{{< ui >}}custom VPC{{< /ui >}}][2] option during setup to use an existing VPC instead of creating a new one.
    +By default, the scanner creates a new VPC during deployment. If your organization is using Terraform and has Service Control Policies (SCPs) that restrict VPC creation, use the [{% ui %}custom VPC{% /ui %}][2] option during setup to use an existing VPC instead of creating a new one.
    +{% /if %}
    +<!-- end Self-hosted -->
    +
    +<!-- Datadog-hosted -->
    +{% if equals($agentless_scanner_hosting, "datadog_hosted") %}
    +## Choose which AWS accounts to scan
    +
    +You enable Datadog-hosted scanning for each AWS account individually, not for your whole Datadog organization. You can use Datadog-hosted scanning for some AWS accounts and self-hosted scanners for others, for as long as you need.
    +
    +To scan an AWS account, [enable Datadog-hosted scanning][7] in that account. Repeat the setup for each account you want to scan.
    +
    +<!-- TODO(DOCS-16346): Confirm with SME whether AWS Organizations / multi-account onboarding (for example, a StackSet) is available for Datadog-hosted scanning. -->

    Currently multi-account onboarding is only supported (via the UI) for Datadog-hosted scanning.
    For self-hosted customers should create separate StackSets for the AWS integration and agentless scanning.

    sarrazaghbib-dev sarrazaghbib-dev commented on code on Nov 17, 2026 15:17 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/deployment_methods.mdoc.md:1
    @@ -98,22 +124,48 @@ Each scanner has throughput limits governed by cloud provider API quotas:
     | Maximum scanners per account per region | 4 (hard cap; cloud providers like AWS limit concurrent snapshots to 100 per account per region) |
     | Scan interval | Every 12 hours |
     
    -<div class="alert alert-danger">Do not increase the Autoscaling Group (ASG) desired count beyond four scanners per region. Additional scanners cannot create snapshots due to cloud providers' concurrent snapshot limit.</div>
    +{% alert level="danger" %}
    +Do not increase the Autoscaling Group (ASG) desired count beyond four scanners per region. Additional scanners cannot create snapshots due to cloud providers' concurrent snapshot limit.
    +{% /alert %}
     
    -[1]: /security/cloud_security_management/setup/agentless_scanning/enable#aws-cloudformation-stackset-setup
    +{% /tab %}
     
    -{{% /tab %}}
    -{{< /tabs >}}
    +{% /tabs %}
     
     ## Enterprise networking considerations
     
    -By default, the scanner creates a new VPC during deployment. If your organization is using Terraform and has Service Control Policies (SCPs) that restrict VPC creation, use the [{{< ui >}}custom VPC{{< /ui >}}][2] option during setup to use an existing VPC instead of creating a new one.
    +By default, the scanner creates a new VPC during deployment. If your organization is using Terraform and has Service Control Policies (SCPs) that restrict VPC creation, use the [{% ui %}custom VPC{% /ui %}][2] option during setup to use an existing VPC instead of creating a new one.
    +{% /if %}
    +<!-- end Self-hosted -->
    +
    +<!-- Datadog-hosted -->
    +{% if equals($agentless_scanner_hosting, "datadog_hosted") %}
    +## Choose which AWS accounts to scan
    +
    +You enable Datadog-hosted scanning for each AWS account individually, not for your whole Datadog organization. You can use Datadog-hosted scanning for some AWS accounts and self-hosted scanners for others, for as long as you need.
    +
    +To scan an AWS account, [enable Datadog-hosted scanning][7] in that account. Repeat the setup for each account you want to scan.
    +
    +<!-- TODO(DOCS-16346): Confirm with SME whether AWS Organizations / multi-account onboarding (for example, a StackSet) is available for Datadog-hosted scanning. -->
    +
    +## Move an account from self-hosted to Datadog Hosted (SaaS) Agentless Scanning {% #move-an-account-from-self-hosted-to-datadog-hosted-scanning %}
    +
    +Because you set the hosting mode for each account, you can move accounts one at a time:
     
    -## Further reading
    +1. [Enable Datadog-hosted scanning][7] in the AWS account.
    +1. In the [Cloud Security Vulnerabilities Explorer][8], confirm that scan results from Datadog-hosted scanning appear for the account.
    +1. Decommission the self-hosted scanner. For instructions, see [Uninstall Agentless Scanning][9].
     
    -{{< partial name="whats-next/whats-next.html" >}}
    +<!-- TODO(DOCS-16346): Confirm with SME how to migrate accounts that a central self-hosted scanner scans through delegate roles, and whether results from both modes can overlap during migration. -->

    Migration from self-hosted to Datadog-hosted is smooth and doesn't result in overlapping findings.
    steps:

  • turn on Datadog-hosted mode for the accounts via cloudFormation or Terraform.

  • make sure it is turned on our side (as it is currently behind a FF)

  • Remove self-hosted Access : delete the account's delegate role stack, recommended wait time before this step is 24 hours enough time for the central scanner to cleanup any left snapshots on the account.
  • sarrazaghbib-dev sarrazaghbib-dev commented on code on Nov 17, 2026 15:32 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/troubleshooting/agentless_scanning.md:1
    @@ -19,10 +19,13 @@ After deploying Agentless Scanning, results do not appear immediately. First res
     
     If no results appear after two hours:
     
    -- Verify that the scanner infrastructure was deployed. In your cloud provider console, check that scanner instances are running.
    -- Confirm that [Remote Configuration][3] is enabled on the API key you used to set up Agentless Scanning. Scanners receive their scan instructions through Remote Configuration.
     - Check that the cloud integration is properly configured. On the [{{< ui >}}Cloud Security Setup{{< /ui >}}][4] page, verify that your cloud account appears with Agentless Scanning enabled.
    +- For self-hosted scanners:
    +  - Verify that the scanner infrastructure was deployed. In your cloud provider console, check that scanner instances are running.
    +  - Confirm that [Remote Configuration][3] is enabled on the API key you used to set up Agentless Scanning. Scanners receive their scan instructions through Remote Configuration.
    +- For Datadog-hosted scanning, verify that the Agentless Scanning IAM policy is attached to the Datadog integration role in your AWS account.
     
    +<!-- TODO(DOCS-16346): Confirm with SME the Datadog-hosted troubleshooting steps (policy name, how Datadog detects the policy, common failures). -->

    If resources are missing or scans aren't producing results, go through these checks:
    1. The integration role is set up in Datadog : The account is being crawled
    2. The agentless scanning policy is attached to the integration role
    3- Scanning is enabled for the account : the relevant scan_options
    - CloudFormation: Use the UI or API.
    - Terraform: manage scan options with datadog_agentless_scanning_aws_scan_options.
    4. Datadog has picked up your IAM change: Delays are expected.

    janine-c janine-c commented on code on Nov 18, 2026 21:19 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/troubleshooting/agentless_scanning.md:1
    @@ -19,10 +19,13 @@ After deploying Agentless Scanning, results do not appear immediately. First res
     
     If no results appear after two hours:
     
    -- Verify that the scanner infrastructure was deployed. In your cloud provider console, check that scanner instances are running.
    -- Confirm that [Remote Configuration][3] is enabled on the API key you used to set up Agentless Scanning. Scanners receive their scan instructions through Remote Configuration.
     - Check that the cloud integration is properly configured. On the [{{< ui >}}Cloud Security Setup{{< /ui >}}][4] page, verify that your cloud account appears with Agentless Scanning enabled.
    +- For self-hosted scanners:
    +  - Verify that the scanner infrastructure was deployed. In your cloud provider console, check that scanner instances are running.
    +  - Confirm that [Remote Configuration][3] is enabled on the API key you used to set up Agentless Scanning. Scanners receive their scan instructions through Remote Configuration.
    +- For Datadog-hosted scanning, verify that the Agentless Scanning IAM policy is attached to the Datadog integration role in your AWS account.
     
    +<!-- TODO(DOCS-16346): Confirm with SME the Datadog-hosted troubleshooting steps (policy name, how Datadog detects the policy, common failures). -->

    Thanks, incorporated all these changes too!

    janine-c janine-c commented on Nov 18, 2026 21:22 UTC
    Author

    Docs editorial review ticket: DOCS-16476

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -22,13 +22,67 @@ further_reading:
     
     Agentless Scanning provides visibility into vulnerabilities that exist within your AWS, Azure, and GCP cloud infrastructure, without requiring you to install the Datadog Agent. Datadog recommends enabling Agentless Scanning as a first step to gain complete visibility into your cloud resources, and then installing the Datadog Agent on your core assets over time for deeper security and observability context.
     
    +You can run Agentless scanners in one of two ways:
    +
    +- **Self-hosted**: Scanners run in your own cloud account.
    +- **Datadog Hosted (SaaS)**: Datadog runs the scanners, and you grant Datadog permissions to scan your account. AWS only.

    Two global notes for this PR that I'll just mention once here:
    1. I saw one of your SMEs noted that SaaS should be the default for cdocs. If we want to steer customers that direction, does it make sense to put the SaaS option first everywhere? As structured, this page covers 1) self-hosted, then 2) Datadog-hosted.
    2. I see a few forms for the new mode: "Datadog Hosted (SaaS)" in headings, the table, the callout, and the filter label, and "Datadog-hosted" in body text. Should these be consistent? For reference, the setup modal labels the option "Datadog-hosted (SaaS)."

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -22,13 +22,67 @@ further_reading:
     
     Agentless Scanning provides visibility into vulnerabilities that exist within your AWS, Azure, and GCP cloud infrastructure, without requiring you to install the Datadog Agent. Datadog recommends enabling Agentless Scanning as a first step to gain complete visibility into your cloud resources, and then installing the Datadog Agent on your core assets over time for deeper security and observability context.
     
    +You can run Agentless scanners in one of two ways:
    +
    +- **Self-hosted**: Scanners run in your own cloud account.
    +- **Datadog Hosted (SaaS)**: Datadog runs the scanners, and you grant Datadog permissions to scan your account. AWS only.
    +
    +Both modes use the same scanning engine and produce the same findings. The difference is where the scanner runs. Self-hosted scanning remains fully supported. To compare the two, see [Choose where scanners run](#choose-where-scanners-run).

    Feels like everything after the first sentence could go, but I'm kind of a slash and burn minimalist.

  • "The difference is where the scanner runs" goes without saying?

  • "Self-hosted scanning remains fully supported" reads as reassurance; not really docs' role?

  • "To compare the two..." seems unnecessary since the linked section immediately follows?
  • Both modes use the same scanning engine and produce the same findings.
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -22,13 +22,67 @@ further_reading:
     
     Agentless Scanning provides visibility into vulnerabilities that exist within your AWS, Azure, and GCP cloud infrastructure, without requiring you to install the Datadog Agent. Datadog recommends enabling Agentless Scanning as a first step to gain complete visibility into your cloud resources, and then installing the Datadog Agent on your core assets over time for deeper security and observability context.
     
    +You can run Agentless scanners in one of two ways:
    +
    +- **Self-hosted**: Scanners run in your own cloud account.
    +- **Datadog Hosted (SaaS)**: Datadog runs the scanners, and you grant Datadog permissions to scan your account. AWS only.
    +
    +Both modes use the same scanning engine and produce the same findings. The difference is where the scanner runs. Self-hosted scanning remains fully supported. To compare the two, see [Choose where scanners run](#choose-where-scanners-run).
    +
     <div class="alert alert-info">Agentless Scanning skips hosts where the Datadog Agent runs with both Cloud Security Vulnerabilities and Misconfigurations enabled. For other hosts with the Agent, Agentless Scanning only covers the features the Agent does not. See <a href="/security/cloud_security_management/troubleshooting/agentless_scanning#hosts-with-the-datadog-agent-are-not-scanned">Troubleshooting</a>.</div>
     
    -## How it works
    +## Choose where scanners run
    +
    +{{< callout url="https://www.datadoghq.com/product-preview/agentless-saas-mode/" header="Datadog Hosted (SaaS) Agentless Scanning is in Preview" respect-site-support="false" >}}
    +Datadog-hosted scanning supports AWS accounts only.
    +{{< /callout >}}
    +
    +| | Self-hosted | Datadog Hosted (SaaS) |
    +|---|---|---|
    +| Where the scanner runs | In your cloud account | In Datadog's infrastructure |
    +| What you deploy | Scanner instances and their networking; for AWS, this includes EC2 instances in an autoscaling group, a VPC, and a NAT gateway | An IAM policy attached to your existing Datadog integration role |
    +| Where disk contents are read | In your cloud account | In a Datadog scanning environment, in the region of your Datadog site (see [Datadog-hosted data residency](#datadog-hosted-data-residency)) |
    +| Supported cloud providers | AWS, Azure, GCP | AWS |

    The Enable page filter says "Google Cloud," and this page says "GCP" (here and at least one other place). Is one of them preferred?

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -22,13 +22,67 @@ further_reading:
     
     Agentless Scanning provides visibility into vulnerabilities that exist within your AWS, Azure, and GCP cloud infrastructure, without requiring you to install the Datadog Agent. Datadog recommends enabling Agentless Scanning as a first step to gain complete visibility into your cloud resources, and then installing the Datadog Agent on your core assets over time for deeper security and observability context.
     
    +You can run Agentless scanners in one of two ways:
    +
    +- **Self-hosted**: Scanners run in your own cloud account.
    +- **Datadog Hosted (SaaS)**: Datadog runs the scanners, and you grant Datadog permissions to scan your account. AWS only.
    +
    +Both modes use the same scanning engine and produce the same findings. The difference is where the scanner runs. Self-hosted scanning remains fully supported. To compare the two, see [Choose where scanners run](#choose-where-scanners-run).
    +
     <div class="alert alert-info">Agentless Scanning skips hosts where the Datadog Agent runs with both Cloud Security Vulnerabilities and Misconfigurations enabled. For other hosts with the Agent, Agentless Scanning only covers the features the Agent does not. See <a href="/security/cloud_security_management/troubleshooting/agentless_scanning#hosts-with-the-datadog-agent-are-not-scanned">Troubleshooting</a>.</div>
     
    -## How it works
    +## Choose where scanners run
    +
    +{{< callout url="https://www.datadoghq.com/product-preview/agentless-saas-mode/" header="Datadog Hosted (SaaS) Agentless Scanning is in Preview" respect-site-support="false" >}}
    +Datadog-hosted scanning supports AWS accounts only.
    +{{< /callout >}}
    +
    +| | Self-hosted | Datadog Hosted (SaaS) |
    +|---|---|---|
    +| Where the scanner runs | In your cloud account | In Datadog's infrastructure |
    +| What you deploy | Scanner instances and their networking; for AWS, this includes EC2 instances in an autoscaling group, a VPC, and a NAT gateway | An IAM policy attached to your existing Datadog integration role |
    +| Where disk contents are read | In your cloud account | In a Datadog scanning environment, in the region of your Datadog site (see [Datadog-hosted data residency](#datadog-hosted-data-residency)) |
    +| Supported cloud providers | AWS, Azure, GCP | AWS |
    +| Scanner updates | You update the scanner | Datadog updates the scanner automatically |
    +| Cloud provider infrastructure cost | Compute and networking costs appear on your cloud provider bill | None |
    +| Scanning engine and findings | Same in both modes | Same in both modes |
    +| Scan frequency | Every 12 hours | Every 12 hours |
    +| AWS resource coverage | Same in both modes | Same in both modes |
    +| Sensitive Data Scanner for Amazon S3 | Supported | Supported |
    +| On-demand scanning | Supported for AWS | Not supported |
    +| Datadog billing | Same in both modes | Same in both modes |
    +
    +### When to use Self-hosted Agentless Scanning
    +
    +- You need to scan Azure or GCP resources.
    +- Your policies require that disk contents are only read inside your own cloud account.

    I think "only" is out of place here, but correcting it raises confusion with read-only.

    - Your policies require that disk contents stay in your own cloud account.
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -22,13 +22,67 @@ further_reading:
     
     Agentless Scanning provides visibility into vulnerabilities that exist within your AWS, Azure, and GCP cloud infrastructure, without requiring you to install the Datadog Agent. Datadog recommends enabling Agentless Scanning as a first step to gain complete visibility into your cloud resources, and then installing the Datadog Agent on your core assets over time for deeper security and observability context.
     
    +You can run Agentless scanners in one of two ways:
    +
    +- **Self-hosted**: Scanners run in your own cloud account.
    +- **Datadog Hosted (SaaS)**: Datadog runs the scanners, and you grant Datadog permissions to scan your account. AWS only.
    +
    +Both modes use the same scanning engine and produce the same findings. The difference is where the scanner runs. Self-hosted scanning remains fully supported. To compare the two, see [Choose where scanners run](#choose-where-scanners-run).
    +
     <div class="alert alert-info">Agentless Scanning skips hosts where the Datadog Agent runs with both Cloud Security Vulnerabilities and Misconfigurations enabled. For other hosts with the Agent, Agentless Scanning only covers the features the Agent does not. See <a href="/security/cloud_security_management/troubleshooting/agentless_scanning#hosts-with-the-datadog-agent-are-not-scanned">Troubleshooting</a>.</div>
     
    -## How it works
    +## Choose where scanners run
    +
    +{{< callout url="https://www.datadoghq.com/product-preview/agentless-saas-mode/" header="Datadog Hosted (SaaS) Agentless Scanning is in Preview" respect-site-support="false" >}}
    +Datadog-hosted scanning supports AWS accounts only.
    +{{< /callout >}}
    +
    +| | Self-hosted | Datadog Hosted (SaaS) |
    +|---|---|---|
    +| Where the scanner runs | In your cloud account | In Datadog's infrastructure |
    +| What you deploy | Scanner instances and their networking; for AWS, this includes EC2 instances in an autoscaling group, a VPC, and a NAT gateway | An IAM policy attached to your existing Datadog integration role |
    +| Where disk contents are read | In your cloud account | In a Datadog scanning environment, in the region of your Datadog site (see [Datadog-hosted data residency](#datadog-hosted-data-residency)) |
    +| Supported cloud providers | AWS, Azure, GCP | AWS |
    +| Scanner updates | You update the scanner | Datadog updates the scanner automatically |
    +| Cloud provider infrastructure cost | Compute and networking costs appear on your cloud provider bill | None |
    +| Scanning engine and findings | Same in both modes | Same in both modes |
    +| Scan frequency | Every 12 hours | Every 12 hours |
    +| AWS resource coverage | Same in both modes | Same in both modes |
    +| Sensitive Data Scanner for Amazon S3 | Supported | Supported |
    +| On-demand scanning | Supported for AWS | Not supported |
    +| Datadog billing | Same in both modes | Same in both modes |
    +
    +### When to use Self-hosted Agentless Scanning
    +
    +- You need to scan Azure or GCP resources.
    +- Your policies require that disk contents are only read inside your own cloud account.
    +- Your policies restrict which region or cloud provider can process your data. Datadog-hosted scanning processes data in the region of your Datadog site, which can differ from the region and cloud provider of your resources.
    +- You want direct control over scanner versions or scan scheduling.

    Self-hosted scans also run on Datadog's 12-hour schedule (step 1 under How it works). What scheduling control does self-hosted give you here? Is this about on-demand scanning?

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -22,13 +22,67 @@ further_reading:
     
     Agentless Scanning provides visibility into vulnerabilities that exist within your AWS, Azure, and GCP cloud infrastructure, without requiring you to install the Datadog Agent. Datadog recommends enabling Agentless Scanning as a first step to gain complete visibility into your cloud resources, and then installing the Datadog Agent on your core assets over time for deeper security and observability context.
     
    +You can run Agentless scanners in one of two ways:
    +
    +- **Self-hosted**: Scanners run in your own cloud account.
    +- **Datadog Hosted (SaaS)**: Datadog runs the scanners, and you grant Datadog permissions to scan your account. AWS only.
    +
    +Both modes use the same scanning engine and produce the same findings. The difference is where the scanner runs. Self-hosted scanning remains fully supported. To compare the two, see [Choose where scanners run](#choose-where-scanners-run).
    +
     <div class="alert alert-info">Agentless Scanning skips hosts where the Datadog Agent runs with both Cloud Security Vulnerabilities and Misconfigurations enabled. For other hosts with the Agent, Agentless Scanning only covers the features the Agent does not. See <a href="/security/cloud_security_management/troubleshooting/agentless_scanning#hosts-with-the-datadog-agent-are-not-scanned">Troubleshooting</a>.</div>
     
    -## How it works
    +## Choose where scanners run
    +
    +{{< callout url="https://www.datadoghq.com/product-preview/agentless-saas-mode/" header="Datadog Hosted (SaaS) Agentless Scanning is in Preview" respect-site-support="false" >}}
    +Datadog-hosted scanning supports AWS accounts only.
    +{{< /callout >}}
    +
    +| | Self-hosted | Datadog Hosted (SaaS) |
    +|---|---|---|
    +| Where the scanner runs | In your cloud account | In Datadog's infrastructure |
    +| What you deploy | Scanner instances and their networking; for AWS, this includes EC2 instances in an autoscaling group, a VPC, and a NAT gateway | An IAM policy attached to your existing Datadog integration role |
    +| Where disk contents are read | In your cloud account | In a Datadog scanning environment, in the region of your Datadog site (see [Datadog-hosted data residency](#datadog-hosted-data-residency)) |
    +| Supported cloud providers | AWS, Azure, GCP | AWS |
    +| Scanner updates | You update the scanner | Datadog updates the scanner automatically |
    +| Cloud provider infrastructure cost | Compute and networking costs appear on your cloud provider bill | None |
    +| Scanning engine and findings | Same in both modes | Same in both modes |
    +| Scan frequency | Every 12 hours | Every 12 hours |
    +| AWS resource coverage | Same in both modes | Same in both modes |
    +| Sensitive Data Scanner for Amazon S3 | Supported | Supported |
    +| On-demand scanning | Supported for AWS | Not supported |
    +| Datadog billing | Same in both modes | Same in both modes |
    +
    +### When to use Self-hosted Agentless Scanning
    +
    +- You need to scan Azure or GCP resources.
    +- Your policies require that disk contents are only read inside your own cloud account.
    +- Your policies restrict which region or cloud provider can process your data. Datadog-hosted scanning processes data in the region of your Datadog site, which can differ from the region and cloud provider of your resources.
    +- You want direct control over scanner versions or scan scheduling.
    +
    +### When to use Datadog Hosted (SaaS) Agentless Scanning
    +
    +- You want to start scanning without deploying compute or networking resources in your account.
    +- You don't want to maintain, update, or monitor scanner instances.
    +- You want to avoid the infrastructure cost of running scanners in each region.
    +- You want new resource types supported automatically, without updating a scanner.
    +
    +### Use both modes
    +
    +You don't have to choose one mode for your whole organization. Instead, you can choose a mode for each AWS account. For example, you can use Datadog-hosted scanning in most accounts and self-hosted scanners where disk contents must stay in your cloud account.

    You can choose a mode for each AWS account instead of one mode for your whole organization. For example, you can use Datadog-hosted scanning in most accounts and self-hosted scanners where disk contents must stay in your cloud account.
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -22,13 +22,67 @@ further_reading:
     
     Agentless Scanning provides visibility into vulnerabilities that exist within your AWS, Azure, and GCP cloud infrastructure, without requiring you to install the Datadog Agent. Datadog recommends enabling Agentless Scanning as a first step to gain complete visibility into your cloud resources, and then installing the Datadog Agent on your core assets over time for deeper security and observability context.
     
    +You can run Agentless scanners in one of two ways:
    +
    +- **Self-hosted**: Scanners run in your own cloud account.
    +- **Datadog Hosted (SaaS)**: Datadog runs the scanners, and you grant Datadog permissions to scan your account. AWS only.
    +
    +Both modes use the same scanning engine and produce the same findings. The difference is where the scanner runs. Self-hosted scanning remains fully supported. To compare the two, see [Choose where scanners run](#choose-where-scanners-run).
    +
     <div class="alert alert-info">Agentless Scanning skips hosts where the Datadog Agent runs with both Cloud Security Vulnerabilities and Misconfigurations enabled. For other hosts with the Agent, Agentless Scanning only covers the features the Agent does not. See <a href="/security/cloud_security_management/troubleshooting/agentless_scanning#hosts-with-the-datadog-agent-are-not-scanned">Troubleshooting</a>.</div>
     
    -## How it works
    +## Choose where scanners run
    +
    +{{< callout url="https://www.datadoghq.com/product-preview/agentless-saas-mode/" header="Datadog Hosted (SaaS) Agentless Scanning is in Preview" respect-site-support="false" >}}
    +Datadog-hosted scanning supports AWS accounts only.
    +{{< /callout >}}
    +
    +| | Self-hosted | Datadog Hosted (SaaS) |
    +|---|---|---|
    +| Where the scanner runs | In your cloud account | In Datadog's infrastructure |
    +| What you deploy | Scanner instances and their networking; for AWS, this includes EC2 instances in an autoscaling group, a VPC, and a NAT gateway | An IAM policy attached to your existing Datadog integration role |
    +| Where disk contents are read | In your cloud account | In a Datadog scanning environment, in the region of your Datadog site (see [Datadog-hosted data residency](#datadog-hosted-data-residency)) |
    +| Supported cloud providers | AWS, Azure, GCP | AWS |
    +| Scanner updates | You update the scanner | Datadog updates the scanner automatically |
    +| Cloud provider infrastructure cost | Compute and networking costs appear on your cloud provider bill | None |
    +| Scanning engine and findings | Same in both modes | Same in both modes |
    +| Scan frequency | Every 12 hours | Every 12 hours |
    +| AWS resource coverage | Same in both modes | Same in both modes |
    +| Sensitive Data Scanner for Amazon S3 | Supported | Supported |
    +| On-demand scanning | Supported for AWS | Not supported |
    +| Datadog billing | Same in both modes | Same in both modes |
    +
    +### When to use Self-hosted Agentless Scanning
    +
    +- You need to scan Azure or GCP resources.
    +- Your policies require that disk contents are only read inside your own cloud account.
    +- Your policies restrict which region or cloud provider can process your data. Datadog-hosted scanning processes data in the region of your Datadog site, which can differ from the region and cloud provider of your resources.
    +- You want direct control over scanner versions or scan scheduling.
    +
    +### When to use Datadog Hosted (SaaS) Agentless Scanning
    +
    +- You want to start scanning without deploying compute or networking resources in your account.
    +- You don't want to maintain, update, or monitor scanner instances.
    +- You want to avoid the infrastructure cost of running scanners in each region.
    +- You want new resource types supported automatically, without updating a scanner.
    +
    +### Use both modes
    +
    +You don't have to choose one mode for your whole organization. Instead, you can choose a mode for each AWS account. For example, you can use Datadog-hosted scanning in most accounts and self-hosted scanners where disk contents must stay in your cloud account.
    +
    +To switch an account that already uses a self-hosted scanner, see [Move an account from self-hosted to Datadog Hosted (SaaS) Agentless Scanning][17].
    +
    +## Self-hosted Agentless Scanning {#self-hosted-scanning}
    +
    +Scanners run in your own cloud account. For setup instructions, see [Enabling Agentless Scanning][18].
    +
    +### How it works {#how-it-works}

    This one is all Claude. 🤔

    Both mode sections use the same H3s (How it works, What data is sent to Datadog, Cloud Storage scanning, On-demand scanning), so the right-side TOC shows each one twice, and they're weak anchors when the page is chunked for AI search. Since you've set custom IDs, renaming them wouldn't break any links. For example:

  • How self-hosted scanning works / How Datadog-hosted scanning works

  • What self-hosted scanning sends to Datadog / What Datadog-hosted scanning sends to Datadog
  • Also, "Cost" in the Datadog-hosted section doesn't match "Cloud service provider cost" in this one.

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -22,13 +22,67 @@ further_reading:
     
     Agentless Scanning provides visibility into vulnerabilities that exist within your AWS, Azure, and GCP cloud infrastructure, without requiring you to install the Datadog Agent. Datadog recommends enabling Agentless Scanning as a first step to gain complete visibility into your cloud resources, and then installing the Datadog Agent on your core assets over time for deeper security and observability context.
     
    +You can run Agentless scanners in one of two ways:
    +
    +- **Self-hosted**: Scanners run in your own cloud account.
    +- **Datadog Hosted (SaaS)**: Datadog runs the scanners, and you grant Datadog permissions to scan your account. AWS only.
    +
    +Both modes use the same scanning engine and produce the same findings. The difference is where the scanner runs. Self-hosted scanning remains fully supported. To compare the two, see [Choose where scanners run](#choose-where-scanners-run).
    +
     <div class="alert alert-info">Agentless Scanning skips hosts where the Datadog Agent runs with both Cloud Security Vulnerabilities and Misconfigurations enabled. For other hosts with the Agent, Agentless Scanning only covers the features the Agent does not. See <a href="/security/cloud_security_management/troubleshooting/agentless_scanning#hosts-with-the-datadog-agent-are-not-scanned">Troubleshooting</a>.</div>
     
    -## How it works
    +## Choose where scanners run
    +
    +{{< callout url="https://www.datadoghq.com/product-preview/agentless-saas-mode/" header="Datadog Hosted (SaaS) Agentless Scanning is in Preview" respect-site-support="false" >}}
    +Datadog-hosted scanning supports AWS accounts only.
    +{{< /callout >}}
    +
    +| | Self-hosted | Datadog Hosted (SaaS) |
    +|---|---|---|
    +| Where the scanner runs | In your cloud account | In Datadog's infrastructure |
    +| What you deploy | Scanner instances and their networking; for AWS, this includes EC2 instances in an autoscaling group, a VPC, and a NAT gateway | An IAM policy attached to your existing Datadog integration role |
    +| Where disk contents are read | In your cloud account | In a Datadog scanning environment, in the region of your Datadog site (see [Datadog-hosted data residency](#datadog-hosted-data-residency)) |
    +| Supported cloud providers | AWS, Azure, GCP | AWS |
    +| Scanner updates | You update the scanner | Datadog updates the scanner automatically |
    +| Cloud provider infrastructure cost | Compute and networking costs appear on your cloud provider bill | None |
    +| Scanning engine and findings | Same in both modes | Same in both modes |
    +| Scan frequency | Every 12 hours | Every 12 hours |
    +| AWS resource coverage | Same in both modes | Same in both modes |
    +| Sensitive Data Scanner for Amazon S3 | Supported | Supported |
    +| On-demand scanning | Supported for AWS | Not supported |
    +| Datadog billing | Same in both modes | Same in both modes |
    +
    +### When to use Self-hosted Agentless Scanning
    +
    +- You need to scan Azure or GCP resources.
    +- Your policies require that disk contents are only read inside your own cloud account.
    +- Your policies restrict which region or cloud provider can process your data. Datadog-hosted scanning processes data in the region of your Datadog site, which can differ from the region and cloud provider of your resources.
    +- You want direct control over scanner versions or scan scheduling.
    +
    +### When to use Datadog Hosted (SaaS) Agentless Scanning
    +
    +- You want to start scanning without deploying compute or networking resources in your account.
    +- You don't want to maintain, update, or monitor scanner instances.
    +- You want to avoid the infrastructure cost of running scanners in each region.
    +- You want new resource types supported automatically, without updating a scanner.
    +
    +### Use both modes
    +
    +You don't have to choose one mode for your whole organization. Instead, you can choose a mode for each AWS account. For example, you can use Datadog-hosted scanning in most accounts and self-hosted scanners where disk contents must stay in your cloud account.
    +
    +To switch an account that already uses a self-hosted scanner, see [Move an account from self-hosted to Datadog Hosted (SaaS) Agentless Scanning][17].
    +
    +## Self-hosted Agentless Scanning {#self-hosted-scanning}
    +
    +Scanners run in your own cloud account. For setup instructions, see [Enabling Agentless Scanning][18].
    +
    +### How it works {#how-it-works}
     
     The following diagram illustrates how Agentless Scanning works:

    Now that this sits under the self-hosted section:

    The following diagram illustrates how self-hosted Agentless Scanning works:
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -38,44 +92,44 @@ The following diagram illustrates how Agentless Scanning works:
     5. Datadog uses the SBOM to identify known vulnerabilities in your resources.
     
     This architecture provides:
    -- **Data privacy**: Your disk contents, container images, and sensitive data stay within your cloud account. Only package metadata (the SBOM) is transmitted to Datadog.
    +- **Data privacy**: Your disk contents, container images, and sensitive data stay within your cloud account. Only package metadata (the SBOM) and host metadata are transmitted to Datadog.
     - **Data residency**: No data crosses an account boundary into Datadog's infrastructure, simplifying compliance with data sovereignty requirements.

    Lines 91 and 95 say the SBOM and host metadata go to Datadog, so "No data crosses an account boundary" reads like a contradiction, especially now that the Datadog-hosted section has its own Data residency heading. Is the point that disk contents don't leave the account?

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -38,44 +92,44 @@ The following diagram illustrates how Agentless Scanning works:
     5. Datadog uses the SBOM to identify known vulnerabilities in your resources.
     
     This architecture provides:
    -- **Data privacy**: Your disk contents, container images, and sensitive data stay within your cloud account. Only package metadata (the SBOM) is transmitted to Datadog.
    +- **Data privacy**: Your disk contents, container images, and sensitive data stay within your cloud account. Only package metadata (the SBOM) and host metadata are transmitted to Datadog.
     - **Data residency**: No data crosses an account boundary into Datadog's infrastructure, simplifying compliance with data sovereignty requirements.
     - **Compliance**: Auditors can verify that scanning data remains within your perimeter.
     
     For more information on data privacy, see [What data is sent to Datadog](#what-data-is-sent-to-datadog).
     
     <div class="alert alert-info">
       <ul>
    -    <li>The scanner operates as a separate virtual machine within your infrastructure, ensuring minimal impact on existing systems and resources.</li>
    +    <li>The scanner operates as a separate VM within your infrastructure, ensuring minimal impact on existing systems and resources.</li>

        <li>The scanner operates as a separate VM within your infrastructure, which minimizes impact on existing systems and resources.</li>
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -38,44 +92,44 @@ The following diagram illustrates how Agentless Scanning works:
     5. Datadog uses the SBOM to identify known vulnerabilities in your resources.
     
     This architecture provides:
    -- **Data privacy**: Your disk contents, container images, and sensitive data stay within your cloud account. Only package metadata (the SBOM) is transmitted to Datadog.
    +- **Data privacy**: Your disk contents, container images, and sensitive data stay within your cloud account. Only package metadata (the SBOM) and host metadata are transmitted to Datadog.
     - **Data residency**: No data crosses an account boundary into Datadog's infrastructure, simplifying compliance with data sovereignty requirements.
     - **Compliance**: Auditors can verify that scanning data remains within your perimeter.
     
     For more information on data privacy, see [What data is sent to Datadog](#what-data-is-sent-to-datadog).
     
     <div class="alert alert-info">
       <ul>
    -    <li>The scanner operates as a separate virtual machine within your infrastructure, ensuring minimal impact on existing systems and resources.</li>
    +    <li>The scanner operates as a separate VM within your infrastructure, ensuring minimal impact on existing systems and resources.</li>
         <li>For AWS, scanner instances automatically scale based on workload. When there are no resources to scan, scanners scale to zero to minimize cloud provider costs.</li>
         <li>The scanner securely collects a list of packages from your hosts without transmitting any confidential or private personal information outside your infrastructure.</li>
         <li>The scanner limits its use of the cloud provider API to prevent reaching any rate limit, and uses exponential backoff if needed.</li>
         <li>Scanner instances are automatically rotated every 24 hours, ensuring they run the latest images.</li>
       </ul>
     </div>
     
    -## What data is sent to Datadog
    +### What data is sent to Datadog {#what-data-is-sent-to-datadog}
     
    -Rather than copying disk snapshots outside of your environment for analysis, to keep your data private, Datadog deploys lightweight scanning infrastructure **inside your cloud account**. Agentless Scanning creates snapshots of your resources and analyzes them locally, deleting the snapshots after the analyses are complete. It only sends to Datadog the resulting software bill of materials (SBOM), which contains a list of packages and dependencies. Your raw data, disk contents, and container images never leave your environment.
    +Rather than copying disk snapshots outside of your environment for analysis, to keep your data private, Datadog deploys lightweight scanning infrastructure **inside your cloud account**. Agentless Scanning creates snapshots of your resources and analyzes them locally, deleting the snapshots after the analyses are complete. It only sends to Datadog the resulting software bill of materials (SBOM), which contains a list of packages and dependencies, and host metadata. Your raw data, disk contents, and container images never leave your environment.

    Rather than copying disk snapshots outside of your environment for analysis, to keep your data private, Datadog deploys lightweight scanning infrastructure **inside your cloud account**. Agentless Scanning creates snapshots of your resources and analyzes them locally, deleting the snapshots after the analyses are complete. It sends to Datadog only host metadata and the resulting software bill of materials (SBOM), which lists packages and dependencies. Your raw data, disk contents, and container images never leave your environment.
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -38,44 +92,44 @@ The following diagram illustrates how Agentless Scanning works:
     5. Datadog uses the SBOM to identify known vulnerabilities in your resources.
     
     This architecture provides:
    -- **Data privacy**: Your disk contents, container images, and sensitive data stay within your cloud account. Only package metadata (the SBOM) is transmitted to Datadog.
    +- **Data privacy**: Your disk contents, container images, and sensitive data stay within your cloud account. Only package metadata (the SBOM) and host metadata are transmitted to Datadog.
     - **Data residency**: No data crosses an account boundary into Datadog's infrastructure, simplifying compliance with data sovereignty requirements.
     - **Compliance**: Auditors can verify that scanning data remains within your perimeter.
     
     For more information on data privacy, see [What data is sent to Datadog](#what-data-is-sent-to-datadog).
     
     <div class="alert alert-info">
       <ul>
    -    <li>The scanner operates as a separate virtual machine within your infrastructure, ensuring minimal impact on existing systems and resources.</li>
    +    <li>The scanner operates as a separate VM within your infrastructure, ensuring minimal impact on existing systems and resources.</li>
         <li>For AWS, scanner instances automatically scale based on workload. When there are no resources to scan, scanners scale to zero to minimize cloud provider costs.</li>
         <li>The scanner securely collects a list of packages from your hosts without transmitting any confidential or private personal information outside your infrastructure.</li>
         <li>The scanner limits its use of the cloud provider API to prevent reaching any rate limit, and uses exponential backoff if needed.</li>
         <li>Scanner instances are automatically rotated every 24 hours, ensuring they run the latest images.</li>
       </ul>
     </div>
     
    -## What data is sent to Datadog
    +### What data is sent to Datadog {#what-data-is-sent-to-datadog}
     
    -Rather than copying disk snapshots outside of your environment for analysis, to keep your data private, Datadog deploys lightweight scanning infrastructure **inside your cloud account**. Agentless Scanning creates snapshots of your resources and analyzes them locally, deleting the snapshots after the analyses are complete. It only sends to Datadog the resulting software bill of materials (SBOM), which contains a list of packages and dependencies. Your raw data, disk contents, and container images never leave your environment.
    +Rather than copying disk snapshots outside of your environment for analysis, to keep your data private, Datadog deploys lightweight scanning infrastructure **inside your cloud account**. Agentless Scanning creates snapshots of your resources and analyzes them locally, deleting the snapshots after the analyses are complete. It only sends to Datadog the resulting software bill of materials (SBOM), which contains a list of packages and dependencies, and host metadata. Your raw data, disk contents, and container images never leave your environment.
     
     The Agentless scanner uses the OWASP [cycloneDX][3] format to transmit a list of packages to Datadog. No confidential or private personal information is ever transmitted outside of your infrastructure.
     
    -Datadog does **not** send:
    +The scanner does **not** send:
     - System and package configurations
     - Encryption keys and certificates
     - Logs and Audit Trails
     - Sensitive business data
     
    -## Cloud service provider cost
    +### Cloud service provider cost {#cloud-service-provider-cost}
     
    -Because Agentless Scanning runs inside your cloud account, the compute and networking costs appear on your cloud provider bill. While vendors that scan in their own infrastructure bundle compute costs into their SaaS fees, keeping data in your environment means that you see the infrastructure cost directly.
    +Agentless Scanning runs inside your cloud account, so the compute and networking costs appear on your cloud provider bill. While vendors that scan in their own infrastructure bundle compute costs into their SaaS fees, keeping data in your environment means that you see the infrastructure cost directly.

    "Agentless Scanning" is ambiguous now that there are two modes.

    The second sentence was written when self-hosted was the only mode, as a contrast with vendors that scan in their own infrastructure. Datadog-hosted scanning is now that model, so a reader could take this to mean Datadog-hosted bundles compute costs into its fees. That contradicts the Cost section, which says Datadog-hosted has "no additional Datadog cost." The trade-off it describes (you pay the compute cost, but your data stays in your account) is already covered in the "When to use" section and the comparison table. What do you think about cutting it?

    Self-hosted scanners run inside your cloud account, so the compute and networking costs appear on your cloud provider bill.
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -85,30 +139,78 @@ Scanner instances require [permissions][4] to create and copy snapshots and desc
     - Enable unattended security updates, and rotate instances automatically every 24 hours.
     - Don't allow inbound access to scanner instances (security group restricted).
     
    -## Cloud Storage scanning
    +### Cloud Storage scanning {#cloud-storage-scanning}
     
     You can enable [Sensitive Data Scanner][8] for your Agentless Scanning resources during deployment or after setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage (such as Amazon S3 buckets). It only reads data stores and their files in your environment, without sending any sensitive data to Datadog.
     
    -## On-demand scanning
    +### On-demand scanning {#on-demand-scanning}
     
     By default, Agentless Scanning automatically scans your resources every 12 hours. For AWS, you can also trigger an immediate scan of a specific resource (host, container, Lambda function, or S3 bucket) using the On-Demand Scanning API. For more information, see the [On-Demand Scanning API][14] documentation.
     
    +## Datadog Hosted (SaaS) Agentless Scanning {#datadog-hosted-scanning}
    +
    +Datadog runs the scanners in its own infrastructure. This mode is in Preview and supports AWS only. For setup instructions, see [Enabling Agentless Scanning][19].
    +
    +### How it works {#datadog-hosted-how-it-works}
    +
    +1. Datadog discovers your resources through cloud provider APIs. This step reads metadata only.
    +2. Datadog creates a snapshot of each volume to scan in your AWS account. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.

    2. In your AWS account, Datadog creates a snapshot of each volume to scan. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -85,30 +139,78 @@ Scanner instances require [permissions][4] to create and copy snapshots and desc
     - Enable unattended security updates, and rotate instances automatically every 24 hours.
     - Don't allow inbound access to scanner instances (security group restricted).
     
    -## Cloud Storage scanning
    +### Cloud Storage scanning {#cloud-storage-scanning}
     
     You can enable [Sensitive Data Scanner][8] for your Agentless Scanning resources during deployment or after setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage (such as Amazon S3 buckets). It only reads data stores and their files in your environment, without sending any sensitive data to Datadog.
     
    -## On-demand scanning
    +### On-demand scanning {#on-demand-scanning}
     
     By default, Agentless Scanning automatically scans your resources every 12 hours. For AWS, you can also trigger an immediate scan of a specific resource (host, container, Lambda function, or S3 bucket) using the On-Demand Scanning API. For more information, see the [On-Demand Scanning API][14] documentation.
     
    +## Datadog Hosted (SaaS) Agentless Scanning {#datadog-hosted-scanning}
    +
    +Datadog runs the scanners in its own infrastructure. This mode is in Preview and supports AWS only. For setup instructions, see [Enabling Agentless Scanning][19].
    +
    +### How it works {#datadog-hosted-how-it-works}
    +
    +1. Datadog discovers your resources through cloud provider APIs. This step reads metadata only.
    +2. Datadog creates a snapshot of each volume to scan in your AWS account. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.
    +3. Datadog reads the snapshot's blocks over HTTPS using the Amazon EBS direct APIs.
    +4. Datadog presents the blocks to a scanning sandbox as a block device, and the sandbox mounts the partitions as read-only.
    +5. Scanners analyze the mounted file systems and send findings and SBOMs to Datadog.
    +6. Datadog deletes the snapshot and destroys the sandbox.
    +
    +Each scan runs in a new hardware-isolated microVM with its own kernel, which Datadog destroys when the scan ends. Datadog never runs code on your instances.
    +
    +### What data is sent to Datadog {#datadog-hosted-what-data-is-sent-to-datadog}
    +
    +Datadog reads your disk contents in its scanning environment to analyze them. Datadog reads the blocks on demand and does **not** retain any copy of your disk contents. When the scan ends, Datadog destroys the sandbox. Like with self-hosted scanning, the only data that persists in Datadog is the findings and SBOMs.

    The sandbox teardown is already in step 6 and line 163, so I tightened this.

    Also, self-hosted sends host metadata too. Is it the same for Datadog-hosted as well?

    Datadog reads your disk contents in its scanning environment on demand, and does **not** retain any copy of them. Only findings and SBOMs persist in Datadog.
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -85,30 +139,78 @@ Scanner instances require [permissions][4] to create and copy snapshots and desc
     - Enable unattended security updates, and rotate instances automatically every 24 hours.
     - Don't allow inbound access to scanner instances (security group restricted).
     
    -## Cloud Storage scanning
    +### Cloud Storage scanning {#cloud-storage-scanning}
     
     You can enable [Sensitive Data Scanner][8] for your Agentless Scanning resources during deployment or after setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage (such as Amazon S3 buckets). It only reads data stores and their files in your environment, without sending any sensitive data to Datadog.
     
    -## On-demand scanning
    +### On-demand scanning {#on-demand-scanning}
     
     By default, Agentless Scanning automatically scans your resources every 12 hours. For AWS, you can also trigger an immediate scan of a specific resource (host, container, Lambda function, or S3 bucket) using the On-Demand Scanning API. For more information, see the [On-Demand Scanning API][14] documentation.
     
    +## Datadog Hosted (SaaS) Agentless Scanning {#datadog-hosted-scanning}
    +
    +Datadog runs the scanners in its own infrastructure. This mode is in Preview and supports AWS only. For setup instructions, see [Enabling Agentless Scanning][19].
    +
    +### How it works {#datadog-hosted-how-it-works}
    +
    +1. Datadog discovers your resources through cloud provider APIs. This step reads metadata only.
    +2. Datadog creates a snapshot of each volume to scan in your AWS account. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.
    +3. Datadog reads the snapshot's blocks over HTTPS using the Amazon EBS direct APIs.
    +4. Datadog presents the blocks to a scanning sandbox as a block device, and the sandbox mounts the partitions as read-only.
    +5. Scanners analyze the mounted file systems and send findings and SBOMs to Datadog.
    +6. Datadog deletes the snapshot and destroys the sandbox.
    +
    +Each scan runs in a new hardware-isolated microVM with its own kernel, which Datadog destroys when the scan ends. Datadog never runs code on your instances.
    +
    +### What data is sent to Datadog {#datadog-hosted-what-data-is-sent-to-datadog}
    +
    +Datadog reads your disk contents in its scanning environment to analyze them. Datadog reads the blocks on demand and does **not** retain any copy of your disk contents. When the scan ends, Datadog destroys the sandbox. Like with self-hosted scanning, the only data that persists in Datadog is the findings and SBOMs.
    +
    +### Data residency {#datadog-hosted-data-residency}
    +
    +Scans run in the region of the Datadog site that your organization uses, not in the region where your resources are located. For example, if your organization uses the EU1 site, Datadog scans your resources in the EU, regardless of which AWS region your resources are in.
    +
    +If your resources are in a different region than your Datadog site, scanning can involve a cross-border data transfer. Review your privacy requirements before you enable scanning for these accounts. If your data must be processed in your own cloud account or region, use self-hosted scanning.
    +
    +### Cost {#datadog-hosted-cost}
    +
    +There is no scanner infrastructure cost on your cloud provider bill and no additional Datadog cost.

    Datadog creates the snapshots in the customer's account and reads them through the EBS direct APIs. Do snapshot storage or EBS direct API requests show up on the customer's AWS bill? If so, this line and the table's "None" (line 47) might need a qualifier.

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -85,30 +139,78 @@ Scanner instances require [permissions][4] to create and copy snapshots and desc
     - Enable unattended security updates, and rotate instances automatically every 24 hours.
     - Don't allow inbound access to scanner instances (security group restricted).
     
    -## Cloud Storage scanning
    +### Cloud Storage scanning {#cloud-storage-scanning}
     
     You can enable [Sensitive Data Scanner][8] for your Agentless Scanning resources during deployment or after setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage (such as Amazon S3 buckets). It only reads data stores and their files in your environment, without sending any sensitive data to Datadog.
     
    -## On-demand scanning
    +### On-demand scanning {#on-demand-scanning}
     
     By default, Agentless Scanning automatically scans your resources every 12 hours. For AWS, you can also trigger an immediate scan of a specific resource (host, container, Lambda function, or S3 bucket) using the On-Demand Scanning API. For more information, see the [On-Demand Scanning API][14] documentation.
     
    +## Datadog Hosted (SaaS) Agentless Scanning {#datadog-hosted-scanning}
    +
    +Datadog runs the scanners in its own infrastructure. This mode is in Preview and supports AWS only. For setup instructions, see [Enabling Agentless Scanning][19].
    +
    +### How it works {#datadog-hosted-how-it-works}
    +
    +1. Datadog discovers your resources through cloud provider APIs. This step reads metadata only.
    +2. Datadog creates a snapshot of each volume to scan in your AWS account. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.
    +3. Datadog reads the snapshot's blocks over HTTPS using the Amazon EBS direct APIs.
    +4. Datadog presents the blocks to a scanning sandbox as a block device, and the sandbox mounts the partitions as read-only.
    +5. Scanners analyze the mounted file systems and send findings and SBOMs to Datadog.
    +6. Datadog deletes the snapshot and destroys the sandbox.
    +
    +Each scan runs in a new hardware-isolated microVM with its own kernel, which Datadog destroys when the scan ends. Datadog never runs code on your instances.
    +
    +### What data is sent to Datadog {#datadog-hosted-what-data-is-sent-to-datadog}
    +
    +Datadog reads your disk contents in its scanning environment to analyze them. Datadog reads the blocks on demand and does **not** retain any copy of your disk contents. When the scan ends, Datadog destroys the sandbox. Like with self-hosted scanning, the only data that persists in Datadog is the findings and SBOMs.
    +
    +### Data residency {#datadog-hosted-data-residency}
    +
    +Scans run in the region of the Datadog site that your organization uses, not in the region where your resources are located. For example, if your organization uses the EU1 site, Datadog scans your resources in the EU, regardless of which AWS region your resources are in.
    +
    +If your resources are in a different region than your Datadog site, scanning can involve a cross-border data transfer. Review your privacy requirements before you enable scanning for these accounts. If your data must be processed in your own cloud account or region, use self-hosted scanning.
    +
    +### Cost {#datadog-hosted-cost}
    +
    +There is no scanner infrastructure cost on your cloud provider bill and no additional Datadog cost.
    +
    +### Cloud Storage scanning {#datadog-hosted-cloud-storage-scanning}
    +
    +You can enable [Sensitive Data Scanner][8] for Amazon S3 buckets during setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage.

    Can you also enable Sensitive Data Scanner after setup? The self-hosted section says "during deployment or after setup."

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -85,30 +139,78 @@ Scanner instances require [permissions][4] to create and copy snapshots and desc
     - Enable unattended security updates, and rotate instances automatically every 24 hours.
     - Don't allow inbound access to scanner instances (security group restricted).
     
    -## Cloud Storage scanning
    +### Cloud Storage scanning {#cloud-storage-scanning}
     
     You can enable [Sensitive Data Scanner][8] for your Agentless Scanning resources during deployment or after setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage (such as Amazon S3 buckets). It only reads data stores and their files in your environment, without sending any sensitive data to Datadog.
     
    -## On-demand scanning
    +### On-demand scanning {#on-demand-scanning}
     
     By default, Agentless Scanning automatically scans your resources every 12 hours. For AWS, you can also trigger an immediate scan of a specific resource (host, container, Lambda function, or S3 bucket) using the On-Demand Scanning API. For more information, see the [On-Demand Scanning API][14] documentation.
     
    +## Datadog Hosted (SaaS) Agentless Scanning {#datadog-hosted-scanning}
    +
    +Datadog runs the scanners in its own infrastructure. This mode is in Preview and supports AWS only. For setup instructions, see [Enabling Agentless Scanning][19].
    +
    +### How it works {#datadog-hosted-how-it-works}
    +
    +1. Datadog discovers your resources through cloud provider APIs. This step reads metadata only.
    +2. Datadog creates a snapshot of each volume to scan in your AWS account. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.
    +3. Datadog reads the snapshot's blocks over HTTPS using the Amazon EBS direct APIs.
    +4. Datadog presents the blocks to a scanning sandbox as a block device, and the sandbox mounts the partitions as read-only.
    +5. Scanners analyze the mounted file systems and send findings and SBOMs to Datadog.
    +6. Datadog deletes the snapshot and destroys the sandbox.
    +
    +Each scan runs in a new hardware-isolated microVM with its own kernel, which Datadog destroys when the scan ends. Datadog never runs code on your instances.
    +
    +### What data is sent to Datadog {#datadog-hosted-what-data-is-sent-to-datadog}
    +
    +Datadog reads your disk contents in its scanning environment to analyze them. Datadog reads the blocks on demand and does **not** retain any copy of your disk contents. When the scan ends, Datadog destroys the sandbox. Like with self-hosted scanning, the only data that persists in Datadog is the findings and SBOMs.
    +
    +### Data residency {#datadog-hosted-data-residency}
    +
    +Scans run in the region of the Datadog site that your organization uses, not in the region where your resources are located. For example, if your organization uses the EU1 site, Datadog scans your resources in the EU, regardless of which AWS region your resources are in.
    +
    +If your resources are in a different region than your Datadog site, scanning can involve a cross-border data transfer. Review your privacy requirements before you enable scanning for these accounts. If your data must be processed in your own cloud account or region, use self-hosted scanning.
    +
    +### Cost {#datadog-hosted-cost}
    +
    +There is no scanner infrastructure cost on your cloud provider bill and no additional Datadog cost.
    +
    +### Cloud Storage scanning {#datadog-hosted-cloud-storage-scanning}
    +
    +You can enable [Sensitive Data Scanner][8] for Amazon S3 buckets during setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage.
    +
    +With Datadog-hosted scanning, Datadog reads the contents of your S3 buckets in its scanning environment, in the same way as disk contents. Datadog does **not** retain your object contents. Datadog stores only the location where it found sensitive data, not the matched data itself. For each match, Datadog records the bucket, object path, matching rule, and position in the object. Because buckets often hold more sensitive data than disks, review your data handling requirements before you enable Sensitive Data Scanner.

    The retention point is made twice, so I combined it:

    With Datadog-hosted scanning, Datadog reads the contents of your S3 buckets in its scanning environment, in the same way as disk contents. Datadog does **not** retain your object contents or the matched data. For each match, Datadog stores only the location: the bucket, object path, matching rule, and position in the object. Because buckets often hold more sensitive data than disks, review your data handling requirements before you enable Sensitive Data Scanner.
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -85,30 +139,78 @@ Scanner instances require [permissions][4] to create and copy snapshots and desc
     - Enable unattended security updates, and rotate instances automatically every 24 hours.
     - Don't allow inbound access to scanner instances (security group restricted).
     
    -## Cloud Storage scanning
    +### Cloud Storage scanning {#cloud-storage-scanning}
     
     You can enable [Sensitive Data Scanner][8] for your Agentless Scanning resources during deployment or after setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage (such as Amazon S3 buckets). It only reads data stores and their files in your environment, without sending any sensitive data to Datadog.
     
    -## On-demand scanning
    +### On-demand scanning {#on-demand-scanning}
     
     By default, Agentless Scanning automatically scans your resources every 12 hours. For AWS, you can also trigger an immediate scan of a specific resource (host, container, Lambda function, or S3 bucket) using the On-Demand Scanning API. For more information, see the [On-Demand Scanning API][14] documentation.
     
    +## Datadog Hosted (SaaS) Agentless Scanning {#datadog-hosted-scanning}
    +
    +Datadog runs the scanners in its own infrastructure. This mode is in Preview and supports AWS only. For setup instructions, see [Enabling Agentless Scanning][19].
    +
    +### How it works {#datadog-hosted-how-it-works}
    +
    +1. Datadog discovers your resources through cloud provider APIs. This step reads metadata only.
    +2. Datadog creates a snapshot of each volume to scan in your AWS account. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.
    +3. Datadog reads the snapshot's blocks over HTTPS using the Amazon EBS direct APIs.
    +4. Datadog presents the blocks to a scanning sandbox as a block device, and the sandbox mounts the partitions as read-only.
    +5. Scanners analyze the mounted file systems and send findings and SBOMs to Datadog.
    +6. Datadog deletes the snapshot and destroys the sandbox.
    +
    +Each scan runs in a new hardware-isolated microVM with its own kernel, which Datadog destroys when the scan ends. Datadog never runs code on your instances.
    +
    +### What data is sent to Datadog {#datadog-hosted-what-data-is-sent-to-datadog}
    +
    +Datadog reads your disk contents in its scanning environment to analyze them. Datadog reads the blocks on demand and does **not** retain any copy of your disk contents. When the scan ends, Datadog destroys the sandbox. Like with self-hosted scanning, the only data that persists in Datadog is the findings and SBOMs.
    +
    +### Data residency {#datadog-hosted-data-residency}
    +
    +Scans run in the region of the Datadog site that your organization uses, not in the region where your resources are located. For example, if your organization uses the EU1 site, Datadog scans your resources in the EU, regardless of which AWS region your resources are in.
    +
    +If your resources are in a different region than your Datadog site, scanning can involve a cross-border data transfer. Review your privacy requirements before you enable scanning for these accounts. If your data must be processed in your own cloud account or region, use self-hosted scanning.
    +
    +### Cost {#datadog-hosted-cost}
    +
    +There is no scanner infrastructure cost on your cloud provider bill and no additional Datadog cost.
    +
    +### Cloud Storage scanning {#datadog-hosted-cloud-storage-scanning}
    +
    +You can enable [Sensitive Data Scanner][8] for Amazon S3 buckets during setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage.
    +
    +With Datadog-hosted scanning, Datadog reads the contents of your S3 buckets in its scanning environment, in the same way as disk contents. Datadog does **not** retain your object contents. Datadog stores only the location where it found sensitive data, not the matched data itself. For each match, Datadog records the bucket, object path, matching rule, and position in the object. Because buckets often hold more sensitive data than disks, review your data handling requirements before you enable Sensitive Data Scanner.
    +
    +Sensitive Data Scanner is optional. You can turn it off and still use Datadog-hosted scanning for vulnerabilities. To turn it off after setup:
    +
    +- **CloudFormation**: Turn off Sensitive Data Scanner in Datadog. For instructions, see [Set up Sensitive Data Scanner][20].

    This link goes to the Sensitive Data Scanner setup overview, which doesn't have steps for turning it off. Where should a Datadog-hosted user go for those steps?

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -85,30 +139,78 @@ Scanner instances require [permissions][4] to create and copy snapshots and desc
     - Enable unattended security updates, and rotate instances automatically every 24 hours.
     - Don't allow inbound access to scanner instances (security group restricted).
     
    -## Cloud Storage scanning
    +### Cloud Storage scanning {#cloud-storage-scanning}
     
     You can enable [Sensitive Data Scanner][8] for your Agentless Scanning resources during deployment or after setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage (such as Amazon S3 buckets). It only reads data stores and their files in your environment, without sending any sensitive data to Datadog.
     
    -## On-demand scanning
    +### On-demand scanning {#on-demand-scanning}
     
     By default, Agentless Scanning automatically scans your resources every 12 hours. For AWS, you can also trigger an immediate scan of a specific resource (host, container, Lambda function, or S3 bucket) using the On-Demand Scanning API. For more information, see the [On-Demand Scanning API][14] documentation.
     
    +## Datadog Hosted (SaaS) Agentless Scanning {#datadog-hosted-scanning}
    +
    +Datadog runs the scanners in its own infrastructure. This mode is in Preview and supports AWS only. For setup instructions, see [Enabling Agentless Scanning][19].
    +
    +### How it works {#datadog-hosted-how-it-works}
    +
    +1. Datadog discovers your resources through cloud provider APIs. This step reads metadata only.
    +2. Datadog creates a snapshot of each volume to scan in your AWS account. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.
    +3. Datadog reads the snapshot's blocks over HTTPS using the Amazon EBS direct APIs.
    +4. Datadog presents the blocks to a scanning sandbox as a block device, and the sandbox mounts the partitions as read-only.
    +5. Scanners analyze the mounted file systems and send findings and SBOMs to Datadog.
    +6. Datadog deletes the snapshot and destroys the sandbox.
    +
    +Each scan runs in a new hardware-isolated microVM with its own kernel, which Datadog destroys when the scan ends. Datadog never runs code on your instances.
    +
    +### What data is sent to Datadog {#datadog-hosted-what-data-is-sent-to-datadog}
    +
    +Datadog reads your disk contents in its scanning environment to analyze them. Datadog reads the blocks on demand and does **not** retain any copy of your disk contents. When the scan ends, Datadog destroys the sandbox. Like with self-hosted scanning, the only data that persists in Datadog is the findings and SBOMs.
    +
    +### Data residency {#datadog-hosted-data-residency}
    +
    +Scans run in the region of the Datadog site that your organization uses, not in the region where your resources are located. For example, if your organization uses the EU1 site, Datadog scans your resources in the EU, regardless of which AWS region your resources are in.
    +
    +If your resources are in a different region than your Datadog site, scanning can involve a cross-border data transfer. Review your privacy requirements before you enable scanning for these accounts. If your data must be processed in your own cloud account or region, use self-hosted scanning.
    +
    +### Cost {#datadog-hosted-cost}
    +
    +There is no scanner infrastructure cost on your cloud provider bill and no additional Datadog cost.
    +
    +### Cloud Storage scanning {#datadog-hosted-cloud-storage-scanning}
    +
    +You can enable [Sensitive Data Scanner][8] for Amazon S3 buckets during setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage.
    +
    +With Datadog-hosted scanning, Datadog reads the contents of your S3 buckets in its scanning environment, in the same way as disk contents. Datadog does **not** retain your object contents. Datadog stores only the location where it found sensitive data, not the matched data itself. For each match, Datadog records the bucket, object path, matching rule, and position in the object. Because buckets often hold more sensitive data than disks, review your data handling requirements before you enable Sensitive Data Scanner.
    +
    +Sensitive Data Scanner is optional. You can turn it off and still use Datadog-hosted scanning for vulnerabilities. To turn it off after setup:
    +
    +- **CloudFormation**: Turn off Sensitive Data Scanner in Datadog. For instructions, see [Set up Sensitive Data Scanner][20].
    +- **Terraform**: Set the `sensitive_data_scanning_enabled` variable to `false`, then apply the configuration.
    +
    +### On-demand scanning {#datadog-hosted-on-demand-scanning}
    +
    +The [On-Demand Scanning API][14] is not available for Datadog-hosted scanning. Datadog scans your resources automatically every 12 hours.
    +
     ## Further reading
     
     {{< partial name="whats-next/whats-next.html" >}}
     
     [1]: /security/cloud_security_management/setup/agentless_scanning#setup
     [2]: /remote_configuration
     [3]: https://cyclonedx.org/
    -[4]: /security/cloud_security_management/setup/agentless_scanning/enable#prerequisites
    +[4]: /security/cloud_security_management/setup/agentless_scanning/enable#prerequisites?agentless_scanner_hosting=self_hosted

    Claude says: The query string needs to come before the #. Otherwise the browser reads ?agentless_scanner_hosting=... as part of the anchor, so the link doesn't jump to the section.

    [4]: /security/cloud_security_management/setup/agentless_scanning/enable?agentless_scanner_hosting=self_hosted#prerequisites
    

    melamos melamos commented on code on Nov 20, 2026 17:09 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -85,30 +139,78 @@ Scanner instances require [permissions][4] to create and copy snapshots and desc
     - Enable unattended security updates, and rotate instances automatically every 24 hours.
     - Don't allow inbound access to scanner instances (security group restricted).
     
    -## Cloud Storage scanning
    +### Cloud Storage scanning {#cloud-storage-scanning}
     
     You can enable [Sensitive Data Scanner][8] for your Agentless Scanning resources during deployment or after setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage (such as Amazon S3 buckets). It only reads data stores and their files in your environment, without sending any sensitive data to Datadog.
     
    -## On-demand scanning
    +### On-demand scanning {#on-demand-scanning}
     
     By default, Agentless Scanning automatically scans your resources every 12 hours. For AWS, you can also trigger an immediate scan of a specific resource (host, container, Lambda function, or S3 bucket) using the On-Demand Scanning API. For more information, see the [On-Demand Scanning API][14] documentation.
     
    +## Datadog Hosted (SaaS) Agentless Scanning {#datadog-hosted-scanning}
    +
    +Datadog runs the scanners in its own infrastructure. This mode is in Preview and supports AWS only. For setup instructions, see [Enabling Agentless Scanning][19].
    +
    +### How it works {#datadog-hosted-how-it-works}
    +
    +1. Datadog discovers your resources through cloud provider APIs. This step reads metadata only.
    +2. Datadog creates a snapshot of each volume to scan in your AWS account. The snapshot stays in your account. Datadog never shares the snapshot with or copies it into a Datadog AWS account.
    +3. Datadog reads the snapshot's blocks over HTTPS using the Amazon EBS direct APIs.
    +4. Datadog presents the blocks to a scanning sandbox as a block device, and the sandbox mounts the partitions as read-only.
    +5. Scanners analyze the mounted file systems and send findings and SBOMs to Datadog.
    +6. Datadog deletes the snapshot and destroys the sandbox.
    +
    +Each scan runs in a new hardware-isolated microVM with its own kernel, which Datadog destroys when the scan ends. Datadog never runs code on your instances.
    +
    +### What data is sent to Datadog {#datadog-hosted-what-data-is-sent-to-datadog}
    +
    +Datadog reads your disk contents in its scanning environment to analyze them. Datadog reads the blocks on demand and does **not** retain any copy of your disk contents. When the scan ends, Datadog destroys the sandbox. Like with self-hosted scanning, the only data that persists in Datadog is the findings and SBOMs.
    +
    +### Data residency {#datadog-hosted-data-residency}
    +
    +Scans run in the region of the Datadog site that your organization uses, not in the region where your resources are located. For example, if your organization uses the EU1 site, Datadog scans your resources in the EU, regardless of which AWS region your resources are in.
    +
    +If your resources are in a different region than your Datadog site, scanning can involve a cross-border data transfer. Review your privacy requirements before you enable scanning for these accounts. If your data must be processed in your own cloud account or region, use self-hosted scanning.
    +
    +### Cost {#datadog-hosted-cost}
    +
    +There is no scanner infrastructure cost on your cloud provider bill and no additional Datadog cost.
    +
    +### Cloud Storage scanning {#datadog-hosted-cloud-storage-scanning}
    +
    +You can enable [Sensitive Data Scanner][8] for Amazon S3 buckets during setup. Sensitive Data Scanner catalogs and classifies sensitive data in your cloud storage.
    +
    +With Datadog-hosted scanning, Datadog reads the contents of your S3 buckets in its scanning environment, in the same way as disk contents. Datadog does **not** retain your object contents. Datadog stores only the location where it found sensitive data, not the matched data itself. For each match, Datadog records the bucket, object path, matching rule, and position in the object. Because buckets often hold more sensitive data than disks, review your data handling requirements before you enable Sensitive Data Scanner.
    +
    +Sensitive Data Scanner is optional. You can turn it off and still use Datadog-hosted scanning for vulnerabilities. To turn it off after setup:
    +
    +- **CloudFormation**: Turn off Sensitive Data Scanner in Datadog. For instructions, see [Set up Sensitive Data Scanner][20].
    +- **Terraform**: Set the `sensitive_data_scanning_enabled` variable to `false`, then apply the configuration.
    +
    +### On-demand scanning {#datadog-hosted-on-demand-scanning}
    +
    +The [On-Demand Scanning API][14] is not available for Datadog-hosted scanning. Datadog scans your resources automatically every 12 hours.
    +
     ## Further reading
     
     {{< partial name="whats-next/whats-next.html" >}}
     
     [1]: /security/cloud_security_management/setup/agentless_scanning#setup
     [2]: /remote_configuration
     [3]: https://cyclonedx.org/
    -[4]: /security/cloud_security_management/setup/agentless_scanning/enable#prerequisites
    +[4]: /security/cloud_security_management/setup/agentless_scanning/enable#prerequisites?agentless_scanner_hosting=self_hosted
     [5]: https://app.datadoghq.com/security/csm/vm
     [6]: #terraform
     [7]: mailto:success@datadoghq.com
     [8]: /security/sensitive_data_scanner
     [9]: /security/cloud_security_management
     [10]: /remote_configuration
     [11]: /security/sensitive_data_scanner/scanning_rules/library_rules/
    -[13]: /security/cloud_security_management/setup/agentless_scanning/deployment_methods#recommended-configuration
    +[13]: /security/cloud_security_management/setup/agentless_scanning/deployment_methods?agentless_scanner_hosting=self_hosted
     [14]: /api/latest/agentless-scanning/#create-aws-on-demand-task
     [15]: /security/cloud_security_management/guide/resource_evaluation_filters
    -[16]: /security/cloud_security_management/setup/agentless_scanning/deployment_methods
    +[16]: /security/cloud_security_management/setup/agentless_scanning/deployment_methods?agentless_scanner_hosting=self_hosted
    +[17]: /security/cloud_security_management/setup/agentless_scanning/deployment_methods#move-an-account-from-self-hosted-to-datadog-hosted-scanning?agentless_scanner_hosting=datadog_hosted

    Same as [4]:

    [17]: /security/cloud_security_management/setup/agentless_scanning/deployment_methods?agentless_scanner_hosting=datadog_hosted#move-an-account-from-self-hosted-to-datadog-hosted-scanning
    

    melamos melamos commented on code on Nov 20, 2026 17:49 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/_index.md:1
    @@ -22,13 +22,67 @@ further_reading:
     
     Agentless Scanning provides visibility into vulnerabilities that exist within your AWS, Azure, and GCP cloud infrastructure, without requiring you to install the Datadog Agent. Datadog recommends enabling Agentless Scanning as a first step to gain complete visibility into your cloud resources, and then installing the Datadog Agent on your core assets over time for deeper security and observability context.
     
    +You can run Agentless scanners in one of two ways:
    +
    +- **Self-hosted**: Scanners run in your own cloud account.
    +- **Datadog Hosted (SaaS)**: Datadog runs the scanners, and you grant Datadog permissions to scan your account. AWS only.
    +
    +Both modes use the same scanning engine and produce the same findings. The difference is where the scanner runs. Self-hosted scanning remains fully supported. To compare the two, see [Choose where scanners run](#choose-where-scanners-run).
    +
     <div class="alert alert-info">Agentless Scanning skips hosts where the Datadog Agent runs with both Cloud Security Vulnerabilities and Misconfigurations enabled. For other hosts with the Agent, Agentless Scanning only covers the features the Agent does not. See <a href="/security/cloud_security_management/troubleshooting/agentless_scanning#hosts-with-the-datadog-agent-are-not-scanned">Troubleshooting</a>.</div>
     
    -## How it works
    +## Choose where scanners run
    +
    +{{< callout url="https://www.datadoghq.com/product-preview/agentless-saas-mode/" header="Datadog Hosted (SaaS) Agentless Scanning is in Preview" respect-site-support="false" >}}
    +Datadog-hosted scanning supports AWS accounts only.
    +{{< /callout >}}
    +
    +| | Self-hosted | Datadog Hosted (SaaS) |
    +|---|---|---|
    +| Where the scanner runs | In your cloud account | In Datadog's infrastructure |
    +| What you deploy | Scanner instances and their networking; for AWS, this includes EC2 instances in an autoscaling group, a VPC, and a NAT gateway | An IAM policy attached to your existing Datadog integration role |
    +| Where disk contents are read | In your cloud account | In a Datadog scanning environment, in the region of your Datadog site (see [Datadog-hosted data residency](#datadog-hosted-data-residency)) |
    +| Supported cloud providers | AWS, Azure, GCP | AWS |
    +| Scanner updates | You update the scanner | Datadog updates the scanner automatically |
    +| Cloud provider infrastructure cost | Compute and networking costs appear on your cloud provider bill | None |
    +| Scanning engine and findings | Same in both modes | Same in both modes |
    +| Scan frequency | Every 12 hours | Every 12 hours |
    +| AWS resource coverage | Same in both modes | Same in both modes |
    +| Sensitive Data Scanner for Amazon S3 | Supported | Supported |
    +| On-demand scanning | Supported for AWS | Not supported |
    +| Datadog billing | Same in both modes | Same in both modes |
    +
    +### When to use Self-hosted Agentless Scanning
    +
    +- You need to scan Azure or GCP resources.

    Suggesting an intro sentence here to clarify any vs. all.

    Use self-hosted scanning if any of the following apply:
    
    - You need to scan Azure or GCP resources.
    

    melamos melamos commented on code on Nov 20, 2026 18:08 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/compatibility.md:1
    @@ -6,7 +6,7 @@ aliases:
     
     ## Availability
     
    -Agentless Scanning is supported on AWS, Azure, and GCP.
    +Agentless Scanning is supported on AWS, Azure, and GCP. Datadog-hosted scanning supports AWS only. For more information, see [Choose where scanners run][19].

    Agentless Scanning is supported on AWS, Azure, and GCP. Datadog-hosted scanning is supported on AWS only. For more information, see [Choose where scanners run][19].
    

    melamos melamos commented on code on Nov 20, 2026 18:18 UTC
    Code Review
    hugo/content/en/security/cloud_security_management/setup/agentless_scanning/deployment_methods.mdoc.md:1
    @@ -12,19 +12,41 @@ further_reading:
       - link: "/security/cloud_security_management/setup/agentless_scanning/update"
         tag: "Documentation"
         text: "Updating Agentless Scanning"
    +content_filters:
    +  - trait_id: agentless_scanner_hosting
    +    option_group_id: agentless_scanner_hosting_options
    +    label: "Scanner hosting"
     ---
     
    -This guide helps you choose the right deployment topology for Agentless Scanning based on your cloud environment. For setup instructions, see [Enabling Agentless Scanning][3].
    +This guide helps you choose the right deployment topology for Agentless Scanning based on your cloud environment. For setup instructions, see [Enabling Agentless Scanning][3]. To compare self-hosted and Datadog-hosted scanning, see [Choose where scanners run][5].

    In the Datadog-hosted view, there's no topology to choose, so "choose the right deployment topology" doesn't fit.

    This guide helps you plan your Agentless Scanning deployment for your cloud environment. For setup instructions, see [Enabling Agentless Scanning][3]. To compare self-hosted and Datadog-hosted scanning, see [Choose where scanners run][5].
    

    melamos melamos approved these changes on Nov 23, 2026 17:46 UTC
    Approved Reviewer

    Well done, Janine! This is a big lift, and it's in great shape. The comparison section on the overview works really well.

    Two things to address before you merge: 1) link fixes (query string before the #) marked in my review, and 2) a few gaps that would leave readers stuck:

  • Terraform tab on the Enable page: no instructions yet, but several places on the page send readers there. The setup modal has a Terraform option next to CloudFormation, so that might be a good starting point.

  • StackSet tab on the Enable page: no template URL and no parameter steps. The CloudFormation stack needs an API key, an app key, the site, and the role name, so the StackSet probably does too.

  • Disable Agentless Scanning: the Datadog-hosted steps cover the CloudFormation stack and Terraform, but not StackSet deployments.

  • Datadog-hosted prerequisites: if Remote Configuration or specific application key permissions turn out to be required, readers fail setup without them.
  • Everything else is a suggestion or a question. Also, a couple things that go beyond inline comments:

    UI check. I spot-checked the Datadog-hosted CloudFormation task in the demo org with the Claude browser extension and found a few UI labels that had drifted (see the Enable comments). It might be worth a quick pass like that on the other Datadog-hosted steps that happen in the Datadog UI, like turning off Sensitive Data Scanner, disabling scanning, and the troubleshooting checks.

    For a follow-up, not this PR. The self-hosted CloudFormation steps on the Enable page were carried over from the old page, and they no longer match the setup modal. For example, the modal says "Agentless scanning" with a lowercase "s", the application key isn't generated until you click Create, the feature toggles have different names, and clicking the account ID opens a new tab instead of the side panel. Probably worth a separate ticket so it doesn't widen this PR.

    melamos melamos approved these changes on Nov 23, 2026 17:50 UTC
    Approved Reviewer

    Well done, Janine! This is a big lift, and it's in great shape. The comparison section on the overview works really well.

    Two things to address before you merge: 1) link fixes (query string before the #) marked in my review, and 2) a few gaps that would leave readers stuck:

  • Terraform tab on the Enable page: no instructions yet, but several places on the page send readers there. The setup modal has a Terraform option next to CloudFormation, so that might be a good starting point.

  • StackSet tab on the Enable page: no template URL and no parameter steps. The CloudFormation stack needs an API key, an app key, the site, and the role name, so the StackSet probably does too.

  • Disable Agentless Scanning: the Datadog-hosted steps cover the CloudFormation stack and Terraform, but not StackSet deployments.

  • Datadog-hosted prerequisites: if Remote Configuration or specific application key permissions turn out to be required, readers fail setup without them.
  • Everything else is a suggestion or a question. Also, a couple things that go beyond inline comments:

    UI check. I spot-checked the Datadog-hosted CloudFormation task in the demo org with the Claude browser extension and found a few UI labels that had drifted (see the Enable comments). It might be worth a quick pass like that on the other Datadog-hosted steps that happen in the Datadog UI, like turning off Sensitive Data Scanner, disabling scanning, and the troubleshooting checks.

    For a follow-up, not this PR. The self-hosted CloudFormation steps on the Enable page were carried over from the old page, and they no longer match the setup modal. For example, the modal says "Agentless scanning" with a lowercase "s", the application key isn't generated until you click Create, the feature toggles have different names, and clicking the account ID opens a new tab instead of the side panel. Probably worth a separate ticket so it doesn't widen this PR.

    leo-wang-dd leo-wang-dd commented on Nov 23, 2026 18:44 UTC
    Contributor

    <img width="1206" height="274" alt="image" src="https://github.com/user-attachments/assets/c52fb36e-97b5-4928-b564-72f7c43c9720" />

    Makes more sense to reverse this imo - where Cloud provider comes first with the 3 options and then it defaults to datadog hosted saas for AWS and only self hosted for the other clouds

    leo-wang-dd leo-wang-dd commented on Nov 23, 2026 18:54 UTC
    Contributor

    <img width="1528" height="324" alt="image" src="https://github.com/user-attachments/assets/950494b9-9656-47a2-bdf4-47f20211803e" />
    Terraform still empty for instructions + template is available

    Assignees
    janine-c janine-c
    Labels
    risk: low confidence: 83.9% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 76.5% (HIGH) · Higher = larger blast radius
    76.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 83.9% · Lower = rushed or shallow review
    83.9%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 12.3% · Safe to merge
    12.3%