> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-microsoft-defender-for-cloud-set-to-off-for-agentless-scanning-for-machines.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Microsoft Defender for Cloud set to Off for Agentless scanning for machines

### Synopsis

| Field               | Value                                                                             |
| ------------------- | --------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                         |
| Finding Type        | Azure Microsoft Defender for Cloud set to Off for Agentless scanning for machines |
| Finding ID          | 60001472                                                                          |
| Generates a Finding | This detection rule also generates a finding                                      |
| Severity            | Informational                                                                     |
| Category            | CONFIGURATION                                                                     |
| Cloud Providers     | AZURE                                                                             |
| Platform Module     | CSPM                                                                              |
| Asset Types         | AZURE\_SECURITY\_CENTER\_SETTINGS                                                 |

### Description

Azure Microsoft Defender for Cloud's Agentless scanning, when disabled, leaves Virtual Machines vulnerable to undetected software vulnerabilities and unauthorized software installations.

Agentless scanning leverages disk snapshots for vulnerability detection and sensitive data discovery without requiring agents on each Virtual Machine. Disabling this feature significantly reduces visibility into security posture, increasing the risk of successful attacks exploiting unknown vulnerabilities or compromised credentials. Attackers could leverage these undetected weaknesses for lateral movement and data exfiltration.

The impact of this misconfiguration includes increased attack surface, delayed threat detection, and non-compliance. Enabling Agentless scanning provides comprehensive security monitoring with minimal performance overhead, enhancing threat detection capabilities and reducing the overall risk profile.

To mitigate this, ensure Azure Microsoft Defender for Cloud is configured to enable Agentless scanning for all Virtual Machines. Regularly review the security settings of your Azure environment and prioritize remediation of any detected misconfigurations.

### Remediation

1. Log in to the Azure portal
2. Navigate to 'Microsoft Defender for Cloud'
3. Under 'Management', select 'Environment Settings'
4. Click on the subscription name
5. Select the 'Defender plans'
6. Click on 'Settings & monitoring' at the top
7. In the table, find 'Agentless scanning for machines' and select 'On' under Plan
8. Click 'Continue' in the top left
9. Click 'Save'


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-microsoft-defender-for-cloud-set-to-off-for-agentless-scanning-for-machines.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
