diff mbox series

[1/2] conf.py: add macro for Mitre CVE links

Message ID 20230524172724.393781-1-michael.opdenacker@bootlin.com
State New
Headers show
Series [1/2] conf.py: add macro for Mitre CVE links | expand

Commit Message

Michael Opdenacker May 24, 2023, 5:27 p.m. UTC
From: Michael Opdenacker <michael.opdenacker@bootlin.com>

Useful for CVEs that are not found (yet) on https://nvd.nist.gov/

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
---
 documentation/conf.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/documentation/conf.py b/documentation/conf.py
index bd45a73fa6..a64685ec9b 100644
--- a/documentation/conf.py
+++ b/documentation/conf.py
@@ -91,6 +91,7 @@  rst_prolog = """
 # external links and substitutions
 extlinks = {
     'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
+    'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'),
     'yocto_home': ('https://www.yoctoproject.org%s', None),
     'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None),
     'yocto_dl': ('https://downloads.yoctoproject.org%s', None),