From 593396b14f4ee81ae6f410753064617836e3e9ec Mon Sep 17 00:00:00 2001 From: Shreyas Date: Thu, 17 Jun 2021 15:44:49 +0530 Subject: [PATCH] Adding Id fix for github policies --- .../github_organization_webhook/accurics.github.EKM.1.json | 1 + .../opa/rego/github/github_repository/accurics.github.IAM.1.json | 1 + .../github/github_repository_webhook/accurics.github.EKM2.json | 1 + 3 files changed, 3 insertions(+) diff --git a/pkg/policies/opa/rego/github/github_organization_webhook/accurics.github.EKM.1.json b/pkg/policies/opa/rego/github/github_organization_webhook/accurics.github.EKM.1.json index 558afb5a3..fdc778b17 100755 --- a/pkg/policies/opa/rego/github/github_organization_webhook/accurics.github.EKM.1.json +++ b/pkg/policies/opa/rego/github/github_organization_webhook/accurics.github.EKM.1.json @@ -7,6 +7,7 @@ "severity": "MEDIUM", "description": "Insecure SSL is used for organization webhook.", "reference_id": "accurics.github.EKM.1", + "id": "AC_GITHUB_0001", "category": "Encryption and Key Management", "version": 1 } \ No newline at end of file diff --git a/pkg/policies/opa/rego/github/github_repository/accurics.github.IAM.1.json b/pkg/policies/opa/rego/github/github_repository/accurics.github.IAM.1.json index 18245b4d5..acd81a95d 100755 --- a/pkg/policies/opa/rego/github/github_repository/accurics.github.IAM.1.json +++ b/pkg/policies/opa/rego/github/github_repository/accurics.github.IAM.1.json @@ -7,6 +7,7 @@ "severity": "MEDIUM", "description": "Repository is Not Private.", "reference_id": "accurics.github.IAM.1", + "id": "AC_GITHUB_0002", "category": "Identity and Access Management", "version": 1 } \ No newline at end of file diff --git a/pkg/policies/opa/rego/github/github_repository_webhook/accurics.github.EKM2.json b/pkg/policies/opa/rego/github/github_repository_webhook/accurics.github.EKM2.json index 9c2010540..4937b0eef 100644 --- a/pkg/policies/opa/rego/github/github_repository_webhook/accurics.github.EKM2.json +++ b/pkg/policies/opa/rego/github/github_repository_webhook/accurics.github.EKM2.json @@ -7,6 +7,7 @@ "severity": "MEDIUM", "description": "Insecure SSL is used for repository webhook.", "reference_id": "accurics.github.EKM.2", + "id": "AC_GITHUB_0003", "category": "Encryption and Key Management", "version": 1 } \ No newline at end of file