Skip to content

Commit

Permalink
revert trivy_scan
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Feb 9, 2024
1 parent 3f0538d commit 81281fc
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/sdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,31 +53,3 @@ jobs:
bandit -c pyproject.toml -r python
working-directory: ${{ env.OPENVINO_TOKENIZERS_REPO }}

trivy_scan:
name: code_scanning
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL'

# - name: Upload Trivy scan results to GitHub Security tab
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: 'trivy-results.sarif'

- name: Upload Trivy scan results
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: trivy_results
path: 'trivy-results.sarif'
if-no-files-found: 'error'

0 comments on commit 81281fc

Please sign in to comment.