You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi!
I know that on standard Bitbucket plan you can't enforce 2FA, but is there a way for an admin to see if a user has it enabled?
It seems to me that with managed accounts I can see if my users have Atlassian 2FA enabled but not Bitbucket, is that right?
Hi @Maria Nawrocik,
We don't display this info on the UI, but you can get it via API.
The API endpoint mentioned in the community question that Peter linked has been deprecated.
You can use an API call like the following now:
curl -u bitbucket_username:app_password https://api.bitbucket.org/2.0/workspaces/workspace-id/members?fields=%2Bvalues.user.has_2fa_enabled
where
bitbucket_username is the Bitbucket username of an account that has admin access to the workspace
app_password is an app password for this account, with at least Account: Read permissions
workspace-id is the workspace id for the workspace you want to check the users of
It's important to include the part ?fields=%2Bvalues.user.has_2fa_enabled at the end of the URL, otherwise the field will not show.
With a call like the one I gave you, you will see a field named has_2fa_enabled (which will be either true or false) for each user in the results.
Please feel free to let me know if you have any questions.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome, please feel free to reach out if you ever need anything else!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Maria,
would this answer help: https://community.atlassian.com/t5/Bitbucket-questions/Retrieve-list-of-users-with-two-step-verification-enabled-on/qaq-p/1203248 ?
It's a bit of a workaround but it should give you the information you need.
Cheers,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.