Skip to content

Commit ea330c8

Browse files
authored
Merge pull request #13 from opengovern/fix-control-primarytables
Fix control primarytables
2 parents e03c8f2 + 13f7491 commit ea330c8

File tree

60 files changed

+104
-96
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+104
-96
lines changed

compliance/controls/aws/aws_cis_v120_3_5.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ IntegrationType:
55
Query:
66
Engine: CloudQL-v0.0.1
77
ListOfTables:
8+
- aws_account
89
- aws_cloudtrail_trail
910
- aws_cloudwatch_alarm
1011
- aws_sns_topic_subscription
1112
- aws_cloudwatch_log_metric_filter
12-
- aws_account
1313
Parameters: []
14-
PrimaryTable: aws_cloudtrail_trail
14+
PrimaryTable: aws_account
1515
QueryToExecute: |
1616
WITH trails AS (
1717
SELECT

compliance/controls/aws/aws_cis_v140_1_17.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Query:
88
- aws_account
99
- aws_iam_role
1010
Parameters: []
11-
PrimaryTable: aws_iam_role
11+
PrimaryTable: aws_account
1212
QueryToExecute: |
1313
WITH support_role_count AS (
1414
SELECT

compliance/controls/aws/aws_cis_v140_4_14.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Query:
1111
- aws_cloudwatch_log_metric_filter
1212
- aws_account
1313
Parameters: []
14-
PrimaryTable: aws_cloudtrail_trail
14+
PrimaryTable: aws_account
1515
QueryToExecute: |
1616
WITH trails AS (
1717
SELECT

compliance/controls/aws/aws_cis_v140_4_5.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ IntegrationType:
55
Query:
66
Engine: CloudQL-v0.0.1
77
ListOfTables:
8+
- aws_account
89
- aws_cloudtrail_trail
910
- aws_cloudwatch_alarm
1011
- aws_sns_topic_subscription
1112
- aws_cloudwatch_log_metric_filter
12-
- aws_account
1313
Parameters: []
14-
PrimaryTable: aws_cloudtrail_trail
14+
PrimaryTable: aws_account
1515
QueryToExecute: |
1616
WITH trails AS (
1717
SELECT

compliance/controls/aws/aws_cis_v150_1_17.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Query:
88
- aws_account
99
- aws_iam_role
1010
Parameters: []
11-
PrimaryTable: aws_iam_role
11+
PrimaryTable: aws_account
1212
QueryToExecute: |
1313
WITH support_role_count AS (
1414
SELECT

compliance/controls/aws/aws_cis_v150_1_8.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Query:
88
- aws_account
99
- aws_iam_account_password_policy
1010
Parameters: []
11-
PrimaryTable: aws_iam_account_password_policy
11+
PrimaryTable: aws_account
1212
QueryToExecute: |
1313
SELECT
1414
'arn:' || a.partition || ':::' || a.account_id AS resource,

compliance/controls/aws/aws_cis_v150_1_9.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Query:
88
- aws_account
99
- aws_iam_account_password_policy
1010
Parameters: []
11-
PrimaryTable: aws_iam_account_password_policy
11+
PrimaryTable: aws_account
1212
QueryToExecute: |
1313
SELECT
1414
'arn:' || a.partition || ':::' || a.account_id AS resource,

compliance/controls/aws/aws_cis_v150_4_10.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Query:
1111
- aws_cloudwatch_log_metric_filter
1212
- aws_account
1313
Parameters: []
14-
PrimaryTable: aws_cloudtrail_trail
14+
PrimaryTable: aws_account
1515
QueryToExecute: |
1616
WITH trails AS (
1717
SELECT

compliance/controls/aws/aws_cis_v150_4_5.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ IntegrationType:
55
Query:
66
Engine: CloudQL-v0.0.1
77
ListOfTables:
8+
- aws_account
89
- aws_cloudtrail_trail
910
- aws_cloudwatch_alarm
1011
- aws_sns_topic_subscription
1112
- aws_cloudwatch_log_metric_filter
12-
- aws_account
1313
Parameters: []
14-
PrimaryTable: aws_cloudtrail_trail
14+
PrimaryTable: aws_account
1515
QueryToExecute: |
1616
WITH trails AS (
1717
SELECT

compliance/controls/aws/aws_cis_v200_4_3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Query:
1313
- aws_cloudwatch_log_metric_filter
1414
- aws_account
1515
Parameters: []
16-
PrimaryTable: aws_cloudtrail_trail
16+
PrimaryTable: aws_account
1717
QueryToExecute: |
1818
WITH trails AS (
1919
SELECT

0 commit comments

Comments
 (0)