Configuración del análisis Agentless mediante Azure Resource Manager
Si ya configuraste Cloud Security Management y quieres añadir una nueva suscripción de Azure o activar el análisis Agentless en una suscripción de Azure integrada existente, puedes utilizar Terraform o Azure Resource Manager. Este artículo proporciona instrucciones detalladas sobre el enfoque de Azure Resource Manager.
La ejecución de analizadores Agentless conlleva costes adicionales. Para optimizar estos costes sin dejar de garantizar la fiabilidad de los análisis de 12 horas, Datadog recomienda configurar el
análisis Agentless con Terraform como plantilla predeterminada.
Activar la exploración sin Agent
Configurar la integración Datadog Azure
Sigue las instrucciones para configurar la integración Datadog Azure.
Enable Agentless Scanning for your Azure subscriptions
Complete the following steps to enable Agentless Scanning for your Azure subscriptions:
Cloud Security Management Setup page
- On the Cloud Security Management Setup page, click Cloud Integrations > Azure.
- Locate the tenant ID of your subscription.
- (Optional) To enable detection of misconfigurations, toggle Resource Scanning to the on position.
- Expand the list of Azure subscriptions and locate the subscription where you want to deploy the Agentless scanner.
- Click the Enable button under Vulnerability Scanning.
- The Vulnerability Scanning dialog is displayed. Toggle Vulnerability Scanning to the on position.
- Under How would you like to set up Agentless Scanning?, select Azure Resource Manager.
- Click Launch Azure Resource Manager to be redirected to the Azure portal.
Azure portal
- Log in to the Azure portal. The template creation form is displayed.
- Select the subscription and the resource group in which the Agentless scanners are to be deployed. Datadog recommends that you deploy the Datadog Agentless Scanner in a dedicated resource group.
- In Subscriptions to scan, select all the subscriptions you want to scan.
- Enter your Datadog API Key, select your Datadog Site, and fill out the remainder of the form.
- Click on Review + create.
Enable Agentless Scanning for your Azure subscriptions
Complete the following steps to enable Agentless Scanning for your Azure subscriptions:
Cloud Security Management Setup page
- On the Cloud Security Management Setup page, click Cloud Integrations > Azure.
- Locate the tenant ID of your subscription.
- (Optional) To enable detection of misconfigurations, toggle Resource Scanning to the on position.
- Expand the list of Azure subscriptions and locate the subscription where you want to deploy the Agentless scanner.
- Click the Enable button under Vulnerability Scanning.
- The Vulnerability Scanning dialog is displayed. Toggle Vulnerability Scanning to the on position.
- Under How would you like to set up Agentless Scanning?, select Azure Resource Manager.
- Click Launch Azure Resource Manager to be redirected to the Azure portal.
Azure portal
- Log in to the Azure portal. The template creation form is displayed.
- Select the subscription and the resource group in which the Agentless scanners are to be deployed. Datadog recommends that you deploy the Datadog Agentless Scanner in a dedicated resource group.
- In Subscriptions to scan, select all the subscriptions you want to scan.
- Enter your Datadog API Key, select your Datadog Site, and fill out the remainder of the form.
- Click on Review + create.
Excluir recursos de los análisis
To exclude hosts, containers, and functions from scans, apply the tag DatadogAgentlessScanner:false
to each resource. For detailed instructions, refer to the Resource Filters documentation.
Desactivar el análisis Agentless
- En la página de configuración de Cloud Security Management, haz clic en Cloud Integrations > Azure (Integraciones en la nube > Azure).
- Localiza el inquilino de tu suscripción, expande la lista de suscripciones e identifica la suscripción en la que quieres desactivar el análisis Agentless.
- Haz clic en el botón Edit (Editar) (
) y desactiva el Análisis de vulnerabilidades. - Haz clic en Done (Listo).
Desinstalación con Azure Resource Manager
Para desinstalar el análisis Agentless, inicia sesión en tu suscripción Azure. Si creaste un grupo de recursos exclusivo para el analizador Agentless, elimina este grupo de recursos junto con las siguientes definiciones de roles de Azure:
- Rol del analizador Agentless de Datadog
- Rol delegado del analizador Agentless de Datadog
Si no utilizaste un grupo de recursos exclusivo, deberás eliminar manualmente los recursos del analizador, que pueden identificarse mediante las etiquetas (tags) Datadog:true
y DatadogAgentlessScanner:true
.
Referencias adicionales
Más enlaces, artículos y documentación útiles: