Interview Prep/DevSecOps/Supply Chain Security

CycloneDX or SPDX: which do you choose?

IntermediateScenarioSupply Chain Security
Answer

Situation read → Both are accepted standards. The choice depends on consumers.

What I'd do →

  1. Use CycloneDX for security use cases: native VEX, services, and wide support in Dependency-Track and Grype.
  2. Use SPDX where licence compliance or regulatory submissions require it (ISO/IEC 5962).
  3. Generate both if needed; syft app:1.0 -o cyclonedx-json -o spdx-json.
  4. Validate with the format's schema and a tool like sbomqs.

Why → Pick by consumer requirements, not preference.

Interview tip → Both are fine; the real question is completeness and accuracy.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply Chain Security