Skip to content

Commit a6ef67f

Browse files
authored
Update aws_cis_v120_1_18.yaml
1 parent cf9f64c commit a6ef67f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

compliance/controls/aws/aws_cis_v120_1_18.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
Description: AWS provides customers with the option of specifying the contact information for account's security team. It is recommended that this information be provided.
1+
Description: Checks if the AWS Account has an alternate security contact registered. If the account is in GovCloud (aws-us-gov), manual verification is advised. Otherwise, if no security contact is set, an alarm is raised.
22
ID: aws_cis_v120_1_18
33
IntegrationType:
44
- aws_cloud_account
55
Query:
66
Engine: CloudQL-v0.0.1
77
ListOfTables:
8-
- aws_account_alternate_contact
98
- aws_account
9+
- aws_account_alternate_contact
1010
Parameters: []
1111
PrimaryTable: aws_account
1212
QueryToExecute: |
@@ -25,7 +25,9 @@ Query:
2525
partition,
2626
title,
2727
account_id,
28-
_ctx
28+
_ctx,
29+
platform_account_id,
30+
platform_resource_id
2931
FROM
3032
aws_account
3133
)
@@ -44,10 +46,8 @@ Query:
4446
ELSE a.title || ' security contact not registered.'
4547
END AS reason
4648
FROM
47-
account AS a,
48-
alternate_security_contact AS c
49-
WHERE
50-
c.account_id = a.account_id;
49+
account AS a
50+
JOIN alternate_security_contact AS c ON c.account_id = a.account_id;
5151
Severity: low
5252
Tags: {}
53-
Title: 1.18 Ensure security contact information is registered
53+
Title: Ensure alternate security contact is registered for the AWS Account

0 commit comments

Comments
 (0)