Update repository settings
Authorizations
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
UUID of the repository. Use the id field of a repository from listRepositories.
Body
When true, Strix reviews pull requests opened in this repository.
Tri-state per-repo override of the org PR review policy. true forces Strix to submit a GitHub approval on clean PRs for this repo, false forces it off, null inherits the org default (approve_clean_prs).
Tri-state per-repo override of the org PR review policy. true forces findings to never block this repo's PRs (posted as comments only), false forces blocking on, null inherits the org default (block_on_findings).
Tri-state per-repo override of the org PR review policy. true forces Strix to re-review this repo's PRs on every pushed commit, false forces it off (review only when the PR is opened), null inherits the org default (review_on_push).
Replaces the repository's tags. Requires the Enterprise plan.
Sets or clears the business_unit. Requires the Enterprise plan.
Response
Repository updated.
Repository metadata stored by Strix. Branch selection belongs to individual scans, schedules, and PR reviews; this object does not resolve a provider URL or default branch.
Enterprise asset labels used for RBAC scoping.
Enterprise asset label used for RBAC scoping.
Whether automated PR reviews are enabled for this repository.
Tri-state per-repo override of the org PR review policy. true forces Strix to submit a GitHub approval on clean PRs for this repo, false forces it off, null inherits the org default (approve_clean_prs).
Tri-state per-repo override of the org PR review policy. true forces findings to never block this repo's PRs (posted as comments only), false forces blocking on, null inherits the org default (block_on_findings).
Tri-state per-repo override of the org PR review policy. true forces Strix to re-review this repo's PRs on every pushed commit, false forces it off (review only when the PR is opened), null inherits the org default (review_on_push).
The number of active findings (open, in_progress, snoozed) that are attributed to this asset. Dependency findings are not counted.
The same active findings as open_issue_count, grouped by severity.