-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft: Support multiple purl identifiers in product_identification_helper #781
base: master
Are you sure you want to change the base?
Conversation
I'm unsure how to modify the examples to get the final text to build. When I run the make command, I get:
|
abefd8e
to
757ee67
Compare
csaf_2.1/prose/edit/src/schema-elements-01-defs-03-full-product-name.md
Outdated
Show resolved
Hide resolved
@mprpic Thank you for the Draft. I didn't had time yet to do a complete review but here are some quick comments:
|
757ee67
to
f6e7b8c
Compare
This allows a vendor to specify multiple purl identifiers for a single component (present as a product version branch in the product tree). Multiple purls may identify the same component but point to different locations from where that component may be available. Thus, it is mandatory that if multiple purls are present in a single product_identification_helper object, they must only differ in their qualifiers. Otherwise they should be set up as different product tree branches.
f6e7b8c
to
ec4efed
Compare
Ack, I can move it to its own section with examples. Do you care if the original one remains as is and a new one is added with the next test number, i.e.
Done!
So that's any changes to files under
Done! |
Please keep the old file as they were (except for correcting the structure that changed). The new test should be
No. It was specific to the change of brackets (which then resulted in #787). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please have a look at the suggested changes.
"title": "List of package URLs", | ||
"description": "Contains a list of package URLs (purl).", | ||
"type": "array", | ||
"minItems": 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess those should be unique...
"minItems": 1, | |
"minItems": 1, | |
"uniqueItems": true, |
@@ -228,14 +228,14 @@ A string SHOULD NOT have a length greater than: | |||
* `/document/references[]/summary` | |||
* `/document/tracking/revision_history[]/summary` | |||
* `/product_tree/branches[]/product/product_identification_helper/cpe` | |||
* `/product_tree/branches[]/product/product_identification_helper/purl` | |||
* `/product_tree/branches[]/product/product_identification_helper/purls[]` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/product_tree/*/product/product_identification_helper/purl
(in all possible instances need also to be added to the array section.
List of purls (`purls`) of value type `array` with 1 or more items contains a list of package URL (purl) identifiers. | ||
A purl is a `string` of 7 or more characters that meets the criteria of `pattern` (regular expression): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure that aligns with other sections that use an array, e.g. remediations or notes.
If multiple purls are specified, they MUST only differ in their qualifiers. Otherwise, separate product branches should | ||
be used to differentiate between the components. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If multiple purls are specified, they MUST only differ in their qualifiers. Otherwise, separate product branches should | |
be used to differentiate between the components. | |
If multiple purls are specified, they SHALL only differ in their qualifiers. | |
Otherwise, separate product branches should be used to differentiate between the components. |
This allows a vendor to specify multiple purl identifiers for a single component (present as a product version branch in the product tree). Multiple purls may identify the same component but point to different locations from where that component may be available. Thus, it is mandatory that if multiple purls are present in a single
product_identification_helper object, they must only differ in their qualifiers. Otherwise they should be set up as different product tree branches.
Resolves #774