Skip to main content

astroctl audit

View your audit logs and organization activity

Synopsis​

Audit operations allow you to view and analyze activity within your organization. Regular users can view their own activity, while Admins and Owners can see all organization events.

🏢 ENTERPRISE PLAN REQUIRED These features are only available for organizations with Enterprise plans.

👥 PERMISSIONS

  • Organization Owners and Admins: Full access to all audit logs
  • Members, Editors, Viewers: Access to their own audit logs only
Terminal
astroctl audit [flags]

Examples​

Terminal

# List your recent audit events
astroctl audit list

# List recent audit events for the whole organization (Admin/Owner only)
astroctl audit list

# Get specific audit event details
astroctl audit get 0190b8a0-1c2d-7e3f-8a4b-5c6d7e8f9a0b

# Export your audit events to CSV
astroctl audit export --format CSV --output my-activity.csv

Options​

Terminal
-h, --help help for audit

Options inherited from parent commands​

Terminal
-o, --output string Output format (table|json|yaml) (default "table")

SEE ALSO​