---
title: "syft licence policy"
description: "Builds an SBOM with syft and flags copyleft licences: strong (AGPL, GPL, SSPL, EUPL, OSL) as medium, weak (LGPL, MPL, EPL, CDDL) as low, and one aggregated info finding for packages with no licence. Set settings[\"code.syft-licenses\"].sbomOut to also write the CycloneDX SBOM to that path. Policy relevance depends on how the project is distributed, so it is opt-in."
url: https://openaudit.se/auditors/code.syft-licenses/
---

# syft licence policy

`code.syft-licenses`

Builds an SBOM with syft and flags copyleft licences: strong (AGPL, GPL, SSPL, EUPL, OSL) as medium, weak (LGPL, MPL, EPL, CDDL) as low, and one aggregated info finding for packages with no licence. Set settings["code.syft-licenses"].sbomOut to also write the CycloneDX SBOM to that path. Policy relevance depends on how the project is distributed, so it is opt-in.

- **Engine:** Wrapped scanner
- **Wraps:** `syft`
- **Targets:** Codebase
- **Areas:** Supply chain, Compliance
- **Runs:** Opt-in: only when selected with --only
- **Network:** Only the target itself

## Run only this auditor

```sh
bunx @openaudit/cli . --only code.syft-licenses
```

Wraps syft. When it isn't installed, the auditor is skipped with an install hint and the rest of the audit runs.

## More supply chain auditors

- [Vulnerable dependencies](https://openaudit.se/auditors/code.dependencies/) (`code.dependencies`)
- [Dependency health](https://openaudit.se/auditors/code.dependency-health/) (`code.dependency-health`)
- [End-of-life runtimes and frameworks](https://openaudit.se/auditors/code.eol/) (`code.eol`)
- [Lockfile integrity and install scripts](https://openaudit.se/auditors/code.lockfiles/) (`code.lockfiles`)
- [osv-scanner dependency scan](https://openaudit.se/auditors/code.osv-scanner/) (`code.osv-scanner`)
- [govulncheck (Go vulnerabilities)](https://openaudit.se/auditors/code.govulncheck/) (`code.govulncheck`)
- [pip-audit (Python vulnerabilities)](https://openaudit.se/auditors/code.pip-audit/) (`code.pip-audit`)
- [cargo-audit (Rust advisories)](https://openaudit.se/auditors/code.cargo-audit/) (`code.cargo-audit`)
