GuideSupply chain
Licenses
Check every third-party package against your license policy, see which repositories pull in a denied or unknown license, and record exceptions with a reason and an end date.
| Package | Version | License | Verdict | Ecosystem | Repositories |
|---|---|---|---|---|---|
pdf-maker |
2.3.0 |
AGPL-3.0-only |
denied | npm | 1 |
chart-core |
1.8.4 |
GPL-3.0-or-later |
denied | npm | 2 |
locale-data |
0.4.1 |
LGPL-2.1-only |
needs review | npm | 5 |
example.org/codec |
0.2.0 |
— | unknown | Go | 1 |
Counts compare with the scans about a week ago.
What the page shows
Section titled “What the page shows”The newest license scan of every repository you may read analyses of, in four parts:
- The strip: packages checked, denied, need review and unknown license, each with its change against the scans about a week older. Under My teams the counts sum your teams’ repositories, without changes.
- The license mix as a bar.
- Violations: denied, not-allowed and unknown packages with their versions, licenses and repositories. Filter by verdict and ecosystem, sort, and use the scope switch for teams.
- Repositories: one row per repository with its counts per verdict, whether it has a license file and when it was last scanned. A row opens the repository hub’s Supply chain tab.
Below them sits the policy summary. Its Edit opens the license settings. You see the policy only with settings:read on the organization.
Verdicts
Section titled “Verdicts”Every package gets one verdict when the scan runs; the scan stores the policy it used, so a report always shows what was decided then.
| Verdict | Meaning |
|---|---|
| allowed | Its license matches the allow list. |
| needs review | Matches neither list, or matches the review list. Weak copyleft such as LGPL lands here by default. |
| denied | Matches the deny list. A violation. |
| unknown | The registry declares nothing usable. A warning, or a violation if the policy says so. |
| excepted | Would not pass, but an exception accepts it. Not a violation. |
| internal | Published by one of your own repositories; not judged. |
| ignored | Its name is on the ignore list, or it is dev-only and the policy skips dev dependencies. |
Expressions are judged as SPDX defines them: MIT OR GPL-3.0 takes the better side and is allowed, MIT AND GPL-3.0 takes the worse and is denied.
Inspect a violation
Section titled “Inspect a violation”Click a violation, or move with J / K and press ↵.
denied
npm2 of 18Add exception…Copy request- Declared license
- GPL-3.0-or-later
- Verdict
- denied
- Rule
- deny: GPL-*
Repositories lists where the package is used, with versions and lockfiles. Policy shows the declared license, the verdict and the rule behind it.
Copy request copies a note asking the team to find an alternative package, ready to paste into a ticket or a chat.
Add an exception
Section titled “Add an exception”Sometimes a license is fine for one package: a legal sign-off, a commercial license bought separately. Add exception… accepts it. It needs settings:write.
- Open the violation and choose Add exception….
- Keep the package name, optionally narrow it to the declared license, and write the reason.
- Pick a last day if the exception should run out.
- Save. The entry goes into the license settings that apply to the package’s repositories, or into a new entry for repositories on the defaults.
The next scan turns the package excepted. Once the last day has passed, the next scan judges it again.
Set the policy
Section titled “Set the policy”The policy is the analyzers.licenses setting, scoped like every setting. Presets set the allow list, the deny list and the handling of unknown licenses together:
| Preset | For | Allows | Denies | Unknown |
|---|---|---|---|---|
commercial |
products shipped to customers | permissive | GPL, AGPL, source-available | warning |
no-copyleft |
code that must stay permissive | permissive | every copyleft, source-available | violation |
open-source |
projects under a free license | permissive, weak copyleft, GPL, AGPL, EUPL | source-available | warning; repository needs a license file |
internal |
never distributed outside | permissive, weak copyleft, GPL | AGPL, source-available | warning |
flag-missing |
on top of any policy | unchanged | unchanged | violation; repository needs a license file |
Without a setting, permissive licenses (MIT, ISC, BSD, Apache-2.0 and similar) are allowed and GPL-*, AGPL-* and SSPL-* are denied. Further options:
{ "review": ["MPL-2.0"], "ignore": ["@acme/*"], "unknown": "violation", "devDependencies": "ignore", "requireProjectLicense": true}| Option | Effect |
|---|---|
review |
Licenses that need a sign-off even when the allow list matches. |
ignore |
Package names (globs) whose licenses are not judged. |
unknown |
warn (default) reports unknown licenses apart; violation judges them. |
devDependencies |
ignore skips packages only dev dependencies pull in. |
requireProjectLicense |
Warns when a repository has no license file at its root. |
In one repository
Section titled “In one repository”The repository hub’s Supply chain tab shows the same view for one repository, and says when it has no license scan yet.
Related
Section titled “Related”- Libraries — licenses next to every library’s versions.
- Settings › Analyzers — switch the licenses analyzer and set its options.
- License analyzer — how packages are found and judged.
- Agents › Tools —
evaluate_dependencyshows a dependency’s licenses to coding agents.