---
title: Updating Agentless Scanning
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > Cloud Security > Setting up Cloud Security > Cloud
  Security Agentless Scanning > Updating Agentless Scanning
---

# Updating Agentless Scanning

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ().
{% /alert %}

{% /callout %}

## Update the CloudFormation stack{% #update-the-cloudformation-stack %}

Datadog recommends updating the CloudFormation stack regularly so you can get access to new features and bug fixes as they are released.

1. Log in to your AWS console and go to the CloudFormation Stacks page.
1. Expand the parent **DatadogIntegration** stack to reveal its nested sub-stacks. Select the **DatadogIntegration-DatadogAgentlessScanning-…** sub-stack, click **Update**, then click **Update nested stack**.
1. Click **Replace existing template**.
1. In the following S3 URL: `https://datadog-cloudformation-template-quickstart.s3.amazonaws.com/aws/<VERSION>/datadog_agentless_scanning.yaml`, replace `<VERSION>` with the version found in [aws_quickstart/version.txt](https://github.com/DataDog/cloudformation-template/blob/master/aws_quickstart/version.txt). Paste that URL into the **Amazon S3 URL** field.
1. Click **Next** to advance through the next several pages without modifying them, then submit the form.

## Update the Terraform module{% #update-the-terraform-module %}

Update the `source` reference for the Agentless Scanner modules to the latest release. You can find the latest version on [GitHub Releases](https://github.com/DataDog/terraform-module-datadog-agentless-scanner/releases).

For usage examples, see the [GitHub repository](https://github.com/DataDog/terraform-module-datadog-agentless-scanner/tree/main/examples).

## Further reading{% #further-reading %}

- [Enabling Agentless Scanning](https://docs.datadoghq.com/security/cloud_security_management/setup/agentless_scanning/enable.md)
- [Cloud Security Agentless Scanning](https://docs.datadoghq.com/security/cloud_security_management/agentless_scanning.md)
