From 24d4abc8f4bb16f1efac632878e84db05ec58893 Mon Sep 17 00:00:00 2001 From: David Sibley Date: Tue, 10 Dec 2024 15:12:23 +0000 Subject: [PATCH] added analytical-platform-shared-services to environments tests fix missing comma adjust linting to resolve regal error --- environments/analytical-platform-shared-services.json | 2 +- policies/environments/expected.rego | 1 + policies/networking/expected.rego | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/environments/analytical-platform-shared-services.json b/environments/analytical-platform-shared-services.json index 3369a25a1..6b378015a 100644 --- a/environments/analytical-platform-shared-services.json +++ b/environments/analytical-platform-shared-services.json @@ -21,7 +21,7 @@ "level": "developer" } ] - } + }, { "name": "production", "access": [ diff --git a/policies/environments/expected.rego b/policies/environments/expected.rego index 164390822..6d04b7850 100644 --- a/policies/environments/expected.rego +++ b/policies/environments/expected.rego @@ -12,6 +12,7 @@ expected := "analytical-platform-ingestion", "analytical-platform-landing", "analytical-platform-management", + "analytical-platform-shared-services", "apex", "bichard7", "ccms-ebs", diff --git a/policies/networking/expected.rego b/policies/networking/expected.rego index 1348cbde1..3652d124f 100644 --- a/policies/networking/expected.rego +++ b/policies/networking/expected.rego @@ -2,8 +2,7 @@ package policies.networking import rego.v1 -expected := -{ +expected := { "subnet_sets": { "garden-sandbox": { "general": {