-
Notifications
You must be signed in to change notification settings - Fork 572
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 ALPM Metadata to CYCLONEDX and SPDX output formats #1037
Comments
The specific struct in question is https://github.com/anchore/syft/pull/943/files#diff-11846c0455726b6119b5b2e0fb893a6a56af1ed0fd2549e97ab65b0322c05cbbR15 |
If anyone's interested in tackling this issue, you can start by looking at the structure here: https://github.com/anchore/syft/blob/main/syft/pkg/alpm_metadata.go#L17-L29 Notice that right now there is only one item with a CycloneDX tag in it: |
@wagoodman @tgerla I would like work on this item. One question, I understand how to add the CycloneDX tag to the ALPM Metadata, however how is this done with SPDX? Does it just pick up based on CycloneDX tag? Wondering this as I didn't seem to find a |
Would it be something like Size int `mapstructure:"size" json:"size" cyclonedx:"size" spdx: "size"` or Size int `mapstructure:"size" json:"size" cyclonedx:"size" spdxjson:"size"` ? |
@shanedell the |
Closes anchore#1037 Signed-off-by: Shane Dell <shanedell100@gmail.com>
What would you like to be added:
ALPM package parsing/identification has been added to Syft as of #943.
The next step is getting the metadata for those packages output into both SPDX and CycloneDX. Currently, the package metadata is only available within the SYFT-JSON format.
Why is this needed:
Information parity across formats.
Additional context:
See #943 for details on how the metadata was constructed for SYFT-JSON
The text was updated successfully, but these errors were encountered: