Import repositories fast and safely with OAuth
Enable OAuth
Role required: User Manager
You can connect Fluid Attacks' platform to your account on the code repository hosting providers GitLab, GitHub, Bitbucket and Azure via OAuth (Open Authorization). Allowing this connection, you authorize Fluid Attacks to access the repositories there to clone them without you having to share your credentials with Fluid Attacks.
The following is a step-by-step example of using OAuth for Fluid Attacks to access your GitLab repositories.
- Go to your organization's Credentials section.
- Select the provider that you want to authorize to connect to the platform (in this example, GitLab).
- Upon choosing the provider, you are directed to their authorization page, where you are asked to authorize the connection between Fluid Attacks' platform and your account.
- Click on Authorize to establish the connection.
When you authorize the connection, you are redirected to your organization's Credentials section, where you can see the new credentials created with the type OAUTH.
Note: From the moment the connection is established, the hosting provider you selected is no longer shown in the Add credential options.
This method recognizes the repositories that have had activity in the last 60 days. To see a list of them, go to the Outside section from the collapsible sidebar.
The repositories that are listed in Outside are those that are not associated with any group of that specific organization in the platform. Please allow approximately 30 minutes to 1 hour for the repositories to appear while the service connection is established.
Import repositories
Role required: User Manager
Follow these steps to import a single repository leveraging OAuth:
-
Go to your organization's Outside section.
-
Click the plus symbol in the Action column.
-
Specify the group within your organization where you want to add the repository.
-
Click Confirm to initiate the import process.
-
Provide the required information in the pop-up window and click Confirm when you are done. (Refer to Add new git root manually for explanations of every field if needed.)
To import multiple repositories, follow these steps:
- In Outside, select the desired repositories using the checkboxes.
-
Click the Add new roots button.
-
Choose the group for the selected repositories.
-
Provide the required information in the pop-up window and click Confirm when you are done.
Remove OAuth connection
Role required: User Manager
You can remove the OAuth credentials in your organization's Credentials section. Just select the credentials to be removed and click on the Remove button. The credentials are then removed along with the linked repositories in the Outside section.
Free trial