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."
More on SBOM
What is an SBOM and how do you generate one?BeginnerWhat is an SBOM and why does it matter?BeginnerWhat are SPDX and CycloneDX?BeginnerHow do you generate an SBOM with Syft?BeginnerHow do you scan an SBOM for vulnerabilities with Grype or Trivy?BeginnerWhat should an SBOM contain? (NTIA minimum elements)Intermediate