Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/actions/trivy-scan/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@ inputs:
runs:
using: "composite"
steps:
- name: Install Trivy
run: |
wget https://github.com/aquasecurity/trivy/releases/download/v0.44.1/trivy_0.44.1_Linux-64bit.deb
sudo dpkg -i trivy_0.44.1_Linux-64bit.deb
shell: bash

- name: Scan image
run: |
trivy image --severity HIGH,CRITICAL --no-progress ${{ inputs.image }}
shell: bash
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@v0.35.0
Comment thread
zdtsw marked this conversation as resolved.
Outdated
with:
image-ref: ${{ inputs.image }}
format: "table"
severity: "HIGH,CRITICAL"
Loading