Code Repository Integrations
Checkmarx One supports integration with the most popular Code Repository platforms. You can import a project from your code repository directly to Checkmarx One, enabling automated scanning of your source code whenever the project is updated. Checkmarx One listens for commit events and uses a webhook to trigger Checkmarx scans when a push or pull request occurs. Once a scan is completed, the results can be viewed in Checkmarx One.
Code Repository Integrations - Feature Parity
The following table shows support for Checkmarx One features for each code repository.
Create new integration | Convert manual project to integration | Monitor new repositories | Code repository coverage | Suggested repositories | ||||
|---|---|---|---|---|---|---|---|---|
Documentation Links | ||||||||
GitHub Managed Setup | UI/API | UI/API | UI/API | UI | UI | |||
GitHub Custom Setup | UI/API | UI/API | UI/API | UI | UI | |||
GitLab Managed Setup | UI | UI/API |
| UI |
| |||
GitLab Custom Setup | UI | UI/API |
| UI |
| |||
Bitbucket Managed Setup | UI | UI/API |
|
|
| |||
Bitbucket Custom Setup | UI | UI/API |
|
|
| |||
Azure DevOps Managed Setup | UI | UI/API | UI/API | UI |
| |||
Azure DevOps Custom Setup | UI | UI/API | UI/API | UI |
|
Code Repository Permissions
Only users with the required permissions in the code repository are able to set up integrations with Checkmarx One (create a “Code Repository Integration”).
Notice
Checkmarx requires the permissions described below solely for the purpose of using the code repository APIs to create a webhook that triggers scans when relevant activity occurs in the repo (Push or Pull request). Checkmarx does not initiate any changes to the repo itself.
The following table explains the permissions needed to set up an integration with each of the supported code repositories.
Code Repository | Code Repository Level | Code Repository Role | Allowed in Checkmarx One |
|---|---|---|---|
GitHub1] | Organization | Owner |
|
Repository | Admin |
| |
GitLab | Group | Maintainer/Owner |
|
Project | Maintainer/Owner |
| |
Bitbucket | Workspace | Administrator/Developer who is configured as an Admin on the workspace level | Set up an integration with any project in the workspace |
Project | Owner/Admin |
| |
Member/Contributor | Set up an integration with the repository that is assigned to the user | ||
Azure DevOps | Group | Administrator, or a non-administrator who holds the Azure DevOps permissions listed in Azure DevOps: onboarding without administrator permissions. |
|
Project | Member of a project group for which Project Administrator permissions exist. |
|
1] When a GitHub repository is forked from a private repository, it remains linked to the original repository. Therefore, in order to access the repo, GitHub requires the user or integration to have the required level of permissions in both the fork and the source repository. A similar limitation applies to internal repositories used by Enterprise customers.
Azure DevOps: Onboarding Without Administrator Permissions
A user who is not an Azure DevOps administrator can onboard repositories when the following permissions are granted. Administrators need no change.
Level | Permission | Granted |
|---|---|---|
Project | Service Hooks: View subscriptions, Edit subscriptions, Delete subscriptions (all three required) | Per project |
Repository | Git: Read, Contribute, Create branch, Contribute to pull requests | Per repository |
Important:
Service Hooks permissions apply to one project at a time. Grant them again for every project whose repositories the user will onboard.
Membership in the Contributors group already includes the Git permissions but does not include Service Hooks permissions.
Azure DevOps caches permissions, so a change can take about a minute to apply.
If the user lacks the Service Hooks permissions, the repository is shown as not manageable. If you try to import it anyway, the import fails with an SCM error because Azure DevOps refuses to create the webhook.
Code Repository Integration without Admin Permissions
Checkmarx One also supports integration with most of the popular code repository platforms for users without Admin permissions for the relevant organization/repository.
You can import a project from your code repository directly to Checkmarx One, scan the code manually, and once a scan is completed the results can be viewed in Checkmarx One.
However, the feature comes with some limitations.
It is not possible to perform the following via Checkmarx One:
Create a Webhook for the organization level (organization level Webhooks are supported only for GitHub).
Create a Webhook for the repository level.
See the code repository coverage widget statistics.
Push & pull requests events via code repository won’t trigger automatic scan in Checkmarx One.
The following table explains the permissions needed to set up an integration with each of the supported code repositories for users without Admin permissions.
Code Repository | Code Repository Level | Code Repository Role | Allowed in Checkmarx One |
|---|---|---|---|
GitHub | Organization | Member | Set up an integration with permitted repositories in the organization |
Repository | Member | Set up an integration with the repository that is assigned to the user | |
GitLab | Group | Developer/Reporter/Guest | Set up an integration with permitted projects in the group |
Project | Developer/Reporter | Set up an integration with the repository that is assigned to the user | |
Bitbucket | Workspace | Users which are not configured as workspace Admins | Set up an integration with permitted projects in the group |
Project | Designated as Admin for a specific repo |
| |
Azure DevOps | Group | Users who are not assigned to the Group Project Collection Administrator organization | Set up an integration with permitted projects in the group |
Project | Member of a project group for which the following permissions exist:
| Set up an integration with the repository that is assigned to the user |
