Skip to content

Commit

Permalink
Schema
Browse files Browse the repository at this point in the history
- addresses parts of oasis-tcs#616
- add conversion rule
- update places where conformance still referred to 2.0
  • Loading branch information
tschmidtb51 committed Jun 24, 2024
1 parent c3d6662 commit 9a0d365
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions csaf_2.1/prose/edit/src/conformance.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ A CSAF content management system satisfies the "CSAF content management system"
new advisories for that group. He might also do the user management for the group up to a configured level.
* prefills the following fields in new CSAF documents with the values given below or based on the templates from configuration:
* `/document/csaf_version` with the value `2.0`
* `/$schema` with the value prescribed by the schema
* `/document/csaf_version` with the value prescribed by the schema
* `/document/language`
* `/document/notes`
* `legal_disclaimer` (Terms of use from the configuration)
Expand All @@ -286,7 +287,8 @@ A CSAF content management system satisfies the "CSAF content management system"
* prefills all fields which have be present in the existing CSAF document
* adds a new item in `/document/tracking/revision_history[]`
* updates the following fields with the values given below or based on the templates from configuration:
* `/document/csaf_version` with the value `2.0`
* `/$schema` with the value prescribed by the schema
* `/document/csaf_version` with the value prescribed by the schema
* `/document/language`
* `/document/notes`
* `legal_disclaimer` (Terms of use from the configuration)
Expand Down Expand Up @@ -513,6 +515,8 @@ Secondly, the program fulfills the following for all items of:
* type `/$defs/full_product_name_t/cpe`: If a CPE is invalid, the CSAF 2.0 to CSAF 2.1 converter SHOULD removed the invalid value and output a
warning that an invalid CPE was detected and removed. Such a warning MUST include the invalid CPE.
* `/$schema`: The CSAF 2.0 to CSAF 2.1 converter MUST set property with the value prescribed by the schema.
* `/document/csaf_version`: The CSAF 2.0 to CSAF 2.1 converter MUST update the value to `2.1`.
* `/document/distribution/tlp/label`: If a TLP label is given, the CSAF 2.0 to CSAF 2.1 converter MUST convert it according to the table below:
| CSAF 2.0 (using TLP v1.0) | CSAF 2.1 (using TLP v2.0) |
Expand Down

0 comments on commit 9a0d365

Please sign in to comment.