You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/mapping-repositories-to-cpe-information.adoc
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
Currently, mapping repositories to Common Product Enumeration information is not supported on IBM Power and IBM Z.
12
12
====
13
13
14
-
Clair's {rhel} scanner relies on a Common Product Enumeration (CPE) file to map RPM packages to the corresponding security data to produce matching results. These files are owned by product security and updated daily.
14
+
Clair's {rhel} scanner relies on a Common Product Enumeration (CPE) file to map RPM packages to the corresponding security data to produce matching results. Red{nbsp}Hat Product Security maintains and regularly updates these files.
15
15
16
16
The CPE file must be present, or access to the file must be allowed, for the scanner to properly process RPM packages. If the file is not present, RPM packages installed in the container image will not be scanned.
17
17
@@ -23,11 +23,12 @@ The CPE file must be present, or access to the file must be allowed, for the sca
23
23
| `names2repos` | link:https://access.redhat.com/security/data/metrics/container-name-repos-map.json[Red Hat Name-to-Repos JSON].
24
24
|===
25
25
26
-
In addition to uploading CVE information to the database for disconnected Clair installations, you must also make the mapping file available locally:
26
+
By default, Clair's indexer includes the `repos2cpe` and `names2repos` data files within the Clair container. This means that you can reference `/data/repository-to-cpe.json` and `/data/container-name-repos-map.json` in your `clair-config.yaml`file without the need for additional configuration.
27
27
28
-
* For standalone {productname} and Clair deployments, the mapping file must be loaded into the Clair pod.
29
-
30
-
* For {productname-ocp} deployments, you must set the Clair component to `unmanaged`. Then, Clair must be deployed manually, setting the configuration to load a local copy of the mapping file.
28
+
[IMPORTANT]
29
+
====
30
+
Although Red{nbsp}Hat Product Security updates the `repos2cpe` and `names2repos` files regularly, the versions included in the `Clair` container are only updated with {productname} releases (for example, version 3.14.1 -> 3.14.2). This can lead to discrepancies between the latest CPE files and those bundled with Clair."
31
+
====
31
32
32
33
[id="mapping-repositories-to-cpe-configuration"]
33
34
== Mapping repositories to Common Product Enumeration example configuration
@@ -37,13 +38,13 @@ Use the `repo2cpe_mapping_file` and `name2repos_mapping_file` fields in your Cla
For more information, see link:https://www.redhat.com/en/blog/how-accurately-match-oval-security-data-installed-rpms[How to accurately match OVAL security data to installed RPMs].
Copy file name to clipboardExpand all lines: modules/rn_3_14_0.adoc
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,13 @@ The following documentation changes have been made with the {productname} 3.14 r
27
27
28
28
The following updates have been made to {productname}.
29
29
30
+
[id="clair-enhancements"]
31
+
=== Clair enhancements
32
+
33
+
With this release, Clair indexer data is now included with downstream builds. This allows {productname} administrators to more easily reference indexers in the `clair-config.yaml` file when running Clair in an air-gapped or disconnected environment.
0 commit comments