Skip to content

Commit

Permalink
adjust trivyignores to option
Browse files Browse the repository at this point in the history
  • Loading branch information
sven0219 committed Oct 16, 2024
1 parent 7bbb801 commit 51dc0ea
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/vulnerability_scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,14 @@ on:
docker_tags:
type: string
required: true
continue-on-error:
type: boolean
required: false
default: false
runner:
## ['cn', 'us', 'cn1', 'cn2', 'cn3', 'us1', 'us2', 'us3', ' ubuntu-latest']
type: string
required: true
trivyignores:
type: string
required: true
default: ".trivyignore"
required: false
default: ""


jobs:
Expand Down Expand Up @@ -57,7 +53,6 @@ jobs:
# vuln-type: 'os,library'
trivyignores: '${{ inputs.trivyignores }}'
severity: 'UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL'
continue-on-error: false

- name: Fix .trivy permissions
if: always()
Expand Down

0 comments on commit 51dc0ea

Please sign in to comment.