-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into tim.sara/WEB-5727-nvidia
- Loading branch information
Showing
16 changed files
with
586 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,14 +13,15 @@ further_reading: | |
<div class="alert alert-warning">Agentless Scanning for Cloud Security Management is not supported for your selected <a href="/getting_started/site">Datadog site</a> ({{< region-param key="dd_site_name" >}}).</div> | ||
{{< /site-region >}} | ||
|
||
Agentless Scanning provides visibility into vulnerabilities that exist within your cloud infrastructure, without requiring you to install the Datadog Agent. To learn more about Agentless Scanning's capabilities and how it works, see the [Agentless Scanning][12] docs. | ||
|
||
## Prerequisites | ||
|
||
Before setting up Agentless Scanning, ensure the following prerequisites are met: | ||
|
||
- **AWS integration**: The [AWS integration][2] must be installed and configured for your AWS accounts. | ||
- **Remote Configuration**: [Remote Configuration][3] is required to enable Datadog to send information to Agentless scanners, such as which cloud resources to scan. | ||
- **IAM permissions**: The Agentless Scanning instance requires specific IAM permissions to scan hosts, containers, and Lambda functions. These permissions are automatically applied as part of the installation process.<br><br> | ||
{{< collapse-content title="Host and container permissions" level="h5" >}} | ||
- **Cloud permissions**: The Agentless Scanning instance requires specific permissions to scan hosts, containers, and functions. These permissions are automatically applied as part of the installation process.<br><br> | ||
{{< collapse-content title="AWS Host and container scanning permissions" level="h5" >}} | ||
<ul> | ||
<li><code>ec2:DescribeVolumes</code></li> | ||
<li><code>ec2:CreateTags</code></li> | ||
|
@@ -34,9 +35,23 @@ Before setting up Agentless Scanning, ensure the following prerequisites are met | |
</ul> | ||
{{< /collapse-content >}} | ||
|
||
{{< collapse-content title="Lambda permissions" level="h5" >}} | ||
{{< collapse-content title="AWS Lambda scanning permissions" level="h5" >}} | ||
<ul><li><code>lambda:GetFunction</code></li></ul> | ||
{{< /collapse-content >}} | ||
{{< /collapse-content >}} | ||
|
||
{{< collapse-content title="Azure Host scanning permissions" level="h5" >}} | ||
<ul> | ||
<li><code>Microsoft.Compute/virtualMachines/read</code></li> | ||
<li><code>Microsoft.Compute/virtualMachines/instanceView/read</code></li> | ||
<li><code>Microsoft.Compute/virtualMachineScaleSets/read</code></li> | ||
<li><code>Microsoft.Compute/virtualMachineScaleSets/instanceView/read</code></li> | ||
<li><code>Microsoft.Compute/virtualMachineScaleSets/virtualMachines/read</code></li> | ||
<li><code>Microsoft.Compute/virtualMachineScaleSets/virtualMachines/instanceView/read</code></li> | ||
<li><code>Microsoft.Compute/disks/read</code></li> | ||
<li><code>Microsoft.Compute/disks/beginGetAccess/action</code></li> | ||
<li><code>Microsoft.Compute/disks/endGetAccess/action</code></li> | ||
</ul> | ||
{{< /collapse-content >}} | ||
|
||
## Setup | ||
|
||
|
@@ -56,6 +71,10 @@ The [Terraform Datadog Agentless Scanner module][6] provides a simple and reusab | |
|
||
Use the AWS CloudFormation template to create a CloudFormation stack. The template includes the IAM permissions required to deploy and manage Agentless scanners. For more information, see [Setting up Agentless Scanning using AWS CloudFormation][11]. | ||
|
||
### Azure Resource Manager | ||
|
||
Use the Azure Resource Manager template to deploy the Agentless Scanner. The template includes the role definitions required to deploy and manage Agentless scanners. For more information, see [Setting up Agentless Scanning using Azure Resource Manager][13]. | ||
|
||
## Further Reading | ||
|
||
{{< partial name="whats-next/whats-next.html" >}} | ||
|
@@ -70,4 +89,6 @@ Use the AWS CloudFormation template to create a CloudFormation stack. The templa | |
[8]: mailto:[email protected] | ||
[9]: https://github.com/DataDog/terraform-module-datadog-agentless-scanner/blob/main/README.md#uninstall | ||
[10]: https://app.datadoghq.com/security/configuration/csm/setup | ||
[11]: /security/cloud_security_management/setup/agentless_scanning/cloudformation | ||
[11]: /security/cloud_security_management/setup/agentless_scanning/cloudformation | ||
[12]: /security/cloud_security_management/agentless_scanning | ||
[13]: /security/cloud_security_management/setup/agentless_scanning/azure_resource_manager |
62 changes: 62 additions & 0 deletions
62
...ty/cloud_security_management/setup/agentless_scanning/azure_resource_manager.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
title: Setting up Agentless Scanning using Azure Resource Manager | ||
further_reading: | ||
- link: "/security/cloud_security_management/agentless_scanning" | ||
tag: "Documentation" | ||
text: "Cloud Security Management Agentless Scanning" | ||
- link: "/security/cloud_security_management/setup/agentless_scanning/terraform" | ||
tag: "Documentation" | ||
text: "Setting up Agentless Scanning using Terraform" | ||
--- | ||
|
||
If you've already [set up Cloud Security Management][3] and want to add a new Azure subscription or enable [Agentless Scanning][1] on an existing integrated Azure subscription, you can use either [Terraform][2] or Azure Resource Manager. This article provides detailed instructions for the Azure Resource Manager approach. | ||
|
||
<div class="alert alert-warning">Running Agentless scanners incurs additional costs. To optimize these costs while still ensuring reliable 12-hour scans, Datadog recommends setting up <a href="/security/cloud_security_management/setup/agentless_scanning/terraform/">Agentless Scanning with Terraform</a> as the default template.</div> | ||
|
||
## Enable Agentless Scanning | ||
|
||
{{< tabs >}} | ||
{{% tab "New Azure subscription" %}} | ||
|
||
### Set up the Datadog Azure integration | ||
|
||
Follow the instructions for setting up the [Datadog Azure integration][1]. | ||
|
||
{{% csm-agentless-azure-resource-manager %}} | ||
|
||
[1]: /integrations/guide/azure-manual-setup/?tab=azurecli | ||
{{% /tab %}} | ||
|
||
{{% tab "Existing Azure subscription" %}} | ||
|
||
{{% csm-agentless-azure-resource-manager %}} | ||
|
||
{{% /tab %}} | ||
{{< /tabs >}} | ||
|
||
## Exclude resources from scans | ||
|
||
{{% csm-agentless-exclude-resources %}} | ||
|
||
## Disable Agentless Scanning | ||
|
||
1. On the [Cloud Security Management Setup][3] page, click **Cloud Integrations** > **Azure**. | ||
1. Locate your subscription's tenant, expand the list of subscriptions, and identify the subscription for which you want to disable Agentless Scanning. | ||
1. Click the **Edit** button {{< img src="security/csm/setup/edit-button.png" inline="true" style="width:24px;">}} and toggle **Vulnerability Scanning** to the off position. | ||
1. Click **Done**. | ||
|
||
## Uninstall with Azure Resource Manager | ||
|
||
To uninstall Agentless Scanning, log in to your Azure subscription. If you created a dedicated resource group for the Agentless scanner, delete this resource group along with the following Azure role definitions: | ||
- Datadog Agentless Scanner Role | ||
- Datadog Agentless Scanner Delegate Role | ||
|
||
If you did not use a dedicated resource group, you must manually delete the scanner resources, which can be identified by the tags `Datadog:true` and `DatadogAgentlessScanner:true`. | ||
|
||
## Further Reading | ||
|
||
{{< partial name="whats-next/whats-next.html" >}} | ||
|
||
[1]: /security/cloud_security_management/agentless_scanning | ||
[2]: /security/cloud_security_management/setup/agentless_scanning/terraform | ||
[3]: https://app.datadoghq.com/security/configuration/csm/setup |
Oops, something went wrong.