Skip to content

Commit

Permalink
Add tfsec Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-toncu authored Aug 8, 2024
1 parent fb4b4f2 commit 901a8d5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: tfsec

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '16 21 * * 5'

jobs:
tfsec:
name: Run tfsec

runs-on: ubuntu-latest

permissions:
actions: read
contents: read
security-events: write

steps:
- name: Clone Repository
uses: actions/checkout@v4

- name: Run tfsec
uses: aquasecurity/tfsec-sarif-action@v0.1.0
with:
sarif_file: tfsec.sarif

- name: Upload SARIF Report
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: tfsec.sarif

0 comments on commit 901a8d5

Please sign in to comment.