| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Azure Security Audit: Contoso (demo subscription) | ||||||||||||||||||||||||||
2 | |||||||||||||||||||||||||||
3 | Resource groups | ||||||||||||||||||||||||||
4 | Parameter | Category | Resources | Audit Questions | Severity | dev (rg-demo-dev-01) | prod (rg-demo-prod-01) | stg (rg-demo-stg-01) | Comments | ||||||||||||||||||
5 | Security | Networks / Connectivity | VNet | VNet peering required and correctly configured? | Medium | REVIEW: 1 peering, all connected. Confirm each is required. | INFO: No peerings. | REVIEW: 1 peering, all connected. Confirm each is required. | |||||||||||||||||||
6 | No unintended VNet peerings exist? | Medium | REVIEW: 1 peering, 1 to another subscription. Confirm each is intended. Flagged (1): | PASS: No peerings. | REVIEW: 1 peering, 1 to another subscription. Confirm each is intended. Flagged (1): | ||||||||||||||||||||||
7 | vnet-demo-dev-01 -> contoso | vnet-demo-stg-01 -> contoso | |||||||||||||||||||||||||
8 | VNet Naming convention is correct? | Low | REVIEW: 1 VNet. Judge the names. | REVIEW: 1 VNet. Judge the names. | REVIEW: 1 VNet. Judge the names. | ||||||||||||||||||||||
9 | Subnets | How many Subnets? Use of each Subnet? | INFO: 3 subnets in 1 VNet. | INFO: 4 subnets in 1 VNet. | INFO: 3 subnets in 1 VNet. | ||||||||||||||||||||||
10 | No extra or unused subnets? | Low | PASS: Every subnet has something attached or delegated. | PASS: Every subnet has something attached or delegated. | PASS: Every subnet has something attached or delegated. | ||||||||||||||||||||||
11 | Private subnets enabled for subnets not requiring Outbound access? | Medium | REVIEW: 3 of 3 subnets still have default outbound access. Decide which need it. Flagged (3): | REVIEW: 4 of 4 subnets still have default outbound access. Decide which need it. Flagged (4): | REVIEW: 2 of 3 subnets still have default outbound access. Decide which need it. Flagged (2): | ||||||||||||||||||||||
12 | vnet-demo-dev-01/snet-demo-dev-01 | vnet-demo-prod-01/snet-demo-prod-01 | vnet-demo-stg-01/snet-demo-stg-01 | ||||||||||||||||||||||||
13 | vnet-demo-dev-01/snet-demo-dev-02 | vnet-demo-prod-01/snet-demo-prod-02 | vnet-demo-stg-01/snet-demo-stg-02 | ||||||||||||||||||||||||
14 | vnet-demo-dev-01/snet-demo-dev-03 | vnet-demo-prod-01/snet-demo-prod-03 | |||||||||||||||||||||||||
15 | vnet-demo-prod-01/snet-demo-prod-04 | ||||||||||||||||||||||||||
16 | Naming Convention of Subnets? | Low | REVIEW: 3 subnets. Judge the names. | REVIEW: 4 subnets. Judge the names. | REVIEW: 3 subnets. Judge the names. | ||||||||||||||||||||||
17 | Private Endpoints | All Private endpoints exist in the subnet made for private endpoints? | Low | REVIEW: 5 private endpoints across 2 subnets. Confirm placement. | REVIEW: 4 private endpoints across 2 subnets. Confirm placement. | REVIEW: 5 private endpoints across 2 subnets. Confirm placement. | |||||||||||||||||||||
18 | How many Private Endpoints? What are their parent resources ? | Medium | INFO: 5 private endpoints, all approved. | INFO: 4 private endpoints, all approved. | INFO: 5 private endpoints, all approved. | ||||||||||||||||||||||
19 | Are Service Endpoints correctly enabled for necessary subnets only? | Medium | REVIEW: Service endpoints on 2 of 3 subnets. Confirm each is needed. | REVIEW: Service endpoints on 4 of 4 subnets. Confirm each is needed. | REVIEW: Service endpoints on 2 of 3 subnets. Confirm each is needed. | ||||||||||||||||||||||
20 | Private Endpoints Network Policies ? | Medium | PASS: Network policies enabled on every private-endpoint subnet. | PASS: Network policies enabled on every private-endpoint subnet. | PASS: Network policies enabled on every private-endpoint subnet. | ||||||||||||||||||||||
21 | NSGs | How many NSGs? Use of each NSG? | INFO: 3 NSGs. | INFO: 3 NSGs. | INFO: 3 NSGs. | ||||||||||||||||||||||
22 | Inbound/Outbound Rules Reviewed ? | High | FAIL: 1 inbound rule open to any source. Flagged (1): | FAIL: 1 inbound rule open to any source. Flagged (1): | FAIL: 1 inbound rule open to any source. Flagged (1): | ||||||||||||||||||||||
23 | nsg-dev-01 / res-demo-01 | nsg-prod-01 / res-demo-01 | nsg-stg-01 / res-demo-01 | ||||||||||||||||||||||||
24 | NSGs applied at Correct Scope? | Medium | PASS: Every NSG is attached and every subnet has an NSG. | FAIL: 5 scope problems: unattached NSGs or subnets without an NSG. Flagged (5): | PASS: Every NSG is attached and every subnet has an NSG. | ||||||||||||||||||||||
25 | nsg-prod-02 | ||||||||||||||||||||||||||
26 | nsg-prod-03 | ||||||||||||||||||||||||||
27 | vnet-demo-prod-01/snet-demo-prod-02 | ||||||||||||||||||||||||||
28 | vnet-demo-prod-01/snet-demo-prod-03 | ||||||||||||||||||||||||||
29 | vnet-demo-prod-01/snet-demo-prod-04 | ||||||||||||||||||||||||||
30 | No Duplicate NSG? | Low | PASS: No two NSGs have the same rules. | PASS: No two NSGs have the same rules. | PASS: No two NSGs have the same rules. | ||||||||||||||||||||||
31 | NSG Flow Logs enabled ? | Medium | FAIL: 3 of 3 NSGs have no flow log. Flagged (3): | FAIL: 3 of 3 NSGs have no flow log. Flagged (3): | FAIL: 3 of 3 NSGs have no flow log. Flagged (3): | ||||||||||||||||||||||
32 | nsg-dev-01 | nsg-prod-01 | nsg-stg-01 | ||||||||||||||||||||||||
33 | nsg-dev-02 | nsg-prod-02 | nsg-stg-02 | ||||||||||||||||||||||||
34 | nsg-dev-03 | nsg-prod-03 | nsg-stg-03 | ||||||||||||||||||||||||
35 | NAT Gateway | Are there any Unused NAT Gateways? | Low | N/A: No NAT gateways. | N/A: No NAT gateways. | N/A: No NAT gateways. | |||||||||||||||||||||
36 | Public IP | Are there any Unused Static IP? | Low | PASS: All public IPs in use. | PASS: All public IPs in use. | PASS: All public IPs in use. | |||||||||||||||||||||
37 | Databases | Postgres / SQL | All DBs are on Private Endpoints ? | High | PASS: All 2 database servers reachable privately. | PASS: All 2 database servers reachable privately. | PASS: All 2 database servers reachable privately. | ||||||||||||||||||||
38 | Public network access on databases disabled? | High | FAIL: 1 of 2 database servers allow public network access. Flagged (1): | FAIL: 1 of 2 database servers allow public network access. Flagged (1): | FAIL: 1 of 2 database servers allow public network access. Flagged (1): | ||||||||||||||||||||||
39 | sql-demo-dev-01 | sql-demo-prod-01 | sql-demo-stg-01 | ||||||||||||||||||||||||
40 | Azure Entra based Auth on Databases ? | High | FAIL: 1 of 2 database servers have no Entra auth. Flagged (1): | FAIL: 2 of 2 database servers have no Entra auth. Flagged (2): | FAIL: 2 of 2 database servers have no Entra auth. Flagged (2): | ||||||||||||||||||||||
41 | sql-demo-dev-01 | sql-demo-prod-01 | sql-demo-stg-01 | ||||||||||||||||||||||||
42 | pg-demo-prod-01 | pg-demo-stg-01 | |||||||||||||||||||||||||
43 | Auditing / Diagnostic Settings Enabled ? | Medium | PASS: Auditing and diagnostic settings on for all 2. | PASS: Auditing and diagnostic settings on for all 2. | PASS: Auditing and diagnostic settings on for all 2. | ||||||||||||||||||||||
44 | Encryption Enabled ? | High | PASS: All 2 encrypted at rest and in transit. | PASS: All 2 encrypted at rest and in transit. | PASS: All 2 encrypted at rest and in transit. | ||||||||||||||||||||||
45 | Postgres | Zone-redundant HA + backups (Prod) | Medium | REVIEW: 1 of 1 Postgres servers lack high availability or geo-redundant backups. Required for prod only. Flagged (1): | REVIEW: 1 of 1 Postgres servers lack high availability or geo-redundant backups. Required for prod only. Flagged (1): | REVIEW: 1 of 1 Postgres servers lack high availability or geo-redundant backups. Required for prod only. Flagged (1): | |||||||||||||||||||||
46 | pg-demo-dev-01 | pg-demo-prod-01 | pg-demo-stg-01 | ||||||||||||||||||||||||
47 | Data Protection & Encryption | SQL | Minimum TLS 1.2 on SQL servers? | Medium | PASS: Every SQL server requires TLS 1.2 or higher. | PASS: Every SQL server requires TLS 1.2 or higher. | PASS: Every SQL server requires TLS 1.2 or higher. | ||||||||||||||||||||
48 | Storage account | Minimum TLS 1.2 on storage accounts? | Medium | PASS: Every storage account requires TLS 1.2 or higher over HTTPS. | PASS: Every storage account requires TLS 1.2 or higher over HTTPS. | PASS: Every storage account requires TLS 1.2 or higher over HTTPS. | |||||||||||||||||||||
49 | Function App / Web App | Function App should only be accessible over HTTPS | High | N/A: No function or web apps. | N/A: No function or web apps. | N/A: No function or web apps. | |||||||||||||||||||||
50 | Storage Accounts | Blob Storage | Storaged accounts accessed via managed identities? | Medium | FAIL: 1 of 1 storage accounts still allow shared key access. Flagged (1): | FAIL: 2 of 2 storage accounts still allow shared key access. Flagged (2): | FAIL: 1 of 1 storage accounts still allow shared key access. Flagged (1): | ||||||||||||||||||||
51 | stdemodev01 | stdemo01 | stdemostg01 | ||||||||||||||||||||||||
52 | stdemoprod01 | ||||||||||||||||||||||||||
53 | Private Endpoint Enabled? | Medium | PASS: Every storage account has a private endpoint. | FAIL: 1 of 2 storage accounts have no private endpoint. Flagged (1): | PASS: Every storage account has a private endpoint. | ||||||||||||||||||||||
54 | stdemo01 | ||||||||||||||||||||||||||
55 | Storage accounts restrict network access? | High | PASS: Every storage account denies by default or has public access off. | PASS: Every storage account denies by default or has public access off. | PASS: Every storage account denies by default or has public access off. | ||||||||||||||||||||||
56 | No Unncessary storage Account exists ? | Low | REVIEW: 1 of 1 storage accounts barely used in 30 days. Ask the owner. | REVIEW: 2 of 2 storage accounts barely used in 30 days. Ask the owner. | REVIEW: 1 of 1 storage accounts barely used in 30 days. Ask the owner. | ||||||||||||||||||||||
57 | Network Exposure & Segmentation | Storage account | Storage account public access should be disallowed | High | PASS: Anonymous blob access off on every storage account. | PASS: Anonymous blob access off on every storage account. | PASS: Anonymous blob access off on every storage account. | ||||||||||||||||||||
58 | Key Vault | Firewall should be enabled on Key Vault | High | PASS: Every key vault denies by default or has public access off. | FAIL: 1 of 1 key vaults open to all networks. Flagged (1): | PASS: Every key vault denies by default or has public access off. | |||||||||||||||||||||
59 | kv-demo-prod-01 | ||||||||||||||||||||||||||
60 | Container Registry | Container registries should not allow unrestricted network access | High | FAIL: 2 of 2 container registries open to all networks. Flagged (2): | FAIL: 1 of 1 container registries open to all networks. Flagged (1): | FAIL: 1 of 1 container registries open to all networks. Flagged (1): | |||||||||||||||||||||
61 | acrdemodev01 | acrdemoprod01 | acrdemostg01 | ||||||||||||||||||||||||
62 | acrdemo01 | ||||||||||||||||||||||||||
63 | Admin account disabled on container registry? | High | FAIL: 1 of 2 container registries have the admin user on. Flagged (1): | FAIL: 1 of 1 container registries have the admin user on. Flagged (1): | FAIL: 1 of 1 container registries have the admin user on. Flagged (1): | ||||||||||||||||||||||
64 | acrdemodev01 | acrdemoprod01 | acrdemostg01 | ||||||||||||||||||||||||
65 | AKS | Kubernetes API server should be configured with restricted access | High | N/A: No AKS clusters. | N/A: No AKS clusters. | N/A: No AKS clusters. | |||||||||||||||||||||
66 | Compute | Container Apps | Backend Apps Private? | High | PASS: No backend app is reachable from the public internet. | PASS: No backend app is reachable from the public internet. | PASS: No backend app is reachable from the public internet. | ||||||||||||||||||||
67 | All inter-container traffic uses TLS ? | High | FAIL: 1 of 5 container apps accept plain HTTP. Flagged (1): | PASS: No app accepts plain HTTP and app-to-app encryption is on. | FAIL: 1 of 5 container apps accept plain HTTP. Flagged (1): | ||||||||||||||||||||||
68 | ca-demo-dev-01 | ca-demo-stg-01 | |||||||||||||||||||||||||
69 | Managed identities using correct permissions? | High | REVIEW: No app identity holds a broad or subscription-wide role. Confirm each role is needed. | REVIEW: No app identity holds a broad or subscription-wide role. Confirm each role is needed. | REVIEW: No app identity holds a broad or subscription-wide role. Confirm each role is needed. | ||||||||||||||||||||||
70 | Zone-redundant Container Apps env + replicas (Prod) | Medium | REVIEW: 6 of 6 environments or apps are not zone redundant or run fewer than 2 replicas. Required for prod only. Flagged (6): | REVIEW: 6 of 6 environments or apps are not zone redundant or run fewer than 2 replicas. Required for prod only. Flagged (6): | REVIEW: 6 of 6 environments or apps are not zone redundant or run fewer than 2 replicas. Required for prod only. Flagged (6): | ||||||||||||||||||||||
71 | cae-demo-dev-01 | cae-demo-prod-01 | cae-demo-stg-01 | ||||||||||||||||||||||||
72 | ca-demo-dev-02 | ca-demo-prod-01 | ca-demo-stg-02 | ||||||||||||||||||||||||
73 | ca-demo-dev-01 | ca-demo-prod-02 | ca-demo-stg-01 | ||||||||||||||||||||||||
74 | ca-demo-dev-03 | ca-demo-prod-03 | ca-demo-stg-03 | ||||||||||||||||||||||||
75 | ca-demo-dev-04 | ca-demo-prod-04 | ca-demo-stg-04 | ||||||||||||||||||||||||
76 | ca-demo-dev-05 | ca-demo-prod-05 | ca-demo-stg-05 | ||||||||||||||||||||||||
77 | Jump Servers | Are there Jump Servers? If Yes, What's the Use ? | REVIEW: 1 VM. Confirm each is still needed. | REVIEW: 1 VM. Confirm each is still needed. | REVIEW: 1 VM. Confirm each is still needed. | ||||||||||||||||||||||
78 | Which ports are Open? | High | FAIL: 1 of 1 VMs have ports open to any source or no NSG. Flagged (1): | FAIL: 1 of 1 VMs have ports open to any source or no NSG. Flagged (1): | FAIL: 1 of 1 VMs have ports open to any source or no NSG. Flagged (1): | ||||||||||||||||||||||
79 | vm-dev-01 | vm-prod-01 | vm-stg-01 | ||||||||||||||||||||||||
80 | Who has access to jump server ? | REVIEW: 16 role assignments reach 1 VM: 6 users, 2 groups, 6 services. Names are not available, only ids. Flagged (8): | REVIEW: 11 role assignments reach 1 VM: 6 users, 2 groups, 2 services. Names are not available, only ids. Flagged (8): | REVIEW: 13 role assignments reach 1 VM: 6 users, 2 groups, 4 services. Names are not available, only ids. Flagged (8): | |||||||||||||||||||||||
81 | vm-dev-01: res-demo-02 | vm-prod-01: res-demo-02 | vm-stg-01: res-demo-02 | ||||||||||||||||||||||||
82 | vm-dev-01: res-demo-03 | vm-prod-01: res-demo-03 | vm-stg-01: res-demo-03 | ||||||||||||||||||||||||
83 | vm-dev-01: res-demo-04 | vm-prod-01: res-demo-04 | vm-stg-01: res-demo-04 | ||||||||||||||||||||||||
84 | vm-dev-01: res-demo-05 | vm-prod-01: res-demo-05 | vm-stg-01: res-demo-05 | ||||||||||||||||||||||||
85 | vm-dev-01: res-demo-06 | vm-prod-01: res-demo-06 | vm-stg-01: res-demo-06 | ||||||||||||||||||||||||
86 | vm-dev-01: res-demo-07 | vm-prod-01: res-demo-07 | vm-stg-01: res-demo-07 | ||||||||||||||||||||||||
87 | vm-dev-01: res-demo-08 | vm-prod-01: res-demo-08 | vm-stg-01: res-demo-08 | ||||||||||||||||||||||||
88 | vm-dev-01: res-demo-09 | vm-prod-01: res-demo-09 | vm-stg-01: res-demo-09 | ||||||||||||||||||||||||
89 | IAM/Roles | Unused role assignments Cleanup? | Low | INFO: No role points at a deleted resource (14 checked). Whether a role is still used cannot be read from Azure. | INFO: No role points at a deleted resource (5 checked). Whether a role is still used cannot be read from Azure. | INFO: No role points at a deleted resource (13 checked). Whether a role is still used cannot be read from Azure. | |||||||||||||||||||||
90 | Permissions / Roles | IAM/Roles | Principle of Least privilege ? | High | FAIL: 5 users hold Owner, Contributor or access-admin directly, not through a group. 8 broad roles reach this group in total. Flagged (5): | FAIL: 5 users hold Owner, Contributor or access-admin directly, not through a group. 8 broad roles reach this group in total. Flagged (5): | FAIL: 5 users hold Owner, Contributor or access-admin directly, not through a group. 8 broad roles reach this group in total. Flagged (5): | ||||||||||||||||||||
91 | res-demo-02 | res-demo-02 | res-demo-02 | ||||||||||||||||||||||||
92 | res-demo-03 | res-demo-03 | res-demo-03 | ||||||||||||||||||||||||
93 | res-demo-04 | res-demo-04 | res-demo-04 | ||||||||||||||||||||||||
94 | res-demo-07 | res-demo-07 | res-demo-07 | ||||||||||||||||||||||||
95 | res-demo-08 | res-demo-08 | res-demo-08 | ||||||||||||||||||||||||
96 | AuthN and AuthZ | Container Apps | All container apps using passwordless authN using managed identities? | Medium | FAIL: 5 of 5 container apps lack a managed identity or pull images with a password. Flagged (5): | FAIL: 5 of 5 container apps lack a managed identity or pull images with a password. Flagged (5): | FAIL: 5 of 5 container apps lack a managed identity or pull images with a password. Flagged (5): | ||||||||||||||||||||
97 | ca-demo-dev-02 | ca-demo-prod-01 | ca-demo-stg-02 | ||||||||||||||||||||||||
98 | ca-demo-dev-01 | ca-demo-prod-02 | ca-demo-stg-01 | ||||||||||||||||||||||||
99 | ca-demo-dev-03 | ca-demo-prod-03 | ca-demo-stg-03 | ||||||||||||||||||||||||
100 | ca-demo-dev-04 | ca-demo-prod-04 | ca-demo-stg-04 | ||||||||||||||||||||||||