Skip to content
← All integrations

Azure

Cloud

Connect with a service principal and monitor Azure subscriptions.

why it matters

Why Azure matters for compliance

Azure estates tend to grow sideways: storage accounts created for one project, a SQL server opened to the internet for a quick test, a Key Vault still on legacy access policies. Auditors look for the same handful of controls in all of them. Is data encrypted in transit and at rest? Is anything publicly reachable that should not be? Is privileged access limited? Are critical operations logged and alerted on?

Varman checks storage accounts for HTTPS, TLS 1.2, encryption, and public access, then SQL Database, MySQL, and PostgreSQL servers for TLS and public exposure. It confirms SQL auditing, Key Vault soft delete, purge protection, and RBAC authorization, network security group rules open to the internet, privileged role assignments, Azure Monitor alerts and log export, and separation between production and non-production. These feed tasks like TLS / HTTPS, Secure Secrets, and Separation of Environments across SOC 2, ISO 27001, HIPAA, and PCI DSS.

what it checks

Azure checks in Varman

Read-only monitoring of security posture, identity, network, and compliance in Microsoft Azure. Varman runs 14 checks against Azure on a schedule and records each result as evidence.

Storage: HTTPS and TLS 1.2 enforced

Verify storage accounts enforce HTTPS-only traffic and a minimum TLS version of 1.2.

Fails when
Weak transit encryption
How to fix
Enable "Secure transfer required" (HTTPS-only) and set minimum TLS version to 1.2.

Evidence for the TLS / HTTPS task. Used by CMMC L2, HIPAA, ISO 27001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

Storage: no public access

Verify storage accounts disable anonymous blob access and public network access.

Fails when
Public access enabled
How to fix
Disable "Allow Blob public access" and restrict network access to specific VNets/IPs or private endpoints (set networkAcls.defaultAction to "Deny").

Evidence for the Production Firewall & No-Public-Access Controls task. Used by CMMC L2, HIPAA, ISO 27001, ISO 42001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

Storage: encryption at rest enabled

Verify storage accounts have blob and file service encryption enabled.

Fails when
Encryption not fully enabled
How to fix
Enable encryption for blob and file services.

Evidence for the Encryption at Rest task. Used by CMMC L2, GDPR, HIPAA, ISO 27001, ISO 42001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, PIPEDA, SOC 2.

SQL Database: TLS 1.2 enforced

Verify SQL Servers require a minimum TLS version of 1.2.

Fails when
Outdated TLS version
How to fix
Set the minimum TLS version to 1.2.

Evidence for the TLS / HTTPS task. Used by CMMC L2, HIPAA, ISO 27001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

SQL Database: no public access

Verify SQL Servers disable public network access and have no wide-open firewall rules.

How to fix
Disable public network access and use private endpoints; remove 0.0.0.0 firewall rules.

Evidence for the Production Firewall & No-Public-Access Controls task. Used by CMMC L2, HIPAA, ISO 27001, ISO 42001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

SQL Database: auditing enabled

Verify SQL Servers have auditing enabled to track database operations.

Fails when
Auditing disabled
How to fix
Enable SQL auditing in the server security settings.

Evidence for the Monitoring & Alerting task. Used by CMMC L2, GDPR, HIPAA, ISO 27001, ISO 42001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, PIPEDA, SOC 2.

Database for MySQL: TLS 1.2 enforced

Verify Azure Database for MySQL Flexible Servers require secure transport and a minimum TLS version of 1.2.

Fails when
Outdated TLS configuration
How to fix
Set require_secure_transport to ON and tls_version to TLSv1.2 (or TLSv1.2,TLSv1.3).

Evidence for the TLS / HTTPS task. Used by CMMC L2, HIPAA, ISO 27001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

Database for PostgreSQL: TLS 1.2 enforced

Verify Azure Database for PostgreSQL Flexible Servers require secure transport and a minimum TLS version of 1.2.

Fails when
Outdated TLS configuration
How to fix
Set require_secure_transport to ON and ssl_min_protocol_version to TLSv1.2 (or TLSv1.3).

Evidence for the TLS / HTTPS task. Used by CMMC L2, HIPAA, ISO 27001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

