astroctl_audit
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
Examples
# 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 audit_20240115143045_660d8b8d_API_KEY
# Export your audit events to CSV
astroctl audit export --format csv --output my-activity.csv
Options
-h, --help help for audit
Options inherited from parent commands
-o, --output string Output format (json|yaml) (default "yaml")
SEE ALSO
- astroctl - Astro Platform CLI tool
- astroctl audit export - Export audit events
- astroctl audit get - Get audit event details
- astroctl audit list - List audit events (Enterprise Plan Required)
- astroctl audit stats - Get audit statistics (Admin/Owner Required)