You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(matchers): declare supported ecosystems on built-in matchers
`sdk.MatcherDescriptor.SupportedEcosystems` existed but no built-in matcher
populated it, and an empty list reads as "all ecosystems". That was wrong for
deps.dev and Grype, which both silently skip packages they cannot map.
- deps.dev now declares the seven ecosystems `depsDevSystem` accepts.
- Grype declares its set per build tag: builtin mode mirrors the
`ecosystemToSyftType` mapping (19 ecosystems), while external mode stays nil
because the grype CLI derives coverage from PURLs and is unbounded.
- OSV and Scorecard keep nil, now with comments explaining why that is
accurate rather than unset: OSV queries by PURL so OSV.dev decides coverage,
and Scorecard is bounded by GitHub source-repo resolution, not by ecosystem.
- The three auditors document that they are ecosystem-agnostic by construction.
Drift tests keep both declarations in step with the mappings they mirror. The
generated matcher docs now carry an Ecosystems row, and `bomly plugins list`
gains an ECOSYSTEMS column for matchers ("all" when unbounded).
Noted while mapping Grype: apk, dpkg, and rpm packages are typed but reach
Grype without a distro, and its OS matchers are distro-namespace driven, so
they currently match nothing. They are declared because the mapping exists;
plumbing the distro through is left for a separate change.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Run with `--enrich` when you want license metadata from deps.dev.
20
21
21
22
## What `depsdev-license-matcher` does
22
23
23
-
`depsdev-license-matcher` fetches package metadata from [deps.dev](https://deps.dev) (Google's open package metadata service) and attaches license information to packages that the detector did not resolve a license for. deps.dev coverage is strongest for npm, Go, Maven, NuGet, PyPI, Cargo, and RubyGems.
24
+
`depsdev-license-matcher` fetches package metadata from [deps.dev](https://deps.dev) (Google's open package metadata service) and attaches license information to packages that the detector did not resolve a license for. It covers the ecosystems listed in the table above; packages from any other ecosystem are skipped.
0 commit comments