hound_license_check
Scan a lockfile to check license compliance of dependencies and flag violations based on your chosen policy.
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, Cargo.lock, go.sum, Gemfile.lock | |
| lockfile_content | Yes | Full text content of the lockfile |