Key Vault: soft delete, purge protection, no public access

Verify Key Vaults enable soft delete and purge protection and restrict public network access.

Fails when
Key Vault not fully protected
How to fix
Enable soft delete and purge protection, and restrict public network access (use private endpoints).

Evidence for the Secure Secrets task. Used by CMMC L2, HIPAA, ISO 27001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

Key Vault: RBAC authorization

Verify Key Vaults use Azure RBAC instead of legacy vault access policies.

Fails when
Legacy access policies
How to fix
Migrate to the Azure RBAC permission model for finer-grained, auditable access control.

Evidence for the Role-based Access Controls task. Used by CMMC L2, HIPAA, ISO 27001, ISO 42001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

Network: no NSG ports open to the internet

Flags NSG inbound rules that allow SSH, RDP, database ports, or all ports from the internet.

How to fix
Restrict the source to specific IP ranges, or use Azure Bastion / Private Link.

Evidence for the Production Firewall & No-Public-Access Controls task. Used by CMMC L2, HIPAA, ISO 27001, ISO 42001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

Azure RBAC: least privilege

Flags excessive privileged role assignments, custom roles with wildcard permissions, and service principals with privileged roles.

Fails when
Excessive privileged role assignments
Service principals with privileged roles
Custom role with wildcard permissions
How to fix
Review privileged role assignments and remove unnecessary ones; use just-in-time access via Azure PIM.
Replace broad roles with scoped custom roles for service principals.
Restrict the custom role to only the specific actions required.

Evidence for the Role-based Access Controls task. Used by CMMC L2, HIPAA, ISO 27001, ISO 42001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

Azure Monitor: alerts and log export

Verify activity log alerts exist for critical operations and subscription logs are exported.

Fails when
Missing activity log alerts
Subscription activity logs are not exported to Log Analytics, a storage account, or an event hub.
How to fix
Create activity log alerts in Azure Monitor for these critical operations.
Configure a diagnostic setting to export subscription activity logs.

Evidence for the Monitoring & Alerting task. Used by CMMC L2, GDPR, HIPAA, ISO 27001, ISO 42001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, PIPEDA, SOC 2.

Separation of environments: production isolated from non-production

Verify production and non-production are separated across Azure subscriptions or resource groups.

How to fix
Separate production and non-production into distinct subscriptions (strongest), or tag each resource group with an `environment` tag (e.g. environment=production / environment=staging). If your organization uses different environment names, configure Environment aliases (e.g. release=production). If you separate environments another way, upload a console screenshot or architecture diagram as evidence.

Evidence for the Separation of Environments task. Used by CMMC L2, HIPAA, ISO 27001, ISO 42001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.

frameworks

Frameworks Azure evidence supports

In Varman, each check feeds an evidence task, and each task is mapped to requirements in the frameworks you run. Results from Azure count toward these 11 frameworks.

how to connect

Connecting Azure

Connect Azure with a read-only service principal (app registration). An admin adds the details below in Varman under Integrations. Secret values are encrypted before they are stored.

Vendor reference: Azure API documentation.

Directory (tenant) ID
The tenant ID of your Azure AD app registration.
Application (client) ID
The application (client) ID of the app registration.
Client secret
A client secret Value from the app registration.
questions

Azure questions, answered.

What access does Varman need to Azure?

A read-only service principal from an app registration. You provide the directory (tenant) ID, the application (client) ID, and a client secret value. The secret is encrypted before it is stored. The exact permissions to grant are shown when you connect.

What does the Azure RBAC least privilege check flag?

Excessive privileged role assignments, custom roles that use wildcard permissions, and service principals that hold privileged roles. The suggested fix is to remove unneeded assignments, scope custom roles to the actions they need, and use just-in-time access through Azure PIM.

How does Varman decide production is separated from non-production?

It looks for separation across subscriptions or resource groups. Separate subscriptions are the strongest option. Tagging resource groups with an environment tag also works, and you can set environment aliases if your names differ, for example release meaning production.

How often are Azure checks run?

Azure checks run on a schedule and each result is stored as dated evidence. After you change a setting, such as raising a SQL server to TLS 1.2, you can run the check again on demand.