hound_license_check
Resolve licenses for all dependencies from a lockfile and flag packages that violate the selected license policy (permissive, copyleft, none).
Instructions
Scan a lockfile for license compliance. Resolves licenses for every dependency and flags packages that violate the chosen policy (permissive, copyleft, or none).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | License policy to enforce: 'permissive' (MIT/Apache/BSD only), 'copyleft' (allows GPL but not AGPL), 'none' (report only, no violations) | permissive |
| lockfile_name | Yes | Filename: package-lock.json, yarn.lock, pnpm-lock.yaml, requirements.txt, poetry.lock, Cargo.lock, go.sum, Gemfile.lock, Pipfile.lock | |
| lockfile_content | Yes | Full text content of the lockfile |