Documentation ¶
Directories ¶
Path | Synopsis |
---|---|
v1
Package v1 implements the first version of the Clair API.
|
Package v1 implements the first version of the Clair API. |
cmd
|
|
contrib
|
|
Package database defines the Clair's models and a common interface for database implementations.
|
Package database defines the Clair's models and a common interface for database implementations. |
pgsql
Package pgsql implements database.Datastore with PostgreSQL.
|
Package pgsql implements database.Datastore with PostgreSQL. |
pgsql/migrations
Package migrations regroups every migrations available to the pgsql database backend.
|
Package migrations regroups every migrations available to the pgsql database backend. |
Package notifier fetches notifications from the database and informs the specified remote handler about their existences, inviting the third party to actively query the API about it.
|
Package notifier fetches notifications from the database and informs the specified remote handler about their existences, inviting the third party to actively query the API about it. |
notifiers
Package notifiers implements several kinds of notifier.Notifier
|
Package notifiers implements several kinds of notifier.Notifier |
Package updater updates the vulnerability database periodically using the registered vulnerability fetchers.
|
Package updater updates the vulnerability database periodically using the registered vulnerability fetchers. |
Package utils simply defines utility functions and types.
|
Package utils simply defines utility functions and types. |
errors
Package errors defines error types that are used in several modules
|
Package errors defines error types that are used in several modules |
http
Package http provides utility functions for HTTP servers and clients.
|
Package http provides utility functions for HTTP servers and clients. |
oval
This package contains the OvalFetcher definition which is being used for fetching update information on OVAL format see: https://oval.mitre.org/about/faqs.html#a1 Example of an oval definition <oval_definitions xmlns=.....> <definitions> <definition> <metadata> <title>CVE-1111-11</title> <description>blablabla</description> <reference source="CVE" ref_id="CVE-1111-11" ref_url="http...."/> <reference source="RHSA" ref_id="RHSA-111:11" ref_url="http...."/> </metadata> <criteria operator="AND"> <criterion test_ref="123" comment="glibc is ...."> </criterion> <criterion test_ref="456" comment="....
|
This package contains the OvalFetcher definition which is being used for fetching update information on OVAL format see: https://oval.mitre.org/about/faqs.html#a1 Example of an oval definition <oval_definitions xmlns=.....> <definitions> <definition> <metadata> <title>CVE-1111-11</title> <description>blablabla</description> <reference source="CVE" ref_id="CVE-1111-11" ref_url="http...."/> <reference source="RHSA" ref_id="RHSA-111:11" ref_url="http...."/> </metadata> <criteria operator="AND"> <criterion test_ref="123" comment="glibc is ...."> </criterion> <criterion test_ref="456" comment=".... |
types
Package types defines useful types that are used in database models.
|
Package types defines useful types that are used in database models. |
Package worker implements the logic to extract useful informations from a container layer and store it in the database.
|
Package worker implements the logic to extract useful informations from a container layer and store it in the database. |
detectors
Package detectors exposes functions to register and use container information extractors.
|
Package detectors exposes functions to register and use container information extractors. |
Click to show internal directories.
Click to hide internal directories.