Skip to content

Commit

Permalink
whitelist known vulnerabilities in clair scanner until next centos se…
Browse files Browse the repository at this point in the history
…rvice release
  • Loading branch information
pcaskey committed Aug 22, 2019
1 parent 05538fa commit b71845e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
27 changes: 27 additions & 0 deletions tests/centos7-clair-whitelist.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
generalwhitelist:
RHSA-2019:2030: python
RHSA-2019:2237: nss-softokn
RHSA-2019:2237: nss-softokn-freebl
RHSA-2019:2118: glibc-common
RHSA-2019:2030: python-libs
RHSA-2019:2237: nspr
RHSA-2019:2075: binutils
RHSA-2019:2237: nss-sysinit
RHSA-2019:2118: glibc
RHSA-2019:2136: libssh2
RHSA-2019:2091: systemd
RHSA-2019:2189: procps-ng
RHSA-2019:2237: nss-util
RHSA-2019:2110: rsyslog
RHSA-2019:2057: bind-license
RHSA-2019:2091: systemd-libs
RHSA-2019:2304: openssl-libs
RHSA-2019:2237: nss
RHSA-2019:2237: nss-tools
RHSA-2019:2304: openssl-devel
RHSA-2019:2159: unzip
RHSA-2019:2181: libcurl
RHSA-2019:2197: elfutils-libs
RHSA-2019:2181: curl
RHSA-2019:2197: elfutils-libelf
RHSA-2019:2197: elfutils-default-yama-scope
3 changes: 2 additions & 1 deletion tests/clairscan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ echo 'sending ip addr' ${clairip} 'to clair-scan server...'

#run scan
echo 'running scan...'
./clair-scanner --ip ${clairip} $1
./clair-scanner -w centos7-clair-whitelist.yaml --ip ${clairip} $1
#./clair-scanner --ip ${clairip} $1
retcode=$?

#eval results
Expand Down

0 comments on commit b71845e

Please sign in to comment.