UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

最終更新日時 2026年5月7日

uip or audit-logs

uip or audit-logs lists the tenant's audit log — the record of who did what and when. Audit entries track changes to users, processes, assets, queues, jobs, folders, machines, roles, settings, schedules, and other entities. Use it for compliance review, incident investigation, or to watch a specific user's activity.

Synopsis

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

The verb honors the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the standard contract.

Verbs

Verb目的
listList audit entries, filtered by component, action, user, or time range. Optionally export to CSV.

uip or audit-logs list

List audit log entries. Filters compose with AND semantics. With --export, the logs are exported server-side to CSV and downloaded when ready.

オプション

Short長押し値 (Value)既定 (Default)説明
-t--tenantnamesession defaultOverride the tenant.
--componenttextFilter by component (for example, Users, Assets, Processes, Queues, Jobs, Folders, Machines, Roles, Settings, Schedules).
--actiontextFilter by action (for example, Create, Update, Delete, StartJob, StopJob, Upload, Download).
--userユーザー名Exact-match on username.
--created-afterISO 8601Entries on or after this date.
--created-beforeISO 8601Entries strictly before this date.
-l--limitNumber50Page size.
--offsetNumber0Skip count.
--order-byフィールドExecutionTime descOData sort expression.
--exportflagoffExport matching entries to CSV via the server-side export API.
-o--outputパスaudit-logs-export.csvOutput CSV path. Only with --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

Data shape (--output json)

Inline mode:

{
  "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
    }
  ]
}

With --export, the Code is AuditLogsExported and the payload is:

{
  "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 — the Jobs component of audit logs records job lifecycle events.
  • uip or users — resolve usernames seen in audit entries.

参照

  • Synopsis
  • Verbs
  • uip or audit-logs list
  • オプション
  • Data shape (--output json)
  • Related commands
  • 参照

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得