Vulnerability Static Analysis for Containers
Go to file
Ales Raszka 4e49aaf346 Fix: lock updater - return correct bool value
The function which extend lock duration in DB returns incorrect bool
value (return default false value). This cause that context is canceled
when extending lock duration and whole update process fails.

This commit fixes the bug and return correct bool value.
2019-04-09 14:41:40 +02:00
.github .github: add stale and issue template enforcement 2018-09-26 13:07:20 -04:00
api Merge pull request #741 from KeyboardNerd/parallel_download 2019-03-20 12:50:15 -04:00
cmd/clair clair: Use builder pattern for constructing ancestry 2019-02-26 10:26:49 -05:00
contrib helm: allow for ingress path configuration in values.yml 2019-03-20 12:42:17 -04:00
database Fix: lock updater - return correct bool value 2019-04-09 14:41:40 +02:00
Documentation Add claircli tool to interact with clair 2019-03-20 03:19:23 +00:00
ext tarutil: convert all filename specs to regexps 2019-03-22 11:02:21 +00:00
pkg tarutil: convert all filename specs to regexps 2019-03-22 11:02:21 +00:00
testdata/DistUpgrade clair: move worker to top level package 2017-01-26 18:24:04 -05:00
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 Use PotentialNamespace in ancestry 2019-03-14 17:29:41 +01:00
ancestry.go Use PotentialNamespace in ancestry 2019-03-14 17:29:41 +01: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 update CoC 2018-01-04 12:29:49 -08:00
config.yaml.sample config: enable suse updater 2019-01-14 14:39:46 -05:00
DCO Initial commit 2015-11-13 14:11:28 -05:00
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 Initial commit 2015-11-13 14:11:28 -05:00
license_header_test.go Add license header check test 2019-03-05 11:42:54 -05:00
NOTICE Initial commit 2015-11-13 14:11:28 -05:00
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.