# エイジングレポートコマンド

### エイジングレポート <a href="#aging-report" id="aging-report"></a>

一定期間パスワードが変更されていないレコードを特定します。エンタープライズ向けの高度なレポート機能に対応します。

<details>

<summary>DotNet CLI</summary>

**近日公開**

</details>

<details>

<summary>DotNet SDK</summary>

**近日公開**

</details>

<details>

<summary>PowerCommander</summary>

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

**パラメーター:**

| パラメーター            | 説明                                                                                           |
| ----------------- | -------------------------------------------------------------------------------------------- |
| `-Format`         | `table` (既定)、`json`、または `csv`。                                                               |
| `-Output`         | `json` または `csv` 用のファイルパス (共有レポート出力に引き渡し)。                                                   |
| `-Period`         | ローリング基準日。例: `10d`、`3m`、`1y`。`-CutoffDate` 指定時は無視。                                            |
| `-CutoffDate`     | 固定基準日。`-Period` と同時指定不可。                                                                     |
| `-Username`       | 指定したエンタープライズユーザーのメールアドレスが所有者のレコードに限定                                                         |
| `-ExcludeDeleted` | ゴミ箱のレコードを除外 (コンプライアンスメタデータに依存)。                                                              |
| `-InSharedFolder` | 少なくとも 1 つの共有フォルダに含まれるレコードのみ。指定時、出力に共有フォルダ UID を含む (複数のときはカンマ区切り)。                            |
| `-Sort`           | `owner`、`title`、`last_changed` (既定)、または `shared`。`last_changed` の既定は新しい変更が先、`shared` は共有を優先。 |
| `-Rebuild`        | コンプライアンススナップショットを再取得し、セッション内エイジングキャッシュをクリアしたうえでイベントを読み込み                                     |
| `-NoRebuild`      | 可能ならスナップショットを再構築しない (コンプライアンススナップショットのルールに従う)。                                               |
| `-NoCache`        | セッション向けコンプライアンススナップショットキャッシュの挙動を無効化                                                          |
| `-Delete`         | ディスク上のコンプライアンスキャッシュを削除し、セッション内のコンプライアンス/エイジング状態をクリアしたうえで終了します (レポートは実行しません)。エンタープライズ認証が必要です。 |

**例:**

```powershell
PS > Get-KeeperAgingReport -Period 3m

Aging Report: Records With Passwords Last Modified Before 2026-01-13 11:05:33


Owner                             Title                        Password Changed    Shared Record URL
-----                             -----                        ----------------    ------ ----------
test1@example.com                 Service Mode                 07-01-2026 16:58:20  False https://example.com/value/#det… 
test1@example.com                 test contact                 06-01-2026 17:43:05  False https://example.com/value/#det… 
test2@example.com                 test login                   06-01-2026 17:10:17  False https://example.com/value/#det… 
test1@example.com                 Commander Service Mode       06-01-2026 14:55:12  False https://example.com/value/#det… 
test12@example.com                Azure Database               24-12-2025 15:49:34  False https://example.com/value/#det… 
```

</details>

<details>

<summary>Python CLI</summary>

**コマンド:** `aging-report`

**別名:** `s`

**フラグ:**

`--format` : 出力形式 {table,csv,json,pdf}.\
`--output` : 結果ファイルの出力パス (形式が `table` のときは無視)。\
`-r, --rebuild` : レコードデータベースの再構築。\
`--delete` : 暗号化されたコンプライアンスレコードデータを含むローカルキャッシュの削除。\
`-nc, --no-cache` : コマンド完了後にローカルの非メモリ領域のデータを削除。\
`-s, --sort` : 並び順 {owner,title,last\_changed,shared}.\
`--period` : パスワード未変更期間。`--cutoff-date` と同時指定不可。\
`--cutoff-date` : 以降パスワード未変更の基準日。`--period` と同時指定不可。\
`--username` : 指定ユーザーの期限切れパスワードのみを対象。\
`--exclude-deleted` : 削除済みレコードをレポートから除外。\
`--in-shared-folder` : 共有フォルダ内のレコードに限定。

**例:**

```
user1.ramteke@metronlabs.com           test drv                                                                                                                                                                                                                                                                                                                      2025-11-14 16:37:28  False     https://dev.keepersecurity.com/vault/#detail/0mxyRF_XyWzQTAFGhdXzDg                                                                                                                                                                                                                                                                                                       2025-11-14 16:28:00  False     https://dev.keepersecurity.com/vault/#detail/4snOgicay7LF_s8OpKSCjA
user2.kachhwaha@metronlabs.com         Dr. Sarah Johnson                                                                                                                                                                                                                                                                                                             2025-11-14 14:05:58  False     https://dev.keepersecurity.com/vault/#detail/Xya90coExYrkKK6FUHXqzw

```

</details>

<details>

<summary>Python SDK</summary>

**関数:**

```python
def generate_aging_report(
    enterprise_data: enterprise_types.IEnterpriseData,
    auth: keeper_auth.KeeperAuth,
    period_days: int = DEFAULT_PERIOD_DAYS,
```

</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/aging-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.
