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 support for map fields in CycloneDX (XML and JSON) #1032

Closed
jonasagx opened this issue Jun 6, 2022 · 0 comments
Closed

Add support for map fields in CycloneDX (XML and JSON) #1032

jonasagx opened this issue Jun 6, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jonasagx
Copy link
Contributor

jonasagx commented Jun 6, 2022

What would you like to be added:
Map field support to cycloneDX

Why is this needed:
Golang bin metadata has a map with info of how a package was built.

Additional context:
Golang bin metadata has a map of values which is dropped when output format is cyclonedx (XML and JSON). Right now syft alerts that some data was skipped from the output:

$ syft (which syft) -o cyclonedx-xml | bat 
 ✔ Indexed /usr/local/bin/syft
 ✔ Cataloged packages      [215 packages]
[0000]  WARN skipping encoding of unsupported property: syft:metadata:goBuildSettings
[0000]  WARN skipping encoding of unsupported property: syft:metadata:goBuildSettings
[0000]  WARN skipping encoding of unsupported property: syft:metadata:goBuildSettings
[0000]  WARN skipping encoding of unsupported property: syft:metadata:goBuildSettings
[0000]  WARN skipping encoding of unsupported property: syft:metadata:goBuildSettings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants