Setting URLs whitelist for git integration
datatangerine
Registered Posts: 5 ✭
Hi there!
I'd like to set the URLs whitelist for my git integration such that it can only pull from repositories that fo.low the pattern below:
git@gitlab.com:<group_name>/
where group_name corresponds to my gitlab group.
What should I add as a URL whitelist in Git settings if I want to achieve this? I don't want to add all the different repositories manually, but use one URL whitelist option instead.
Cheers and thanks!
Answers
-
Hi,
The URL whitelist expects a regular expression, so you would need to create an expression that will be valid for all groups. There are many websites on the internet to validate regular expression (https://regex101.com/ for example).
I hope this helps.
Best,
Vitaliy