Skip to content

Merge pull request #250 from mysteq/dependabot/github_actions/actions… #644

Merge pull request #250 from mysteq/dependabot/github_actions/actions…

Merge pull request #250 from mysteq/dependabot/github_actions/actions… #644

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@89a39a4e59826350b863aa6b6252a07ad50cf83e # v3.29.5
with:
# Path to SARIF file relative to the root of the repository
sarif_file: tfsec.sarif