Project Migration
Checkmarx One provides the ability to migrate existing Checkmarx projects to Code Repository projects.
Checkmarx projects are created to manually scan either zip files or code repository paths, while the scans are triggered manually from the Checkmarx One platform.
When migrating a Checkmarx project to a Code Repository based project, the following modifications take place:
Webhooks are created for the organization and repository.
The scan trigger changes to push events and pull requests, initiated from the repository itself.
The entire scanning process is automated.
The migrated project retains its scan history, and all pre-configured scan rules remain unchanged.
The migration process is supported for GitHub, GitLab, Bitbucket, and Azure DevOps - Cloud-hosted / Self-hosted.
Important
Migrating projects by creating new import configurations or editing existing configurations requires update-tenant-params
permission. Migrating new Projects using an existing configuration requires create-project
permission.
In addition, you need to have the required permissions in the code repository that you are connecting to, as described in Code Repository Permissions.
Single Project Migration
Project migration flow is identical to the code repository integration flow (Cloud-hosted / Self-hosted) that is documented in the Code Repository Integration documentation.
This document includes a migration process example using GitHub code repository. For all the other code repositories please refer to the Code Repository Integrations documentation.
Note
The configuration screens may look different, but the flow is identical.
To migrate a single Checkmarx project, perform the following:
Go to Integrations > Project Migration
Select a project and click on Connect to Code Repository
Multiple Projects Migration
Checkmarx One provides the ability to migrate multiple Checkmarx projects to Code Repository ones.
As well as the single project migration, the flow is supported for GitHub, GitLab, Bitbucket and Azure DevOps (Cloud-hosted / Self-hosted).
To migrate multiple Checkmarx projects, perform the following:
Click on Integrations > Project Migration
All the Checkmarx projects are presented in the main screen.
Select the projects and click on Connect to Code Repository