Interview Prep/DevSecOps/Supply chain: signing, SBOM and dependencies

Your SBOM lists component versions as `UNKNOWN` for half the JARs

IntermediateTroubleshootingSupply chain: signing, SBOM and dependencies
Answer

Likely causes → Shaded/fat JARs without pom.properties or manifest version info, so the generator cannot identify nested components.

Diagnose →

unzip -l app.jar | grep -E "pom.properties|MANIFEST.MF" | head
syft app.jar -o table | grep -i unknown

Fix → Generate the SBOM at build time with the build tool (CycloneDX Maven/Gradle plugin), which knows exact resolved versions, and merge it with the image SBOM.

Prevent → Build-tool SBOMs for application deps + image SBOMs for OS packages.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply chain: signing, SBOM and dependencies