Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ Query:
a.platform_resource_id AS platform_resource_id,
CASE
WHEN b.id IS NULL THEN 'skip'
WHEN configuration -> 'properties' -> 'cors' -> 'allowedOrigins' @> '[\"*\"]' THEN 'alarm'
WHEN configuration -> 'properties' -> 'cors' -> 'allowedOrigins' @> '["*"]' THEN 'alarm'
ELSE 'ok'
END AS status,
CASE
WHEN b.id IS NULL THEN a.title || ' is ' || a.kind || ' kind.'
WHEN configuration -> 'properties' -> 'cors' -> 'allowedOrigins' @> '[\"*\"]' THEN a.name || ' CORS allow all domains to access the application.'
WHEN configuration -> 'properties' -> 'cors' -> 'allowedOrigins' @> '["*"]' THEN a.name || ' CORS allow all domains to access the application.'
ELSE a.name || ' CORS does not allow all domains to access the application.'
END AS reason,
a.resource_group AS resource_group,
Expand Down
2 changes: 1 addition & 1 deletion compliance/frameworks/tagging/root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SectionCode: tagging
Children:
- tagging_aws_tagging
- tagging_azure_tagging
- tagging_cost_controls
# - tagging_cost_controls
Controls: []
Defaults:
AutoAssign: false
Expand Down
4 changes: 2 additions & 2 deletions compliance/frameworks/tagging/tagging_cost_controls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Description: Cost Controls
SectionCode: cost_controls
Children: []
Controls:
- og_mom_cost_growth_15
- og_connection_mom_cost_growth
# - og_mom_cost_growth_15
# - og_connection_mom_cost_growth
Tags:
category:
- Compliance
Expand Down