File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 1010name : Publish Docker image
1111
1212on :
13+ schedule :
14+ - cron : " 0 0 1 * *"
15+
1316 release :
1417 types : [published]
1518
5457 repository : georgedavisibexlabs/publish-sarif-to-jira
5558 short-description : Publish SARIF data to JIRA
5659 readme-filepath : ./DOCKER.md
57- enable-url-completion : true
60+ enable-url-completion : true
61+
62+ - name : Run Trivy Image scanner
63+ uses : aquasecurity/trivy-action@0.24.0
64+ with :
65+ scan-type : ' image'
66+ image-ref : ' georgedavisibexlabs/publish-sarif-to-jira'
67+ limit-severities-for-sarif : true
68+ trivy-config : .github/config/trivy-sarif.yaml
69+
70+ - name : Upload Trivy Image scan results
71+ uses : actions/upload-artifact@v4.3.6
72+ with :
73+ name : trivy-image-scan-results
74+ path : trivy-image-scan-results.sarif
75+ retention-days : 30
76+
77+ - name : Upload Trivy scan results to GitHub Security tab
78+ uses : github/codeql-action/upload-sarif@v3
79+ with :
80+ sarif_file : ' trivy-image-scan-results.sarif'
You can’t perform that action at this time.
0 commit comments