How can i fetch the Auditlog from bitbucket via api?

מעיין כהן
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 9, 2021

Is that option is possible?
If true, is it the same way in bitutcket cloud and bitutcket  server ?

1 answer

0 votes
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 11, 2021

Hi, @מעיין כהן! Welcome to the community! 

In order to fetch the Audit log from Bitbucket Cloud, we currently have a script that can be used to scrape the logs from there, converting them to a .txt file. The log file created will mirror the content you see within the UI itself and thus requires permission of viewing the audit log within the UI to run. 

You can open the following link to access the script:

Note: We are actively reviewing what is logged and have plans to release more in-depth logs and a way to export this natively in an upcoming change in 2022. This can be seen on our Roadmap.

I hope this helps, but do let me know if you have any questions. 

Kind regards,
Caroline

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events