ocean icon indicating copy to clipboard operation
ocean copied to clipboard

[Integration][Gitlab] Added support for gitlab member ingestion

Open mk-armah opened this issue 1 year ago • 0 comments

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 publicEmailVisibility to the member kind. If set to true, members are enriched with public_email from 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 for publicEmailVisibility filter is false.
  • Lastly, gitlab returns all members and tokens created as members, to enable filtering out bots from actual members we add a flag filterBots to 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)

Screenshots

Screenshot 2024-07-25 at 7 01 49 PM Screenshot 2024-07-25 at 7 34 48 PM Screenshot 2024-07-25 at 7 38 20 PM

mk-armah avatar Jul 03 '24 12:07 mk-armah