Add package hash information in the generated SBOM for NuGet
What does this MR do and why?
This MR Adds package hash information to NuGet SBOMs by extracting SHA512 ContentHash values from the lock files, converting them from base64 to hex, and including them in the generated SBOM components. This enhancement involves updating both the NuGet parser to extract hash data and the CycloneDX converter to include hash information in the output.
Related issues
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Edited by Oscar Tovar