From 1014e78689425c160d0d2a0515a6d98fc61c6532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Prpi=C4=8D?= Date: Wed, 16 Oct 2024 11:50:21 -0400 Subject: [PATCH] Update links to schema docs in help texts --- cvelib/cli.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cvelib/cli.py b/cvelib/cli.py index 69da913..308151c 100644 --- a/cvelib/cli.py +++ b/cvelib/cli.py @@ -350,8 +350,7 @@ def publish( For information on the required properties in a given CNA container of a CVE record, see the schema in:\n - https://github.com/CVEProject/cve-schema/blob/master/schema/v5.0/CVE_JSON_5.0_schema.json - https://cveproject.github.io/cve-schema/schema/v5.0/docs/#oneOf_i0_containers_cna + https://cveproject.github.io/cve-schema/schema/docs/ Because the CVE Services API only expects the CNA container contents of the full CVE v5 record, the data you pass to this command can specify just the attributes defined by the @@ -443,8 +442,7 @@ def publish_adp( For information on the required properties in a given ADP container of a CVE record, see the schema in:\n - https://github.com/CVEProject/cve-schema/blob/master/schema/v5.0/CVE_JSON_5.0_schema.json - https://cveproject.github.io/cve-schema/schema/v5.0/docs/#oneOf_i0_containers_adp + https://cveproject.github.io/cve-schema/schema/docs/ Because the CVE Services API only expects the ADP container contents of the full CVE v5 record, the data you pass to this command can specify just the attributes defined by the adpContainer @@ -535,7 +533,7 @@ def reject( cve reject CVE-2022-1234 -f v5_reject_record.json For information on the required properties in a given CVE JSON record, see the schema in:\n - https://github.com/CVEProject/cve-schema/blob/master/schema/v5.0/CVE_JSON_5.0_schema.json + https://cveproject.github.io/cve-schema/schema/docs/ Because the CVE Services API only expects the cnaRejectedContainer contents of the full record, the record you pass to this command can specify just that data, and not the full record.