Vulnerability Static Analysis for Containers
947a8aa00c
When trying to identify various RedHat releases, RHEL was not being picked up as a centos release because the Oracle Linux regex was too permissive: it would match any release name with '<something> Linux Server release' in the name. By being more restrictive with the Oracle regex, RHEL is now properly identified. I don't know why the Oracle regex used such a permissive matcher for the name but it still passes all the tests by replacing it with the word 'Oracle'. Fixes #436 |
||
---|---|---|
.github | ||
api | ||
cmd/clair | ||
contrib | ||
database | ||
Documentation | ||
ext | ||
pkg | ||
testdata/DistUpgrade | ||
vendor | ||
.dockerignore | ||
.travis.yml | ||
bill-of-materials.json | ||
code-of-conduct.md | ||
config.yaml.sample | ||
DCO | ||
Dockerfile | ||
glide.lock | ||
glide.yaml | ||
LICENSE | ||
NOTICE | ||
notifier.go | ||
README.md | ||
ROADMAP.md | ||
updater_test.go | ||
updater.go | ||
worker_test.go | ||
worker.go |
Clair
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 is an open source project for the static analysis of vulnerabilities in application containers (currently including appc and docker).
- In regular intervals, Clair ingests vulnerability metadata from a configured set of sources and stores it in the database.
- 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.
- 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.
- 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
- Learn the terminology and about the drivers and data sources that power Clair
- Watch presentations on the high-level goals and design of Clair
- Follow instructions to get Clair up and running
- Explore the API on SwaggerHub
- Discover third party integrations that help integrate Clair with your infrastructure
- Read the rest of the documentation on the CoreOS website or in the Documentation directory
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.