How to retrieve all audit entries using the audit log API in Bitbucket Server and Data Center

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

要約

Our Audit Log API allows you to fetch project and repository audits and we can re-iterate this over to get complete details. However, in case you need to get complete details in one call please refer to the below API.

環境

7.X,8.X

ソリューション

The maximum capacity for this API call is set at 10,000. This limit has been established as a measure to safeguard the system from excessive load

curl --user <bitbucket-admin-username>:<password> -H "Accept:application/json" -X GET "<Bitbucket-base-url>/rest/auditing/1.0/events?limit=10000"

For the subsequent set of 10,000 audit entries, use the 'nextPageLink' URL, found at the end of the previous call. This allows you to retrieve additional 10,000 entry batches and so on.

(自動移行された画像: 説明は一時的に利用できません)

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。