Setup version control system
We take data security very seriously. Your code will sit on your premises and go to a model that you control, sitting in your cloud.
GitHub
The Personal Access Token (PAT) allows p0 to access the repositories in your organization that we will run the scan on. As the P0 process is running in your cloud, no code leaves your premises and you can set policies around egress to ensure this.
Your organization must allow Personal Access Tokens (Classic) as this type of token allows us to clone all of the repository code.
Go to this link. Select
repo
so that we can access all repositories.Click
Generate Token
and paste the token below.
Gitlab
The Personal Access Token (PAT) allows P0 to access the repositories in your organization that we will run the scan on. As the P0 process is running in your cloud, no code leaves your premises and you can set policies around egress to ensure this.
If you are using cloud gitlab, click on this link and click on
Add new token
We ask for the
api
,read_repository
, andread_api
access.
If you are using self hosted gitlab, replace <YOUR_GITLAB_URL> below and click on
Add new token
:https://<YOUR_GITLAB_URL>/-/user_settings/personal_access_tokens?name=p0-access&scopes=read_api
Bitbucket
The
Username
andApp Password
allows P0 to access the repositories in your organization that we will run the scan on. As the P0 process is running in your cloud, no code leaves your premises and you can set policies around egress to ensure this.Go to this link: https://bitbucket.org/account/settings/app-passwords/
Click on
Create app password
In the
Label
field, enter a name for your app password (e.g., "p0-access").Under
Permissions
, select the following:Account: Email, Read
Workspace membership: Read
Projects: Read
Repositories: Read
Click
Create
to generate the app password.Copy the generated app password and paste it where required.