Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Autoamate archival or Audit logs

Thomas Burke October 4, 2020

Need a script that will automatically download  Bitbucket Workspace(s) Audit  Logs since it a client requirement we have this info at all times and Atlassian BB cloud has a FIFO audit log that is  180 days.

We need to automate through BB  API a script that will download every Audit log available e on a schedule to capture data before lost to FO 

Unless there is a better way to accomplish this, "retain audit logs  for all time "

thanks.

1 answer

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2020

It does not look like the audit log is available via the REST API, so the only way of doing it would be to use a tool that scrapes the information for you and download screenshots of the log. There is a suggestion to have either a REST API endpoint added or be able to download the log, see BCLOUD-14419. Go and vote on it and watch it if you would like to see this implemented. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events