fossa_enable_security_policy
Assign a FOSSA security policy to a project and enable enforcement that blocks packages violating it. Activates security scanning and status check.
Instructions
Assign a FOSSA security policy to a project and turn on the enforcement that blocks packages violating it.
WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true.
Blocking in FOSSA is the combination of an assigned security policy (which
decides what counts as a violation), security issue scanning (which finds
violations), and the security status check (which fails the build). This
tool sets all three. security_policy_id is the numeric id from the
policy's FOSSA URL; the API exposes no way to list policies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable_scanning | No | ||
| project_locator | Yes | ||
| security_policy_id | Yes | ||
| enable_status_check | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||