summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/variables.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-08-06 12:33:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-10 11:29:46 +0100
commit4c7e3b64bc9cefb05fa4a995e83bb0f90160a9fc (patch)
tree3af0de4c8c88564f93dfe0346c142f79f1cdfee8 /documentation/ref-manual/variables.rst
parent23e640b80933760fdfb65ac9f764b93a3cf298b5 (diff)
downloadpoky-4c7e3b64bc9cefb05fa4a995e83bb0f90160a9fc.tar.gz
manuals: further documentation for cve-check
This adds details about the actual implementation of vulnerability checks, about how to fix or ignore vulnerabilities in recipes, and documents the CVE_CHECK_PN_WHITELIST and CVE_CHECK_WHITELIST variables. (From yocto-docs rev: 55886d211218b3a604c2f8a29c854685ebf284dd) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r--documentation/ref-manual/variables.rst13
1 files changed, 12 insertions, 1 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 1150940133..f6d248a193 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -1471,11 +1471,22 @@ system and gives an overview of their function and contents.
1471 variable only in certain contexts (e.g. when building for kernel 1471 variable only in certain contexts (e.g. when building for kernel
1472 and kernel module recipes). 1472 and kernel module recipes).
1473 1473
1474 :term:`CVE_CHECK_PN_WHITELIST`
1475 The list of package names (:term:`PN`) for which
1476 CVEs (Common Vulnerabilities and Exposures) are ignored.
1477
1478 :term:`CVE_CHECK_WHITELIST`
1479 The list of CVE IDs which are ignored. Here is
1480 an example from the :oe_layerindex:`Python3 recipe</layerindex/recipe/23823>`::
1481
1482 # This is windows only issue.
1483 CVE_CHECK_WHITELIST += "CVE-2020-15523"
1484
1474 :term:`CVE_PRODUCT` 1485 :term:`CVE_PRODUCT`
1475 In a recipe, defines the name used to match the recipe name 1486 In a recipe, defines the name used to match the recipe name
1476 against the name in the upstream `NIST CVE database <https://nvd.nist.gov/>`__. 1487 against the name in the upstream `NIST CVE database <https://nvd.nist.gov/>`__.
1477 1488
1478 The default is ${:term:`BPN`}. If it does not match the name in NIST CVE 1489 The default is ${:term:`BPN`}. If it does not match the name in the NIST CVE
1479 database or matches with multiple entries in the database, the default 1490 database or matches with multiple entries in the database, the default
1480 value needs to be changed. 1491 value needs to be changed.
1481 1492