imagecheck-for-gocon

command module
v0.0.0-...-50e704e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2019 License: AGPL-3.0 Imports: 5 Imported by: 0

README

imagecheck-for-gocon

$ GO111MODULE=off go get github.com/tomoyamachi/imagecheck-for-gocon
$ cd $GOPATH/src/tomoyamachi/imagecheck-for-gocon && GO111MODULE=on go build -o $GOPATH/bin/imagecheck
$ imagecheck nginx:latest 
2019/10/27 21:59:02 Start ScanImage...
2019/10/27 21:59:03 etc/nginx/nginx.conf: Expect log format contains "ltsv" but "main;"
exit status 1

$ imagecheck golang:1.13
2019/10/27 21:58:39 Start ScanImage...
2019/10/27 21:58:40 no nginx.conf files
2019/10/27 21:58:40 Finish ScanImage...

$ # create ltsv log_format containers
$ cd $GOPATH/src/github.com/tomoyamachi/imagecheck-for-gocon/containers/ltsv/ && docker build -t nginx-ltsv:v1 .
$ imagecheck nginx-ltsv:v1
2019/10/27 21:58:50 Start ScanImage...
2019/10/27 21:58:50 Finish ScanImage...

This is a sample repository for container image scanner. The design of the repository is very simple.

If you try to create better design, please check aquasecurity/trivy and goodwithtech/dockle.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL