Search code examples
sonarqubesonar-runner

Can we insert groups of AD to sonarqube


I am facing hard time while knowing more about AD integration with sonarqube. I have a group in my Active directory called Developers. this Developers group has ten members. so what I am looking for is, As I authenticated Sonarqube with my AD how can I make replication of same group Developers in sonarqube. I though in a way that

when all the ten users of Developers group got login in sonarqube server then I will create a group with name Developers and then I will add all the 10 users to group Developers. is this is a right manner or any other official way to do it. thanks..


Solution

  • Enable Group Mapping (by providing the group-related configuration values) and this group creation and membership will happen automatically.

    You should be aware though that this group mapping is all-or-nothing. You cannot turn group mapping on and then try to manage membership in additional groups directly in SonarQube. Membership in such local groups will be wiped out by group synchronization the next time the user logs in.