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

bug(bom): panic when scanning CycloneDX file without metadata.component into SBOM format #7050

Closed
DmitriyLewen opened this issue Jun 28, 2024 Discussed in #7035 · 0 comments · Fixed by #7051
Closed

bug(bom): panic when scanning CycloneDX file without metadata.component into SBOM format #7050

DmitriyLewen opened this issue Jun 28, 2024 Discussed in #7035 · 0 comments · Fixed by #7051
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. scan/sbom Issues relating to SBOM
Milestone

Comments

@DmitriyLewen
Copy link
Contributor

Description

metadata.component is an optional field and can be empty.
We panic when scanning CycloneDX file without metadata.component into SBOM format.
See example in #7035

Discussed in #7035

@DmitriyLewen DmitriyLewen added kind/bug Categorizes issue or PR as related to a bug. scan/sbom Issues relating to SBOM labels Jun 28, 2024
@DmitriyLewen DmitriyLewen self-assigned this Jun 28, 2024
@DmitriyLewen DmitriyLewen added this to the v0.53.0 milestone Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. scan/sbom Issues relating to SBOM
Projects
None yet
1 participant