-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,39 @@ | ||
# infra1 | ||
# Infra1 | ||
|
||
> This app is compliant with version [1.0.0](https://github.com/policy-as-versioned-code/policy/releases/tag/1.0.0) of the company policy **only** | ||
## Test policy locally | ||
|
||
```raw | ||
$ 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 | ||
``` |