fossa_set_license_conclusion
Set or remove a license conclusion on a dependency revision to override FOSSA's detected licenses, determining reported licensing issues and attribution.
Instructions
Add a license to, or remove one from, the concluded licenses FOSSA reports for a dependency revision.
WRITES TO FOSSA. action="conclude" requires FOSSA_ALLOW_WRITES=true; action="unconclude" additionally requires FOSSA_ALLOW_DESTRUCTIVE=true, and so does any conclusion at organization or global scope.
A conclusion overrides what FOSSA's scanners detected, so it decides which
licensing issues exist and what the attribution report says. scope is
required and never defaults: "project" needs project_locator, "revision"
needs project_locator and revision_locator, "release_group" needs
release_group_id, "release" needs both release ids, "organization" needs
organization_id, and "global" is FOSSA-admin only and applies to every
organization. Pass origin_id to have FOSSA rescan that revision or release
for issues afterwards. Requires Edit permission on the dependency revision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| action | Yes | ||
| origin_id | No | ||
| license_id | Yes | ||
| release_id | No | ||
| organization_id | No | ||
| project_locator | No | ||
| release_group_id | No | ||
| revision_locator | No | ||
| dependency_revision_locator | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||