Skip to content

Merge pull request #251 from mysteq/dependabot/github_actions/github/… #646

Merge pull request #251 from mysteq/dependabot/github_actions/github/…

Merge pull request #251 from mysteq/dependabot/github_actions/github/… #646

Workflow file for this run

name: tfsec
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '44 15 * * 5'
jobs:
tfsec:
name: Run tfsec sarif report
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Clone repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run tfsec
uses: aquasecurity/tfsec-sarif-action@21ded20e8ca120cd9d3d6ab04ef746477542a608 # v0.1.4
with:
sarif_file: tfsec.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@c793b717bc78562f491db7b0e93a3a178b099162 # v3.29.5
with:
# Path to SARIF file relative to the root of the repository
sarif_file: tfsec.sarif