5454 echo "Component: ${{ matrix.component.name }}"
5555
5656 - name : Run Trivy vulnerability scanner (filesystem)
57- uses : aquasecurity/trivy-action@0.28 .0
57+ uses : aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35 .0
5858 with :
5959 scan-type : ' fs'
6060 scan-ref : ' ${{ matrix.component.path }}'
6565 scanners : ' vuln,secret'
6666
6767 - name : Run Trivy configuration scanner
68- uses : aquasecurity/trivy-action@0.28 .0
68+ uses : aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35 .0
6969 with :
7070 scan-type : ' config'
7171 scan-ref : ' ${{ matrix.component.path }}'
8989 category : ' ${{ matrix.component.name }}-config'
9090
9191 - name : Generate human-readable vulnerability report
92- uses : aquasecurity/trivy-action@0.28 .0
92+ uses : aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35 .0
9393 with :
9494 scan-type : ' fs'
9595 scan-ref : ' ${{ matrix.component.path }}'
@@ -122,7 +122,7 @@ jobs:
122122 uses : actions/checkout@v4
123123
124124 - name : Run Trivy repository scan
125- uses : aquasecurity/trivy-action@0.28 .0
125+ uses : aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35 .0
126126 with :
127127 scan-type : ' fs'
128128 scan-ref : ' .'
@@ -139,7 +139,7 @@ jobs:
139139 category : ' repository-wide-security'
140140
141141 - name : Generate repository security report
142- uses : aquasecurity/trivy-action@0.28 .0
142+ uses : aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35 .0
143143 with :
144144 scan-type : ' fs'
145145 scan-ref : ' .'
@@ -156,4 +156,4 @@ jobs:
156156 path : |
157157 trivy-repository-results.sarif
158158 trivy-repository-report.txt
159- retention-days : 30
159+ retention-days : 30
0 commit comments