Skip to content

User Question: Selection List schema inconsistencies #1206

Description

@peinjoh

Hey there,

we're building https://github.com/csaf-rs/ssvc as part of the CSAF rust ecosystem. During the implementation of the SSVC validation, I came across some inconsistencies that I would like to discuss:

  1. In the SelectionList JSON schema, the Reference def has this description:

A reference to a resource that provides additional context about the decision points or selections. This object is intentionally minimal and contains only the URL and an optional description.

The object has onl two properties uri and summary, but both are listed as required, which contradicts the description, which lists summary as optional. Further, if summary being required is correct, I would suggest some minLength to prevent empty strings in an required field.

  1. The SelectionList JSON schema defines selections as an array of def Selection with at least one element.
    To my understanding, the python implementation does not check if multiple of the same decision point (i.e. same namespace, key, version) are provided in selections. Which information is conveyed by having, for example, two ssvc E version 1.1.0 selections (potentially with contradicting values)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions