From f218f5a64b48b387c358ef9433fe75b1095b8133 Mon Sep 17 00:00:00 2001 From: mark roberts Date: Tue, 5 Dec 2023 10:26:29 +0000 Subject: [PATCH] New environment for cdpt-ifs --- environments/cdpt-ifs.json | 39 +++++++++++++++++++++++++++++ policies/environments/expected.rego | 1 + 2 files changed, 40 insertions(+) create mode 100644 environments/cdpt-ifs.json diff --git a/environments/cdpt-ifs.json b/environments/cdpt-ifs.json new file mode 100644 index 000000000..4d94d2c03 --- /dev/null +++ b/environments/cdpt-ifs.json @@ -0,0 +1,39 @@ +{ + "account-type": "member", + "environments": [ + { + "name": "development", + "access": [ + { + "github_slug": "central-digital-product-team", + "level": "developer" + } + ] + }, + { + "name": "preproduction", + "access": [ + { + "github_slug": "central-digital-product-team", + "level": "developer" + } + ] + }, + { + "name": "production", + "access": [ + { + "github_slug": "central-digital-product-team", + "level": "developer" + } + ] + } + ], + "tags": { + "application": "central-digital-product-team", + "business-unit": "HQ", + "infrastructure-support": "central-digital-product-team@digital.justice.gov.uk", + "owner": "central-digital-product-team@digital.justice.gov.uk" + }, + "github-oidc-team-repositories": [""] +} diff --git a/policies/environments/expected.rego b/policies/environments/expected.rego index a3a786be5..96adc6d9c 100644 --- a/policies/environments/expected.rego +++ b/policies/environments/expected.rego @@ -13,6 +13,7 @@ expected := "ccms-ebs", "ccms-ebs-upgrade", "cdpt-chaps", + "cdpt-ifs", "cooker", "core-logging", "core-network-services",