Azure Scanners
Cloudsploit's Azure detectors analyze your Azure tenant for security misconfigurations across Active Directory, Storage, Virtual Machines, SQL Database, Key Vault, AKS, and more.
Scanning Azure Tenant
Run a full Azure security scan:
1cloudsploit scan azure
List all Azure detectors:
1cloudsploit detectors --provider azure --list
Identity & Access
Azure AD Password Policy
AZURE_AD_PASSWORD_POLICYChecks Azure AD password protection settings
Azure AD MFA Enforcement
AZURE_AD_MFA_ENFORCEMENTVerifies MFA is enabled for all users
Azure AD Guest Users
AZURE_AD_GUEST_USERSIdentifies external guest users and their access
Azure AD Privileged Role Assignments
AZURE_AD_PRIVILEGED_ROLESChecks for excessive privileged role assignments
Service Principal Credential Age
AZURE_SP_CREDENTIAL_AGEService principal credentials older than 90 days
Storage
Storage Account Public Access
STORAGE_ACCOUNT_PUBLIC_ACCESSStorage container or blob public access enabled
Storage Account Secure Transfer
STORAGE_ACCOUNT_SECURE_TRANSFERHTTPS only not enforced for storage
Storage Account Encryption
STORAGE_ACCOUNT_ENCRYPTIONCustomer-managed keys or Microsoft-managed encryption
Storage Account Network Rules
STORAGE_ACCOUNT_NETWORK_RULESNetwork restrictions missing (default allow all)
Storage Account Logging Enabled
STORAGE_ACCOUNT_LOGGING_ENABLEDRead/write/delete logging not configured
Storage Account Blob Versioning
STORAGE_ACCOUNT_BLOB_VERSIONINGBlob versioning disabled (data retention risk)
Compute
VM Public IP Address
VM_PUBLIC_IP_ADDRESSVirtual machine has public IP assigned
VM Disk Encryption
VM_DISK_ENCRYPTIONOS/data disks not encrypted with Azure Disk Encryption
VM Backup Enabled
VM_BACKUP_ENABLEDAzure Backup not configured for VM
VM Anti-Malware Extension
VM_ANTI_MALWARE_EXTENSIONMicrosoft Antimalware extension not installed
App Service HTTPS Only
APP_SERVICE_HTTPS_ONLYHTTPS-only setting not enabled for web app
App Service Authentication
APP_SERVICE_AUTHENTICATIONAuthentication/Authorization not enabled
App Service Always On
APP_SERVICE_ALWAYS_ONAlways On setting disabled (affects reliability)
Database
SQL Server Auditing
SQL_SERVER_AUDITINGAuditing not enabled for Azure SQL Database
SQL Server Encryption
SQL_SERVER_ENCRYPTIONTransparent Data Encryption (TDE) not enabled
SQL Server Threat Detection
SQL_SERVER_THREAT_DETECTIONAdvanced Threat Protection not enabled
SQL Server Firewall Rules
SQL_SERVER_FIREWALL_RULESOverly permissive firewall rules (0.0.0.0)
Cosmos DB Firewall
COSMOS_DB_FIREWALLCosmos DB firewall rules too permissive
Redis Cache Firewall
REDIS_FIREWALLAzure Cache for Redis firewall configuration
Security & Key Vault
Key Vault Soft Delete
KEY_VAULT_SOFT_DELETESoft delete not enabled (permanent loss risk)
Key Vault Purge Protection
KEY_VAULT_PURGE_PROTECTIONPurge protection disabled
Key Vault Firewall
KEY_VAULT_FIREWALLKey Vault network rules too permissive
Security Center Standard Tier
SECURITY_CENTER_STANDARDUsing Free tier instead of Standard
Security Center Auto Provisioning
SECURITY_CENTER_AUTO_PROVISIONINGAuto-provisioning of security agents disabled
Defender for Storage Enabled
DEFENDER_FOR_STORAGE_ENABLEDMicrosoft Defender for Storage not enabled
Container & Kubernetes
AKS RBAC Enabled
AKS_RBAC_ENABLEDRBAC not enabled for AKS cluster
AKS Network Policy
AKS_NETWORK_POLICYNetwork policy not enabled (Calico/Azure)
AKS OMS Agent
AKS_OMS_AGENTLog Analytics agent not installed on AKS
Container Registry Admin User
CONTAINER_REGISTRY_ADMIN_USERAdmin user enabled on ACR (security risk)
Container Registry Firewall
CONTAINER_REGISTRY_FIREWALLACR network rules not configured
Monitoring & Governance
Activity Log Retention
ACTIVITY_LOG_RETENTIONActivity log retention less than 365 days
Resource Locks Missing
RESOURCE_LOCKS_MISSINGCritical resources lack resource locks
Policy Assignment Missing
POLICY_ASSIGNMENT_MISSINGAzure Policy not assigned to subscription
Cost Anomaly Detection
COST_ANOMALY_DETECTIONCost Management anomaly detection disabled
Scan Specific Subscription
Target specific Azure subscriptions when you have multi-tenant access:
1# Scan single subscription2cloudsploit scan azure --subscription-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx34# Scan multiple subscriptions5cloudsploit scan azure --subscriptions sub1,sub2,sub367# Exclude subscription8cloudsploit scan azure --exclude-subscriptions old-sub-id