📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

ti fs-vault list-audit-events



Lists vault audit events with optional agent, secret, and time filters.

Syntax

ti fs-vault list-audit-events [--agent-id <string>] [--file-system-id <string>] [--fs-token <string>] [--help] [--limit <int32>] [--secret-name <string>] [--since <duration>] [--version]

Options

  • --agent-id <string>: Filter by agent ID.
  • --file-system-id <string>: Select the file system. You can also set TI_FS_FILE_SYSTEM_ID.
  • --fs-token <string>: Set the file system user token. If omitted, uses TI_FS_TOKEN.
  • --help: Display help information.
  • --limit <int32>: Maximum events to return. [default: 100]
  • --secret-name <string>: Filter by Vault secret name.
  • --since <duration>: Client-side relative time filter, for example, 24h.
  • --version: Display version information.

For options shared by all commands, see Global options.

Examples

  • List events for one secret:

    # Inspect recent access and mutation events for the selected secret. ti fs-vault list-audit-events --file-system-id <file-system-id> --secret-name db-prod --limit 20
  • List recent events for an agent:

    # Filter the audit trail to one delegated identity and time range. ti fs-vault list-audit-events --file-system-id <file-system-id> --agent-id deploy-agent --since 24h

Was this page helpful?