Update Pentest AutoFix PR creation settings

Update the workspace Pentest & AI Code Analysis AutoFix PR creation settings. PRs are created and re-evaluated every day. Use severity_filter to set which severities to autofix. Use repos_scope of "all" or "selected"; when "selected", pass repository IDs in repo_ids. Inactive or unknown repository IDs are filtered out. "all" is paying accounts only. repos_scope is optional and defaults to "all" for backwards compatibility. Send enabled: false to turn Pentest AutoFix off; the other fields are then ignored. This only affects Pentest AutoFix, other AutoFix features keep their own settings.

Body Params

Pentest AutoFix PR creation settings

const
enum
required

Enables automatic Pentest & AI Code Analysis AutoFix PR creation.

Allowed:
string
enum
required

Severity filter for Pentest & AI Code Analysis autofix.

Allowed:
string
enum
Defaults to all

Repository scope for Pentest & AI Code Analysis autofix: all repositories or a selected list. "all" is paying accounts only. Optional; omitting it defaults to "all".

Allowed:
repo_ids
array of integers

Code repository IDs for Pentest & AI Code Analysis autofix when repos_scope is "selected". Ignored when scope is "all"; use an empty array in that case. Inactive or unknown repository IDs are filtered out and not stored.

repo_ids
Responses

400

Invalid configuration (e.g. select all on a non-paying account).

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json