Skip to content

Bump anchore/sbom-action from 0.19.0 to 0.20.0 #78

Bump anchore/sbom-action from 0.19.0 to 0.20.0

Bump anchore/sbom-action from 0.19.0 to 0.20.0 #78

# https://github.com/aquasecurity/tfsec
# https://github.com/aquasecurity/tfsec-sarif-action
name: IaC Scanning (Terraform) with Aqua Security tfsec
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '15 03 * * 5'
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
jobs:
tfsec-scan:
name: Run tfsec sarif report
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run tfsec
uses: aquasecurity/[email protected]
with:
sarif_file: tfsec.sarif
- name: Upload SARIF file to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: tfsec.sarif