Skip to content

Commit

Permalink
Merge pull request #1 from Think-Cube/patch-1
Browse files Browse the repository at this point in the history
Create tfsec.yml
  • Loading branch information
spy86 authored Apr 16, 2024
2 parents d1d7166 + cccb4dd commit ffa0664
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: tfsec
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '44 9 * * 1'
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@v3
- name: Run tfsec
uses: aquasecurity/tfsec-sarif-action@9a83b5c3524f825c020e356335855741fd02745f
with:
sarif_file: tfsec.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: tfsec.sarif

0 comments on commit ffa0664

Please sign in to comment.