Trivy Terraform Scan #8
This file contains hidden or 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: Trivy Terraform Scan | |
on: | |
pull_request: | |
branches: [main] | |
schedule: | |
- cron: '0 3 * * *' # Nightly at 03:00 UTC | |
workflow_dispatch: | |
jobs: | |
trivy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Trivy scan | |
uses: corelight/shared-actions/trivy-terraform-scan@main |