@@ -138,13 +138,13 @@ jobs:
138138 - name : Push Docker image ${{ env.image }}:latest
139139 if : env.pushDockerImage == 'true'
140140 run : docker push ${{ env.image }}:latest
141- - name : Aqua Security Trivy
142- # You may pin to the exact commit or the version.
143- # uses: aquasecurity/trivy-action@fd25fed6972e341ff0007ddb61f77e88103953c2
144- uses : aquasecurity/trivy-action@0.21.0
145- with :
146- # image reference(for backward compatibility)
147- image-ref : ${{ env.image }}:latest
141+ # - name: Aqua Security Trivy
142+ # # You may pin to the exact commit or the version.
143+ # # uses: aquasecurity/trivy-action@fd25fed6972e341ff0007ddb61f77e88103953c2
144+ # uses: aquasecurity/trivy-action@0.21.0
145+ # with:
146+ # # image reference(for backward compatibility)
147+ # image-ref: ${{ env.image }}:latest
148148 devsecops-tasks :
149149 name : Do DevSecOps Tasks
150150 needs :
@@ -155,34 +155,34 @@ jobs:
155155 steps :
156156 - name : checkout
157157 uses : actions/checkout@v4.1.0
158- - name : Gitleaks
159- continue-on-error : true
160- # You may pin to the exact commit or the version.
161- # uses: gitleaks/gitleaks-action@e6dab246340401bf53eec993b8f05aebe80ac636
162- uses : gitleaks/gitleaks-action@v2.3.4
163- env :
164- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
165- # GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.
166- - name : Dependency Review
167- uses : actions/dependency-review-action@v4.3.2
168- with :
169- base-ref : ${{ github.ref }}
170- head-ref : ${{ github.sha }}
171- # Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.
172- repo-token : ${{ github.token }} # optional, default is ${{ github.token }}
173- # A boolean to determine if license checks should be performed
174- license-check : true # optional
175- # A boolean to determine if vulnerability checks should be performed
176- vulnerability-check : true # optional
177- # Show a summary of the OpenSSF Scorecard scores.
178- show-openssf-scorecard : true # optional
179- - name : Run Microsoft Security DevOps
180- uses : microsoft/security-devops-action@v1
181- id : msdo
182- - name : Upload results to Security tab
183- uses : github/codeql-action/upload-sarif@v2
184- with :
185- sarif_file : ${{ steps.msdo.outputs.sarifFile }}
158+ # - name: Gitleaks
159+ # continue-on-error: true
160+ # # You may pin to the exact commit or the version.
161+ # # uses: gitleaks/gitleaks-action@e6dab246340401bf53eec993b8f05aebe80ac636
162+ # uses: gitleaks/gitleaks-action@v2.3.4
163+ # env:
164+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
165+ # #GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.
166+ # - name: Dependency Review
167+ # uses: actions/dependency-review-action@v4.3.2
168+ # with:
169+ # base-ref: ${{ github.ref }}
170+ # head-ref: ${{ github.sha }}
171+ # # Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.
172+ # repo-token: ${{ github.token }} # optional, default is ${{ github.token }}
173+ # # A boolean to determine if license checks should be performed
174+ # license-check: true # optional
175+ # # A boolean to determine if vulnerability checks should be performed
176+ # vulnerability-check: true # optional
177+ # # Show a summary of the OpenSSF Scorecard scores.
178+ # show-openssf-scorecard: true # optional
179+ # - name: Run Microsoft Security DevOps
180+ # uses: microsoft/security-devops-action@v1
181+ # id: msdo
182+ # - name: Upload results to Security tab
183+ # uses: github/codeql-action/upload-sarif@v2
184+ # with:
185+ # sarif_file: ${{ steps.msdo.outputs.sarifFile }}
186186 test-run_devopsshield_scan_linux :
187187 name : Run DevOps Shield Scan Linux
188188 needs :
0 commit comments