UiPath Documentation
uipath-cli
latest
false
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UiPath CLI ユーザー ガイド

uip または audit-logs

uip or audit-logs には、テナントの 監査ログ (誰がいつ何をしたかの記録) が一覧表示されます。監査エントリは、ユーザー、プロセス、アセット、キュー、ジョブ、フォルダー、マシン、ロール、設定、スケジュール、その他のエンティティに対する変更を追跡します。コンプライアンス レビュー、インシデント調査、または特定のユーザーのアクティビティの監視に使用します。

概要

uip or audit-logs list [options]
uip or audit-logs list [options]

動詞は グローバル オプション (--output--output-filter--log-level--log-file) を尊重します。終了コードは 標準コントラクトに従います。

動詞

動詞目的
listコンポーネント、アクション、ユーザー、または時間範囲でフィルター処理された監査エントリのリストを取得します。必要に応じて CSV にエクスポートします。

uip または監査ログのリスト

監査ログのエントリを一覧表示します。フィルターは AND セマンティクスを使用して構成されます。--exportを使用すると、ログはサーバー側で CSV にエクスポートされ、準備ができ次第ダウンロードされます。

オプション

Short長押し値 (Value)既定 (Default)説明
-t--tenantnameセッションの既定値テナントを上書きします。
--componenttextコンポーネントでフィルター処理します (例: UsersAssetsProcessesQueuesJobsFoldersMachinesRolesSettingsSchedules)。
--actiontextアクションでフィルター処理します (例: CreateUpdateDeleteStartJobStopJobUploadDownload)。
--userユーザー名ユーザー名が完全に一致
--created-afterISO8601認証取得この日以降のエントリー。
--created-beforeISO8601認証取得この日付より厳密に前のエントリ。
-l--limitNumber50ページ サイズ
--offsetNumber0カウントをスキップします。
--order-byフィールドExecutionTime descOData の並べ替え式。
--exportフラグ無効サーバー側のエクスポート API を使用して、一致するエントリを CSV にエクスポートします。
-o--outputパスaudit-logs-export.csv出力 CSV パス。--exportの場合のみ。

# Most recent audit entries across the tenant
uip or audit-logs list

# Filter to the Users component
uip or audit-logs list --component Users --limit 100

# Everything one user did in a window
uip or audit-logs list --user admin@example.com \
    --created-after 2026-04-01 --created-before 2026-04-08

# Export to CSV
uip or audit-logs list --component Jobs --export -o ./jobs-audit.csv
# Most recent audit entries across the tenant
uip or audit-logs list

# Filter to the Users component
uip or audit-logs list --component Users --limit 100

# Everything one user did in a window
uip or audit-logs list --user admin@example.com \
    --created-after 2026-04-01 --created-before 2026-04-08

# Export to CSV
uip or audit-logs list --component Jobs --export -o ./jobs-audit.csv

データシェイプ(--output json)

インライン モード:

{
  "Code": "AuditLogList",
  "Data": [
    {
      "serviceName": "UiPath.Orchestrator.Web.Api.OData.Controllers.UsersController",
      "methodName": "Post",
      "executionTime": "2025-04-15T09:10:00Z",
      "action": "Create",
      "component": "Users",
      "displayName": "jane.doe@example.com",
      "entityId": 1001,
      "operationText": "User admin@example.com created user jane.doe@example.com",
      "userName": "admin@example.com",
      "userType": "DirectoryUser",
      "entities": [
        {
          "auditLogId": 1000001,
          "customData": "{\"Id\":1001,\"UserName\":\"jane.doe\"}",
          "entityId": 1001,
          "entityName": "User",
          "action": "Create",
          "id": 2000001
        }
      ],
      "userId": 42,
      "userIsDeleted": false,
      "userIsActive": true,
      "id": 1000001
    }
  ]
}
{
  "Code": "AuditLogList",
  "Data": [
    {
      "serviceName": "UiPath.Orchestrator.Web.Api.OData.Controllers.UsersController",
      "methodName": "Post",
      "executionTime": "2025-04-15T09:10:00Z",
      "action": "Create",
      "component": "Users",
      "displayName": "jane.doe@example.com",
      "entityId": 1001,
      "operationText": "User admin@example.com created user jane.doe@example.com",
      "userName": "admin@example.com",
      "userType": "DirectoryUser",
      "entities": [
        {
          "auditLogId": 1000001,
          "customData": "{\"Id\":1001,\"UserName\":\"jane.doe\"}",
          "entityId": 1001,
          "entityName": "User",
          "action": "Create",
          "id": 2000001
        }
      ],
      "userId": 42,
      "userIsDeleted": false,
      "userIsActive": true,
      "id": 1000001
    }
  ]
}

--exportでは、CodeAuditLogsExportedで、ペイロードは次のとおりです。

{
  "Code": "AuditLogsExported",
  "Data": {
    "FileName": "jobs-audit.csv",
    "Size": 52318,
    "ExportId": 4711
  }
}
{
  "Code": "AuditLogsExported",
  "Data": {
    "FileName": "jobs-audit.csv",
    "Size": 52318,
    "ExportId": 4711
  }
}
  • uip or jobs — 監査ログの [ジョブ] コンポーネントには、ジョブのライフサイクル イベントが記録されます。
  • uip or users — 監査エントリに表示されるユーザー名を解決します。

参照

  • 概要
  • 動詞
  • uip または監査ログのリスト
  • オプション
  • データシェイプ(--output json)
  • 関連コマンド
  • 参照

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得