Skip to content

Commit e830e66

Browse files
committed
fix: remove cost optimize controls
1 parent 4cafe72 commit e830e66

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

compliance/controls/azure/azure_appservice_api_app_cors_no_star.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ Query:
3030
a.platform_resource_id AS platform_resource_id,
3131
CASE
3232
WHEN b.id IS NULL THEN 'skip'
33-
WHEN configuration -> 'properties' -> 'cors' -> 'allowedOrigins' @> '[\"*\"]' THEN 'alarm'
33+
WHEN configuration -> 'properties' -> 'cors' -> 'allowedOrigins' @> '["*"]' THEN 'alarm'
3434
ELSE 'ok'
3535
END AS status,
3636
CASE
3737
WHEN b.id IS NULL THEN a.title || ' is ' || a.kind || ' kind.'
38-
WHEN configuration -> 'properties' -> 'cors' -> 'allowedOrigins' @> '[\"*\"]' THEN a.name || ' CORS allow all domains to access the application.'
38+
WHEN configuration -> 'properties' -> 'cors' -> 'allowedOrigins' @> '["*"]' THEN a.name || ' CORS allow all domains to access the application.'
3939
ELSE a.name || ' CORS does not allow all domains to access the application.'
4040
END AS reason,
4141
a.resource_group AS resource_group,

compliance/frameworks/tagging/root.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SectionCode: tagging
55
Children:
66
- tagging_aws_tagging
77
- tagging_azure_tagging
8-
- tagging_cost_controls
8+
# - tagging_cost_controls
99
Controls: []
1010
Defaults:
1111
AutoAssign: false

compliance/frameworks/tagging/tagging_cost_controls.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Description: Cost Controls
44
SectionCode: cost_controls
55
Children: []
66
Controls:
7-
- og_mom_cost_growth_15
8-
- og_connection_mom_cost_growth
7+
# - og_mom_cost_growth_15
8+
# - og_connection_mom_cost_growth
99
Tags:
1010
category:
1111
- Compliance

0 commit comments

Comments
 (0)