Skip to main content
PATCH
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.

Path Parameters

repositoryId
string<uuid>
required

UUID of the repository. Use the id field of a repository from listRepositories.

Body

application/json
supply_chain_enabled
boolean

When true, Strix scans the dependencies of this repository.

supply_chain_pr_checks_enabled
boolean

When true, Strix checks dependency changes on pull requests.

supply_chain_policy_mode
enum<string>

What happens when a pull request adds a risky dependency. monitor only records it, comment posts a review comment, block fails the check.

Available options:
monitor,
comment,
block

Response

Updated repository supply-chain policy fields.

The response is of type object.