
Explanation:
Box 1: Just-in-time (JIT) VM access
Administrators must request RDP access to the virtual machines by using the Azure portal.
Remote Desktop sessions must be limited to a maximum of three hours.
From Defender for Cloud, you can enable and configure the JIT VM access.
1. Open the Workload protections and, in the advanced protections, select Just-in-time VM access.
2. In the Not configured virtual machines tab, mark the VMs to protect with JIT and select Enable JIT on VMs.
The JIT VM access page opens listing the ports that Defender for Cloud recommends protecting:
22 - SSH
3389 - RDP
5985 - WinRM
5986 - WinRM
To customize the JIT access:
3. Select Add.
4. Select one of the ports in the list to edit it or enter other ports. For each port, you can set the:
Protocol - The protocol that is allowed on this port when a request is approved Allowed source IPs - The IP ranges that are allowed on this port when a request is approved *-> Maximum request time - The maximum time window during which a specific port can be opened Select OK.
5. To save the port configuration, select Save.
Box 2: Microsoft Defender Vulnerability Management
Agentless scanning must be scheduled to run on each virtual machine.
Defender for Cloud, Enable agentless scanning for VMs
Defender for Cloud already supports different agent-based vulnerability scans, including Microsoft Defender Vulnerability Management (MDVM), BYOL. Agentless scanning extends the visibility of Defender for Cloud to reach more devices.
When you enable agentless vulnerability assessment:
* If you have no existing integrated vulnerability assessment solutions enabled on any of your VMs on your subscription, Defender for Cloud automatically enables MDVM by default.
*-> If you select Microsoft Defender Vulnerability Management as part of an integration with Microsoft Defender for Endpoint, Defender for Cloud shows a unified and consolidated view that optimizes coverage and freshness.
* Machines covered by just one of the sources (Defender Vulnerability Management or agentless) show the results from that source.
Reference:
https://learn.microsoft.com/en-us/azure/defender-for-cloud/just-in-time-access-usage
https://learn.microsoft.com/en-us/azure/defender-for-cloud/enable-agentless-scanning-vms