You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/defender-for-cloud/just-in-time-access-usage.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how just-in-time VM access (JIT) in Microsoft Defender for Cl
4
4
ms.topic: how-to
5
5
author: dcurwin
6
6
ms.author: dacurwin
7
-
ms.date: 08/27/2023
7
+
ms.date: 10/01/2023
8
8
---
9
9
10
10
# Enable just-in-time access on VMs
@@ -38,7 +38,7 @@ In this article, you learn how to include JIT in your security program, includin
38
38
39
39
| To enable a user to: | Permissions to set|
40
40
| --- | --- |
41
-
|Configure or edit a JIT policy for a VM |*Assign these actions to the role:* <ul><li>On the scope of a subscription or resource group that is associated with the VM:<br/> `Microsoft.Security/locations/jitNetworkAccessPolicies/write` </li><li> On the scope of a subscription or resource group of VM: <br/>`Microsoft.Compute/virtualMachines/write`</li></ul> |
41
+
|Configure or edit a JIT policy for a VM |*Assign these actions to the role:* <ul><li>On the scope of a subscription (or resource group if using API or PowerShell only) that is associated with the VM:<br/> `Microsoft.Security/locations/jitNetworkAccessPolicies/write` </li><li> On the scope of a subscription (or resource group if using API or PowerShell only) of VM: <br/>`Microsoft.Compute/virtualMachines/write`</li></ul> |
42
42
|Request JIT access to a VM |*Assign these actions to the user:* <ul><li> `Microsoft.Security/locations/jitNetworkAccessPolicies/initiate/action` </li><li> `Microsoft.Security/locations/jitNetworkAccessPolicies/*/read` </li><li> `Microsoft.Compute/virtualMachines/read` </li><li> `Microsoft.Network/networkInterfaces/*/read` </li> <li> `Microsoft.Network/publicIPAddresses/read` </li></ul> |
43
43
|Read JIT policies|*Assign these actions to the user:* <ul><li>`Microsoft.Security/locations/jitNetworkAccessPolicies/read`</li><li>`Microsoft.Security/locations/jitNetworkAccessPolicies/initiate/action`</li><li>`Microsoft.Security/policies/read`</li><li>`Microsoft.Security/pricings/read`</li><li>`Microsoft.Compute/virtualMachines/read`</li><li>`Microsoft.Network/*/read`</li>|
44
44
@@ -50,7 +50,6 @@ In this article, you learn how to include JIT in your security program, includin
50
50
> [!TIP]
51
51
> To create a least-privileged role for users that need to request JIT access to a VM, and perform no other JIT operations, use the [Set-JitLeastPrivilegedRole script](https://github.com/Azure/Azure-Security-Center/tree/main/Powershell%20scripts/JIT%20Scripts/JIT%20Custom%20Role) from the Defender for Cloud GitHub community pages.
52
52
53
-
54
53
> [!NOTE]
55
54
> In order to successfully create a custom JIT policy, the policy name, together with the targeted VM name, must not exceed a total of 56 characters.
56
55
@@ -79,12 +78,12 @@ From Defender for Cloud, you can enable and configure the JIT VM access.
79
78
80
79
1. Open the **Workload protections** and, in the advanced protections, select **Just-in-time VM access**.
81
80
82
-
1. In the **Not configured** virtual machines tab, mark the VMs to protect with JIT and select **Enable JIT on VMs**.
81
+
1. In the **Not configured** virtual machines tab, mark the VMs to protect with JIT and select **Enable JIT on VMs**.
83
82
84
83
The JIT VM access page opens listing the ports that Defender for Cloud recommends protecting:
85
84
- 22 - SSH
86
85
- 3389 - RDP
87
-
- 5985 - WinRM
86
+
- 5985 - WinRM
88
87
- 5986 - WinRM
89
88
90
89
To customize the JIT access:
@@ -150,7 +149,7 @@ You can enable JIT on a VM from the Azure virtual machines pages of the Azure po
150
149
151
150
1. In the menu, select **Configuration**.
152
151
153
-
1. Under **Just-in-time access**, select **Enable just-in-time**.
152
+
1. Under **Just-in-time access**, select **Enable just-in-time**.
154
153
155
154
By default, just-in-time access for the VM uses these settings:
0 commit comments