trivy
trivy copied to clipboard
fix(sbom): use `NOASSERTION` for licenses fields in SPDX formats
Description
See more in #7397
Before:
"licenseConcluded": "NONE",
"licenseDeclared": "NONE",
After:
"licenseConcluded": "NOASSERTION",
"licenseDeclared": "NOASSERTION",
Related issues
- Close #7402
Checklist
- [x] I've read the guidelines for contributing to this repository.
- [x] I've followed the conventions in the PR title.
- [x] I've added tests that prove my fix is effective or that my feature works.
- [ ] I've updated the documentation with the relevant information (if needed).
- [ ] I've added usage information (if the PR introduces new options)
- [x] I've included a "before" and "after" example to the description (if the PR is a user interface change).