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

spdxtagvalue report is missing a "document DESCRIBES container" relationship #1079

Closed
rnjudge opened this issue Nov 4, 2021 · 0 comments · Fixed by #1081
Closed

spdxtagvalue report is missing a "document DESCRIBES container" relationship #1079

rnjudge opened this issue Nov 4, 2021 · 0 comments · Fixed by #1081

Comments

@rnjudge
Copy link
Contributor

rnjudge commented Nov 4, 2021

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

  1. Generate an SPDX tag value report
  2. Search for "DESCRIBES" anywhere in the resulting document and notice that it does not exist.

Error in terminal
According to the SPDX Spec, SPDX requires at least one relationship and that relationship is SBOM to artifact, implemented by using the "DESCRIBES" relationship when more than one package or set of files is present:

An SPDX document WildFly.spdx describes package ‘WildFly’. Note this is a logical relationship to help organize related items within an SPDX document that is mandatory if more than one package or set of files (not in a package) is present.

Expected behavior
There should be a "DESCRIBES" relationship between the SPDXRef-DOCUMENT and the SPDXRef-ContainerImage in the tag value document. The SPDX JSON document contains this relationship.

rnjudge added a commit to rnjudge/tern that referenced this issue Nov 8, 2021
The SPDX spec requires at least one DESCRIBES SBOM to artifact
relationship in cases where "more than one package or set of
files (not in a package) is present". This commit adds the describes
relationship that was missing in the spdxtagvalue report.

Resolves tern-tools#1079

Signed-off-by: Rose Judge <[email protected]>
nishakm pushed a commit that referenced this issue Nov 11, 2021
The SPDX spec requires at least one DESCRIBES SBOM to artifact
relationship in cases where "more than one package or set of
files (not in a package) is present". This commit adds the describes
relationship that was missing in the spdxtagvalue report.

Resolves #1079

Signed-off-by: Rose Judge <[email protected]>
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 a pull request may close this issue.

1 participant