clair/cmd/clairctl
Julien Garcia Gonzalez a22b787999 fix test
2017-02-27 16:14:52 +01:00
..
clair fix test 2017-02-27 16:14:52 +01:00
cmd fix dependencies 2017-02-27 16:00:13 +01:00
config fix test 2017-02-27 16:14:52 +01:00
contrib add clairctl 2017-02-27 15:02:08 +01:00
docker fix dependencies 2017-02-27 16:00:13 +01:00
server fix dependencies 2017-02-27 16:00:13 +01:00
test fix dependencies 2017-02-27 16:00:13 +01:00
xstrings add clairctl 2017-02-27 15:02:08 +01:00
.gitignore add clairctl 2017-02-27 15:02:08 +01:00
.travis.yml.old fix dependencies 2017-02-27 16:00:13 +01:00
clairctl.yml.default add clairctl 2017-02-27 15:02:08 +01:00
LICENSE add clairctl 2017-02-27 15:02:08 +01:00
main.go fix dependencies 2017-02-27 16:00:13 +01:00
README.md add clairctl 2017-02-27 15:02:08 +01:00
VERSION add clairctl 2017-02-27 15:02:08 +01:00

clairctl

Build Status

Tracking container vulnerabilities with Clair Control

Clairctl is a lightweight command-line tool doing the bridge between Registries as Docker Hub, Docker Registry or Quay.io, and the CoreOS vulnerability tracker, Clair. Clairctl will play as reverse proxy for authentication.

Usage

asciicast

Reporting

clairctl get vulnerabilities report from Clair and generate HTML report

clairctl can be used for Docker Hub and self-hosted Registry

Command

Analyze your docker image with Clair, directly from your registry.

Usage:
  clairctl [command]

Available Commands:
  analyze     Analyze Docker image
  health      Get Health of clairctl and underlying services
  login       Log in to a Docker registry
  logout      Log out from a Docker registry
  pull        Pull Docker image information
  push        Push Docker image to Clair
  report      Generate Docker Image vulnerabilities report
  version     Get Versions of clairctl and underlying services

Flags:
      --config string      config file (default is ./.clairctl.yml)
      --log-level string   log level [Panic,Fatal,Error,Warn,Info,Debug]

Use "clairctl [command] --help" for more information about a command.

Optional Configuration

clair:
  port: 6060
  healthPort: 6061
  uri: http://clair
  report:
    path: ./reports
    format: html

Contribution and Test

Go to /contrib folder