File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow uses actions that are not certified by GitHub.
2+ # They are provided by a third-party and are governed by
3+ # separate terms of service, privacy policy, and support
4+ # documentation.
5+
6+ name : tfsec
7+
8+ on :
9+ push :
10+ branches : [ "main" ]
11+ pull_request :
12+ branches : [ "main" ]
13+ schedule :
14+ - cron : ' 20 7 * * 3'
15+
16+ jobs :
17+ tfsec :
18+ name : Run tfsec sarif report
19+ runs-on : ubuntu-latest
20+ permissions :
21+ actions : read
22+ contents : read
23+ security-events : write
24+
25+ steps :
26+ - name : Clone repo
27+ uses : actions/checkout@v4
28+
29+ - name : Run tfsec
30+ uses : aquasecurity/tfsec-sarif-action@21ded20e8ca120cd9d3d6ab04ef746477542a608
31+ with :
32+ sarif_file : tfsec.sarif
33+
34+ - name : Upload SARIF file
35+ uses : github/codeql-action/upload-sarif@v2
36+ with :
37+ # Path to SARIF file relative to the root of the repository
38+ sarif_file : tfsec.sarif
You can’t perform that action at this time.
0 commit comments