ocean
ocean copied to clipboard
[Integration][Gitlab] Added support for gitlab member ingestion
Description
Added support for gitlab member ingestion
- Gitlab group members endpoint does not contain users emails by default or for free plan, to get emails, an account is required to be either an enterprise or self hosted.
- To enable free plan users to view the user emails as well, we add a flag
publicEmailVisibilityto the member kind. If set to true, members are enriched withpublic_emailfrom the /user endpoint, but this is highly dependent on whether the user being query has allowed public email visibility on the gitlab account. learn more Also note that it was necessary that we call the /users endpoint because members do not contain public_email. Default value forpublicEmailVisibilityfilter is false. - Lastly, gitlab returns all members and tokens created as members, to enable filtering out bots from actual members we add a flag
filterBotsto the port-app-config (top level) to filter out bots if set to true, default is true. bots filtering is needed when syncing groups and group members, hence the need for putting filterBots on top-level of the port-app-config
Type of change
Please leave one option from the following and delete the rest:
- [ ] New feature (non-breaking change which adds functionality)