diff --git a/compliance/controls/azure/azure_cis_v130_5_1_2.yaml b/compliance/controls/azure/azure_cis_v130_5_1_2.yaml index acb7f40d7..0b6c309c9 100644 --- a/compliance/controls/azure/azure_cis_v130_5_1_2.yaml +++ b/compliance/controls/azure/azure_cis_v130_5_1_2.yaml @@ -17,6 +17,8 @@ Query: _ctx, resource_group, subscription_id, + og_account_id, + og_resource_id, COUNT(*) FILTER (WHERE l ->> 'enabled' = 'true' AND l ->> 'category' IN ('Administrative', 'Security', 'Alert', 'Policy') ) AS valid_category_count, @@ -30,6 +32,8 @@ Query: name, id, _ctx, + og_account_id, + og_resource_id, resource_group, subscription_id ) diff --git a/compliance/controls/azure/azure_cis_v140_5_1_2.yaml b/compliance/controls/azure/azure_cis_v140_5_1_2.yaml index 4307ff7c8..1d5edd32d 100644 --- a/compliance/controls/azure/azure_cis_v140_5_1_2.yaml +++ b/compliance/controls/azure/azure_cis_v140_5_1_2.yaml @@ -16,6 +16,8 @@ Query: id, _ctx, resource_group, + og_account_id, + og_resource_id, subscription_id, COUNT(*) FILTER (WHERE l ->> 'enabled' = 'true' AND l ->> 'category' IN ('Administrative', 'Security', 'Alert', 'Policy') @@ -31,6 +33,8 @@ Query: id, _ctx, resource_group, + og_account_id, + og_resource_id, subscription_id ) SELECT diff --git a/compliance/controls/azure/azure_cis_v150_5_1_2.yaml b/compliance/controls/azure/azure_cis_v150_5_1_2.yaml index b53c9b55f..cf36cb67d 100644 --- a/compliance/controls/azure/azure_cis_v150_5_1_2.yaml +++ b/compliance/controls/azure/azure_cis_v150_5_1_2.yaml @@ -15,6 +15,8 @@ Query: name, id, _ctx, + og_account_id, + og_resource_id, resource_group, subscription_id, COUNT(*) FILTER (WHERE l ->> 'enabled' = 'true' @@ -31,6 +33,8 @@ Query: id, _ctx, resource_group, + og_account_id, + og_resource_id, subscription_id ) SELECT