> 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-jit-network-access-monitoring-is-set-to-disabled.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 JIT network access monitoring is set to disabled

### Synopsis

| Field               | Value                                                                               |
| ------------------- | ----------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                           |
| Finding Type        | Azure Microsoft Defender for Cloud JIT network access monitoring is set to disabled |
| Finding ID          | 60000091                                                                            |
| Generates a Finding | This detection rule also generates a finding                                        |
| Severity            | Informational                                                                       |
| Category            | CONFIGURATION                                                                       |
| Cloud Providers     | AZURE                                                                               |
| Platform Module     | CSPM                                                                                |
| Asset Types         | AZURE\_POLICY\_ASSIGNMENT                                                           |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                                     |
| ATT\&CK Technique   | T1685.002 (T1685.002)                                                               |

### Description

Azure Virtual Machines with Just-in-Time (JIT) network access monitoring disabled are vulnerable to unauthorized access. This misconfiguration exposes the Virtual Machines to potential attacks.

JIT network access enhances Virtual Machine security by restricting inbound network access to only authorized users and during specific time periods. Disabling this feature leaves open ports constantly accessible, increasing the attack surface and the risk of brute-force attacks or unauthorized access. Attackers could exploit this to gain control of the Virtual Machine.

The impact of this misconfiguration includes compromised Virtual Machines, data breaches, and lateral movement within the environment. Enabling JIT access limits exposure, reducing the likelihood of successful attacks and improving the overall security posture. It ensures only authorized users can access Virtual Machines at necessary times, thus minimizing risk.

To mitigate this, ensure JIT network access monitoring is enabled for all Azure Virtual Machines. Configure appropriate time windows and authorized users for each Virtual Machine. Regularly review and update these settings to maintain optimal security and adapt to changing needs.

### Remediation

**Manual steps:**

Azure Policy Assignment - Manual remediation steps:

1. Log in to the Azure portal
2. Go to 'Microsoft Defender for Cloud'
3. Select 'Environment Settings'
4. Choose the reported subscription
5. Click on the 'Security policy' under 'Policy settings' section
6. Click on 'SecurityCenterBuiltIn'
7. Select 'Parameters' tab
8. Set the 'Management ports of virtual machines should be protected with just-in-time network access control' to 'AuditIfNotExists'
9. If no other changes required then Click on 'Review + 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-jit-network-access-monitoring-is-set-to-disabled.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.
