Why do licences matter in an SBOM?

BeginnerConceptSBOM
Answer

Short answer

Every open-source component comes with a licence that sets rules for using it. Some (MIT, Apache-2.0, BSD) are permissive; others (GPL, AGPL) can require you to publish your own source code if you distribute or (for AGPL) offer the software as a network service. An SBOM with licence data lets legal and engineering spot risky licences before release.

Licence types

Type Examples Typical obligation
Permissive MIT, Apache-2.0, BSD Keep notices/attribution
Weak copyleft LGPL, MPL-2.0 Share changes to that component
Strong copyleft GPL-2.0/3.0 Share source of derived work when distributing
Network copyleft AGPL-3.0 Applies even for SaaS use

Tooling

trivy fs --scanners license --severity HIGH,CRITICAL .
syft shop-api:1.4.0 -o cyclonedx-json | jq '.components[].licenses'

Dependency-Track policies can alert on forbidden licences.

What to say in the interview

"SBOM licence data shows obligations — permissive licences need attribution, while GPL or AGPL can force source disclosure. We scan licences in CI and enforce a policy, like blocking AGPL in commercial products."

All Security Tools questions Roadmap: SBOM — software bill of materials

More on SBOM