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.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.