HashiCorp Cloud Platform
Add a data source - GitLab
Vault Radar allows you to connect to any top-level group on GitLab Cloud and GitLab Self-Managed.
Add GitLab Cloud
Prerequisites
- The group name
- Personal Access Token (with the right set of scopes)
Create a connection with GitLab Cloud
Select Settings/Data Sources.
Click on the GitLab Cloud button.
Enter the group name in the Group name text field.
Enter the personal access token in the Personal Access Token text field.
Click Next.
Add GitLab Self-Managed
Prerequisites
- Domain name
- Group name
- Personal Access Token (with the right set of scopes)
Create a connection with GitLab Self-Managed
Select Settings/Data Sources.
Click on the GitLab Self-Managed button.
Enter the domain name in the Domain name text field.
Enter the group name in the Group name text field.
Enter the personal access token in the Personal Access Token text field.
Click Next.
Add repositories to Vault Radar
Once the connection had been established, you can select which repositories you want to install by selecting a group or all.
Note
Vault Radar has a limit of 5000 repositories per connection. If you have more then 5000 repositories, Vault Radar will select the 5000 repositories with the most recent activity.
Assign a group to a resource
Once a data source has been added, an HCP user with the admin
role must assign
a group to each of the monitored resources within each data source. Each
resource can be assigned to only one group.
Note
Users with the HCP IAM admin role do not need to be added to a group. Accounts with the admin role have full access to Vault Radar.
Create a group at the HCP project level.
Assign either the viewer or contributor role to the group.
Navigate to the resource and click Add to group.
Select the group that requires access to the resource.