# Gatekeeper constraint for CVE-2020-8554
## Install OPA client
Follow [the instructions](https://www.openpolicyagent.org/docs/latest/#1-download-opa).
## Run unit tests
```bash
$ opa test --ignore=*.yaml ./policies
# verbose output
$ opa test -v --explain=full --format=pretty --ignore=*.yaml ./policies
```
[4.0K] /data/pocs/4b431dac579961c48ce05db1683e1552bcfda0aa
├── [4.0K] policies
│ └── [4.0K] externalips
│ ├── [ 511] k8sexternalips.rego
│ ├── [1.2K] k8sexternalips_test.rego
│ ├── [5.8K] k8sexternalips_utils_test.rego
│ ├── [ 594] k8sexternalips.yaml
│ └── [4.0K] resources
│ └── [ 197] service-must-not-have-external-ips.yaml
└── [ 311] README.md
3 directories, 6 files