Ccl 1465 #50
Workflow file for this run
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
name: Validate Terraform with Trivy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
RunTerraformValidation: | |
name: Scan Terraform Config | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone the Repository | |
uses: actions/checkout@v4 | |
# Results have to be a table as the organisation does not have Advanced Security license. | |
- name: Scan Terraform Config | |
uses: aquasecurity/[email protected] | |
with: | |
scan-type: 'config' | |
exit-code: '1' |