Skip to content
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

Security: Fix markdown and add external property restriction for "to" #329

Merged
merged 2 commits into from
May 14, 2023

Conversation

meretp
Copy link
Contributor

@meretp meretp commented May 12, 2023

Looking at the generated documentation fro the model, I noticed that the property security:withdrawn isn't assigned correctly. This was caused by the wrong title in the markdown file for withdrawnTime.

The to property for Relationship is optional since #293. From the descriptions in the security relationships I think the to property should be mandatory for all security relationships.

Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
…ity relationships

Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
Copy link
Member

@goneall goneall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree - good catches @meretp

Copy link
Collaborator

@puerco puerco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this @meretp.

I am surprised and not very happy about the minCount:0 cardinality of to. Having it optional challenges the idea of a relationship itself :/ At least this makes sure we don't get an incomplete assessment.

@goneall goneall merged commit 0e77c1d into spdx:main May 14, 2023
@meretp meretp deleted the fix-security-reference branch May 15, 2023 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants