Skip to content

Commit

Permalink
changes to tfsec gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
zachrundle committed Aug 11, 2024
1 parent 87898f2 commit c6e4cab
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,18 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: tfsec

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

jobs:
tfsec:
name: Run tfsec sarif report
name: tfsec
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

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

- name: Run tfsec
uses: aquasecurity/tfsec-sarif-action@21ded20e8ca120cd9d3d6ab04ef746477542a608
uses: actions/checkout@master
- name: tfsec
uses: aquasecurity/[email protected]
with:
sarif_file: tfsec.sarif

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
soft_fail: true

0 comments on commit c6e4cab

Please sign in to comment.