This app is compliant with version 1.0.0 of the company policy only
$ docker run --rm -ti -v $(pwd):/apps ghcr.io/policy-as-versioned-code/policy-checker
Found Terraform files
Checking policy version...
/tmp/tf/main.tf
/tmp/tf/variable.tf
/tmp/tf/CODE_OF_CONDUCT.md
/tmp/tf/SECURITY.md
/tmp/tf/README.md
Policy version: 1.0.0
Fetching Policy...
Policy fetched.
Running policy checker...
_ _
___| |__ ___ ___| | _______ __
/ __| '_ \ / _ \/ __| |/ / _ \ \ / /
| (__| | | | __/ (__| < (_) \ V /
\___|_| |_|\___|\___|_|\_\___/ \_/
By bridgecrew.io | version: 2.0.1140
terraform scan results:
Passed checks: 2, Failed checks: 0, Skipped checks: 0
Check: CUSTOM_AWS_1: "Check that all resources are tagged with the key - department"
PASSED for resource: aws_s3_bucket.b
File: /main.tf:1-6
Check: : ""
PASSED for resource: aws_s3_bucket.b
File: /main.tf:1-6