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

Add cwe as ExternalRefType #711

Merged
merged 1 commit into from
Apr 13, 2024
Merged

Add cwe as ExternalRefType #711

merged 1 commit into from
Apr 13, 2024

Conversation

rnjudge
Copy link
Collaborator

@rnjudge rnjudge commented Apr 10, 2024

Per discussion in the April 10 Security call, this commit adds cwe (common weakness enumeration) as an ExternalIdentifierType.

Closes spdx/spdx-spec#102

@rnjudge rnjudge added this to the 3.0 milestone Apr 10, 2024
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.

I think this is not correct.

A CWE string is not an identifier like a CVE number is, for example. A vulnerability can have as its root cause more than one CWE.

The CWE strings are a reference to a catalog of vulnerability categories. As per your definitions in #710, I think an ExternalRef fits better.

Per discussion in the April 10 Security call, this commit adds cwe
(common weakness enumeration) as an ExternalRefType.

Closes spdx/spdx-spec#102

Signed-off-by: Rose Judge <[email protected]>
@rnjudge
Copy link
Collaborator Author

rnjudge commented Apr 11, 2024

Thanks @puerco! PR updated.

@rnjudge rnjudge changed the title Add cwe as ExternalIdentifierType Add cwe as ExternalRefType Apr 11, 2024
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.

Awesome, thanks!

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.

LGTM

@goneall goneall merged commit 3497410 into spdx:main Apr 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add weakness enumeration to SPDX
3 participants