From dd641c8b014668e071f9df44e3f926d784fe3e8a Mon Sep 17 00:00:00 2001 From: cybershady Date: Sun, 11 Aug 2024 20:28:48 -0600 Subject: [PATCH] update actions --- .github/workflows/tf-fmt-check.yml | 3 ++- .github/workflows/tfsec.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tf-fmt-check.yml b/.github/workflows/tf-fmt-check.yml index c18302c..6d14614 100644 --- a/.github/workflows/tf-fmt-check.yml +++ b/.github/workflows/tf-fmt-check.yml @@ -19,4 +19,5 @@ jobs: - name: Terraform fmt id: fmt run: terraform fmt -check - continue-on-error: true \ No newline at end of file + with: + soft_fail: true \ No newline at end of file diff --git a/.github/workflows/tfsec.yml b/.github/workflows/tfsec.yml index f7d3cde..6e4fb9d 100644 --- a/.github/workflows/tfsec.yml +++ b/.github/workflows/tfsec.yml @@ -21,7 +21,8 @@ jobs: - name: tfsec uses: aquasecurity/tfsec-sarif-action@v0.1.0 with: - sarif_file: tfsec.sarif + sarif_file: tfsec.sarif + additional_args: '--severity HIGH' - name: Upload SARIF file uses: github/codeql-action/upload-sarif@v1