GitLab Group Projects
When you add a repository on Panoptica's CI/CD Security page, you have a couple of options.
Selecting GitLab enables you to onboard new GitLab.com group projects. To complete this, you first retrieve some details (Namespace and Access Token) from your GitLab environment. Then you feed those details into Panoptica's console.
GitLab steps
- Create your Group Access Token at https://your-gitlab/groups//-/settings/access_tokens with read permissions (read_api and read_repository)
- Add your group hook at https://your-gitlab/groups//-/hooks with:
The webhook endpoint URL is https://webhook-prod-cdn.lightspin.cloud/.
Triggers: Merge request events, Push events, Comments events and Subgroups events.
Enable SSL verification is checked. - Get your group Namespace from the GitLab URL: https://gitlab.com/{namespace}
Panoptica steps
In the Panoptica console, navigate to the CI/CD Security tab under Build and Applications, and click Add Repository.
You will be presented with the choice of adding repositories from GitHub or GitLab.
Select GitLab, and enter the Namespace and Group Access Token that you retrieved from your GitLab environment above.
Click Create to start the onboarding.
New/Deleted group projects
Panoptica will automatically add new projects and/or remove deleted projects on a periodic basis.
Updated 7 months ago