-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
ASC_DesignateLessThanXOwners_Audit.json
52 lines (52 loc) · 1.47 KB
/
ASC_DesignateLessThanXOwners_Audit.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"properties": {
"displayName": "A maximum of 3 owners should be designated for your subscription",
"policyType": "BuiltIn",
"mode": "All",
"description": "It is recommended to designate up to 3 subscription owners in order to reduce the potential for breach by a compromised owner.",
"metadata": {
"version": "3.0.0",
"category": "Security Center"
},
"version": "3.0.0",
"parameters": {
"effect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
}
}
},
"policyRule": {
"if": {
"field": "type",
"equals": "Microsoft.Resources/subscriptions"
},
"then": {
"effect": "[parameters('effect')]",
"details": {
"type": "Microsoft.Security/assessments",
"name": "6f90a6d6-d4d6-0794-0ec1-98fa77878c2e",
"existenceCondition": {
"field": "Microsoft.Security/assessments/status.code",
"in": [
"NotApplicable",
"Healthy"
]
}
}
}
},
"versions": [
"3.0.0"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/4f11b553-d42e-4e3a-89be-32ca364cad4c",
"name": "4f11b553-d42e-4e3a-89be-32ca364cad4c"
}