Generic CVE Scanner with Clair DB
10K+
Clair Generic Scan Server (HTTP)
You can scan any linux system not only docker but also bare-metal.
Clair use newest distro's NVD/CVE database. this means clair's DB is very accurated and fastest. There's no false negative or false positive issue.
Support Linux Distro.
Clair is opensource project by CoreOS(Acquired by RedHat)
welcome any pull requests.
cd compose
docker-compose up -d
# wait for DB updating is complated. (maybe 10-30 min. time depend on network issue)
docker exec -it search-server python /opt/test.py
# Python version
python ./cli/scanner.py http://127.0.0.1:5000
# Golang version
# - Build Binary
docker run -it --rm \
-v `pwd`/cli:/usr/src/scanner \
-w /usr/src/scanner \
-e "CGO_ENABLED=0" -e "GOOS=linux" \
golang bash -c \
"go get github.com/Jeffail/gabs && go get github.com/go-ini/ini && go build -a -ldflags '-extldflags \"-static\"' ."
# or you can use build scripts
cd cli
curl https://raw.githubusercontent.com/ziozzang/go-static-template/master/install | bash
BIN_NAME=scanner ./build.sh
# - Run
./cli/scanner http://127.0.0.1:5000
not yet documented.
docker build -t ziozzang/clair-generic-scan-server .
docker run -it --rm -p 5000:5000 --link pgsql:pgsql ziozzang/clair-generic-scan-server
Content type
Image
Digest
Size
71.6 MB
Last updated
over 8 years ago
docker pull ziozzang/clair-generic-scan-server