Module token_operations

Module token_operations 

Source
Expand description

Token lifecycle operations analysis.

Tracks token-related operations to understand token usage patterns and identify entities performing high volumes of token operations. Supports multi-file analysis for long-term trending.

§Usage

# Single file analysis
vault-audit token-operations vault_audit.log

# Week-long analysis
vault-audit token-operations logs/vault_audit.2025-10-*.log

§Output

Displays a summary table showing per-entity token operations:

  • lookup-self: Token self-inspection operations
  • renew-self: Token renewal operations
  • revoke-self: Token revocation operations
  • create: New token creation
  • login: Authentication operations that create tokens
  • other: Other token-related operations

Results are sorted by total operations (descending) to identify the most active entities.

Functions§

run