Skip to content

Commit

Permalink
Change to tfsec action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Aug 20, 2024
1 parent 27dea1b commit 47c45b7
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/aws-template-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run tfsec
uses: aquasecurity/tfsec-sarif-action@21ded20e8ca120cd9d3d6ab04ef746477542a608
- name: tfsec
uses: aquasecurity/tfsec-action@v1.0.3
with:
working_directory: ${{ inputs.CONTEXT_FOLDER }}
sarif_file: tfsec.sarif
tfsec_args: "--tfvars-file=${{ inputs.CONTEXT_FOLDER }}/${{ inputs.ENVIRONMENT_NAME }}.tfvars --soft-fail=false"
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: tfsec.sarif
soft_fail: false
needs: [check_changes]

deploy_infra:
Expand Down

0 comments on commit 47c45b7

Please sign in to comment.