fossa_set_custom_risk_score
Override FOSSA's default risk ranking for a vulnerability issue by assigning a custom risk score (0-100) within a project or release group.
Instructions
Set FOSSA's own custom risk score (0-100) on a vulnerability issue, within one project or release group.
WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true.
This overrides how FOSSA ranks the issue for everyone in the organization
who looks at that scope. It is FOSSA's stored customRiskScore field, which
is null on every issue until something sets it — unrelated to any risk score
this server or its skills compute locally.
action must be stated: FOSSA publishes no endpoint that reads a custom
risk score back, so the tool cannot tell whether one already exists.
create on an issue that already has one, or update on an issue that does
not, is an error from FOSSA. scope_id is a project locator when
scope_type is project, and a release group id when it is
release_group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | ||
| action | Yes | ||
| reason | No | ||
| issue_id | Yes | ||
| scope_id | Yes | ||
| scope_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||