One of the options for source locations is Source Control. Selecting this option enables you to select and connect to one of the following source control types:
- TFS
- SVN
- GIT
- Preforce
To connect to a source control system, do the following:
1. When creating a project, select Source Control as location for the source code to be scanned.
2. Click <Select>. The Source Control window is displayed (see below for connection options)with a drop down menu to select the desired source control type.
Info |
---|
Files inside a zip file that are located inside a repository are not sent for scanning. Extract the content of the zip file to the repository before scanning. |
Defining Source Control for TFS
1. Select TFS from the drop-down. The TFS Connection Details panel is displayed.
...
- Repository URL - the repository URL address (Supports HTTP and HTTPS, i.e. <protocol>://<site name>:<port>/tfs/<Collection> (must point to the repository named <Collection>)).
- Port Number - the port number
- Required Authentication - select to enforce authentication
- User Name - the user name (required with enforced authentication)
- Password - the password (required with enforced authentication)
...
- Repository URL - the repository URL address (Supports HTTP, HTTPS and SSH private/public key infrastructure, i.e. <protocol>://<server_ip>/<repository_name>)
- Port Number - the port number
- Required Authentication - select to enforce authentication
- User Name - the user name (required with enforced authentication)
- Password - the password (required with enforced authentication)
- SHH Authentication - select to use secure authentication with SSH
...
- Private Key Text - add private key text
- Private Key File - select and upload a private key file
Info |
---|
Checkmarx does not support SSH keys with a passphrase. |
Info |
---|
For best results, use ssh-keygen, per these instructions, and not PuTTYgen. |
...
Info |
---|
Requirements for using GIT repository:
|
1. Select GIT from the drop-down. The GIT Connection Details panel is displayed.
...
- Repository URL - the repository URL address (Supports HTTP, HTTPS, i.e. <protocol>://<user>:<password>@<server_ip>/<repository_name>.git or SSH private/public key infrastructure, i.e. git@<git_site>:<user_name>/<repository_name>.git).
Info |
---|
If your repository URL contains the character "@", replace it with "%40" (html encoding) before inserting the URL. For tip to find your GIT Repository URL refer to GitHub - Tips on Finding Git / GitHub Repository URLs |
- Authentication - select an authentication method.
Info |
---|
For more information about the various athentication methods, please refer to Configuring a Project with Git Integration |
3. Click Test Connection. Once the 'Connection Successful' message is displayed you can continue.
- GitHub Scan Automation - select to include GitHub Integration.
4. Enter the GitHub repository owner and collaborator credentials into the relevant User Name and Password fields.
...
7. Click <OK> to complete procedure.
Info |
---|
For more information about the various options for GitHub integration, please refer to Github GitHub Integration |
Defining Source Control for Perforce
...
- Repository URL - the repository URL address (i.e. SSL:<server_ip> or <server_ip>)
- Port Number - the port number
- User Name - the user name
- Password - the unique password
- Browsing Mode - select Depot (for shared file repositories) or Workspace (for grouped file repositories).
...
Info |
---|
To set the Perforce client executable path, refer to the Path to P4 command line client executable parameter in theServer Settings. |
You can now continue to configure the project.
Info |
---|
For All connections - Connection between CxManager Server and 3rd party repo server is done with the credentials that are configured to the CxPool IIS Application Pool. |
.
...
Section | ||||||||
---|---|---|---|---|---|---|---|---|
|
...