---
title: "Configure PR Checks for all repos"
method: POST
path: "/repositories/code/continuous_integration/checks/all"
---

# Configure PR Checks for all repos

`POST /repositories/code/continuous_integration/checks/all`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/repositories/code/continuous_integration/checks/all`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `repositories:write`

Configure PR Checks for all active repositories in the account. Currently only supports GitHub.

## Request body

- object: The parameters needed to configure PR Checks for all repos
  - `minimum_severity` 'low' | 'medium' | 'high' | 'critical' | 'always_pass_check', required: Minimum severity of new issues for when the CI Check should fail
  - `fail_on_dependency_scan` boolean, required: Boolean representing if the CI Check should fail for new dependency issues
  - `fail_on_sast_scan` boolean, required: Boolean representing if the CI Check should fail for new sast issues
  - `fail_on_iac_scan` boolean, required: Boolean representing if the CI Check should fail for new iac issues
  - `fail_on_secrets_scan` boolean, required: Boolean representing if the CI Check should fail for new secret issues
  - `fail_on_malware_scan` boolean, required: Boolean representing if the CI Check should fail for new malware issues
  - `post_inline_comments_min_severity` 'none' | 'low' | 'medium' | 'high' | 'critical': Minimum severity of new issues for when inline comments should be posted. Default is 'none'
  - `minimum_license_severity` 'none' | 'high' | 'critical', required: Minimum severity of new license issues for when the CI Check should fail. 'none' means the CI Check will not fail for any new license issues
  - `fail_on_code_quality_scan` boolean, required: Boolean representing if the CI Check should fail for new code quality issues
  - `enable_code_quality_scan` boolean, required: Boolean representing if the code quality scan is enabled
  - `post_code_quality_inline_comments_min_severity` union, required: Minimum severity of new code quality issues for when inline comments should be posted. Can be null if the code quality scan is disabled.
    - string
    - unknown
  - `run_deep_audit_pr_scan` boolean: Boolean representing if the deep audit scan should be run on pull requests
  - `excluded_repos` integer[]: Array of repository IDs to exclude from the bulk configuration.

## Response `200`

The CI checks configurations are updated.

- object
  - `status` string: The status of the request

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
