fossa_assign_package_labels
Assign existing package labels to a package in FOSSA. Preserves current assignments, ignores duplicates, and targets a specific version or all versions.
Instructions
Assign one or more existing package labels to a single package.
WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true.
Additive: existing assignments are left alone and duplicates are ignored.
Exactly one of package_version and apply_to_all_versions must be given —
FOSSA reads a missing version as "every version of this package", so the
wide form has to be asked for by name. scope_id identifies the project or
revision and must be omitted for org scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| scope_id | No | ||
| label_ids | Yes | ||
| package_id | Yes | ||
| package_version | No | ||
| apply_to_all_versions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||