Skip to content

Commit

Permalink
Update output folder for checkov action
Browse files Browse the repository at this point in the history
  • Loading branch information
san99tiago committed Sep 16, 2023
1 parent 9f55bf3 commit 19562a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
with:
name: cdk-synth-folder
path: ./cdk.out
retention-days: 1

iac-checkov:
name: IaC Checkov Validations
Expand All @@ -105,13 +106,13 @@ jobs:
uses: actions/download-artifact@v3
with:
name: cdk-synth-folder
path: ./cdk.out
path: ./cdk-synth-output-folder

- name: Run Checkov action
id: checkov
uses: bridgecrewio/checkov-action@v12
with:
directory: .cdk.out/
directory: cdk-synth-output-folder/.cdk.out/
framework: cloudformation
soft_fail: true # optional: do not return an error code if there are failed checks
skip_check: CKV_AWS_2 # optional: skip a specific check_id. can be comma separated list
Expand Down

0 comments on commit 19562a4

Please sign in to comment.