Skip to content

Commit 7411e61

Browse files
Merge pull request #248830 from AlizaBernstein/WI-125172-jit-character-limit
WI-125172-jit-character-limit
2 parents 181b2d3 + 8123c81 commit 7411e61

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

articles/defender-for-cloud/just-in-time-access-usage.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how just-in-time VM access (JIT) in Microsoft Defender for Cl
44
ms.topic: how-to
55
author: dcurwin
66
ms.author: dacurwin
7-
ms.date: 06/29/2023
7+
ms.date: 08/27/2023
88
---
99

1010
# Enable just-in-time access on VMs
@@ -13,7 +13,7 @@ You can use Microsoft Defender for Cloud's just-in-time (JIT) access to protect
1313

1414
Learn more about [how JIT works](just-in-time-access-overview.md) and the [permissions required to configure and use JIT](#prerequisites).
1515

16-
In this article, you learn you how to include JIT in your security program, including how to:
16+
In this article, you learn how to include JIT in your security program, including how to:
1717

1818
- Enable JIT on your VMs from the Azure portal or programmatically
1919
- Request access to a VM that has JIT enabled from the Azure portal or programmatically
@@ -30,11 +30,11 @@ In this article, you learn you how to include JIT in your security program, incl
3030

3131
## Prerequisites
3232

33-
- JIT Requires [Microsoft Defender for Servers Plan 2](plan-defender-for-servers-select-plan.md#plan-features) to be enabled on the subscription.
33+
- JIT requires [Microsoft Defender for Servers Plan 2](plan-defender-for-servers-select-plan.md#plan-features) to be enabled on the subscription.
3434

3535
- **Reader** and **SecurityReader** roles can both view the JIT status and parameters.
3636

37-
- If you want to create custom roles that can work with JIT, you need the details from the following table:
37+
- If you want to create custom roles that work with JIT, you need the details from the following table:
3838

3939
| To enable a user to: | Permissions to set|
4040
| --- | --- |
@@ -50,9 +50,13 @@ In this article, you learn you how to include JIT in your security program, incl
5050
> [!TIP]
5151
> 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.
5252
53+
54+
> [!NOTE]
55+
> 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+
5357
## Work with JIT VM access using Microsoft Defender for Cloud
5458

55-
You can use Defender for Cloud or you can programmatically enable JIT VM access with your own custom options, or you can enable JIT with default, hard-coded parameters from Azure Virtual machines.
59+
You can use Defender for Cloud or you can programmatically enable JIT VM access with your own custom options, or you can enable JIT with default, hard-coded parameters from Azure virtual machines.
5660

5761
**Just-in-time VM access** shows your VMs grouped into:
5862

@@ -69,13 +73,13 @@ You can use Defender for Cloud or you can programmatically enable JIT VM access
6973

7074
### Enable JIT on your VMs from Microsoft Defender for Cloud
7175

72-
:::image type="content" source="./media/just-in-time-access-usage/configure-just-in-time-access.gif" alt-text="Screenshot showing configuring JIT VM access in Microsoft Defender for Cloud.":::
76+
:::image type="content" source="./media/just-in-time-access-usage/configure-just-in-time-access.gif" alt-text="Screenshot showing configuring JIT VM access in Microsoft Defender for Cloud." lightbox="media/just-in-time-access-usage/configure-just-in-time-access.gif":::
7377

7478
From Defender for Cloud, you can enable and configure the JIT VM access.
7579

7680
1. Open the **Workload protections** and, in the advanced protections, select **Just-in-time VM access**.
7781

78-
1. In the **Not configured** virtual machines, mark the VMs to protect with JIT and select **Enable JIT on VMs**.
82+
1. In the **Not configured** virtual machines tab, mark the VMs to protect with JIT and select **Enable JIT on VMs**.
7983

8084
The JIT VM access page opens listing the ports that Defender for Cloud recommends protecting:
8185
- 22 - SSH
@@ -102,7 +106,7 @@ To edit the existing JIT rules for a VM:
102106

103107
1. Open the **Workload protections** and, in the advanced protections, select **Just-in-time VM access**.
104108

105-
1. In the **Configured** virtual machines, right-click on a VM and select edit.
109+
1. In the **Configured** virtual machines tab, right-click on a VM and select **Edit**.
106110

107111
1. In the **JIT VM access configuration**, you can either edit the list of port or select **Add** a new custom port.
108112

@@ -114,7 +118,7 @@ When a VM has a JIT enabled, you have to request access to connect to it. You ca
114118

115119
1. From the **Just-in-time VM access** page, select the **Configured** tab.
116120

117-
1. Select the VMs you want to access.
121+
1. Select the VMs you want to access:
118122

119123
- The icon in the **Connection Details** column indicates whether JIT is enabled on the network security group or firewall. If it's enabled on both, only the firewall icon appears.
120124

@@ -126,8 +130,8 @@ When a VM has a JIT enabled, you have to request access to connect to it. You ca
126130

127131
1. Select **Open ports**.
128132

129-
> [!NOTE]
130-
> If a user who is requesting access is behind a proxy, you can enter the IP address range of the proxy.
133+
> [!NOTE]
134+
> If a user who is requesting access is behind a proxy, you can enter the IP address range of the proxy.
131135
132136
## Other ways to work with JIT VM access
133137

@@ -163,7 +167,7 @@ You can enable JIT on a VM from the Azure virtual machines pages of the Azure po
163167

164168
1. From Defender for Cloud's menu, select **Just-in-time VM access**.
165169

166-
1. From the **Configured** tab, right-click on the VM to which you want to add a port, and select edit.
170+
1. From the **Configured** tab, right-click on the VM to which you want to add a port, and select **Edit**.
167171

168172
![Editing a JIT VM access configuration in Microsoft Defender for Cloud.](./media/just-in-time-access-usage/jit-policy-edit-security-center.png)
169173

0 commit comments

Comments
 (0)