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

SPDX Heuristic for Syft SPDX SBOMs #123

Open
lumjjb opened this issue Oct 4, 2022 · 3 comments
Open

SPDX Heuristic for Syft SPDX SBOMs #123

lumjjb opened this issue Oct 4, 2022 · 3 comments
Labels
long-term Things for the future

Comments

@lumjjb
Copy link
Contributor

lumjjb commented Oct 4, 2022

Right now, syft isnt putting the top level package as SPDX objects

I think for now we can add a PURL OCI reference type by heuristics based on the name in the document. But ill open an issue in Syft to include this as well (anchore/syft#1241).

The checksum is not currently stored, but would be good to also include "name" as the package ref

{
 "SPDXID": "SPDXRef-DOCUMENT",
 "name": "gcr.io/google-containers/kube-addon-manager-v8.9",
 "spdxVersion": "SPDX-2.2",
 "creationInfo": {
  "created": "2022-10-03T14:41:17.720701835Z",
  "creators": [
   "Organization: Anchore, Inc",
   "Tool: syft-0.58.0"
  ],
@lumjjb
Copy link
Contributor Author

lumjjb commented Oct 7, 2022

Heuristic implemented with #108

@lumjjb lumjjb closed this as completed Oct 7, 2022
@lumjjb lumjjb reopened this Oct 7, 2022
@lumjjb
Copy link
Contributor Author

lumjjb commented Oct 7, 2022

Keeping this open to track the upstream fix.

@lumjjb lumjjb added the long-term Things for the future label Oct 7, 2022
@pxp928
Copy link
Collaborator

pxp928 commented Oct 18, 2022

Add version to top level package #164 once upstream fix goes through

mrizzi added a commit to mrizzi/guac that referenced this issue Sep 17, 2024
Signed-off-by: mrizzi <mrizzi@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
long-term Things for the future
Projects
None yet
Development

No branches or pull requests

2 participants