Skip to content

Commit ce37ab4

Browse files
committed
allow to customize ignore list
1 parent 8382270 commit ce37ab4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

actions/docker/scan-docker-repo/action.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ inputs:
2727
Limit number of images to scan. Empty value = 'no limit'.
2828
required: false
2929
default: ''
30+
ignore-list-file:
31+
description: |
32+
Do not scan these images for CVEs. Each line in a file is expected to be a full image tag.
33+
I.e. containers.pl-open.science/milaboratories/pl-containers:milaboratories.software-pframes-conv.main.376ca2add55b
34+
required: false
35+
default: ''
3036

3137
#
3238
# Scan settings
@@ -115,6 +121,7 @@ runs:
115121
REPOSITORY: ${{ inputs.repository }}
116122
TAG: ${{ inputs.tag }}
117123
SCAN_IMAGES_LIMIT: ${{ inputs.limit }}
124+
IGNORE_LIST_FILE: ${{ inputs.ignore-list-file }}
118125

119126
TRIVY_BIN: ${{ steps.init.outputs.trivy }}
120127
PKG_TYPES: ${{ inputs.pkg-types }}

0 commit comments

Comments
 (0)