ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Azure Security Audit: Contoso (demo subscription)
2
3
Resource groups
4
ParameterCategoryResourcesAudit QuestionsSeveritydev (rg-demo-dev-01)prod (rg-demo-prod-01)stg (rg-demo-stg-01)Comments
5
SecurityNetworks / ConnectivityVNetVNet peering required and correctly configured?MediumREVIEW: 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?MediumREVIEW: 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 -> contosovnet-demo-stg-01 -> contoso
8
VNet Naming convention is correct?LowREVIEW: 1 VNet. Judge the names.REVIEW: 1 VNet. Judge the names.REVIEW: 1 VNet. Judge the names.
9
SubnetsHow 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?LowPASS: 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?MediumREVIEW: 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-01vnet-demo-prod-01/snet-demo-prod-01vnet-demo-stg-01/snet-demo-stg-01
13
vnet-demo-dev-01/snet-demo-dev-02vnet-demo-prod-01/snet-demo-prod-02vnet-demo-stg-01/snet-demo-stg-02
14
vnet-demo-dev-01/snet-demo-dev-03vnet-demo-prod-01/snet-demo-prod-03
15
vnet-demo-prod-01/snet-demo-prod-04
16
Naming Convention of Subnets?LowREVIEW: 3 subnets. Judge the names.REVIEW: 4 subnets. Judge the names.REVIEW: 3 subnets. Judge the names.
17
Private EndpointsAll Private endpoints exist in the subnet made for private endpoints?LowREVIEW: 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 ?MediumINFO: 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?MediumREVIEW: 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 ?MediumPASS: 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
NSGsHow many NSGs? Use of each NSG?INFO: 3 NSGs.INFO: 3 NSGs.INFO: 3 NSGs.
22
Inbound/Outbound Rules Reviewed ?HighFAIL: 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-01nsg-prod-01 / res-demo-01nsg-stg-01 / res-demo-01
24
NSGs applied at Correct Scope?MediumPASS: 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?LowPASS: 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 ?MediumFAIL: 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-01nsg-prod-01nsg-stg-01
33
nsg-dev-02nsg-prod-02nsg-stg-02
34
nsg-dev-03nsg-prod-03nsg-stg-03
35
NAT GatewayAre there any Unused NAT Gateways?LowN/A: No NAT gateways.N/A: No NAT gateways.N/A: No NAT gateways.
36
Public IPAre there any Unused Static IP?LowPASS: All public IPs in use.PASS: All public IPs in use.PASS: All public IPs in use.
37
DatabasesPostgres / SQLAll DBs are on Private Endpoints ?HighPASS: 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?HighFAIL: 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-01sql-demo-prod-01sql-demo-stg-01
40
Azure Entra based Auth on Databases ?HighFAIL: 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-01sql-demo-prod-01sql-demo-stg-01
42
pg-demo-prod-01pg-demo-stg-01
43
Auditing / Diagnostic Settings Enabled ?MediumPASS: 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 ?HighPASS: 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
PostgresZone-redundant HA + backups (Prod)MediumREVIEW: 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-01pg-demo-prod-01pg-demo-stg-01
47
Data Protection & EncryptionSQLMinimum TLS 1.2 on SQL servers?MediumPASS: 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 accountMinimum TLS 1.2 on storage accounts?MediumPASS: 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 AppFunction App should only be accessible over HTTPSHighN/A: No function or web apps.N/A: No function or web apps.N/A: No function or web apps.
50
Storage AccountsBlob StorageStoraged accounts accessed via managed identities?MediumFAIL: 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
stdemodev01stdemo01stdemostg01
52
stdemoprod01
53
Private Endpoint Enabled?MediumPASS: 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?HighPASS: 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 ?LowREVIEW: 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 & SegmentationStorage accountStorage account public access should be disallowedHighPASS: 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 VaultFirewall should be enabled on Key VaultHighPASS: 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 RegistryContainer registries should not allow unrestricted network accessHighFAIL: 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
acrdemodev01acrdemoprod01acrdemostg01
62
acrdemo01
63
Admin account disabled on container registry?HighFAIL: 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
acrdemodev01acrdemoprod01acrdemostg01
65
AKSKubernetes API server should be configured with restricted accessHighN/A: No AKS clusters.N/A: No AKS clusters.N/A: No AKS clusters.
66
ComputeContainer AppsBackend Apps Private?HighPASS: 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 ?HighFAIL: 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-01ca-demo-stg-01
69
Managed identities using correct permissions?HighREVIEW: 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)MediumREVIEW: 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-01cae-demo-prod-01cae-demo-stg-01
72
ca-demo-dev-02ca-demo-prod-01ca-demo-stg-02
73
ca-demo-dev-01ca-demo-prod-02ca-demo-stg-01
74
ca-demo-dev-03ca-demo-prod-03ca-demo-stg-03
75
ca-demo-dev-04ca-demo-prod-04ca-demo-stg-04
76
ca-demo-dev-05ca-demo-prod-05ca-demo-stg-05
77
Jump ServersAre 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?HighFAIL: 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-01vm-prod-01vm-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-02vm-prod-01: res-demo-02vm-stg-01: res-demo-02
82
vm-dev-01: res-demo-03vm-prod-01: res-demo-03vm-stg-01: res-demo-03
83
vm-dev-01: res-demo-04vm-prod-01: res-demo-04vm-stg-01: res-demo-04
84
vm-dev-01: res-demo-05vm-prod-01: res-demo-05vm-stg-01: res-demo-05
85
vm-dev-01: res-demo-06vm-prod-01: res-demo-06vm-stg-01: res-demo-06
86
vm-dev-01: res-demo-07vm-prod-01: res-demo-07vm-stg-01: res-demo-07
87
vm-dev-01: res-demo-08vm-prod-01: res-demo-08vm-stg-01: res-demo-08
88
vm-dev-01: res-demo-09vm-prod-01: res-demo-09vm-stg-01: res-demo-09
89
IAM/RolesUnused role assignments Cleanup?LowINFO: 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 / RolesIAM/RolesPrinciple of Least privilege ?HighFAIL: 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-02res-demo-02res-demo-02
92
res-demo-03res-demo-03res-demo-03
93
res-demo-04res-demo-04res-demo-04
94
res-demo-07res-demo-07res-demo-07
95
res-demo-08res-demo-08res-demo-08
96
AuthN and AuthZContainer AppsAll container apps using passwordless authN using managed identities?MediumFAIL: 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-02ca-demo-prod-01ca-demo-stg-02
98
ca-demo-dev-01ca-demo-prod-02ca-demo-stg-01
99
ca-demo-dev-03ca-demo-prod-03ca-demo-stg-03
100
ca-demo-dev-04ca-demo-prod-04ca-demo-stg-04