[DOCS-16346] Document Datadog Hosted (SaaS) Agentless Scanning #41618
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
<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
<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)
<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
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" />
<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
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
<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"
Also not sure about this UK1 to eu-west-2 mapping in the example - would just remove that to be safe
Yes, the scan frequency (~ 12 hours), resource coverage (AWS only) as well as SDS support are identical.
On Demand Scanning is not available for the datadog hosted mode for now.
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.
Approved these changes.
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?
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.
Migration from self-hosted to Datadog-hosted is smooth and doesn't result in overlapping findings.
steps:
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.
Thanks, incorporated all these changes too!
Docs editorial review ticket: DOCS-16476
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)."
Feels like everything after the first sentence could go, but I'm kind of a slash and burn minimalist.
Both modes use the same scanning engine and produce the same findings.
The Enable page filter says "Google Cloud," and this page says "GCP" (here and at least one other place). Is one of them preferred?
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.
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?
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.
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:
Also, "Cost" in the Datadog-hosted section doesn't match "Cloud service provider cost" in this one.
Now that this sits under the self-hosted section:
The following diagram illustrates how self-hosted Agentless Scanning works:
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?
<li>The scanner operates as a separate VM within your infrastructure, which minimizes impact on existing systems and resources.</li>
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.
"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.
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.
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.
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.
Can you also enable Sensitive Data Scanner after setup? The self-hosted section says "during deployment or after setup."
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.
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?
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
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
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.
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].
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].
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:
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.
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:
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.
<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
<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
sarrazaghbib-dev
janine-c
<!-- 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
AI assistance
Drafted with Claude Code and revised by the author.
For Datadog employees:
<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./reviewto run an automated check that catches common issues before a Documentation team member reviews your PR.Additional notes
agentless_scanner_hostingneeds Cdocs team sign-off.TODO(DOCS-16346)comments mark open SME questions.🤖 Generated with Claude Code