From 53830a1b471337884066b8e27edcd023cc75f717 Mon Sep 17 00:00:00 2001 From: Chris Nesbitt-Smith Date: Fri, 13 May 2022 11:15:11 +0100 Subject: [PATCH] add a readme --- README.md | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a0f8937f..9560cbffd 100644 --- a/README.md +++ b/README.md @@ -1 +1,39 @@ -# infra1 \ No newline at end of file +# 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 +``` \ No newline at end of file