# 共有レコードレポートコマンド

### 共有レコードレポート <a href="#shared-records-report" id="shared-records-report"></a>

ログイン中のユーザー向けに、共有レコードのレポートを表示します。共有の種類 (直接共有、共有フォルダ、チームフォルダ共有)、共有先、権限、フォルダパスなどを一覧するレポートを生成します。既定では、自身が所有する共有レコードのみが対象です。他者が所有する共有レコードも含める場合は `-AllRecords` を指定します。

<details>

<summary>DotNet CLI</summary>

**近日公開**

</details>

<details>

<summary>DotNet SDK</summary>

**近日公開**

</details>

<details>

<summary>PowerCommander</summary>

**コマンド:** `Get-KeeperSharedRecordsReport`

**別名:** `ksrr`

共有の種類、共有先、権限、フォルダパスなどを一覧する、すべての共有レコードのレポートを生成します。

**パラメーター:**

`-ShowTeamUsers` - チーム共有を展開し、チームメンバー個人を表示します。エンタープライズ管理者が必要です。

`-AllRecords` - 現在のユーザーが所有するレコードに限らず、ボルト内の共有レコードをすべて含めます。

`-Folder` - 指定したフォルダパスまたはUID内のレコードにレポートを限定します。

`-Format` - 出力形式: `table`、`json`、または `csv`

`-Output` - レポートをファイルに書き出すパス

**例:**

{% code overflow="wrap" %}

```powershell
PS > Get-KeeperSharedRecordsReport

Shared Records Report

Record UID             Title Share Type   Shared To                     Permissions      Folder Path
----------             ----- ----------   ---------                     -----------      -----------
zsaOU8Rusa6C05EVEC-wCQ a1    Direct Share user+qa@example.com         Can Share & Edit Shared Accounts
```

{% endcode %}

</details>

<details>

<summary>Python CLI</summary>

**コマンド:** `shared-record-report`

**別名:** `srr`

**フラグ:**

* `--format` 出力形式 {table,csv,json}
* `--output` 結果ファイルの出力パス (形式が `table` のときは無視)
* `-tu, --show-team-users` チームフォルダ経由の共有レコードについてチームメンバーを表示
* `--all-records` ボルト内のすべてのレコードを対象 (省略時は所有レコードのみ)

**例:**

```
My Vault> shared-records-report --all-records --format json --output json
```

</details>

<details>

<summary>Python SDK</summary>

**関数:**

```python
def generate_shared_folders_report(self) -> List[SharedFolderReportEntry]:
        """Generate a report of shared folders and their permissions.
        
        Returns:
            List of SharedFolderReportEntry objects containing folder share information
        """
        entries: List[SharedFolderReportEntry] = []
```

</details>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keeper.io/keeperpam/jp/commander-sdk/keeper-commander-sdks/sdk-command-reference/reporting-commands/shared-records-report-command.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
