Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Defender for Cloud uses agentless machine scanning to improve the security posture of connected machines. For details, see Agentless machine scanning. Agentless scanning doesn't need installed agents. It also doesn't require network connectivity and doesn't affect machine performance.
By default, agentless scanning is turned on for all supported machines when Defender for Servers Plan 2 or the Defender cloud security posture management (Defender CSPM) plan is enabled.
In some circumstances, you might want to exclude machines from agentless scanning recommendations. You can do this using preexisting environment tags. Excluded machines are skipped during continuous machine discovery.
Prerequisites
Before you exclude machines from agentless scanning, ensure the following requirements are met:
- Defender for Servers Plan 2 or the Defender cloud security posture management (Defender CSPM) plan is enabled.
- Agentless scanning is enabled in the plan.
Exclude machines
To exclude machines from agentless scanning by using environment tags:
In Defender for Cloud, select Environment settings.
Select the relevant subscription or multicloud connector.
For either the Defender cloud security posture management (Defender CSPM) or Defender for Servers P2 plan, select Settings.
In Agentless scanning for machines, select Edit configuration.
In Agentless scanning configuration, enter the tag name and value for machines that you want to exclude. You can enter multiple
tag:valuepairs.
Select Save.