> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/ja-gitbook-documentation/akauntoto/audit-logs.md).

# 監査ログ

GitBook組織全体で誰が何を変更したかを確認し、イベントを絞り込んで、CSVとしてエクスポートできます。

{% hint style="info" %}
監査ログは、 [Enterprise プラン](https://www.gitbook.com/pricing)で利用できます。組織の [管理者](https://gitbook.com/docs/documentation/ja-gitbook-documentation/collaborate/member-management/roles.md) のみが閲覧できます。
{% endhint %}

監査ログには、組織全体で行われた変更の記録が残ります。各変更を誰がいつ行ったか、何を変更したか、何に影響したかを確認できます。セキュリティやコンプライアンスに関する疑問への回答、設定変更を実行したユーザーやワークフローの特定、インシデント発生時に何が起きたかの確認に役立ちます。

## 監査ログを開く

次の場所に移動します： **設定 → 監査ログ**.

テーブルの各行には、イベントが新しい順に表示されます。列は次のとおりです。

* **時刻：** イベントが発生した時刻。
* **アクション：** 変更内容。例： **サイト連携を更新** または **Git Sync を開始**.
* **対象：** アクションの影響を受けたサイト、スペース、メンバー、その他のリソース。
* **実行者：** 変更を行ったメンバー、連携、または自動化されたワークフロー。GitBook サポートがメンバーに代わって操作した場合、イベントには **代理操作** バッジが表示されます。
* **ソース：** アプリ、連携、ワークフローなど、変更の発生元。

## 監査ログに記録される内容

監査ログには、次のような管理上および設定上の変更が記録されます。

* **組織の管理：** 組織の設定、マージルール、SAML と SCIM の設定、SSO の強制適用、招待リンク、チーム、請求とプランの変更、翻訳設定、カスタムフォント。
* **メンバー：** 参加（初回の SAML サインインで追加されたメンバーを含む）、ロールの変更、SSO の割り当て、削除。メールによる招待を承諾した場合は、メンバーの参加として記録されます。
* **サイト：** 構造、設定、カスタマイズ、公開、AI と MCP サーバーの設定、ユーザーおよびチームの権限。
* **スペース：** 作成、複製、削除、復元、設定、デフォルトのアクセス権。
* **コレクション：** 作成、設定、移動、所有権の移譲、削除。
* **アクセスとルーティング：** サイトの共有リンク、サイトに設定されたカスタムドメイン、リダイレクト、確認済みの組織ドメイン。
* **連携とワークフロー：** サイトに接続された連携、サイトの Git Sync、OpenAPI の処理、コンテキストの同期、およびこれらのワークフローがバックグラウンドで行う変更。

GitBook が対応するアクションを追加するにつれて、記録対象が拡大する場合があります。監査ログで記録できるすべてのアクションについては、 [監査ログのアクション](https://gitbook.com/docs/documentation/ja-gitbook-documentation/akauntoto/audit-logs/actions.md).

監査ログには、ページコンテンツの変更、ページの閲覧、ファイルのダウンロードは記録されません。コンテンツの編集履歴を確認するには、 [バージョン管理](https://gitbook.com/docs/documentation/ja-gitbook-documentation/kontentsuwosuru/version-control.md).

## イベントを絞り込む

「 **時刻**, **アクション**」と **アクター** 各列のヘッダーにはフィルターがあります。

* **期間：** 過去24時間、7日間、30日間のイベントを表示するか、カスタムの日付範囲を選択します。
* **アクション：** アクションを検索して、1つ以上選択します。
* **アクター：** メンバー、または Git Sync、OpenAPI 処理、コンテキスト同期、カスタムドメインの検証、GitBook Agent などの自動アクターを選択します。

クリックして **フィルターをクリア** すべてのイベントを再度表示します。

## イベントの詳細を表示する

行をクリックすると、サイドパネルでイベントが開きます。パネルには次の情報が表示されます。

* 変更前 → 変更後の値。値が記録されない設定については、設定名が一覧表示されます。
* イベント、アクター、対象、および関連するワークフローの技術IDは、 **イベント情報**の下に表示されます。コピーボタンを使って、GitBook サポートと共有できます。

上矢印ボタンと下矢印ボタンで、現在のページのイベント間を移動します。パネルを閉じるには、 <kbd>Esc</kbd> を押します。

各イベントには専用のURLがあります。イベントを開いた状態でブラウザーのアドレスバーからURLをコピーすると、他の管理者とリンクを共有できます。

## イベントをCSV形式でエクスポートする

1. 必要なフィルターを適用します。エクスポートには、条件に一致するイベントのみが含まれます。
2. クリックして **CSV形式でエクスポート**.

エクスポートできるイベントは最大10,000件です。それ以上をエクスポートするには、 **期間** フィルターを絞り込み、履歴を複数回に分けてエクスポートします。

CSVには、各イベントの時刻、アクション、アクター、代理実行者、ソース、対象、イベントIDが含まれます。

## APIで監査ログにアクセスする

SIEMなどの独自ツールに監査イベントを取り込むには、GitBook APIの [組織の監査イベントを一覧表示](https://gitbook.com/docs/developers/gitbook-api/api-reference/organizations/list-organization-audit-events) エンドポイントを使用します。

## 保持期間

GitBookは監査イベントを1年間保持します。

## プランを変更した場合

組織がEnterpriseプランを離れた後も、GitBookは監査イベントの記録を続けます。組織がEnterpriseプランに戻るまで、管理者はイベントを表示またはエクスポートできません。プランに戻ると、過去1年分のイベントを再び利用できます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gitbook.com/docs/documentation/ja-gitbook-documentation/akauntoto/audit-logs.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
