From bdd14bdaee05590c34a47acc2467064a75950eba Mon Sep 17 00:00:00 2001 From: Pavni Parghi Date: Thu, 29 Jul 2021 10:22:44 +0530 Subject: [PATCH] added name in json file --- pkg/policies/opa/rego/docker/docker_expose/AC_DOCKER_0011.json | 3 ++- .../opa/rego/docker/docker_workdir/AC_DOCKER_0013.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/policies/opa/rego/docker/docker_expose/AC_DOCKER_0011.json b/pkg/policies/opa/rego/docker/docker_expose/AC_DOCKER_0011.json index e223c4eab..5b3474b25 100644 --- a/pkg/policies/opa/rego/docker/docker_expose/AC_DOCKER_0011.json +++ b/pkg/policies/opa/rego/docker/docker_expose/AC_DOCKER_0011.json @@ -5,7 +5,8 @@ "resource_type": "expose", "template_args": { "prefix": "", - "suffix": "" + "suffix": "", + "name": "UNIXPortsOutOfRange" }, "severity": "HIGH", "description": "Ensure range of ports is from 0 to 65535", diff --git a/pkg/policies/opa/rego/docker/docker_workdir/AC_DOCKER_0013.json b/pkg/policies/opa/rego/docker/docker_workdir/AC_DOCKER_0013.json index ca920055b..b9ede90dd 100644 --- a/pkg/policies/opa/rego/docker/docker_workdir/AC_DOCKER_0013.json +++ b/pkg/policies/opa/rego/docker/docker_workdir/AC_DOCKER_0013.json @@ -5,7 +5,8 @@ "resource_type": "workdir", "template_args": { "prefix": "", - "suffix": "" + "suffix": "", + "name": "workdir" }, "severity": "HIGH", "description": "Ensure the use absolute paths for your WORKDIR.",