{
 "meta": {
  "title": "Azure Security Checklist",
  "site": "cloudsecuritychecklist.com",
  "edition": "2026-11-21",
  "read_date": "2026-11-21",
  "cite": "Azure Security Checklist, edition of 21 Nov 2026, Cloud Security Checklist, https://cloudsecuritychecklist.com/azure-security-checklist/",
  "clouds": [
   "Azure"
  ],
  "no_risk_score": true,
  "cis_note": "CIS ids are the provider mapping page's, each with the benchmark version the provider maps to.",
  "fields": {
   "id": "Stable line id: cloud, service, number",
   "cloud": "AWS, Azure or Google Cloud",
   "service": "Account and identity, Logging, Storage buckets and data stores, Compute instances, Kubernetes, Databases, Keys and secrets, or Networking",
   "title": "The check in a few words",
   "check": "The check in plain words",
   "why": "One sentence paraphrased from the cited page, worded as the provider's claim",
   "navigation_hint": "A console route written from the service names in the cited page. A pointer, not a quote",
   "read_only_commands": "Commands from the provider's CLI reference, joined with a vertical bar. Each one reads; the credential report command builds a report and changes no configuration",
   "provider_control": "The provider's own id (Security Hub CSPM control, Security Command Center finding category) or the Azure Policy definition name",
   "provider_detail": "Severity label, Config rule, policy effects or Security Command Center tier, as the provider's page states them. The id or definition name is not repeated here; it is in provider_control",
   "cis_benchmark_ids": "CIS Benchmark ids exactly as the provider's mapping page states them, each with the benchmark version the provider maps to. \"none listed by the provider\" where it lists none",
   "source_name": "Name of the provider page",
   "source_url": "The page the line comes from, with the anchor for the control where the page has one",
   "note": "A caveat from the source, where one applies",
   "read": "Date the page was read: 2026-11-20 or 2026-11-21"
  }
 },
 "lines": [
  {
   "id": "azure-account-identity-01",
   "cloud": "Azure",
   "service": "Account and identity",
   "title": "MFA for all users and administrators",
   "check": "Every user, and every administrator in particular, must complete multifactor authentication, through security defaults or Conditional Access.",
   "why": "Microsoft says more than 99.9% of common identity attacks are stopped by multifactor authentication and blocking legacy authentication.",
   "navigation_hint": "Microsoft Entra admin center, Entra ID, Overview, Properties, Manage security defaults (or Conditional Access, Policies).",
   "read_only_commands": "",
   "provider_control": "",
   "provider_detail": "No Azure Policy definition on the CIS 2.0.0 page",
   "cis_benchmark_ids": "none listed by the provider",
   "source_name": "Microsoft Learn",
   "source_url": "https://learn.microsoft.com/en-us/entra/fundamentals/security-defaults",
   "note": "",
   "read": "2026-11-20",
   "commands": [],
   "cis": [],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": null,
    "policy_effects": null
   }
  },
  {
   "id": "azure-account-identity-02",
   "cloud": "Azure",
   "service": "Account and identity",
   "title": "Emergency access accounts exist and are protected",
   "check": "Two or more emergency access (break glass) accounts exist in Microsoft Entra ID and are used only in emergencies.",
   "why": "Microsoft says they reduce the impact of accidentally locking everyone out of administrative access.",
   "navigation_hint": "Microsoft Entra admin center, Users, All users; review the Global Administrator role assignments.",
   "read_only_commands": "",
   "provider_control": "",
   "provider_detail": "No Azure Policy definition on the CIS 2.0.0 page",
   "cis_benchmark_ids": "none listed by the provider",
   "source_name": "Microsoft Learn",
   "source_url": "https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/security-emergency-access",
   "note": "",
   "read": "2026-11-20",
   "commands": [],
   "cis": [],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": null,
    "policy_effects": null
   }
  },
  {
   "id": "azure-account-identity-03",
   "cloud": "Azure",
   "service": "Account and identity",
   "title": "Guest users reviewed, no guest owners",
   "check": "Guest (external) accounts with owner, write or read permissions on Azure resources are reviewed and removed when not needed.",
   "why": "Microsoft's policy text says external accounts with permissions should be removed to prevent unmonitored access.",
   "navigation_hint": "Azure portal, Policy, Compliance, definitions 'Guest accounts with owner permissions on Azure resources should be removed', 'Guest accounts with read permissions on Azure resources should be removed', 'Guest accounts with write permissions on Azure resources should be removed'.",
   "read_only_commands": "az policy state list --filter \"ResourceType eq 'Microsoft.Authorization/roleAssignments'\"",
   "provider_control": "Guest accounts with owner permissions on Azure resources should be removed; Guest accounts with read permissions on Azure resources should be removed; Guest accounts with write permissions on Azure resources should be removed",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 1.5",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-21",
   "commands": [
    "az policy state list --filter \"ResourceType eq 'Microsoft.Authorization/roleAssignments'\""
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "1.5",
     "title_on_page": "Ensure Guest Users Are Reviewed on a Regular Basis"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Guest accounts with owner permissions on Azure resources should be removed; Guest accounts with read permissions on Azure resources should be removed; Guest accounts with write permissions on Azure resources should be removed",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-account-identity-04",
   "cloud": "Azure",
   "service": "Account and identity",
   "title": "No custom subscription administrator roles",
   "check": "Built-in roles such as Owner, Contributor and Reader are used instead of custom administrator roles.",
   "why": "Microsoft's policy text says custom roles are error prone and are treated as an exception that needs rigorous review and threat modeling.",
   "navigation_hint": "Azure portal, Subscriptions, subscription, Access control (IAM), Roles, filter Type: CustomRole.",
   "read_only_commands": "az role definition list --custom-role-only true",
   "provider_control": "Audit usage of custom RBAC roles",
   "provider_detail": "effects Audit, Disabled",
   "cis_benchmark_ids": "v2.0.0 1.23",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az role definition list --custom-role-only true"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "1.23",
     "title_on_page": "Ensure That No Custom Subscription Administrator Roles Exist"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Audit usage of custom RBAC roles",
    "policy_effects": "Audit, Disabled"
   }
  },
  {
   "id": "azure-account-identity-05",
   "cloud": "Azure",
   "service": "Account and identity",
   "title": "Privileged roles are eligible, not permanent",
   "check": "Privileged roles are assigned as eligible and activated on demand through Privileged Identity Management.",
   "why": "Microsoft says limiting who has access to important resources lowers the chance of a malicious actor, or an unauthorized user, reaching them.",
   "navigation_hint": "Microsoft Entra admin center, ID governance, Privileged Identity Management, Microsoft Entra roles, Assignments.",
   "read_only_commands": "",
   "provider_control": "",
   "provider_detail": "No Azure Policy definition on the CIS 2.0.0 page",
   "cis_benchmark_ids": "none listed by the provider",
   "source_name": "Microsoft Learn",
   "source_url": "https://learn.microsoft.com/en-us/entra/id-governance/privileged-identity-management/pim-configure",
   "note": "",
   "read": "2026-11-20",
   "commands": [],
   "cis": [],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": null,
    "policy_effects": null
   }
  },
  {
   "id": "azure-account-identity-06",
   "cloud": "Azure",
   "service": "Account and identity",
   "title": "Security contact email set on the subscription",
   "check": "The subscription has a security contact email address in Microsoft Defender for Cloud.",
   "why": "Microsoft's policy text says it makes sure the right people are notified by email when a potential breach happens in a subscription.",
   "navigation_hint": "Azure portal, Microsoft Defender for Cloud, Environment settings, subscription, Email notifications.",
   "read_only_commands": "az security contact list",
   "provider_control": "Subscriptions should have a contact email address for security issues",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 2.1.19",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az security contact list"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "2.1.19",
     "title_on_page": "Ensure 'Additional email addresses' is Configured with a Security Contact Email"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Subscriptions should have a contact email address for security issues",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-logging-01",
   "cloud": "Azure",
   "service": "Logging",
   "title": "Activity log exported and alerts configured",
   "check": "The subscription activity log is exported through a diagnostic setting, and activity log alerts exist for administrative, policy and security operations.",
   "why": "Microsoft says the activity log keeps events for 90 days, and a diagnostic setting is needed for longer retention.",
   "navigation_hint": "Azure portal, Monitor, Activity log, Export Activity Logs; and Monitor, Alerts.",
   "read_only_commands": "az monitor diagnostic-settings subscription list | az monitor activity-log alert list | az monitor activity-log list --offset 90d --max-events <n>   # reads the last 90 days of events",
   "provider_control": "An activity log alert should exist for specific Administrative operations; An activity log alert should exist for specific Policy operations; An activity log alert should exist for specific Security operations",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 5.1.2",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "CIS 5.1.2 asks for diagnostic setting categories; Microsoft's page maps only activity log alert definitions to it, so the diagnostic-settings command on this line is the check for the export.",
   "read": "2026-11-21",
   "commands": [
    "az monitor diagnostic-settings subscription list",
    "az monitor activity-log alert list",
    "az monitor activity-log list --offset 90d --max-events <n>   # reads the last 90 days of events"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "5.1.2",
     "title_on_page": "Ensure Diagnostic Setting captures appropriate categories"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "An activity log alert should exist for specific Administrative operations; An activity log alert should exist for specific Policy operations; An activity log alert should exist for specific Security operations",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-logging-02",
   "cloud": "Azure",
   "service": "Logging",
   "title": "Activity log alert for network security group changes",
   "check": "An activity log alert exists for creating or updating a network security group (CIS 5.2.4 covers delete).",
   "why": "Microsoft's policy text says it audits specific administrative operations that have no activity log alert.",
   "navigation_hint": "Azure portal, Monitor, Alerts, Alert rules, filter Signal type: Activity log.",
   "read_only_commands": "az monitor activity-log alert list",
   "provider_control": "An activity log alert should exist for specific Administrative operations",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 5.2.3",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az monitor activity-log alert list"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "5.2.3",
     "title_on_page": "Ensure that Activity Log Alert exists for Create or Update Network Security Group"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "An activity log alert should exist for specific Administrative operations",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-logging-03",
   "cloud": "Azure",
   "service": "Logging",
   "title": "Key Vault resource logs on",
   "check": "Each key vault sends its resource logs to a Log Analytics workspace, storage account or event hub.",
   "why": "Microsoft's policy text says resource logs let you recreate activity trails for investigation after a security incident.",
   "navigation_hint": "Azure portal, Key vaults, vault, Monitoring, Diagnostic settings.",
   "read_only_commands": "az monitor diagnostic-settings list --resource <resource-id>",
   "provider_control": "Resource logs in Key Vault should be enabled",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 5.1.5",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az monitor diagnostic-settings list --resource <resource-id>"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "5.1.5",
     "title_on_page": "Ensure that logging for Azure Key Vault is 'Enabled'"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Resource logs in Key Vault should be enabled",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-logging-04",
   "cloud": "Azure",
   "service": "Logging",
   "title": "Resource logs on for services that support them",
   "check": "Azure services that support resource logs, such as App Service and Data Lake Store, have them switched on and routed to a destination.",
   "why": "Microsoft's policy text says resource logs let you recreate activity trails for investigation when an incident occurs.",
   "navigation_hint": "Azure portal, Monitor, Diagnostic settings.",
   "read_only_commands": "az monitor diagnostic-settings list --resource <resource-id>",
   "provider_control": "Resource logs in <service> should be enabled, 11 definitions: App Service apps should have resource logs enabled; Resource logs in Azure Data Lake Store should be enabled; Resource logs in Azure Stream Analytics should be enabled; Resource logs in Batch accounts should be enabled; Resource logs in Data Lake Analytics should be enabled; Resource logs in Event Hub should be enabled; Resource logs in IoT Hub should be enabled; Resource logs in Key Vault should be enabled; Resource logs in Logic Apps should be enabled; Resource logs in Search services should be enabled; Resource logs in Service Bus should be enabled",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 5.4",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "The Key Vault definition is also the one on [Key Vault resource logs on](/azure-security-checklist/#azure-logging-03) (CIS 5.1.5).",
   "read": "2026-11-21",
   "commands": [
    "az monitor diagnostic-settings list --resource <resource-id>"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "5.4",
     "title_on_page": "Ensure that Azure Monitor Resource Logging is Enabled for All Services that Support it"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Resource logs in <service> should be enabled, 11 definitions: App Service apps should have resource logs enabled; Resource logs in Azure Data Lake Store should be enabled; Resource logs in Azure Stream Analytics should be enabled; Resource logs in Batch accounts should be enabled; Resource logs in Data Lake Analytics should be enabled; Resource logs in Event Hub should be enabled; Resource logs in IoT Hub should be enabled; Resource logs in Key Vault should be enabled; Resource logs in Logic Apps should be enabled; Resource logs in Search services should be enabled; Resource logs in Service Bus should be enabled",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-logging-05",
   "cloud": "Azure",
   "service": "Logging",
   "title": "SQL server auditing on, 90 days retention or more",
   "check": "Auditing is on for each SQL server, and audit logs sent to a storage account are kept at least 90 days.",
   "why": "Microsoft's policy text says auditing tracks database activities across all databases on the server, and 90 days helps incident investigation.",
   "navigation_hint": "Azure portal, SQL servers, server, Security, Auditing.",
   "read_only_commands": "az sql server audit-policy show -g <resource-group> -n <server-name>",
   "provider_control": "Auditing on SQL server should be enabled; SQL servers with auditing to storage account destination should be configured with 90 days retention or higher",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 4.1.1, 4.1.6",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az sql server audit-policy show -g <resource-group> -n <server-name>"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "4.1.1",
     "title_on_page": "Ensure that 'Auditing' is set to 'On'"
    },
    {
     "version": "2.0.0",
     "id": "4.1.6",
     "title_on_page": "Ensure that 'Auditing' Retention is 'greater than 90 days'"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Auditing on SQL server should be enabled; SQL servers with auditing to storage account destination should be configured with 90 days retention or higher",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-logging-06",
   "cloud": "Azure",
   "service": "Logging",
   "title": "Defender for Servers on",
   "check": "Microsoft Defender for Servers is on for the subscription.",
   "why": "Microsoft's policy text says it gives real-time threat protection for server workloads, hardening recommendations and alerts on suspicious activity.",
   "navigation_hint": "Azure portal, Microsoft Defender for Cloud, Environment settings, subscription, Defender plans.",
   "read_only_commands": "az security pricing show -n VirtualMachines",
   "provider_control": "Azure Defender for servers should be enabled",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 2.1.1",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az security pricing show -n VirtualMachines"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "2.1.1",
     "title_on_page": "Ensure That Microsoft Defender for Servers Is Set to 'On'"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Azure Defender for servers should be enabled",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-storage-01",
   "cloud": "Azure",
   "service": "Storage buckets and data stores",
   "title": "Storage accounts require secure transfer",
   "check": "Each storage account accepts requests only over HTTPS.",
   "why": "Microsoft says secure transfer protects data in transit from network layer attacks such as man-in-the-middle.",
   "navigation_hint": "Azure portal, Storage accounts, account, Configuration, Secure transfer required.",
   "read_only_commands": "az storage account show -g <resource-group> -n <storage-account>   # enableHttpsTrafficOnly",
   "provider_control": "Secure transfer to storage accounts should be enabled",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 3.1",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az storage account show -g <resource-group> -n <storage-account>   # enableHttpsTrafficOnly"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "3.1",
     "title_on_page": "Ensure that 'Secure transfer required' is set to 'Enabled'"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Secure transfer to storage accounts should be enabled",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-storage-02",
   "cloud": "Azure",
   "service": "Storage buckets and data stores",
   "title": "No anonymous public access to blob containers",
   "check": "Storage accounts disallow anonymous public read access to containers and blobs.",
   "why": "Microsoft says anonymous read access is convenient but may present security risks and recommends preventing it unless the scenario needs it.",
   "navigation_hint": "Azure portal, Storage accounts, account, Configuration, Allow Blob anonymous access.",
   "read_only_commands": "az storage account show --name <storage-account> --resource-group <resource-group> --query allowBlobPublicAccess --output tsv",
   "provider_control": "Storage account public access should be disallowed",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 3.7",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az storage account show --name <storage-account> --resource-group <resource-group> --query allowBlobPublicAccess --output tsv"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "3.7",
     "title_on_page": "Ensure that 'Public access level' is disabled for storage accounts with blob containers"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Storage account public access should be disallowed",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-storage-03",
   "cloud": "Azure",
   "service": "Storage buckets and data stores",
   "title": "Storage account network default rule is deny",
   "check": "Storage accounts accept traffic only from selected virtual networks or IP ranges.",
   "why": "Microsoft's policy text says network rules should let only applications from allowed networks reach the account.",
   "navigation_hint": "Azure portal, Storage accounts, account, Security + networking, Networking.",
   "read_only_commands": "az storage account show -g <resource-group> -n <storage-account> --query networkRuleSet.defaultAction",
   "provider_control": "Storage accounts should restrict network access; Storage accounts should restrict network access using virtual network rules",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 3.8",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az storage account show -g <resource-group> -n <storage-account> --query networkRuleSet.defaultAction"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "3.8",
     "title_on_page": "Ensure Default Network Access Rule for Storage Accounts is Set to Deny"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Storage accounts should restrict network access; Storage accounts should restrict network access using virtual network rules",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-storage-04",
   "cloud": "Azure",
   "service": "Storage buckets and data stores",
   "title": "Storage minimum TLS version is 1.2",
   "check": "Each storage account sets its minimum TLS version to 1.2.",
   "why": "Microsoft's policy text says the recommended minimum is the latest released TLS version, which it gives as 1.2.",
   "navigation_hint": "Azure portal, Storage accounts, account, Configuration, Minimum TLS version.",
   "read_only_commands": "az storage account show --name <storage-account> --resource-group <resource-group> --query minimumTlsVersion --output tsv",
   "provider_control": "Storage accounts should have the specified minimum TLS version",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 3.15",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az storage account show --name <storage-account> --resource-group <resource-group> --query minimumTlsVersion --output tsv"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "3.15",
     "title_on_page": "Ensure the \"Minimum TLS version\" for storage accounts is set to \"Version 1.2\""
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Storage accounts should have the specified minimum TLS version",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-storage-05",
   "cloud": "Azure",
   "service": "Storage buckets and data stores",
   "title": "Private endpoints for storage accounts",
   "check": "Storage accounts are reached through private endpoints where possible.",
   "why": "Microsoft's policy text says private endpoints reduce data leakage risk by avoiding a public IP address at the source or destination.",
   "navigation_hint": "Azure portal, Storage accounts, account, Networking, Private endpoint connections.",
   "read_only_commands": "az storage account show -g <resource-group> -n <storage-account> --query privateEndpointConnections",
   "provider_control": "Storage accounts should use private link",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 3.10",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-21",
   "commands": [
    "az storage account show -g <resource-group> -n <storage-account> --query privateEndpointConnections"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "3.10",
     "title_on_page": "Ensure Private Endpoints are used to access Storage Accounts"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Storage accounts should use private link",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-storage-06",
   "cloud": "Azure",
   "service": "Storage buckets and data stores",
   "title": "Customer-managed keys for critical storage",
   "check": "Storage accounts that hold critical data use customer-managed keys.",
   "why": "Microsoft's policy text says customer-managed keys give more flexibility and control over key rotation and access to the encrypting key.",
   "navigation_hint": "Azure portal, Storage accounts, account, Encryption.",
   "read_only_commands": "az storage account show -g <resource-group> -n <storage-account> --query encryption.keySource",
   "provider_control": "Storage accounts should use customer-managed key for encryption",
   "provider_detail": "effects Audit, Disabled",
   "cis_benchmark_ids": "v2.0.0 3.12",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az storage account show -g <resource-group> -n <storage-account> --query encryption.keySource"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "3.12",
     "title_on_page": "Ensure Storage for Critical Data are Encrypted with Customer Managed Keys"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Storage accounts should use customer-managed key for encryption",
    "policy_effects": "Audit, Disabled"
   }
  },
  {
   "id": "azure-storage-07",
   "cloud": "Azure",
   "service": "Storage buckets and data stores",
   "title": "Storage container holding activity logs is not public",
   "check": "The storage account that receives activity logs has public access disallowed.",
   "why": "Microsoft says to prevent data breaches caused by unwanted anonymous access, unless the scenario requires it.",
   "navigation_hint": "Azure portal, Storage accounts, log account, Containers, Access level.",
   "read_only_commands": "az storage account show -g <resource-group> -n <log-storage-account> --query allowBlobPublicAccess",
   "provider_control": "Storage account public access should be disallowed",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 5.1.3",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-21",
   "commands": [
    "az storage account show -g <resource-group> -n <log-storage-account> --query allowBlobPublicAccess"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "5.1.3",
     "title_on_page": "Ensure the Storage Container Storing the Activity Logs is not Publicly Accessible"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Storage account public access should be disallowed",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-compute-01",
   "cloud": "Azure",
   "service": "Compute instances",
   "title": "Virtual machines use managed disks",
   "check": "No virtual machine uses unmanaged disks.",
   "why": "Microsoft says managed disks are designed for 99.999% availability, with three replicas of the data.",
   "navigation_hint": "Azure portal, Virtual machines, VM, Disks.",
   "read_only_commands": "az vm show -g <resource-group> -n <vm> --query storageProfile.osDisk.managedDisk",
   "provider_control": "Audit VMs that do not use managed disks",
   "provider_detail": "effects Audit",
   "cis_benchmark_ids": "v2.0.0 7.2",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-21",
   "commands": [
    "az vm show -g <resource-group> -n <vm> --query storageProfile.osDisk.managedDisk"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "7.2",
     "title_on_page": "Ensure Virtual Machines are utilizing Managed Disks"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Audit VMs that do not use managed disks",
    "policy_effects": "Audit"
   }
  },
  {
   "id": "azure-compute-02",
   "cloud": "Azure",
   "service": "Compute instances",
   "title": "Managed disks double encrypted with customer-managed keys",
   "check": "Managed disks use both platform-managed and customer-managed keys where sensitivity calls for it (CIS 7.4 asks for CMK on unattached disks).",
   "why": "Microsoft's policy text says customers worried about any one algorithm, implementation or key being compromised can add a second encryption layer.",
   "navigation_hint": "Azure portal, Disks, disk, Encryption.",
   "read_only_commands": "az disk show -g <resource-group> -n <disk> --query encryption.type",
   "provider_control": "Managed disks should be double encrypted with both platform-managed and customer-managed keys",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 7.4",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az disk show -g <resource-group> -n <disk> --query encryption.type"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "7.4",
     "title_on_page": "Ensure that 'Unattached disks' are encrypted with 'Customer Managed Key' (CMK)"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Managed disks should be double encrypted with both platform-managed and customer-managed keys",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-compute-03",
   "cloud": "Azure",
   "service": "Compute instances",
   "title": "Machines check for missing system updates",
   "check": "Machines are set to assess for missing system updates automatically every 24 hours.",
   "why": "Microsoft's policy text says the AssessmentMode property should be AutomaticByPlatform so assessments run every 24 hours.",
   "navigation_hint": "Azure portal, Azure Update Manager, Machines.",
   "read_only_commands": "az vm show -g <resource-group> -n <vm> --query osProfile.windowsConfiguration.patchSettings.assessmentMode   # Linux: linuxConfiguration",
   "provider_control": "Machines should be configured to periodically check for missing system updates",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 2.1.13",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-21",
   "commands": [
    "az vm show -g <resource-group> -n <vm> --query osProfile.windowsConfiguration.patchSettings.assessmentMode   # Linux: linuxConfiguration"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "2.1.13",
     "title_on_page": "Ensure that Microsoft Defender Recommendation for 'Apply system updates' status is 'Completed'"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Machines should be configured to periodically check for missing system updates",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-compute-04",
   "cloud": "Azure",
   "service": "Compute instances",
   "title": "App Service apps only reachable over HTTPS",
   "check": "App Service and Function apps accept HTTPS only (CIS 9.10 covers FTPS only).",
   "why": "Microsoft says HTTPS gives server authentication and protects data in transit from network layer eavesdropping.",
   "navigation_hint": "Azure portal, App Services, app, Settings, Configuration, HTTPS Only.",
   "read_only_commands": "az webapp show -g <resource-group> -n <app> --query httpsOnly",
   "provider_control": "App Service apps should only be accessible over HTTPS",
   "provider_detail": "effects Audit, Disabled, Deny",
   "cis_benchmark_ids": "v2.0.0 9.2",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az webapp show -g <resource-group> -n <app> --query httpsOnly"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "9.2",
     "title_on_page": "Ensure Web App Redirects All HTTP traffic to HTTPS in Azure App Service"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "App Service apps should only be accessible over HTTPS",
    "policy_effects": "Audit, Disabled, Deny"
   }
  },
  {
   "id": "azure-kubernetes-01",
   "cloud": "Azure",
   "service": "Kubernetes",
   "title": "AKS API server limited to authorized IP ranges or private",
   "check": "The AKS API server is private, or limited to authorized IP ranges.",
   "why": "Microsoft's AKS baseline says authorized IP ranges ensure that only applications from allowed networks reach the cluster management API.",
   "navigation_hint": "Azure portal, Kubernetes services, cluster, Settings, Networking, API server access.",
   "read_only_commands": "az aks show --resource-group <resource-group> --name <cluster-name> --query apiServerAccessProfile.authorizedIpRanges",
   "provider_control": "Authorized IP ranges should be defined on Kubernetes Services",
   "provider_detail": "effects Audit, Disabled",
   "cis_benchmark_ids": "none listed by the provider",
   "source_name": "Microsoft Learn",
   "source_url": "https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/azure-kubernetes-service-aks-security-baseline",
   "note": "The AKS baseline page states it is based on Microsoft cloud security benchmark v1.0 (control NS-2); the page points to 'Secure your Azure Kubernetes Service' for current guidance. CIS publishes a separate AKS benchmark (2.1.0 on the CIS list).",
   "read": "2026-11-20",
   "commands": [
    "az aks show --resource-group <resource-group> --name <cluster-name> --query apiServerAccessProfile.authorizedIpRanges"
   ],
   "cis": [],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Authorized IP ranges should be defined on Kubernetes Services",
    "policy_effects": "Audit, Disabled"
   }
  },
  {
   "id": "azure-kubernetes-02",
   "cloud": "Azure",
   "service": "Kubernetes",
   "title": "AKS uses Microsoft Entra authentication, local accounts disabled",
   "check": "Cluster access uses Microsoft Entra ID, and local accounts are turned off.",
   "why": "Microsoft's AKS baseline says to avoid local authentication methods and use Entra ID where possible.",
   "navigation_hint": "Azure portal, Kubernetes services, cluster, Settings, Security configuration, Authentication and authorization.",
   "read_only_commands": "az aks show --resource-group <resource-group> --name <cluster-name>   # properties.disableLocalAccounts should be true",
   "provider_control": "",
   "provider_detail": "No Azure Policy definition on the CIS 2.0.0 page",
   "cis_benchmark_ids": "none listed by the provider",
   "source_name": "Microsoft Learn",
   "source_url": "https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/azure-kubernetes-service-aks-security-baseline",
   "note": "Baseline control IM-1 (MCSB v1.0 wording).",
   "read": "2026-11-20",
   "commands": [
    "az aks show --resource-group <resource-group> --name <cluster-name>   # properties.disableLocalAccounts should be true"
   ],
   "cis": [],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": null,
    "policy_effects": null
   }
  },
  {
   "id": "azure-kubernetes-03",
   "cloud": "Azure",
   "service": "Kubernetes",
   "title": "Azure RBAC used for Kubernetes authorization",
   "check": "The cluster uses Azure RBAC for Kubernetes authorization.",
   "why": "Microsoft's AKS baseline lists Kubernetes RBAC or Azure RBAC with Entra ID as the way to authorize and control access to clusters.",
   "navigation_hint": "Azure portal, Kubernetes services, cluster, Settings, Security configuration.",
   "read_only_commands": "az aks show --resource-group <resource-group> --name <cluster-name> --query \"aadProfile.enableAzureRbac\" --output tsv",
   "provider_control": "Azure Role-Based Access Control (RBAC) should be used on Kubernetes Services",
   "provider_detail": "effects Audit, Disabled",
   "cis_benchmark_ids": "none listed by the provider",
   "source_name": "Microsoft Learn",
   "source_url": "https://learn.microsoft.com/en-us/azure/aks/manage-azure-rbac",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az aks show --resource-group <resource-group> --name <cluster-name> --query \"aadProfile.enableAzureRbac\" --output tsv"
   ],
   "cis": [],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Azure Role-Based Access Control (RBAC) should be used on Kubernetes Services",
    "policy_effects": "Audit, Disabled"
   }
  },
  {
   "id": "azure-kubernetes-04",
   "cloud": "Azure",
   "service": "Kubernetes",
   "title": "Defender for Containers on, Defender profile on AKS clusters",
   "check": "Microsoft Defender for Containers is on for the subscription and the Defender profile is enabled on AKS clusters.",
   "why": "Microsoft's policy text says Defender for Containers gives hardening, vulnerability assessment and run-time protection for Kubernetes environments.",
   "navigation_hint": "Azure portal, Microsoft Defender for Cloud, Environment settings, Defender plans, Containers.",
   "read_only_commands": "az security pricing show -n Containers",
   "provider_control": "Microsoft Defender for Containers should be enabled; Azure Kubernetes Service clusters should have Defender profile enabled",
   "provider_detail": "effects AuditIfNotExists, Disabled for the first; Audit, Disabled for the second (AKS security baseline)",
   "cis_benchmark_ids": "v2.0.0 2.1.8, 2.1.17",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az security pricing show -n Containers"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "2.1.8",
     "title_on_page": "Ensure That Microsoft Defender for Containers Is Set To 'On'"
    },
    {
     "version": "2.0.0",
     "id": "2.1.17",
     "title_on_page": "Ensure that Auto provisioning of 'Microsoft Defender for Containers components' is Set to 'On'"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Microsoft Defender for Containers should be enabled; Azure Kubernetes Service clusters should have Defender profile enabled",
    "policy_effects": "AuditIfNotExists, Disabled for the first; Audit, Disabled for the second (AKS security baseline)"
   }
  },
  {
   "id": "azure-kubernetes-05",
   "cloud": "Azure",
   "service": "Kubernetes",
   "title": "Pod security baseline enforced with Azure Policy for AKS",
   "check": "The Azure Policy add-on is installed and a pod security baseline initiative is assigned to the cluster.",
   "why": "Microsoft says Azure Policy lets you apply and enforce built-in security policies on AKS clusters and assess compliance at scale.",
   "navigation_hint": "Azure portal, Policy, Definitions, Category: Kubernetes; Policy, Compliance.",
   "read_only_commands": "az aks show -g <resource-group> -n <cluster> --query addonProfiles.azurepolicy.enabled",
   "provider_control": "",
   "provider_detail": "No Azure Policy definition on the CIS 2.0.0 page",
   "cis_benchmark_ids": "none listed by the provider",
   "source_name": "Microsoft Learn",
   "source_url": "https://learn.microsoft.com/en-us/azure/aks/use-azure-policy",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az aks show -g <resource-group> -n <cluster> --query addonProfiles.azurepolicy.enabled"
   ],
   "cis": [],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": null,
    "policy_effects": null
   }
  },
  {
   "id": "azure-kubernetes-06",
   "cloud": "Azure",
   "service": "Kubernetes",
   "title": "AKS runs a supported Kubernetes version",
   "check": "Clusters run a Kubernetes version that AKS still supports.",
   "why": "Microsoft says to use the latest patch of your minor version and that AKS upgrades clusters left on unsupported versions from 1 June 2027.",
   "navigation_hint": "Azure portal, Kubernetes services, cluster, Settings, Cluster configuration.",
   "read_only_commands": "az aks show -g <resource-group> -n <cluster> --query currentKubernetesVersion | az aks get-versions --location <region>",
   "provider_control": "",
   "provider_detail": "No Azure Policy definition on the CIS 2.0.0 page",
   "cis_benchmark_ids": "none listed by the provider",
   "source_name": "Microsoft Learn",
   "source_url": "https://learn.microsoft.com/en-us/azure/aks/supported-kubernetes-versions",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az aks show -g <resource-group> -n <cluster> --query currentKubernetesVersion",
    "az aks get-versions --location <region>"
   ],
   "cis": [],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": null,
    "policy_effects": null
   }
  },
  {
   "id": "azure-databases-01",
   "cloud": "Azure",
   "service": "Databases",
   "title": "Azure SQL public network access disabled",
   "check": "Azure SQL servers do not accept public network traffic, and firewall rules do not allow 0.0.0.0/0.",
   "why": "Microsoft's policy text says disabling public network access limits access to private endpoints.",
   "navigation_hint": "Azure portal, SQL servers, server, Security, Networking.",
   "read_only_commands": "az sql server firewall-rule list --resource-group <resource-group> --server <server-name> | az sql server show -g <resource-group> -n <server-name> --query publicNetworkAccess   # should return Disabled",
   "provider_control": "Public network access on Azure SQL Database should be disabled",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 4.1.2",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az sql server firewall-rule list --resource-group <resource-group> --server <server-name>",
    "az sql server show -g <resource-group> -n <server-name> --query publicNetworkAccess   # should return Disabled"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "4.1.2",
     "title_on_page": "Ensure no Azure SQL Databases allow ingress from 0.0.0.0/0 (ANY IP)"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Public network access on Azure SQL Database should be disabled",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-databases-02",
   "cloud": "Azure",
   "service": "Databases",
   "title": "Microsoft Entra admin set for SQL servers",
   "check": "Each SQL server has a Microsoft Entra administrator.",
   "why": "Microsoft's policy text says it enables Entra authentication, which simplifies permission management and centralizes identity management for database users.",
   "navigation_hint": "Azure portal, SQL servers, server, Settings, Microsoft Entra ID.",
   "read_only_commands": "az sql server ad-admin list -g <resource-group> -s <server-name>",
   "provider_control": "An Azure Active Directory administrator should be provisioned for SQL servers",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 4.1.4",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az sql server ad-admin list -g <resource-group> -s <server-name>"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "4.1.4",
     "title_on_page": "Ensure that Azure Active Directory Admin is Configured for SQL Servers"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "An Azure Active Directory administrator should be provisioned for SQL servers",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-databases-03",
   "cloud": "Azure",
   "service": "Databases",
   "title": "Transparent data encryption on SQL databases",
   "check": "Transparent data encryption is on for each SQL database.",
   "why": "Microsoft's policy text says it protects data at rest and helps meet compliance requirements.",
   "navigation_hint": "Azure portal, SQL databases, database, Security, Data encryption.",
   "read_only_commands": "az sql db tde show -g <resource-group> -s <server-name> -d <database>",
   "provider_control": "Transparent Data Encryption on SQL databases should be enabled",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 4.1.5",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az sql db tde show -g <resource-group> -s <server-name> -d <database>"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "4.1.5",
     "title_on_page": "Ensure that 'Data encryption' is set to 'On' on a SQL Database"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Transparent Data Encryption on SQL databases should be enabled",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-databases-04",
   "cloud": "Azure",
   "service": "Databases",
   "title": "Defender for SQL on",
   "check": "Microsoft Defender for SQL is on for critical SQL servers and managed instances.",
   "why": "Microsoft says the Defender for Azure SQL Databases plan discovers, tracks and helps you fix potential database vulnerabilities.",
   "navigation_hint": "Azure portal, SQL servers, server, Security, Microsoft Defender for Cloud.",
   "read_only_commands": "az security pricing show -n SqlServers",
   "provider_control": "Azure Defender for SQL should be enabled for unprotected Azure SQL servers; Azure Defender for SQL should be enabled for unprotected SQL Managed Instances",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 4.2.1",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az security pricing show -n SqlServers"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "4.2.1",
     "title_on_page": "Ensure that Microsoft Defender for SQL is set to 'On' for critical SQL Servers"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Azure Defender for SQL should be enabled for unprotected Azure SQL servers; Azure Defender for SQL should be enabled for unprotected SQL Managed Instances",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-databases-05",
   "cloud": "Azure",
   "service": "Databases",
   "title": "SSL enforced on PostgreSQL servers",
   "check": "Azure Database for PostgreSQL servers enforce SSL connections. On Flexible Server, require_secure_transport is ON.",
   "why": "Microsoft's policy text says enforcing SSL encrypts the data stream and helps protect against man-in-the-middle attacks.",
   "navigation_hint": "Azure portal, Azure Database for PostgreSQL flexible servers, server, Settings, Server parameters, require_secure_transport.",
   "read_only_commands": "az postgres flexible-server parameter show -g <resource-group> -s <server> --name require_secure_transport",
   "provider_control": "Enforce SSL connection should be enabled for PostgreSQL database servers",
   "provider_detail": "effects Audit, Disabled",
   "cis_benchmark_ids": "v2.0.0 4.3.1",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "The Azure Policy definition targets single server; on Flexible Server the require_secure_transport parameter controls TLS.",
   "read": "2026-11-20",
   "commands": [
    "az postgres flexible-server parameter show -g <resource-group> -s <server> --name require_secure_transport"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "4.3.1",
     "title_on_page": "Ensure 'Enforce SSL connection' is set to 'ENABLED' for PostgreSQL Database Server"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Enforce SSL connection should be enabled for PostgreSQL database servers",
    "policy_effects": "Audit, Disabled"
   }
  },
  {
   "id": "azure-databases-06",
   "cloud": "Azure",
   "service": "Databases",
   "title": "Cosmos DB firewall limits access to selected networks",
   "check": "Cosmos DB accounts have firewall rules, or public access turned off.",
   "why": "Microsoft's policy text says firewall rules should stop traffic from unauthorized sources.",
   "navigation_hint": "Azure portal, Azure Cosmos DB accounts, account, Settings, Networking.",
   "read_only_commands": "az cosmosdb show -g <resource-group> -n <account> --query \"{ipRules:ipRules,publicNetworkAccess:publicNetworkAccess}\"",
   "provider_control": "Azure Cosmos DB accounts should have firewall rules",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 4.5.1",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az cosmosdb show -g <resource-group> -n <account> --query \"{ipRules:ipRules,publicNetworkAccess:publicNetworkAccess}\""
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "4.5.1",
     "title_on_page": "Ensure That 'Firewalls & Networks' Is Limited to Use Selected Networks Instead of All Networks"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Azure Cosmos DB accounts should have firewall rules",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-keys-01",
   "cloud": "Azure",
   "service": "Keys and secrets",
   "title": "Key Vault soft delete and purge protection on",
   "check": "Each key vault has soft delete and purge protection enabled.",
   "why": "Microsoft's policy text says deleting a vault without soft delete permanently deletes its keys, secrets and certificates.",
   "navigation_hint": "Azure portal, Key vaults, vault, Properties, Soft-delete and Purge protection.",
   "read_only_commands": "az keyvault show --subscription <subscription-id> -g <resource-group> -n <vault-name>",
   "provider_control": "Key vaults should have deletion protection enabled; Key vaults should have soft delete enabled",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 8.5",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az keyvault show --subscription <subscription-id> -g <resource-group> -n <vault-name>"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "8.5",
     "title_on_page": "Ensure the Key Vault is Recoverable"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Key vaults should have deletion protection enabled; Key vaults should have soft delete enabled",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-keys-02",
   "cloud": "Azure",
   "service": "Keys and secrets",
   "title": "Key Vault uses the RBAC permission model",
   "check": "Key vaults use Azure RBAC instead of access policies.",
   "why": "Microsoft's policy text asks for the RBAC permission model across key vaults and points to its migration guide.",
   "navigation_hint": "Azure portal, Key vaults, vault, Settings, Access configuration.",
   "read_only_commands": "az keyvault show -g <resource-group> -n <vault> --query properties.enableRbacAuthorization",
   "provider_control": "Azure Key Vault should use RBAC permission model",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 8.6",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az keyvault show -g <resource-group> -n <vault> --query properties.enableRbacAuthorization"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "8.6",
     "title_on_page": "Enable Role Based Access Control for Azure Key Vault"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Azure Key Vault should use RBAC permission model",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-keys-03",
   "cloud": "Azure",
   "service": "Keys and secrets",
   "title": "Expiration dates on Key Vault keys and secrets",
   "check": "Keys and secrets in every vault have an expiration date.",
   "why": "Microsoft's policy text says keys and secrets that are valid forever give an attacker more time to compromise them.",
   "navigation_hint": "Azure portal, Key vaults, vault, Objects, Keys or Secrets, Expiration date column.",
   "read_only_commands": "az keyvault key list --vault-name <vault> --query \"[].attributes.expires\" | az keyvault secret list --vault-name <vault> --query \"[].attributes.expires\"",
   "provider_control": "Key Vault keys should have an expiration date; Key Vault secrets should have an expiration date",
   "provider_detail": "effects Audit, Deny, Disabled",
   "cis_benchmark_ids": "v2.0.0 8.1, 8.2, 8.3, 8.4",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-21",
   "commands": [
    "az keyvault key list --vault-name <vault> --query \"[].attributes.expires\"",
    "az keyvault secret list --vault-name <vault> --query \"[].attributes.expires\""
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "8.1",
     "title_on_page": "Ensure that the Expiration Date is set for all Keys in RBAC Key Vaults"
    },
    {
     "version": "2.0.0",
     "id": "8.2",
     "title_on_page": "Ensure that the Expiration Date is set for all Keys in Non-RBAC Key Vaults"
    },
    {
     "version": "2.0.0",
     "id": "8.3",
     "title_on_page": "Ensure that the Expiration Date is set for all Secrets in RBAC Key Vaults"
    },
    {
     "version": "2.0.0",
     "id": "8.4",
     "title_on_page": "Ensure that the Expiration Date is set for all Secrets in Non-RBAC Key Vaults"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Key Vault keys should have an expiration date; Key Vault secrets should have an expiration date",
    "policy_effects": "Audit, Deny, Disabled"
   }
  },
  {
   "id": "azure-keys-04",
   "cloud": "Azure",
   "service": "Keys and secrets",
   "title": "Private endpoints for Key Vault",
   "check": "Key vaults are reached through private endpoints.",
   "why": "Microsoft's policy text says private endpoints reduce data leakage risk by avoiding public IP addresses.",
   "navigation_hint": "Azure portal, Key vaults, vault, Networking, Private endpoint connections.",
   "read_only_commands": "az keyvault show -g <resource-group> -n <vault-name> --query \"properties.privateEndpointConnections[].privateLinkServiceConnectionState.status\"",
   "provider_control": "Azure Key Vaults should use private link",
   "provider_detail": "effects Audit, Disabled",
   "cis_benchmark_ids": "v2.0.0 8.7",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "The definition (version 1.2.1) allows Audit or Disabled; its Deny option is deprecated because a vault and its private endpoint cannot be created at the same time.",
   "read": "2026-11-21",
   "commands": [
    "az keyvault show -g <resource-group> -n <vault-name> --query \"properties.privateEndpointConnections[].privateLinkServiceConnectionState.status\""
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "8.7",
     "title_on_page": "Ensure that Private Endpoints are Used for Azure Key Vault"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Azure Key Vaults should use private link",
    "policy_effects": "Audit, Disabled"
   }
  },
  {
   "id": "azure-networking-01",
   "cloud": "Azure",
   "service": "Networking",
   "title": "RDP and SSH from the internet evaluated and restricted",
   "check": "No network security group rule leaves RDP (3389) or SSH (22) open to the internet without a documented need.",
   "why": "Microsoft's policy text says open remote management ports expose a VM to brute force attempts to gain admin access.",
   "navigation_hint": "Azure portal, Network security groups, NSG, Inbound security rules.",
   "read_only_commands": "az network nsg rule list --resource-group <resource-group> --nsg-name <nsg-name>",
   "provider_control": "Management ports should be closed on your virtual machines",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 6.1, 6.2",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-21",
   "commands": [
    "az network nsg rule list --resource-group <resource-group> --nsg-name <nsg-name>"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "6.1",
     "title_on_page": "Ensure that RDP access from the Internet is evaluated and restricted"
    },
    {
     "version": "2.0.0",
     "id": "6.2",
     "title_on_page": "Ensure that SSH access from the Internet is evaluated and restricted"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Management ports should be closed on your virtual machines",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-networking-02",
   "cloud": "Azure",
   "service": "Networking",
   "title": "Network Watcher enabled in each Region",
   "check": "Network Watcher is enabled in every Region that has network resources.",
   "why": "Microsoft's policy text says it monitors and diagnoses network conditions end to end.",
   "navigation_hint": "Azure portal, Network Watcher, Overview.",
   "read_only_commands": "az network watcher list",
   "provider_control": "Network Watcher should be enabled",
   "provider_detail": "effects AuditIfNotExists, Disabled",
   "cis_benchmark_ids": "v2.0.0 6.6",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "",
   "read": "2026-11-20",
   "commands": [
    "az network watcher list"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "6.6",
     "title_on_page": "Ensure that Network Watcher is 'Enabled'"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "Network Watcher should be enabled",
    "policy_effects": "AuditIfNotExists, Disabled"
   }
  },
  {
   "id": "azure-networking-03",
   "cloud": "Azure",
   "service": "Networking",
   "title": "Flow logs captured for network traffic",
   "check": "Flow logs are enabled for virtual networks (CIS asks for network security group flow logs).",
   "why": "Microsoft's policy text says flow logs record IP traffic and can support compliance checks and intrusion detection.",
   "navigation_hint": "Azure portal, Network Watcher, Flow logs.",
   "read_only_commands": "az network watcher flow-log list --location <region>",
   "provider_control": "All flow log resources should be in enabled state; Audit flow logs configuration for every virtual network; Flow logs should be configured for every network security group",
   "provider_detail": "effects Audit, Disabled",
   "cis_benchmark_ids": "v2.0.0 5.1.6",
   "source_name": "Azure Policy regulatory compliance details, CIS Azure Foundations 2.0.0",
   "source_url": "https://learn.microsoft.com/en-us/azure/governance/policy/samples/cis-azure-2-0-0",
   "note": "NSG flow logs retire 30 Sep 2027 (which flow log is being retired).",
   "read": "2026-11-21",
   "commands": [
    "az network watcher flow-log list --location <region>"
   ],
   "cis": [
    {
     "version": "2.0.0",
     "id": "5.1.6",
     "title_on_page": "Ensure that Network Security Group Flow logs are captured and sent to Log Analytics"
    }
   ],
   "provider_control_detail": {
    "id": null,
    "azure_policy_definition": "All flow log resources should be in enabled state; Audit flow logs configuration for every virtual network; Flow logs should be configured for every network security group",
    "policy_effects": "Audit, Disabled"
   }
  }
 ]
}