Vulnerability Static Analysis for Containers
Go to file
Chris Northwood afd7fe2554 tarutil: allow file names to be specified by regexp
Some features do not exist in set locations, but can be anywhere in the layer.
This allows those featurefmt to specify the filenames to be scanned by
regexp, as opposed to purely by path prefix.
If any current users of this express paths which use regexp special characters
this could be a breaking change for them (with the exception of . which will
continue to work as it matches against the literal character .), however
none of the code in this repo does that.

fixes #456
2019-03-21 17:24:34 +00: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 update 2019-03-12 22:23:30 -04:00
Documentation docs: fix typo in running-clair 2019-01-29 16:35:16 -06:00
ext Add test for potential namespace 2019-03-08 09:51:19 +01:00
pkg tarutil: allow file names to be specified by regexp 2019-03-21 17:24:34 +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 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 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.