Update SAST & IaC AutoFix PR creation settings

Update the workspace SAST & IaC 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. Send enabled: false to turn SAST AutoFix off; the other fields are then ignored. This only affects SAST AutoFix, other AutoFix features keep their own settings.

Body Params

SAST & IaC AutoFix PR creation settings

const
enum
required

Enables automatic SAST & IaC AutoFix PR creation.

Allowed:
string
enum
required

Severity filter for SAST & IaC autofix.

Allowed:
string
enum
required

Repository scope for SAST & IaC autofix: all repositories or a selected list. "all" is paying accounts only.

Allowed:
repo_ids
array of integers
required

Code repository IDs for SAST & IaC 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