-
Notifications
You must be signed in to change notification settings - Fork 4
/
section_2.sp
52 lines (44 loc) · 1.35 KB
/
section_2.sp
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
locals {
cis_v300_2_common_tags = merge(local.cis_v300_common_tags, {
cis_section_id = "2"
})
}
locals {
cis_v300_2_3common_tags = merge(local.cis_v300_2_common_tags, {
cis_section_id = "2.3"
})
}
benchmark "cis_v300_2" {
title = "2 Microsoft 365 Defender"
documentation = file("./cis_v300/docs/cis_v300_2.md")
children = [
benchmark.cis_v300_2_3
]
tags = merge(local.cis_v300_2_common_tags, {
type = "Benchmark"
service = "Azure/ActiveDirectory"
})
}
benchmark "cis_v300_2_3" {
title = "2.3 Audit"
children = [
control.cis_v300_2_3_1
]
tags = merge(local.cis_v300_2_3common_tags, {
type = "Benchmark"
service = "Azure/ActiveDirectory"
})
}
control "cis_v300_2_3_1" {
title = "2.3.1 Ensure the Account Provisioning Activity report is reviewed at least weekly"
description = "The Account Provisioning Activity report details any account provisioning that was attempted by an external application."
query = query.azuread_account_provisioning_activity_report_reviewed
documentation = file("./cis_v300/docs/cis_v300_2_3_1.md")
tags = merge(local.cis_v300_2_3common_tags, {
cis_item_id = "2.3.1"
cis_level = "1"
cis_type = "manual"
microsoft_365_license = "E3"
service = "Azure/ActiveDirectory"
})
}