Skip to content

Commit 4cafe72

Browse files
authored
Merge pull request #19 from opengovern/fix-azuread-entraid
Fix azuread entraid
2 parents cb0b2f5 + f7c26dc commit 4cafe72

File tree

2,500 files changed

+5768
-5768
lines changed

Some content is hidden

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

2,500 files changed

+5768
-5768
lines changed

compliance/controls/aws/aws_account_alternate_contact_security_registered.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Query:
2121
)
2222
SELECT
2323
arn AS resource,
24-
og_account_id AS og_account_id,
25-
og_resource_id AS og_resource_id,
24+
platform_account_id AS platform_account_id,
25+
platform_resource_id AS platform_resource_id,
2626
CASE
2727
WHEN a.partition = 'aws-us-gov' THEN 'info'
2828
WHEN c.name IS NOT NULL THEN 'ok'

compliance/controls/aws/aws_account_part_of_organizations.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Query:
1111
QueryToExecute: |
1212
SELECT
1313
arn AS resource,
14-
og_account_id AS og_account_id,
15-
og_resource_id AS og_resource_id,
14+
platform_account_id AS platform_account_id,
15+
platform_resource_id AS platform_resource_id,
1616
CASE
1717
WHEN organization_id IS NOT NULL THEN 'ok'
1818
ELSE 'alarm'

compliance/controls/aws/aws_acm_certificate_expires_30_days.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Query:
1111
QueryToExecute: |
1212
SELECT
1313
certificate_arn AS resource,
14-
og_account_id AS og_account_id,
15-
og_resource_id AS og_resource_id,
14+
platform_account_id AS platform_account_id,
15+
platform_resource_id AS platform_resource_id,
1616
CASE
1717
WHEN renewal_eligibility = 'INELIGIBLE' THEN 'skip'
1818
WHEN DATE(not_after) - DATE(current_date) >= 30 THEN 'ok'

compliance/controls/aws/aws_acm_certificate_no_failed_certificate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Query:
1111
QueryToExecute: |
1212
SELECT
1313
certificate_arn AS resource,
14-
og_account_id AS og_account_id,
15-
og_resource_id AS og_resource_id,
14+
platform_account_id AS platform_account_id,
15+
platform_resource_id AS platform_resource_id,
1616
CASE
1717
WHEN status IN ('VALIDATION_TIMED_OUT', 'FAILED') THEN 'alarm'
1818
ELSE 'ok'

compliance/controls/aws/aws_acm_certificate_no_pending_validation_certificate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Query:
1111
QueryToExecute: |
1212
SELECT
1313
certificate_arn AS resource,
14-
og_account_id AS og_account_id,
15-
og_resource_id AS og_resource_id,
14+
platform_account_id AS platform_account_id,
15+
platform_resource_id AS platform_resource_id,
1616
CASE
1717
WHEN status = 'PENDING_VALIDATION' THEN 'info'
1818
ELSE 'ok'

compliance/controls/aws/aws_acm_certificate_no_wildcard_domain_name.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Query:
1111
QueryToExecute: |
1212
SELECT
1313
certificate_arn AS resource,
14-
og_account_id AS og_account_id,
15-
og_resource_id AS og_resource_id,
14+
platform_account_id AS platform_account_id,
15+
platform_resource_id AS platform_resource_id,
1616
CASE
1717
WHEN domain_name LIKE '*%' THEN 'alarm'
1818
ELSE 'ok'

compliance/controls/aws/aws_acm_certificate_not_expired.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Query:
1111
QueryToExecute: |
1212
SELECT
1313
certificate_arn AS resource,
14-
og_account_id AS og_account_id,
15-
og_resource_id AS og_resource_id,
14+
platform_account_id AS platform_account_id,
15+
platform_resource_id AS platform_resource_id,
1616
CASE
1717
WHEN renewal_eligibility = 'INELIGIBLE' THEN 'skip'
1818
WHEN DATE(not_after) < (CURRENT_DATE - INTERVAL '1' minute) THEN 'alarm'

compliance/controls/aws/aws_acm_certificate_rsa_key_length_2048_bits_or_greater.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Query:
1111
QueryToExecute: |
1212
SELECT
1313
certificate_arn AS resource,
14-
og_account_id AS og_account_id,
15-
og_resource_id AS og_resource_id,
14+
platform_account_id AS platform_account_id,
15+
platform_resource_id AS platform_resource_id,
1616
CASE
1717
WHEN NOT key_algorithm LIKE 'RSA-%' THEN 'skip'
1818
WHEN key_algorithm = 'RSA_1024' THEN 'alarm'

compliance/controls/aws/aws_acm_certificate_transparency_logging_enabled.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Query:
1111
QueryToExecute: |
1212
SELECT
1313
certificate_arn AS resource,
14-
og_account_id AS og_account_id,
15-
og_resource_id AS og_resource_id,
14+
platform_account_id AS platform_account_id,
15+
platform_resource_id AS platform_resource_id,
1616
CASE
1717
WHEN type = 'IMPORTED' THEN 'skip'
1818
WHEN certificate_transparency_logging_preference = 'ENABLED' THEN 'ok'

compliance/controls/aws/aws_acmpca_root_certificate_authority_disabled.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Query:
1111
QueryToExecute: |
1212
SELECT
1313
arn AS resource,
14-
og_account_id AS og_account_id,
15-
og_resource_id AS og_resource_id,
14+
platform_account_id AS platform_account_id,
15+
platform_resource_id AS platform_resource_id,
1616
CASE
1717
WHEN type <> 'ROOT' THEN 'skip'
1818
WHEN status = 'DISABLED' THEN 'ok'

0 commit comments

Comments
 (0)