fossa_unblock_package
Removes a package's blocked-dependency rule from a FOSSA quality policy, unblocking the package.
Instructions
Remove a package's blocked-dependency rule from one FOSSA quality policy.
WRITES TO FOSSA, DESTRUCTIVELY. Requires FOSSA_ALLOW_WRITES=true and FOSSA_ALLOW_DESTRUCTIVE=true.
FOSSA has no delete for a single rule. Unblocking rewrites the policy's
entire rule set with the rules that should survive, and the API offers no
precondition to make that safe — a second caller editing the same policy
concurrently will silently undo this change, or have theirs undone. The
surviving rules this tool is about to send are reported in
data.rules_sent.
Every rule that is not a block on package_locator is preserved. If the
policy carries no such block, nothing is sent and the policy is left alone.
This uses an endpoint FOSSA does not document, captured from its web app. It may change without notice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | ||
| package_locator | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||