/
si.sp
183 lines (158 loc) · 6.62 KB
/
si.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
benchmark "fedramp_moderate_rev_4_si" {
title = benchmark.nist_800_53_rev_4_si.title
description = benchmark.nist_800_53_rev_4_si.description
children = [
benchmark.fedramp_moderate_rev_4_si_2,
benchmark.fedramp_moderate_rev_4_si_4,
benchmark.fedramp_moderate_rev_4_si_7,
benchmark.fedramp_moderate_rev_4_si_12
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_2" {
title = benchmark.nist_800_53_rev_4_si_2.title
description = benchmark.nist_800_53_rev_4_si_2.description
children = [
benchmark.fedramp_moderate_rev_4_si_2_2,
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_2_2" {
title = "Automated Flaw Remediation Status (SI-2(2))"
description = "The organization employs automated mechanisms at least monthly to determine the state of information system components with regard to flaw remediation."
children = [
control.ec2_instance_ssm_managed,
control.ssm_managed_instance_compliance_association_compliant,
control.ssm_managed_instance_compliance_patch_compliant,
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_4" {
title = benchmark.nist_800_53_rev_4_si_4.title
description = benchmark.nist_800_53_rev_4_si_4.description
children = [
benchmark.fedramp_moderate_rev_4_si_4_1,
benchmark.fedramp_moderate_rev_4_si_4_16,
benchmark.fedramp_moderate_rev_4_si_4_2,
benchmark.fedramp_moderate_rev_4_si_4_4,
benchmark.fedramp_moderate_rev_4_si_4_5,
benchmark.fedramp_moderate_rev_4_si_4_a_b_c,
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_4_a_b_c" {
title = "SI-4(a)(b)(c)"
description = "The organization: a. Monitors the information system to detect: 1. Attacks and indicators of potential attacks in accordance with [Assignment: organization- defined monitoring objectives]; and 2. Unauthorized local, network, and remote connections; b. Identifies unauthorized use of the information system through [Assignment: organization- defined techniques and methods]; c. Deploys monitoring devices: i. strategically within the information system to collect organization-determined essential information; and (ii) at ad hoc locations within the system to track specific types of transactions of interest to the organization."
children = [
control.apigateway_stage_use_waf_web_acl,
control.cloudtrail_trail_integrated_with_logs,
control.cloudwatch_alarm_action_enabled,
control.ec2_instance_detailed_monitoring_enabled,
control.elb_application_lb_waf_enabled,
control.guardduty_enabled,
control.guardduty_finding_archived,
control.securityhub_enabled,
control.wafv2_web_acl_logging_enabled,
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_4_1" {
title = benchmark.nist_800_53_rev_4_si_4_1.title
description = benchmark.nist_800_53_rev_4_si_4_1.description
children = [
control.guardduty_enabled
]
tags = merge(local.fedramp_moderate_rev_4_common_tags, {
service = "AWS/GuardDuty"
})
}
benchmark "fedramp_moderate_rev_4_si_4_2" {
title = benchmark.nist_800_53_rev_4_si_4_2.title
description = benchmark.nist_800_53_rev_4_si_4_2.description
children = [
control.cloudtrail_multi_region_trail_enabled,
control.cloudtrail_s3_data_events_enabled,
control.cloudtrail_trail_enabled,
control.cloudwatch_alarm_action_enabled,
control.ec2_instance_detailed_monitoring_enabled,
control.guardduty_enabled,
control.redshift_cluster_encryption_logging_enabled,
control.securityhub_enabled,
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_4_4" {
title = benchmark.nist_800_53_rev_4_si_4_4.title
description = benchmark.nist_800_53_rev_4_si_4_4.description
children = [
control.cloudtrail_trail_integrated_with_logs,
control.cloudwatch_alarm_action_enabled,
control.guardduty_enabled,
control.securityhub_enabled,
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_4_5" {
title = benchmark.nist_800_53_rev_4_si_4_5.title
description = benchmark.nist_800_53_rev_4_si_4_5.description
children = [
control.cloudtrail_trail_integrated_with_logs,
control.cloudwatch_alarm_action_enabled,
control.guardduty_enabled,
control.securityhub_enabled,
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_4_16" {
title = benchmark.nist_800_53_rev_4_si_4_16.title
description = benchmark.nist_800_53_rev_4_si_4_16.description
children = [
control.cloudtrail_multi_region_trail_enabled,
control.cloudtrail_s3_data_events_enabled,
control.cloudtrail_trail_enabled,
control.guardduty_enabled,
control.redshift_cluster_encryption_logging_enabled,
control.securityhub_enabled,
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_7" {
title = benchmark.nist_800_53_rev_4_si_7.title
description = benchmark.nist_800_53_rev_4_si_7.description
children = [
benchmark.fedramp_moderate_rev_4_si_7_1,
control.cloudtrail_trail_validation_enabled
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_7_1" {
title = benchmark.nist_800_53_rev_4_si_7_1.title
description = benchmark.nist_800_53_rev_4_si_7_1.description
children = [
control.cloudtrail_trail_validation_enabled,
control.ec2_instance_ssm_managed,
control.ssm_managed_instance_compliance_patch_compliant,
]
tags = local.fedramp_moderate_rev_4_common_tags
}
benchmark "fedramp_moderate_rev_4_si_12" {
title = benchmark.nist_800_53_rev_4_si_12.title
description = benchmark.nist_800_53_rev_4_si_12.description
children = [
control.backup_plan_min_retention_35_days,
control.cloudwatch_log_group_retention_period_365,
control.dynamodb_table_point_in_time_recovery_enabled,
control.dynamodb_table_protected_by_backup_plan,
control.ebs_volume_protected_by_backup_plan,
control.ec2_instance_protected_by_backup_plan,
control.efs_file_system_protected_by_backup_plan,
control.elasticache_redis_cluster_automatic_backup_retention_15_days,
control.fsx_file_system_protected_by_backup_plan,
control.rds_db_cluster_aurora_protected_by_backup_plan,
control.rds_db_instance_backup_enabled,
control.rds_db_instance_protected_by_backup_plan,
control.redshift_cluster_automatic_snapshots_min_7_days,
control.s3_bucket_versioning_enabled,
]
tags = local.fedramp_moderate_rev_4_common_tags
}