The rule book.
All 155 misconfiguration rules across 17 Azure domains, with 156 remediation playbooks. Every rule is a plain Python file in scanner/rules/, extracted here at build time.
AKS Private Cluster Not Enabled
Details +
The AKS API server is reachable through a public endpoint. Public control-plane exposure increases the opportunity for credential attacks and unauthorized cluster access.
Fix: Enable the AKS private cluster feature after validating private DNS and administrator connectivity.
AKS Local Accounts Enabled
Details +
Local AKS accounts bypass centralized Microsoft Entra identity controls and can provide long-lived cluster access outside normal conditional-access and lifecycle processes.
Fix: Disable AKS local accounts after confirming Microsoft Entra administrators can access the cluster.
AKS Cluster Not Using Managed Identity
Details +
The AKS control plane is not configured with a managed identity. Legacy service principals depend on credentials that require rotation and can be exposed or expire unexpectedly.
Fix: Migrate the AKS cluster from its service principal to a system- or user-assigned managed identity.
AKS Workload Identity Not Fully Enabled
Details +
AKS Workload Identity and its OIDC issuer are not both enabled. Applications may consequently depend on shared credentials or broader node identities when accessing Azure resources.
Fix: Enable both the AKS OIDC issuer and Microsoft Entra Workload Identity, then federate each workload.
AKS Azure Policy Add-on Not Enabled
Details +
The Azure Policy add-on is not enabled for the AKS cluster. The organization cannot centrally audit or enforce Kubernetes admission controls through Azure Policy.
Fix: Enable the Azure Policy add-on and assign an appropriate AKS security initiative in audit mode first.
AKS Node OS Automatic Upgrades Disabled
Details +
The AKS node OS upgrade channel does not automatically apply managed security updates. Worker nodes can remain exposed to operating-system vulnerabilities without a separate patch process.
Fix: Set the AKS node OS upgrade channel to SecurityPatch or NodeImage and configure a maintenance window.
AKS API Server Lacks Approved IP Restrictions
Details +
A public AKS API server accepts traffic from sources outside the organization-approved IP ranges.
Fix: Use a private cluster or restrict API server authorized IP ranges to the approved administration networks.
AKS Cluster Has No Kubernetes Network Policy
Details +
The AKS cluster has no supported network policy engine to enforce workload traffic boundaries.
Fix: Enable Azure, Calico, or Cilium network policy using a tested cluster upgrade or migration plan.
Kubernetes Namespace Has No NetworkPolicy
Details +
An eligible application namespace contains no NetworkPolicy and has no workload traffic boundary.
Fix: Apply tested default-deny ingress and egress policies, then add explicit workload communication allowances.
Defender for Containers Protection Disabled
Details +
Microsoft Defender for Containers is disabled, removing managed threat detection for in-scope clusters.
Fix: Enable the Containers Defender plan at subscription scope and validate sensor deployment.
AKS Secrets Lack Key Vault or KMS-Backed Protection
Details +
A workload references native Kubernetes Secrets while Azure Key Vault KMS encryption is disabled.
Fix: Enable and validate Key Vault KMS for native Kubernetes Secrets, or configure the Key Vault Secrets Store CSI provider with Workload Identity and migrate the workload so it no longer references native Secrets.
Secrets Store CSI Secret Rotation Disabled
Details +
The enabled Key Vault Secrets Store CSI provider does not automatically rotate mounted secret material.
Fix: Enable secret rotation for the AKS Key Vault Secrets Store CSI provider and test application reload behavior.
Kubernetes Workload Permits Privileged Containers
Details +
A workload explicitly enables privileged mode for an application or init container.
Fix: Remove privileged mode and grant only the specific Linux capabilities required by the workload.
Kubernetes Workload Uses Host Network
Details +
A workload explicitly shares the Kubernetes node network namespace.
Fix: Disable hostNetwork and use Kubernetes Services or an approved network integration.
Kubernetes Workload Uses Host PID Namespace
Details +
A workload explicitly shares the Kubernetes node process namespace.
Fix: Disable hostPID and use scoped observability or management interfaces instead of node process access.
Kubernetes Workload Uses Host IPC Namespace
Details +
A workload explicitly shares the Kubernetes node inter-process communication namespace.
Fix: Disable hostIPC and use scoped application communication mechanisms.
Kubernetes Workload Uses Unrestricted HostPath Volumes
Details +
A workload mounts a path from the Kubernetes node filesystem.
Fix: Replace hostPath with a scoped persistent volume or an approved CSI volume and enforce admission policy.
Kubernetes Cluster Admin Access Assigned Too Broadly
Details +
A ClusterRoleBinding grants cluster-admin to a subject outside the approved platform administrator allowlist.
Fix: Remove the broad binding and replace it with namespace-scoped, least-privilege roles for approved groups.
Kubernetes Workload Uses Untrusted Registry
Details +
A workload pulls an image from a registry outside the organization-approved trust prefixes.
Fix: Mirror the image into an approved registry, verify it, and update the workload reference.
Kubernetes Workload Uses Latest Image Tag
Details +
A workload uses the latest tag or omits a tag, allowing deployments to change without a manifest change.
Fix: Replace latest or implicit latest with an approved version and preferably a verified sha256 digest.
Kubernetes Workload Image Is Not Digest Pinned
Details +
A workload image uses a mutable tag instead of a verified sha256 digest required by policy.
Fix: Resolve the approved image digest and pin the workload image to its sha256 reference.
Backup Soft Delete Disabled or Below 35 Days
Details +
The Recovery Services vault lacks the approved soft-delete recovery window.
Fix: Enable enhanced soft delete and set retention to at least 35 days after reviewing cost and retention requirements.
Backup Vault Immutability Disabled
Details +
Vault immutability is disabled, allowing destructive changes to protected recovery points.
Fix: Enable immutability after reviewing protected items and policies; do not lock it automatically.
Backup Multiuser Authorization Missing
Details +
The vault does not enable Resource Guard multiuser authorization.
Fix: Configure a separately owned Resource Guard and protect critical operations with MUA.
Backup Security Monitoring Disabled
Details +
The Recovery Services vault does not enable built-in monitoring for backup job failures.
Fix: Enable Azure Monitor alerts and route backup diagnostics to the approved monitoring destination.
Managed Cache Public or Non-TLS Access
Details +
An explicitly protected managed cache permits public network access or a minimum TLS version below 1.2.
Fix: Disable public access and require TLS 1.2 or later for the managed cache.
VM with Public IP and No Associated NSG on Network Interface
Details +
A virtual machine has a public IP address assigned to its network interface but no Network Security Group protecting that interface. Without an NSG, all inbound ports are open to the internet by default, creating an unrestricted attack surface.
Fix: Associate an NSG with the VM's network interface or its subnet that allows only required inbound traffic. Remove the public IP if internet access is not needed and use Azure Bastion or a VPN gateway for administrative access.
Virtual machine disk not protected by customer-managed key or ADE
Details +
One or more disks attached to this virtual machine are using platform-managed encryption only (EncryptionAtRestWithPlatformKey). CIS 7.2 requires disks to be protected using either Azure Disk Encryption (ADE) or server-side encryption with a customer-managed key (CMK). Platform-managed encryption does not give the organisation control over the encryption keys.
Fix: Configure server-side encryption with a customer-managed key via a Disk Encryption Set, or enable Azure Disk Encryption on all OS and data disks. Navigate to: Virtual Machine > Disks > Additional settings > Disk encryption set, or use az vm encryption enable with a Key Vault.
VM Without Endpoint Protection Installed
Details +
VM has no recognised endpoint protection extension installed. Without it malware and ransomware can run undetected. CIS 8.2 requires an approved AV/EDR solution on all VMs.
Fix: Open Defender for Cloud > Recommendations > 'Endpoint protection should be installed on your machines', review why the agent is reporting unhealthy on this VM, and remediate (reinstall/repair the AV/EDR agent, resolve conflicting security products).
VM Without Automatic OS Patching Enabled
Details +
VM does not have automatic OS patching enabled. Unpatched VMs are vulnerable to known exploits. CIS 8.3 requires OS patches are applied in a timely manner.
Fix: For Windows VMs enable automatic updates via osProfile.windowsConfiguration or set patchMode to AutomaticByPlatform. For Linux VMs set patchMode to AutomaticByPlatform.
VM Without Trusted Launch (Secure Boot and vTPM) Enabled
Details +
A Generation 2 virtual machine does not have Trusted Launch fully enabled (security type TrustedLaunch with both Secure Boot and vTPM turned on). Without Secure Boot and a virtual TPM, unsigned or malicious code can run during boot and persist beneath the OS, evading OS-level antimalware and EDR. Generation 1 VMs do not support Trusted Launch and are not flagged.
Fix: Enable Trusted Launch on the VM: set the security type to TrustedLaunch and turn on Secure Boot and vTPM, e.g. `az vm update --name <vm> --resource-group <rg> --security-type TrustedLaunch --enable-secure-boot true --enable-vtpm true` (requires a restart; only supported on Gen2 VM sizes/images).
VM Scale Set with Public IP and No Associated NSG on Network Interface
Details +
A VM Scale Set network interface configuration provisions a public IP address for its instances but has no Network Security Group protecting that interface, either directly or via the subnet it deploys into. Without an NSG, all inbound ports are open to the internet by default on every instance created from this scale set, creating an unrestricted attack surface.
Fix: Attach an NSG to the scale set's network interface configuration or to the subnet it deploys into, with rules that allow only required inbound traffic. Remove the public IP configuration if internet access is not needed and use Azure Bastion or a load balancer for administrative/application access instead.
VM Management Ports Open Without Just-In-Time (JIT) Access
Details +
A virtual machine has management ports (SSH 22 / RDP 3389) allowed inbound from the internet by a network security group (on the NIC or its subnet), and no Microsoft Defender for Cloud Just-In-Time (JIT) VM access policy covers those ports. The ports are therefore open on a standing basis instead of only during an approved, time-boxed request, leaving them continuously exposed to scanning and brute-force attacks. VMs with no management ports open are not applicable.
Fix: Enable Just-In-Time VM access in Microsoft Defender for Cloud for the affected VM and ports (or `az security jit-policy create`), so management ports are only opened for an approved, time-limited window. Alternatively restrict the NSG rule to trusted source ranges or use Azure Bastion for administrative access.
Cosmos DB Local Authentication Enabled
Details +
An explicitly protected Cosmos DB account permits local key authentication.
Fix: Disable local authentication after confirming all clients use Microsoft Entra authentication.
Cosmos DB Public Network Access Enabled
Details +
An explicitly protected Cosmos DB account allows public network access.
Fix: Disable public network access and use approved private connectivity or an explicit exception.
PostgreSQL Server Allows Public Network Access
Details +
The Azure Database for PostgreSQL server is configured to allow public network access. This means the server endpoint is reachable from the public internet, increasing the attack surface. Database servers should only be accessible from trusted private networks.
Fix: Disable public network access on the PostgreSQL server and configure a private endpoint or VNet service endpoint to restrict connectivity to trusted networks only.
Azure SQL Server Has No Auditing Configured
Details +
Azure SQL Server auditing is disabled. Without auditing, database access, schema changes, and failed login attempts are not logged, making forensic investigation and compliance reporting impossible.
Fix: Enable SQL Server auditing and configure a storage account, Log Analytics workspace, or Event Hub as the audit log destination. Retain logs for at least 90 days to satisfy most compliance frameworks.
PostgreSQL Flexible Server SSL Enforcement Disabled
Details +
The Azure Database for PostgreSQL Flexible Server has SSL enforcement disabled. Without SSL, data in transit between the application and database is transmitted in plaintext and is vulnerable to interception and man-in-the-middle attacks.
Fix: Enable SSL enforcement on the PostgreSQL Flexible Server by setting require_secure_transport to ON. Run: az postgres flexible-server parameter set --resource-group <rg> --server-name <server> --name require_secure_transport --value ON
SQL Server Firewall Allows All Azure Services
Details +
Azure SQL Server has the 'Allow access to Azure services' firewall setting enabled. This creates a firewall rule that permits any resource hosted in Azure, including services from other tenants, to connect to the SQL Server. This significantly increases the attack surface and can allow unauthorised access from compromised or malicious Azure-hosted services.
Fix: Disable the 'Allow access to Azure services' setting on the SQL Server firewall. Instead, add explicit firewall rules for specific trusted IP ranges or use private endpoints to restrict access to known sources only.
SQL Server Microsoft Entra-Only Authentication Not Enforced
Details +
An explicitly protected Azure SQL server permits SQL authentication instead of enforcing Microsoft Entra-only authentication.
Fix: Enable Microsoft Entra-only authentication after confirming all clients use Entra identities.
SQL Vulnerability Assessment Not Configured
Details +
An explicitly protected Azure SQL server has no enabled vulnerability-assessment configuration.
Fix: Enable SQL vulnerability assessment and configure an approved storage destination.
SQL Auditing Retention Below Minimum
Details +
An explicitly protected Azure SQL server retains audit logs for less than the required 90 days.
Fix: Enable SQL auditing and set retention to at least 90 days in an approved destination.
Azure SQL Server Minimum TLS Version Below 1.2
Details +
The Azure SQL Server does not enforce a minimum TLS version of 1.2 or higher. Connections are still able to negotiate the deprecated TLS 1.0 or 1.1 protocols, or no minimum is set at all, leaving data in transit exposed to known protocol downgrade and interception weaknesses in those older versions.
Fix: Set the server's minimum TLS version to 1.2. Run: az sql server update --name <server-name> --resource-group <resource-group> --minimal-tls-version 1.2
ExpressRoute Direct Link Does Not Use MACsec
Details +
An enabled ExpressRoute Direct Ethernet link does not have a MACsec configuration.
Fix: Plan a maintenance window, store CAK and CKN values in Azure Key Vault, then enable MACsec on both ends of the ExpressRoute Direct link. Confirm connectivity before retiring the previous configuration.
High-Speed ExpressRoute Direct Link Uses Non-XPN MACsec
Details +
An enabled ExpressRoute Direct port of 40 Gbps or greater uses a MACsec cipher without XPN.
Fix: Confirm both peer devices support an XPN cipher, schedule a maintenance window, update the MACsec cipher on both ends, and verify link counters and traffic before completing the change.
Function App HTTPS Only Disabled
Details +
The Function App accepts unencrypted HTTP traffic.
Fix: Enable HTTPS Only after validating clients.
Function App Minimum TLS Below 1.2
Details +
The Function App permits TLS older than 1.2.
Fix: Set the minimum inbound TLS version to 1.2 or newer.
Function App FTP Publishing Enabled
Details +
The Function App exposes an FTP or FTPS deployment channel.
Fix: Disable FTP/FTPS publishing after migrating deployment automation.
Function App Remote Debugging Enabled
Details +
Remote debugging expands the Function App management attack surface.
Fix: Disable remote debugging outside a controlled troubleshooting window.
Function App Managed Identity Missing
Details +
The Function App has no Azure managed identity for secretless resource access.
Fix: Assign a managed identity and migrate supported credentials to identity-based access.
Subscription Outside Approved Management Group Hierarchy
Details +
An Azure subscription is outside the organisation's approved management-group hierarchy.
Fix: Move the subscription into an approved management group after validating inherited policy and access effects.
Required Security Policy Initiative Missing
Details +
A required security policy initiative is not assigned at its approved scope.
Fix: Assign the required initiative at the approved scope and validate its effective state.
Preventive Policy Uses Non-Enforcing Effect
Details +
A mandatory preventive policy assignment uses an effect that does not enforce the approved control.
Fix: Update the assignment effect to an organisation-approved preventive effect after testing impact.
Policy Exemption Missing Governance Metadata
Details +
A policy exemption lacks an accountable owner, justification, or valid expiration date.
Fix: Add the required exemption metadata or remove the exemption if it is no longer approved.
Critical Production Resource Missing Deletion Lock
Details +
A production resource in the protected scope has no effective deletion lock.
Fix: Apply a CanNotDelete lock at the resource or an approved parent scope after validating operations.
Excessive Subscription Owner Assignments
Details +
The subscription has more Owner role assignments than the organisation permits.
Fix: Remove unnecessary Owner assignments and use least-privilege roles with eligible activation where appropriate.
Privileged Access Assigned at Broad Scope
Details +
A privileged role is assigned outside the organisation's approved scopes.
Fix: Reduce the assignment scope and use eligible time-bound access where supported.
Undocumented Resource Provider Registered
Details +
A resource provider is registered without an approved operational requirement.
Fix: Confirm the business requirement, record approval, or unregister the unused provider after impact review.
Production Resource Missing Ownership Metadata
Details +
A production resource has no recognised accountable ownership tag.
Fix: Add an approved ownership tag with a current team or service owner.
Security Configuration Drift Exceeds SLA
Details +
Confirmed non-compliant policy state has remained unresolved beyond the approved remediation SLA.
Fix: Investigate the policy state, remediate the drift, and confirm compliance with a new evaluation.
Service Principal Assigned Owner Role at Subscription Scope
Details +
A service principal holds the Owner role at subscription scope, granting it full control over all resources and the ability to assign roles to other principals. This violates the principle of least privilege and represents a critical blast-radius risk if the service principal credentials are compromised.
Fix: Replace the Owner role assignment with a narrower built-in role (e.g., Contributor, or a custom role) that covers only the required permissions. Audit and rotate the service principal's client secret or certificate.
No MFA Enforced on Admin Accounts via Conditional Access
Details +
No Conditional Access policy is enabled that requires multi-factor authentication for administrator accounts. Without MFA enforcement, a single compromised password is sufficient for an attacker to gain privileged access to the Azure tenant.
Fix: Create a Conditional Access policy that targets administrator directory roles (Global Administrator, Privileged Role Administrator, etc.) and requires MFA as a grant control. Ensure the policy state is set to 'enabled'.
Guest user invitations not restricted to admins in Entra ID
Details +
Guest user invitations in Entra ID are not restricted to administrators. Any organisation member can invite external users into the tenant without centralised review or approval. This bypasses formal external identity provisioning controls and increases the risk of unauthorised access by untrusted parties.
Fix: Restrict guest invitations to admins only by setting the 'allowInvitesFrom' policy to 'adminsAndGuestInviters' or 'admins' in Entra ID. Navigate to: Entra ID > External Identities > External collaboration settings > Guest invite settings. Set to 'Only users assigned to specific admin roles can invite guest users'.
No Privileged Identity Management for Admin Roles
Details +
Privileged Identity Management (PIM) is not configured for one or more admin roles in Entra ID. Without PIM, admin roles are permanently assigned with no just-in-time access controls, approval workflows, or time-bound activation. Any compromised admin account has constant unrestricted access with no time limit.
Fix: Enable Privileged Identity Management for all admin roles in Entra ID. Navigate to: Entra ID > Identity Governance > Privileged Identity Management > Azure AD roles > Settings. Configure eligible assignments with time-bound activation, MFA on activation, and approval workflows for all privileged roles.
Guest User with High Privilege Role in Entra ID
Details +
One or more guest user accounts (userType = Guest) have been assigned high privilege roles in Entra ID. Guest accounts originate from outside the organisation and should never hold privileged roles. A compromised guest account with admin rights gives an external attacker full control of the Azure tenant.
Fix: Remove privileged role assignments from all guest accounts. Navigate to: Entra ID > Roles and administrators > [role name] > Assignments. For each guest account found, click the assignment and select Remove. Consider converting the guest to a member account or using a dedicated internal service account for any legitimate administrative need.
Service Principal Client Secret Older Than 90 Days
Details +
One or more service principal applications have client secrets with a creation date older than 90 days and no expiry date set, or secrets that have already expired but remain present. Long-lived or non-expiring secrets are a major credential hygiene risk. If a secret leaks it remains valid indefinitely, giving an attacker persistent access to the application and its permissions.
Fix: Rotate all client secrets older than 90 days and set an expiry date of no more than 90 days on new secrets. Run: az ad app credential reset --id <app-id> --years 0 --end-date <YYYY-MM-DD>. Consider migrating to certificate-based authentication or managed identities to eliminate secret rotation entirely.
Active User with No MFA Registered in Entra ID
Details +
One or more active user accounts in Entra ID have no multi-factor authentication methods registered. Accounts without MFA are vulnerable to password spray, credential stuffing, and phishing attacks. A single compromised password gives an attacker full account access with no additional verification required.
Fix: Enforce MFA registration for all users via a Conditional Access policy. Navigate to: Entra ID > Protection > Conditional Access > Policies > New policy. Set Users to include all users, grant access requiring multi-factor authentication, and enable the policy. Users without MFA registered will be prompted on next sign-in. Use the Authentication methods registration campaign to drive adoption before the policy enforcement date.
Custom RBAC Role with Wildcard Permissions at Subscription Scope
Details +
One or more custom RBAC role definitions contain wildcard actions (*) or overly broad permissions at subscription scope. Custom roles with wildcard permissions are functionally equivalent to the built-in Owner role but less visible and harder to audit. They violate the principle of least privilege and are frequently created as shortcuts that are never cleaned up.
Fix: Replace wildcard actions with the specific actions required for the role. Review the role with: az role definition show --name '<role-name>'. Edit the role definition to replace '*' with explicit action strings. Use the Azure built-in roles reference to identify the minimum required actions. If the role is unused, delete it with: az role definition delete --name '<role-name>'.
No Activity Log Alert for Role Assignment Changes
Details +
The subscription has no activity log alert configured for role assignment changes (Microsoft.Authorization/roleAssignments/write). Without alerting on privilege escalation events, an attacker who gains access and elevates their own permissions will go undetected. This is a required detective control under CIS Azure Benchmark 5.2.1 and NIST DE.CM-3.
Fix: Create an activity log alert for role assignment write events. Run: az monitor activity-log alert create --name 'Alert-RoleAssignment-Write' --resource-group <rg-name> --scope /subscriptions/<subscription-id> --condition category=Administrative operationName=Microsoft.Authorization/roleAssignments/write --action-group <action-group-id>. Ensure the action group routes alerts to a monitored channel such as email or a ticketing integration.
App Registration Has No Owner
Details +
The App Registration has no assigned owner. Unowned applications can escape periodic review, credential rotation, permission cleanup, and accountable incident response.
Fix: Assign at least one accountable owner and establish a periodic application ownership review.
App Registration Uses Insecure Redirect URI
Details +
The App Registration contains an HTTP redirect URI for a non-loopback host. Authorization responses can be intercepted or modified before reaching the application.
Fix: Replace non-loopback HTTP redirect URIs with exact HTTPS URIs and remove obsolete entries.
App Registration Enables OAuth Implicit Grant
Details +
The App Registration enables access-token or ID-token issuance through the legacy implicit grant flow. Tokens can be exposed to browser history, extensions, or front-channel leakage.
Fix: Disable implicit grant and migrate clients to authorization code flow with PKCE.
App Registration Uses Password Credentials
Details +
The App Registration has one or more password credentials. Client secrets are commonly copied, logged, leaked, or left unrotated and are weaker than managed identity or certificate authentication.
Fix: Migrate to managed identity, workload identity federation, or certificates, then remove client secrets.
Multi-Tenant App Registration Lacks Property Lock
Details +
The multi-tenant App Registration does not lock all sensitive properties on its service-principal instances. Tenant administrators can modify credentials or token-encryption settings unexpectedly.
Fix: Enable application-instance property lock and lock all sensitive service-principal properties.
Managed Identity Has Privileged Subscription Role
Details +
A managed identity holds Owner or Contributor at subscription scope. Compromise of any resource that can use the identity would provide an unnecessarily large Azure control-plane blast radius.
Fix: Replace the assignment with the narrowest role and resource scope required by the workload.
Privileged User Missing Phishing-Resistant MFA
Details +
A user assigned to a privileged directory role has no phishing-resistant authentication method registered. Phishing-resistant methods (FIDO2 security keys, Windows Hello for Business, certificate-based authentication) cannot be intercepted by adversary-in-the-middle attacks, unlike TOTP or SMS-based MFA. Privileged accounts are the highest-value targets in a tenant and must use the strongest available authentication.
Fix: Register a FIDO2 security key, configure Windows Hello for Business, or enrol a certificate-based authentication method for every privileged user. In Entra ID: Security > Authentication methods > Policies > enable FIDO2 or Certificate-based authentication. Then create a Conditional Access policy requiring 'Phishing-resistant MFA strength' for administrator roles.
Global Administrator Permanently Assigned Outside PIM
Details +
A user holds the Global Administrator role as a permanent direct assignment rather than through a time-bound Privileged Identity Management eligible assignment. Permanent role assignments keep the full attack surface active at all times. An account compromise immediately grants unrestricted tenant control with no approval gate or time limit.
Fix: Remove the permanent Global Administrator assignment and replace it with a PIM-eligible assignment. In Entra ID: Identity Governance > Privileged Identity Management > Azure AD roles > Global Administrator > Assignments > Add eligible assignment. Set maximum activation duration and require approval and MFA for activation.
Privileged Role Assigned Outside Privileged Identity Management
Details +
A user holds a privileged directory role through a permanent direct assignment rather than through Privileged Identity Management. Without PIM, privileged access is always-on with no activation approval, no time limit, no MFA step-up, and no audit trail for when the privilege was actually used. Any account compromise instantly delivers standing administrative access.
Fix: Migrate all privileged role assignments to PIM eligible assignments. In Entra ID: Identity Governance > Privileged Identity Management > Azure AD roles > select the role > Assignments > Add eligible assignment. Remove the corresponding permanent active assignment after the eligible assignment is confirmed. Set activation settings to require MFA and justification.
Stale Privileged Account Retains Active Access
Details +
An enabled account holding a privileged directory role has not signed in for more than 90 days. Dormant privileged accounts represent a persistent attack surface. Credentials may be stale, MFA devices may be lost or reassigned, and the account may belong to a former employee who should no longer have access. An attacker who obtains these credentials gains unmonitored privileged access.
Fix: Review each stale privileged account and either confirm it is still required or disable and remove its role assignments. In Entra ID: Users > select the account > Block sign-in. Remove role assignments via Identity Governance > Privileged Identity Management or directly from the role membership. Implement a Conditional Access policy to enforce access reviews for privileged users at least every 90 days.
Emergency Access Accounts Missing or Incorrectly Configured
Details +
No emergency access (break-glass) Global Administrator accounts were detected in the tenant, or the detected accounts are misconfigured. Break-glass accounts are cloud-only, permanently assigned Global Administrator accounts used only when all other administrative access paths fail (e.g. MFA outage, Conditional Access misconfiguration). Without correctly configured break-glass accounts, an administrative lockout could make the tenant unrecoverable.
Fix: Create at least two cloud-only Global Administrator accounts with 'emergency', 'breakglass', or 'break-glass' in the user principal name. Ensure each account: is cloud-only (not synced from on-premises); has a strong, randomly generated password stored in a physical safe; is excluded from all Conditional Access policies; has sign-in alerts configured; and its credentials are reviewed and rotated at least every 90 days. Document the accounts and their location in your incident response plan.
Legacy Authentication Not Blocked by Conditional Access
Details +
No enabled Conditional Access policy blocks legacy authentication protocols such as Basic authentication, Exchange ActiveSync, and other clients that do not support modern authentication. Legacy protocols cannot enforce MFA, making them a direct bypass for any MFA-based Conditional Access policy. The majority of password-spray attacks targeting Microsoft 365 use legacy authentication.
Fix: Create a Conditional Access policy that blocks all legacy authentication. In Entra ID: Security > Conditional Access > New policy. Set Users to include all users, set Conditions > Client apps > select Exchange ActiveSync clients and Other clients, set Grant to Block access, and enable the policy. Run in Report-only mode first to identify affected users and clients.
Azure Management Not Protected by Conditional Access
Details +
No enabled Conditional Access policy requires MFA or other controls when accessing Azure management interfaces (Azure portal, Azure CLI, Azure PowerShell, ARM API). Without this control, any authenticated user, including compromised accounts, can access Azure management without additional verification, enabling resource modification, data exfiltration, and privilege escalation.
Fix: Create a Conditional Access policy targeting the Microsoft Azure Management cloud app. In Entra ID: Security > Conditional Access > New policy. Set Users to include all users, set Cloud apps to 'Microsoft Azure Management' (app ID: 797f4846-ba00-4fd7-ba43-dac1f8f63013), set Grant to require MFA, and enable the policy. Test in Report-only mode first.
Identity Protection Risk Policies Not Enabled
Details +
Microsoft Entra Identity Protection risk policies (user risk and sign-in risk) are not enabled. Risk policies automatically respond to detected anomalous activity, such as leaked credentials, impossible travel, or unfamiliar sign-in locations, by requiring MFA step-up or blocking access. Without these policies, compromised accounts and risky sign-ins proceed unimpeded until manually reviewed.
Fix: Enable both user risk and sign-in risk policies in Entra Identity Protection. In Entra ID: Security > Identity Protection > User risk policy: set User risk to High, require password change. Sign-in risk policy: set Sign-in risk to Medium and above, require MFA. Alternatively, configure equivalent risk-based Conditional Access policies which offer more granular control.
Workload Identities Excluded From Conditional Access Policies
Details +
All enabled Conditional Access policies that require MFA or other grant controls explicitly exclude workload identities (service principals). Workload identities with over-privileged roles that are excluded from access controls represent a persistent threat vector, if their credentials are compromised, they provide unrestricted access without any Conditional Access enforcement.
Fix: Review Conditional Access policies to ensure that workload identities with privileged roles are not broadly excluded. Use Conditional Access for workload identities (requires Entra ID P1): Security > Conditional Access > New policy > set 'Workload identities' as the user type and apply appropriate controls. At minimum, monitor service principal sign-ins via Identity Protection.
Privileged Role-Assignable Group Has No Owner
Details +
An Entra ID group configured with 'isAssignableToRole=true' has no owner. Role-assignable groups can be used to grant directory role membership to every member of the group simultaneously. Without an owner, membership changes are uncontrolled: any administrator who can modify group membership can indirectly escalate privileges to the associated role. Ownerless privileged groups also prevent access reviews from functioning correctly.
Fix: Assign at least one owner to every role-assignable group. In Entra ID: Groups > select the group > Owners > Add owners. The owner should be a named individual (not a service account) who is responsible for approving membership changes. Configure access reviews for the group: Identity Governance > Access Reviews > New access review > select the group.
Key Vault with Soft Delete Disabled
Details +
Azure Key Vault soft delete is disabled. Without soft delete, secrets, keys, and certificates can be permanently destroyed immediately upon deletion, whether by accident, a disgruntled insider, or an attacker who has gained access. Soft delete provides a recoverable state for 7–90 days after deletion.
Fix: Enable soft delete on the Key Vault. Note: once enabled, soft delete cannot be disabled. Also consider enabling purge protection to prevent permanent deletion during the retention period.
Key Vault Allows Public Network Access Without Private Endpoint
Details +
The Azure Key Vault is accessible over the public internet without a private endpoint configured. This increases the risk of unauthorized access to sensitive secrets, keys, and certificates.
Fix: Disable public network access for the Key Vault and configure a private endpoint to restrict access to trusted virtual networks.
Key Vault Without Diagnostic Logging Enabled
Details +
Azure Key Vault diagnostic logging is not enabled. Without diagnostic logs, access to secrets, keys, and certificates is not recorded, reducing visibility into unauthorized access attempts and preventing effective forensic investigation.
Fix: Enable diagnostic settings for the Key Vault and configure logs to be sent to Log Analytics, Event Hub, or a Storage Account.
Key Vault Purge Protection Disabled
Details +
Azure Key Vaults without purge protection enabled allow permanent deletion of vaults and their secrets, keys, and certificates during the soft-delete retention period. Without purge protection, a malicious insider or accidental deletion can result in irrecoverable loss of cryptographic material.
Fix: Enable purge protection on the Key Vault. Note: once enabled, purge protection cannot be disabled. Ensure soft delete is also enabled as purge protection requires it.
Key Vault Certificate Expiring Within 30 Days
Details +
A certificate stored in Azure Key Vault is expiring within 30 days and does not have auto-renewal configured. Expired certificates cause immediate service outages, broken HTTPS connections, and failed authentication flows.
Fix: Enable auto-renewal on the certificate in Azure Key Vault, or manually renew the certificate before it expires. Navigate to: Key Vault > Certificates > select certificate > Issuance Policy > enable Auto-renewal.
Key Vault Using Legacy Access Policies Instead of Azure RBAC
Details +
The Azure Key Vault is authorizing access through legacy vault access policies instead of Azure RBAC. Access policies are all-or-nothing per permission type, cannot be scoped to individual keys/secrets/certificates, are not covered by Azure RBAC's centralized audit trail (Activity Log role assignments), and are easy to over-grant since there is no built-in least-privilege role model.
Fix: Enable Azure RBAC authorization on the Key Vault and replace access policies with scoped role assignments (e.g. Key Vault Secrets User, Key Vault Crypto Officer). Note: switching to RBAC does not delete existing access policies, but they stop being enforced.
NSG Allows Unrestricted Inbound SSH from Any Source
Details +
The Network Security Group has an Allow rule for inbound TCP port 22 (SSH) from any source address (0.0.0.0/0, *, or Internet). Exposing SSH to the internet dramatically increases the attack surface and risk of brute-force attacks.
Fix: Remove or restrict the inbound SSH rule to known trusted IP ranges only. Consider using Azure Bastion for privileged access instead of direct SSH exposure.
NSG Allows Unrestricted Inbound RDP from Any Source
Details +
The Network Security Group has an Allow rule for inbound TCP port 3389 (RDP) from any source address (0.0.0.0/0, *, or Internet). Exposing RDP to the internet is one of the most common initial access vectors for ransomware and credential-stuffing attacks.
Fix: Remove or restrict the inbound RDP rule to known trusted IP ranges only. Consider using Azure Bastion for privileged Windows access instead of direct RDP exposure.
NSG allows unrestricted inbound on port 443
Details +
A Network Security Group has an inbound rule allowing unrestricted access on port 443 from any source (0.0.0.0/0). While HTTPS traffic is encrypted, exposing port 443 to the entire internet unnecessarily increases the attack surface and can expose web services to automated scanning and exploitation attempts. Note: this finding is expected for intentionally public-facing web services. Review manually before remediating, do not auto-remediate without confirming the service is not meant to be publicly accessible.
Fix: Restrict the inbound rule on port 443 to known IP ranges or use an Application Gateway with WAF to front any public-facing HTTPS services. If the service must be public, ensure it is protected by DDoS Standard.
NSG with no rules configured
Details +
A Network Security Group exists but has no custom security rules configured. An empty NSG relies entirely on Azure default rules which may not meet your security requirements and provides no meaningful access control.
Fix: Add explicit inbound and outbound rules to the NSG that reflect the principle of least privilege. Deny all traffic by default and only allow what is required for the workload.
Virtual network with no DDoS protection enabled
Details +
The virtual network does not have Azure DDoS Protection Standard enabled. Without DDoS protection, the network is vulnerable to volumetric attacks that can overwhelm resources and cause service outages.
Fix: Enable Azure DDoS Protection Standard on the virtual network. DDoS Protection Standard provides enhanced mitigation capabilities and is recommended for all production virtual networks.
Public IP address unassociated with any resource
Details +
A public IP address exists in the subscription but is not associated with any resource such as a VM, load balancer or application gateway. Unassociated public IPs represent unnecessary cost and attack surface and may indicate leftover resources from decommissioned workloads.
Fix: Delete the unassociated public IP address if it is no longer needed. If it is reserved for future use, document the reason and tag it appropriately so it can be tracked and reviewed regularly.
Application Gateway without WAF enabled
Details +
An Application Gateway exists without Web Application Firewall enabled. Without WAF, the application is unprotected against common web exploits such as SQL injection, cross-site scripting and OWASP Top 10 attacks. Any public-facing application behind an Application Gateway should have WAF enabled in Prevention mode.
Fix: Upgrade the Application Gateway SKU to WAF_v2 and enable WAF in Prevention mode. Configure the OWASP core rule set and review any false positives before enabling Prevention mode in production.
Load balancer with no backend pool configured
Details +
A load balancer exists in the subscription but has no backend pool configured. A load balancer with no backend pool is either misconfigured or is a leftover resource from a decommissioned workload. It represents unnecessary cost and indicates poor resource hygiene.
Fix: If the load balancer is no longer needed, delete it to reduce cost and attack surface. If it is still required, configure a backend pool with the appropriate virtual machines or scale set instances.
VPN gateway using outdated IKE version
Details +
A VPN gateway is configured to use IKEv1 which is an outdated and less secure version of the Internet Key Exchange protocol. IKEv1 is vulnerable to several known attacks and lacks features present in IKEv2 such as improved authentication and built-in NAT traversal support.
Fix: Migrate the VPN gateway connection to use IKEv2. Update the VPN gateway SKU if required and reconfigure all VPN connections to use IKEv2 only. Coordinate with the remote VPN peer to ensure IKEv2 is supported on both ends.
Subnet with no network security group attached
Details +
A subnet exists without a Network Security Group attached. Without an NSG at the subnet level, all resources deployed into that subnet have no network layer access control. Any VM or service in the subnet is reachable from other subnets and potentially the internet with no filtering in place.
Fix: Create and attach an NSG to the subnet with rules that follow the principle of least privilege. Define explicit allow rules for required traffic and deny everything else. Apply NSGs at both the subnet and NIC level for defence in depth.
Network Watcher Not Enabled in All Regions
Details +
Network Watcher is not enabled in one or more Azure regions where resources are deployed. Network Watcher provides network monitoring, diagnostics, and logging capabilities. Without it, network-level incidents cannot be investigated or diagnosed.
Fix: Enable Network Watcher in all regions where Azure resources are deployed. Run: az network watcher configure --resource-group NetworkWatcherRG --locations <region> --enabled true
VNet Flow Logs Not Enabled
Details +
Neither a VNet flow log nor an existing legacy NSG flow log covers this virtual network. Without flow logs, network traffic is not auditable and attacker movement cannot be reconstructed. Microsoft stopped new NSG flow log creation on 2025-06-30 and retires the feature entirely on 2027-09-30 - VNet flow logs are the current, supported mechanism.
Fix: Enable a VNet flow log via Network Watcher (do not create a new NSG flow log - Microsoft blocks new NSG flow log creation as of 2025-06-30). Run: az network watcher flow-log create --location <region> --resource-group <network-watcher-resource-group> --name <flow-log-name> --vnet <vnet-id> --enabled true --storage-account <storage-account-id>
Azure Firewall Not Enabled on Virtual Network
Details +
The virtual network has no Azure Firewall deployed or associated. Relying only on Network Security Groups leaves the network without a centralized perimeter inspection, logging, and threat-filtering layer. Azure Firewall provides stateful traffic inspection, FQDN filtering, threat intelligence, and centralized network logging that NSGs alone cannot offer.
Fix: Deploy an Azure Firewall into an 'AzureFirewallSubnet' within the virtual network (or a peered hub network) and route traffic through it. See playbooks/cli/fix_az_net_013.sh for the Azure CLI steps.
VNet Peering Configured Without Gateway Transit Restrictions
Details +
A Virtual Network peering connection has gateway transit enabled. Enabling allowGatewayTransit or useRemoteGateways on a peering connection allows traffic to flow between network segments through shared gateways, potentially enabling lateral movement between network zones that should be isolated from each other.
Fix: Review all VNet peering connections and disable allowGatewayTransit and useRemoteGateways unless explicitly required and documented. Ensure peering connections follow the principle of least privilege and only permit the minimum required traffic between networks.
Public DNS Zone Exposes Internal Infrastructure Details
Details +
A public DNS zone contains records that reference private RFC1918 IP addresses or hostnames that suggest internal infrastructure (such as admin, vpn, db, internal, or dev). Exposing private IPs or internal service names in public DNS assists attackers in mapping the organisation's internal network topology and identifying targets for further attack.
Fix: Review all A records in public DNS zones and remove or migrate any records that reference private RFC1918 IP addresses or expose internal service names. Internal services should be resolved using Azure Private DNS zones linked to the appropriate virtual networks, not public DNS.
Network Interface Has IP Forwarding Enabled
Details +
The network interface has IP forwarding enabled, which disables Azure source and destination checks and allows the attached workload to forward traffic not addressed to it. This is normally required only for a documented network virtual appliance or routing function.
Fix: Confirm that the interface belongs to an approved network virtual appliance. Otherwise disable IP forwarding. If forwarding is required, document the routing function and restrict its paths with route tables and NSGs.
User-Defined Default Route Uses Direct Internet Next Hop
Details +
A user-defined IPv4 or IPv6 default route explicitly sends traffic to the Internet next hop. This bypasses a virtual appliance or virtual network gateway that would otherwise provide controlled egress inspection.
Fix: Review the subnet egress design. Remove the direct Internet default route or change its next hop to the approved Azure Firewall, network virtual appliance, or virtual network gateway.
Private Endpoint Target Retains Public Network Access
Details +
A supported PaaS target has a Private Endpoint but still permits public network access.
Fix: Validate private connectivity, then disable public network access on the target PaaS resource.
Private Endpoint Connection Is Not Approved
Details +
A Private Endpoint connection is pending, rejected, or disconnected and cannot provide the intended private path.
Fix: Approve the intended connection, or delete and recreate rejected or disconnected Private Endpoint connections.
Private Endpoint Lacks Private DNS Zone Association
Details +
An approved Private Endpoint has no associated Private DNS zone group.
Fix: Associate the service's documented privatelink DNS zone with the Private Endpoint and link it to the consuming VNet.
Private Endpoint DNS Configuration Reports Only Public Addresses
Details +
Azure's Private Endpoint custom DNS configuration reports an FQDN with only public IP addresses. This control validates ARM configuration evidence; it does not test effective DNS resolution from a VNet workload or an on-premises resolver.
Fix: Correct the Private Endpoint DNS configuration so its FQDN is associated with the allocated private IP, then separately validate effective resolution from every relevant VNet and on-premises resolver path.
Critical PaaS Resource Is Publicly Accessible Without Approved Exception
Details +
A critical PaaS resource permits public network access and is not in the explicit approved-exception list.
Fix: Validate private connectivity, disable public network access, or add a time-bound approved exception through deployment configuration.
Azure Firewall Threat Intelligence Is Not in Deny Mode
Details +
Azure Firewall threat intelligence is disabled or configured to alert without denying known malicious traffic.
Fix: Set Azure Firewall threat intelligence mode to Deny after reviewing documented exception traffic.
Application Gateway WAF Is Not in Prevention Mode
Details +
An enabled Application Gateway WAF is operating in Detection rather than Prevention mode.
Fix: Tune exclusions in a non-production environment, then set the inline WAF or associated WAF policy to Prevention mode.
Application Gateway WAF Diagnostic Logging Is Not Enabled
Details +
An Application Gateway WAF lacks a diagnostic setting with every log category supported by its SKU enabled. WAF v1 requires access, performance, and firewall logs; WAF_v2 requires access and firewall logs, with performance telemetry provided through Azure Monitor metrics.
Fix: Create an Azure Monitor diagnostic setting that exports all log categories supported by the Application Gateway SKU to an approved destination, and retain Azure Monitor metrics for v2 performance telemetry.
WAF Lacks Current Managed Rules or Bot Protection
Details +
An Application Gateway WAF lacks both an approved current base managed rule set and Microsoft bot protection.
Fix: Associate a WAF policy using OWASP 3.2 or Microsoft Default Rule Set 2.1 or later, plus Microsoft Bot Manager Rule Set 1.0 or later.
Internet-Facing Application Gateway Lacks Approved Rate Limiting
Details +
A public Application Gateway has no enabled RateLimitRule in its associated WAF policy.
Fix: Associate a WAF policy and add an enabled RateLimitRule with thresholds and grouping appropriate to the application.
Storage Public Network Access Enabled
Details +
A Storage Account remains publicly reachable; an approved private endpoint alone does not disable its public endpoint.
Fix: Validate private DNS and connectivity, add the required endpoint, then restrict public access.
Azure SQL Public Network Access Enabled
Details +
An Azure SQL logical server remains publicly reachable, regardless of whether a private endpoint also exists.
Fix: Validate private DNS and clients before disabling public access.
PostgreSQL Public Network Access Enabled
Details +
A PostgreSQL Flexible Server remains publicly reachable instead of using private networking only.
Fix: Validate supported networking mode and private DNS before restricting public access.
Web or Function App Public Network Access Enabled
Details +
An App Service workload remains publicly reachable without a default-deny access policy.
Fix: Validate the hosting tier, private DNS, and clients before restricting public access.
Recovery Vault Public Network Access Enabled
Details +
A Recovery Services vault permits public access, even if a private endpoint also exists.
Fix: Validate Backup private DNS and agents before restricting public access.
Private Endpoint Connection Not Approved
Details +
A private endpoint connection is pending, rejected, or disconnected and does not provide an active private path.
Fix: Review ownership, approval state, target resource, and private DNS before approving or replacing the connection.
TLS Using Classical Key Exchange Algorithm
Details +
The resource is configured with TLS using classical key exchange algorithms such as RSA or ECDH. These algorithms are vulnerable to Harvest Now Decrypt Later attacks where adversaries collect encrypted traffic today and decrypt it once quantum computers are available. Post-quantum safe key exchange algorithms should be used.
Fix: Migrate TLS configuration to use post-quantum safe key exchange. Update App Service TLS policies to enforce TLS 1.3 and plan adoption of quantum-safe cipher suites when supported. See playbooks/cli/fix_az_pqc_001.sh for remediation steps.
Key Vault Key Using Non-Quantum-Safe Algorithm
Details +
The Key Vault contains keys using RSA or ECC algorithms which are vulnerable to quantum attacks using Shor's algorithm. A sufficiently powerful quantum computer can break RSA and ECC keys, compromising data encrypted or signed with these keys. Keys should be migrated to post-quantum safe algorithms such as those standardised by NIST in FIPS 203, FIPS 204, and FIPS 205.
Fix: Identify all RSA and ECC keys in Key Vault and plan migration to post-quantum safe alternatives. For signing use ML-DSA (FIPS 204). For key encapsulation use ML-KEM (FIPS 203). Document all keys requiring migration in a Cryptographic Bill of Materials (CBOM). See playbooks/cli/fix_az_pqc_002.sh for remediation steps.
Key Vault Certificate Using Non-Quantum-Safe Signature Algorithm
Details +
The Key Vault contains certificates signed using RSA or ECDSA algorithms. These classical signature schemes are vulnerable to Shor's algorithm on quantum computers. Certificates used for authentication, TLS, and code signing must be migrated to post-quantum safe signature algorithms such as ML-DSA (FIPS 204) or SLH-DSA (FIPS 205).
Fix: Audit all Key Vault certificates and identify those using RSA or ECDSA. Plan migration to post-quantum safe certificate authorities and signature algorithms. Include all certificates in your Cryptographic Bill of Materials. See playbooks/cli/fix_az_pqc_003.sh for remediation steps.
Container Registry Admin User Enabled
Details +
The Azure Container Registry has the admin user enabled. The admin account is a single shared, non-attributable credential that bypasses Azure RBAC entirely, so registry pushes and pulls made with it cannot be tied to an individual identity or revoked without affecting every other user of the same credential.
Fix: Disable the admin user and authenticate to the registry with Azure AD identities or a managed identity instead: az acr update --name <registry> --admin-enabled false
Container Registry Public Network Access Enabled
Details +
The Azure Container Registry is reachable from the public internet. A registry that holds the container images an organization builds and deploys should only be reachable from trusted networks, the same way source code and build systems are.
Fix: Disable public network access and expose the registry through a private endpoint instead: az acr update --name <registry> --public-network-enabled false
Container Registry Allows Anonymous Pull
Details +
The Azure Container Registry allows anonymous pull, so any client on the network can pull every image in the registry without authenticating. Repository-scoped tokens cannot limit this once it is enabled; the setting applies registry-wide. If this registry is intentionally used for public OCI distribution, treat this finding as an accepted exception rather than a defect.
Fix: Disable anonymous pull unless the registry is deliberately used for public distribution: az acr update --name <registry> --anonymous-pull-enabled false
Container Registry Missing Retention or Quarantine Policy
Details +
The Azure Container Registry has no retention policy for untagged manifests, so stale and orphaned images accumulate indefinitely, widening the pool of images that can be deployed. On Premium-tier registries that also lack a quarantine policy, a newly pushed image is pullable and deployable before any vulnerability scan has evaluated it.
Fix: Enable a retention policy to purge untagged manifests after a defined window: az acr config retention update --registry <registry> --status enabled --days 30. On Premium-tier registries, also enable the quarantine policy so pushed images are held until scanned.
Terraform State Storage Container Publicly Readable
Details +
A blob container that appears to hold Terraform remote state (matched by name) allows public read access. Terraform state files commonly contain resource IDs, connection strings, and in some provider configurations plaintext secrets. Public read access on the state backend can expose the full infrastructure layout and any secrets it captured.
Fix: Set the container's public access level to Private and confirm no anonymous read policy is attached: az storage container set-permission --name <container> --account-name <account> --public-access off
Terraform State Storage Account Missing Versioning or Soft Delete
Details +
A storage account holding a container that appears to be a Terraform remote state backend has neither blob versioning nor blob soft delete enabled. Azure does not support these settings per container, only account-wide. Without either, an overwritten or accidentally deleted state file cannot be recovered, which can leave Terraform unable to reconcile its understanding of deployed infrastructure with reality.
Fix: Enable blob versioning and soft delete on the storage account: az storage account blob-service-properties update --account-name <account> --enable-versioning true --enable-delete-retention true --delete-retention-days 30
Pipeline Service Connection Scoped to Subscription
Details +
An Azure DevOps service connection is scoped to the entire subscription rather than a single resource group. A service principal deploying a single App Service does not need Contributor on the whole subscription; every pipeline that uses this connection inherits subscription-wide access, including pipelines that only need to touch one resource group.
Fix: Re-create the service connection scoped to the resource group each pipeline actually needs instead of the whole subscription. See Azure DevOps: Project Settings > Service connections > New service connection > Azure Resource Manager > Resource Group.
Pipeline Service Connection Uses Password Instead of Federated Credential
Details +
An Azure DevOps service connection authenticates with a stored service principal secret instead of a secretless authentication scheme (workload identity federation or a managed identity). A secretless scheme has nothing to rotate or leak. A stored secret expires after a fixed period, must be rotated manually, and can be exposed through pipeline logs or variable misconfiguration in the meantime.
Fix: Re-create the service connection using workload identity federation or a managed identity instead of a service principal secret. See: az devops service-endpoint azurerm create with --service-principal-type federated, or the equivalent option in the Azure DevOps UI.
Subscription Activity Log Not Exported to an Approved Central Destination
Details +
The subscription's Azure Activity Log has no diagnostic setting exporting it to an organisation-approved central destination (Log Analytics workspace, Storage Account, or Event Hub). Without a central export, subscription-level administrative, security, and policy events are only retained for the Activity Log's fixed default window and are not available to the SIEM/central security tooling used for detection and investigation.
Fix: Create a diagnostic setting on the subscription's Activity Log that sends all required log categories to an approved central destination, e.g.:\n az monitor diagnostic-settings subscription create \\\n --name central-security-export \\\n --location <region> \\\n --workspace <approved-log-analytics-workspace-resource-id>
Required Activity Log Categories Missing From Central Export
Details +
The subscription's Activity Log diagnostic setting(s) exporting to an approved destination do not enable every organisation-required log category (e.g. Administrative, Security, Policy, ServiceHealth). A partial category export leaves gaps in the events available for detection and investigation even though an export destination exists.
Fix: Update the Activity Log diagnostic setting to enable every required category, e.g.:\n az monitor diagnostic-settings subscription update \\\n --name <setting-name> \\\ncategoryAdministrativeenabledcategorySecurityenabledcategoryPolicyenabledcategoryServiceHealthenabled
Critical Resource Missing Required Diagnostic Settings
Details +
A resource of an organisation-defined critical type has no diagnostic setting exporting to an approved central destination. Critical resources (e.g. Key Vaults, SQL servers, Storage accounts) without diagnostic export are invisible to central detection even when subscription activity logging is otherwise correctly configured.
Fix: Create a diagnostic setting on the resource that sends logs to an approved destination, e.g.:\n az monitor diagnostic-settings create \\\n --name central-security-export \\\n --resource <resource-id> \\\n --workspace <approved-log-analytics-workspace-resource-id> \\\ncategoryGroupallLogsenabled
Security Logs Have Insufficient Retention
Details +
A diagnostic setting exporting security-relevant logs to a Storage Account has a retention policy configured below the organisation's minimum retention requirement (or retention is disabled entirely). Insufficient retention limits how far back an investigation can look once an incident is detected. Log Analytics workspace retention is governed by the workspace's own retention setting rather than the diagnostic setting's retention_policy field and is evaluated separately; this rule covers the Storage Account destination retention_policy field only. CIS Azure Foundations Benchmark control 5.1.1 covers the existence of a diagnostic setting (AZ-SECOPS-001) and does not assign a distinct numbered control ID to the retention duration itself, so no single-control CIS mapping applies here.
Fix: Increase the diagnostic setting's Storage Account retention to at least the organisation's minimum, e.g.:\n az monitor diagnostic-settings update \\\n --name <setting-name> \\\n --resource <resource-id> \\\ncategoryGroupallLogsenabledretentionPolicyenableddays
Security Logs Stored Only in a Destination the Workload Administrator Can Modify
Details +
A critical resource's diagnostic setting exports logs only to a destination that lives in the same resource group (and therefore the same administrative scope) as the workload itself, and no copy reaches an organisation-approved, centrally-owned destination. An administrator with Contributor/Owner on the workload's own resource group can delete or alter that destination's contents, defeating tamper-evidence for security-relevant logs. This is a resource-group/ownership comparison, not a live Storage immutability-policy read: the Monitor diagnostic-settings API does not expose the destination's own access-control or immutability configuration. The CIS Azure Foundations Benchmark does not assign a distinct numbered control to log-destination ownership/tamper-protection, so no single-control CIS mapping applies here; ISO 27001:2022 A.8.15 (Logging, which also covers protection of log information) is the closest direct match.
Fix: Add a second export from the resource's diagnostic setting to an organisation-approved, centrally-owned destination that the workload's administrators do not control, e.g.:\n az monitor diagnostic-settings update \\\n --name <setting-name> \\\n --resource <resource-id> \\\n --workspace <approved-log-analytics-workspace-resource-id>\nConsider enabling an immutability policy on any Storage Account destination as defence in depth.
Required Microsoft Defender for Cloud Plan Not Enabled
Details +
A Microsoft Defender for Cloud plan the organisation requires for critical workloads (e.g. VirtualMachines, StorageAccounts, SqlServers) is not enabled (pricing tier is not 'Standard') at the subscription scope. Without the plan enabled, the corresponding workload type receives no Defender threat detection, and no recommendations or alerts are generated for it.
Fix: Enable the required Defender plan at subscription scope, e.g.:\n az security pricing create --name <PlanName> --tier Standard
High-Risk Defender Recommendation Unresolved Beyond SLA
Details +
A Microsoft Defender for Cloud security assessment with High severity is Unhealthy and has remained unresolved longer than the organisation's remediation SLA. The Defender assessment API does not return a typed first-observed timestamp; the age used here is read from the assessment's non-secret additional_data map when the resource provider populates a recognised timestamp key. When no such timestamp is available the assessment's age cannot be determined and it is excluded from this rule's findings (never assumed to be either compliant or overdue).
Fix: Review and remediate the Defender recommendation before its SLA expires:\n az security assessment show --name <assessment-name>\nAddress the underlying resource misconfiguration described by the recommendation, or record an approved risk-acceptance exception with the security team if remediation is not currently possible.
Required Microsoft Sentinel Data Connector Disconnected or Unhealthy
Details +
An organisation-required Microsoft Sentinel data connector is either missing from a Sentinel-onboarded workspace or present with every one of its log data types disabled, which Azure surfaces as the connector showing 'Not connected' in the Sentinel portal. Sentinel workspace scope is auto-discovered: every Log Analytics workspace in the subscription is checked for Sentinel onboarding, and only confirmed-onboarded workspaces are evaluated here. There is no CIS Azure Foundations Benchmark control covering Sentinel connector health; CIS is an infrastructure-configuration benchmark and does not include SIEM/XDR operational controls.
Fix: Open Microsoft Sentinel > Data connectors for the affected workspace, select the required connector, and complete or repair its connection so at least one of its log data types is Enabled and actively ingesting.
Sentinel Missing Required High-Severity Analytics Coverage
Details +
A Sentinel-onboarded workspace has no enabled analytics (alert) rule with High severity covering an organisation-required detection use case (e.g. privileged-role-change, credential-abuse). Detection use cases are matched against each enabled rule's name and tactics; a use case present only as a disabled rule, or not present at all, provides no actual detection coverage. There is no CIS Azure Foundations Benchmark control for Sentinel analytics coverage; CIS is an infrastructure-configuration benchmark and does not evaluate SIEM detection content.
Fix: Create or enable a Sentinel scheduled analytics rule with High severity covering the missing detection use case:\n az sentinel alert-rule create --resource-group <rg> --workspace-name <workspace> \\\n --kind Scheduled --severity High --display-name <use-case-name> ...
Security Alerts Have No Monitored Incident-Response Destination
Details +
No enabled Azure Monitor action group with at least one notification receiver (email, SMS, voice, webhook, ITSM, Logic App, Automation runbook, Azure Function, or Event Hub) exists at subscription scope, and no Sentinel-onboarded workspace has an automation rule configured to route incidents onward (e.g. to a playbook). Without either mechanism, a security alert or Sentinel incident can be generated with nobody and nothing notified to respond to it.
Fix: Create an enabled Azure Monitor action group with at least one receiver, e.g.:\n az monitor action-group create --name soc-notify --resource-group <rg> \\\n --action email soc-oncall ops@example.com\nOr configure a Sentinel automation rule that runs a playbook when an incident is created:\n az sentinel automation-rule create --resource-group <rg> --workspace-name <workspace> ...
Public Blob Access Enabled on Storage Account
Details +
Storage accounts with public blob access enabled allow unauthenticated read access to blob data over the internet. This setting can expose sensitive files, backups, or configuration data to any external actor.
Fix: Disable public blob access on the storage account. Navigate to Storage Account > Configuration > Blob public access and set it to Disabled.
Storage Account Allows HTTP Traffic (Not HTTPS-Only)
Details +
Storage accounts that do not enforce HTTPS-only traffic allow data to be transmitted in plaintext over HTTP. This exposes credentials and data to man-in-the-middle attacks and interception.
Fix: Enable the 'Secure transfer required' setting on the storage account. Navigate to Storage Account > Configuration > Secure transfer required and enable it.
Storage Account Has No Lifecycle Management Policy
Details +
The storage account has no lifecycle management policy configured. Without a lifecycle policy, blobs accumulate indefinitely, old data that is no longer needed remains accessible, increasing storage costs and the attack surface. A compromised account exposes all historical data with no automatic expiry or tiering in place.
Fix: Create a lifecycle management policy on the storage account that transitions blobs to cooler tiers (Cool, Archive) after a defined number of days, and deletes blobs that exceed the organisation's maximum retention period. Navigate to: Storage Account > Data management > Lifecycle management > Add a rule.
Storage Account Diagnostic Logging Disabled
Details +
Azure Monitor diagnostic logging is not fully enabled for the {service} service on this storage account. StorageRead, StorageWrite, and StorageDelete must all be enabled. Without logging, operations on this service cannot be detected or investigated, making it impossible to identify data exfiltration or unauthorised access. CIS Azure Benchmark 3.3 requires logging for blob, queue, and table services for read, write, and delete requests.
Fix: Enable Azure Monitor diagnostic settings on the storage account's {service} service with StorageRead, StorageWrite, and StorageDelete all set to enabled. Navigate to: Storage Account > Monitoring > Diagnostic settings > {service} > Add diagnostic setting, then check StorageRead, StorageWrite, and StorageDelete.
Storage Account Not Using Geo-Redundant Replication
Details +
This storage account is configured with a non-geo-redundant replication SKU ({sku_name}). Locally redundant (LRS) and zone-redundant (ZRS) storage replicate data only within a single region. A regional outage or disaster could result in data unavailability or data loss. Geo-redundant storage (GRS or GZRS) replicates data asynchronously to a secondary Azure region, protecting against region-wide failures.
Fix: Change the storage account replication to a geo-redundant SKU such as Standard_GRS or Standard_GZRS. Navigate to Storage Account > Configuration > Replication and select Geo-redundant storage (GRS) or Geo-zone-redundant storage (GZRS). Alternatively, run the remediation playbook.
Storage Account Shared-Key Authorization Enabled
Details +
Shared-key authorization is enabled on this storage account. Shared keys are long-lived account-wide credentials and bypass identity-based access controls when disclosed.
Fix: Disable shared-key authorization after confirming that all clients use Microsoft Entra ID or an approved alternative. Navigate to Storage Account > Configuration > Allow storage account key access and set it to Disabled.
Storage Account Allows TLS Below 1.2
Details +
The storage account permits a minimum TLS version below TLS 1.2. Older protocols no longer provide an approved transport-security baseline.
Fix: Set the storage account minimum TLS version to TLS 1.2 or later. Navigate to Storage Account > Configuration > Minimum TLS version.
Required Storage Customer-Managed Key Protection Missing
Details +
This explicitly protected storage account is not using a customer-managed encryption key.
Fix: Configure storage encryption with an approved Key Vault customer-managed key after validating key access and rotation ownership.
Required Blob Container Immutability Missing
Details +
This explicitly protected blob container has no effective immutability policy.
Fix: Configure and, where required, lock a time-based immutability policy for the container after confirming retention requirements.
Storage Account Missing Private Endpoint
Details +
A storage account reachable over the public network has no approved Private Endpoint connection, so its blob/file/queue/table endpoints stay reachable from the internet. Traffic does not remain inside a private VNet, widening the attack surface for unauthorized access and data exfiltration.
Fix: Create a Private Endpoint for the storage account and approve the connection (`az network private-endpoint create ...`), then set the account's public network access to Disabled (or Selected networks) so traffic flows only over the private IP inside the VNet.
No rules match those filters.
Try a shorter search, another domain or clear every filter.