Vulnerability Static Analysis for Containers
Go to file
Ales Raszka 60b0bd27fa Add namespace_id as constraints to layer_feature
If layer contains more than one potential namespace, features will be
created for each namespace. Layer_feature table now has to contains one
more constrains (namespace_id).
2019-03-07 11:22:54 +01:00
.github .github: add stale and issue template enforcement 2018-09-26 13:07:20 -04:00
api Merge pull request #724 from KeyboardNerd/ref 2019-03-06 15:25:04 -05:00
cmd/clair clair: Use builder pattern for constructing ancestry 2019-02-26 10:26:49 -05:00
contrib make nodePort configurable with helm 2019-01-29 09:58:23 +01:00
database Add namespace_id as constraints to layer_feature 2019-03-07 11:22:54 +01:00
Documentation docs: fix typo in running-clair 2019-01-29 16:35:16 -06:00
ext Move PotentialNamespace to LayerFeature 2019-03-07 11:22:54 +01:00
pkg Add missing licenses 2019-03-05 11:42:59 -05:00
testdata/DistUpgrade
vendor glide: add errgroup and regenerate vendor 2019-01-10 13:50:47 -05:00
.dockerignore Adding httputil and version packages 2018-09-05 14:56:39 -04:00
.travis.yml Travis: Drop support for postgres 9.4 2019-02-19 16:48:42 -05:00
analyzer.go clair: Use builder pattern for constructing ancestry 2019-02-26 10:26:49 -05:00
ancestry_test.go clair: Fix namespace update logic 2019-02-27 17:02:36 -05:00
ancestry.go clair: Fix namespace update logic 2019-02-27 17:02:36 -05:00
bill-of-materials.json api: remove dependency on graceful 2018-09-06 16:56:33 -04:00
blob.go clair: Use builder pattern for constructing ancestry 2019-02-26 10:26:49 -05:00
code-of-conduct.md
config.yaml.sample config: enable suse updater 2019-01-14 14:39:46 -05:00
DCO
Dockerfile Add build-base to docker image 2018-09-26 08:17:33 +10:00
glide.lock glide: add errgroup and regenerate vendor 2019-01-10 13:50:47 -05:00
glide.yaml glide: add errgroup and regenerate vendor 2019-01-10 13:50:47 -05:00
LICENSE
license_header_test.go Add license header check test 2019-03-05 11:42:54 -05:00
NOTICE
notifier.go database: Move db logic to dbutil 2019-03-06 15:22:21 -05:00
README.md README: fixed issues address 2018-03-19 21:21:38 -07:00
ROADMAP.md *: update roadmap 2018-10-08 15:10:27 -04:00
updater_test.go Merge pull request #672 from KeyboardNerd/source_package/feature_type 2019-02-20 15:58:50 -05:00
updater.go database: Move db logic to dbutil 2019-03-06 15:22:21 -05:00

Clair

Build Status Docker Repository on Quay Go Report Card GoDoc IRC Channel

Note: The master branch may be in an unstable or even broken state during development. Please use releases instead of the master branch in order to get stable binaries.

Clair Logo

Clair is an open source project for the static analysis of vulnerabilities in application containers (currently including appc and docker).

  1. In regular intervals, Clair ingests vulnerability metadata from a configured set of sources and stores it in the database.
  2. Clients use the Clair API to index their container images; this creates a list of features present in the image and stores them in the database.
  3. Clients use the Clair API to query the database for vulnerabilities of a particular image; correlating vulnerabilities and features is done for each request, avoiding the need to rescan images.
  4. When updates to vulnerability metadata occur, a notification can be sent to alert systems that a change has occured.

Our goal is to enable a more transparent view of the security of container-based infrastructure. Thus, the project was named Clair after the French term which translates to clear, bright, transparent.

Getting Started

Contact

Contributing

See CONTRIBUTING for details on submitting patches and the contribution workflow.

License

Clair is under the Apache 2.0 license. See the LICENSE file for details.