Is there a way to know when someone joins confluence-administration group?

Is there any way to know that someone has joined the confluence-administration group? I was thinking that something might end up in the logs, and I could set up a script to look for that, but I checked the log and didn't see one.

Is there any other way to accomplish this? Would it require a plugin?

3 answers

1 accepted

E.g.

select ID from groups where GROUPNAME='confluence-administrators';

And then make select to find all user with mentioned group id.

Or you can use most stupid solution like this:

curl --user username:password --insecure https://wiki.example.net/confluence/admin/users/domembersofgroupsearch.action?membersOfGroupTerm=confluence-administrators | grep "viewuser.action?username="| sed 's/<[^>]*>//g' | tr -d ' '

Or you can make trigger in database with email notification when rows added/removed/modified.

There is a class listed in the Confluence administration -> 'profile and logging' options. If we set the 'com.atlassian.confluence.user.crowd' class logging level to 'DEBUG' we can see an entry such as the following for when a user is added to a group.

2012-10-09 12:32:28,178 DEBUG [http-1430-2] [confluence.user.crowd.CachedCrowdMembershipDao] addUserToGroup adding user [ roberto ] to group [ confluence-administrators ]

Perceivably, one could create a script that parses the logs and monitors for an entry such as this which then sends an alert email. However, there is a potential for a lot of spam in the log files and this only tells you someone has been added.

Hello, you have to be a more specific. What kind of authentication are you using (crowd, jira, own)?

There can be different way to get your information.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 5 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

71 views 4 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you