Skip to content

Commit ac50d6e

Browse files
authored
Merge pull request #1325 from tschmidtb51/add-csaf-rvisc-id-updater
Add CSAF RVISC ID Updater
2 parents 5f1b92f + 7a90138 commit ac50d6e

File tree

4 files changed

+36
-1
lines changed

4 files changed

+36
-1
lines changed

csaf_2.1/prose/edit/etc/section-display-to-label.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@
368368
"9.1.23": "conformance-clause-23-csaf-downloader",
369369
"9.1.24": "conformance-clause-24-csaf-withdrawer",
370370
"9.1.25": "conformance-clause-25-csaf-superseder",
371+
"9.1.26": "conformance-clause-25-csaf-rvisc-id-updater",
371372
"Appendix A.": "acknowledgments",
372373
"Appendix B.": "revision-history",
373374
"Appendix C.": "guidance-on-the-size-of-csaf-documents",

csaf_2.1/prose/edit/src/conformance.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ The entities ("conformance targets") for which this document defines requirement
5656
* **CSAF Downloader**: A program that retrieves CSAF Documents in an automated fashion.
5757
* **CSAF Withdrawer**: A CSAF Post-Processor that transforms a given CSAF into a Withdrawn one.
5858
* **CSAF Superseder**: A CSAF Post-Processor that transforms a given CSAF into a Superseded one.
59+
* **CSAF RVISC ID Updater**: A CSAF Post-Processor that updates vulnerability IDs in a given CSAF based on the entries in [cite](#RVISC).
5960

6061
### Conformance Clause 1: CSAF Document
6162

@@ -1106,4 +1107,31 @@ A program satisfies the "CSAF Superseder" conformance profile if the program:
11061107
11071108
> A tool MAY implement an option to additionally remove any element that would hinder the production of a valid CSAF.
11081109
1110+
### Conformance Clause 26: CSAF RVISC ID Updater
1111+
1112+
A program satisfies the "CSAF RVISC ID Updater" conformance profile if the program fulfills the two following groups of requirements:
1113+
1114+
The program:
1115+
1116+
* satisfies the "CSAF Post-Processor" conformance profile.
1117+
* applies the corresponding assignment from [cite](#RVISC-M) to each item in `/vulnerabilities[]/ids[]`
1118+
whose `system_name` is not contained in [cite](#RVISC-R).
1119+
* applies the corresponding assignment from [cite](#RVISC-M) to each item in `/vulnerabilities[]/ids[]`
1120+
whose `system_name` is contained in [cite](#RVISC-R) but the `text` does not conform the entry.
1121+
* satisfies the normative requirements given below.
1122+
1123+
The program MUST provide the following options:
1124+
1125+
* an option to insert an automatically generated revision history entry detailing the changes applied and
1126+
make necessary updates to elements in `/document/tracking` (commit mode).
1127+
* an option to set selected or all parameters for the commit mode manually which take precedence over the automated generated values.
1128+
* an option to do a dry-run which does not apply the changes but just displays them.
1129+
* an option to interactively accept or discard changes.
1130+
* an option to ignore certain values for `system_name`.
1131+
* an option to output all items in `/vulnerabilities[]/ids[]` whose `system_name` is not contained in [cite](#RVISC-R).
1132+
* an option to output all items in `/vulnerabilities[]/ids[]` whose `system_name` is contained in [cite](#RVISC-R)
1133+
but the `text` does not conform the entry.
1134+
* an option to map an existing `system_name` to a new value or apply a transformation to a `text`
1135+
based on the `system_name` value and a `precondition`.
1136+
11091137
-------

csaf_2.1/prose/edit/src/introduction-02-terminology-glossary.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ required by CSAF Management System as well as matching them to SBOM components o
8686
CSAF Producer
8787
: program that emits output in the CSAF format.
8888

89+
CSAF RVISC ID Updater
90+
: A CSAF Post-Processor that updates vulnerability IDs in a given CSAF based on the entries in RVISC.
91+
8992
CSAF Superseder
9093
: A CSAF Post-Processor that transforms a given CSAF into a superseded one.
9194

csaf_2.1/prose/edit/src/introduction-04-informative-references.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ RVISC
109109
: _Registry for Vulnerability ID Systems for CSAF (RVISC)_, Part of the OASIS CSAF TC Registry, <https://registry.csaf.dev/id/>.
110110

111111
RVISC-M
112-
: _Mapping for RVISC_, Mapping Part of the OASIS CSAF TC Registry, <https://registry.csaf.dev/id/mapping/>.
112+
: _Mapping for RVISC_, RVISC Mapping Part of the OASIS CSAF TC Registry, <https://registry.csaf.dev/id/mapping/>.
113+
114+
RVISC-R
115+
: _Registry for RVISC_, RVISC Registry Part of the OASIS CSAF TC Registry, <https://registry.csaf.dev/id/registry/>.
113116

114117
SCAP12
115118
: _The Technical Specification for the Security Content Automation Protocol (SCAP): SCAP Version 1.2_, D. Waltermire, S. Quinn, K. Scarfone, A. Halbardier, Editors, NIST Spec. Publ. 800‑126 rev. 2, September 2011, <https://dx.doi.org/10.6028/NIST.SP.800-126r2>.

0 commit comments

Comments
 (0)