alpacon audit

View audit logs for user actions and system events.

Usage

alpacon audit [flags]

Key facts

  • Filter by user, application, or model.
  • Use --tail to choose how many entries to show.
  • audit-log is an alias for audit.

Flags

FlagTypeDescriptionDefault
-a, --appstringFilter by application—
-h, --helpboolhelp for auditfalse
-m, --modelstringFilter by model—
-t, --tailintNumber of audit log entries to show, newest first25
-u, --userstringFilter by username—
--outputstringOutput format: table or jsontable

Examples

View recent audit logs:

bash
alpacon audit
alpacon audit-log

Filter audit logs:

bash
alpacon audit --tail 10 --user admin
alpacon audit --tail=50 --app=cert --model=authority

Description

The audit command displays audit log entries that track security-relevant events across your infrastructure. Audit logs include:

  • User authentication events (login, logout, MFA)
  • Resource access events (servers, certificates, groups)
  • Configuration changes
  • Permission modifications
  • API access

Without the activity:read permission across the workspace, the command lists only your own entries, and filtering by another user is refused. See Activity log.

Last updated: