clair/cmd/clairctl
2016-09-28 15:24:38 +02:00
..
clair rename hyperclair to clairctl 2016-09-28 15:24:38 +02:00
cmd rename hyperclair to clairctl 2016-09-28 15:24:38 +02:00
config missing error dependencies 2016-09-28 15:24:38 +02:00
contrib rename hyperclair to clairctl 2016-09-28 15:24:38 +02:00
docker remove database package 2016-09-28 15:24:38 +02:00
server remove database package 2016-09-28 15:24:38 +02:00
test copy hyperclair to clairctl and rename package 2016-09-28 15:24:38 +02:00
xstrings copy hyperclair to clairctl and rename package 2016-09-28 15:24:38 +02:00
.travis.yml copy hyperclair to clairctl and rename package 2016-09-28 15:24:38 +02:00
hyperclair.yml.default copy hyperclair to clairctl and rename package 2016-09-28 15:24:38 +02:00
LICENSE copy hyperclair to clairctl and rename package 2016-09-28 15:24:38 +02:00
main.go copy hyperclair to clairctl and rename package 2016-09-28 15:24:38 +02:00
README.md rename hyperclair to clairctl 2016-09-28 15:24:38 +02:00
VERSION copy hyperclair to clairctl and rename package 2016-09-28 15:24:38 +02:00

clairctl

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

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

Usage:
  clairctl [command]

Available Commands:
  analyse     Analyse 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 ./.hyperclair.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
  priority: Low
  report:
    path: ./reports
    format: html

Remarks

  1. Analyzing Official Docker image is disallowed. You cannot pull layers from image you don't own.

Contribution and Test

Go to /contrib folder