MechaMental
Admin Guide

Audit Logs

Review the immutable event log, filter by type/user/resource, and export data for compliance.

Every action in MechaMental is recorded in an immutable audit trail. Audit logs provide full visibility into who did what, when, and from where -- essential for security, compliance, and troubleshooting.

Accessing Audit Logs

Navigate to Admin -> Audit Logs to access the organization-wide log viewer. You can also access workspace-specific logs from Settings -> Audit Log within a workspace.

Event Types

Audit events are grouped into categories. Each event captures the full context of the action.

Authentication Events

EventDescription
auth.loginUser signed in (password or SSO)
auth.logoutUser signed out
auth.token_createdAPI token was generated
auth.token_revokedAPI token was revoked
auth.sso_configuredSSO/OIDC settings were updated
auth.failed_loginFailed authentication attempt

Resource CRUD Events

EventDescription
resource.createdA resource was created (app, pipeline, tool, endpoint, etc.)
resource.updatedA resource was modified
resource.deletedA resource was deleted
resource.committedA pipeline commit was created

Deployment Events

EventDescription
deploy.release_createdA new release was created
deploy.release_deployedA release was deployed to an environment
deploy.release_rolled_backA release was rolled back
deploy.environment_updatedEnvironment configuration was changed

Secret Access Events

EventDescription
secret.createdA new secret was added to the vault
secret.updatedA secret value was updated
secret.deletedA secret was removed
secret.accessedA secret value was read (by a pipeline execution or user)

Admin Events

EventDescription
admin.member_invitedA new member was invited
admin.member_removedA member was removed
admin.role_changedA member's role was changed
admin.policy_updatedAn IAM or protection policy was updated
admin.settings_changedOrganization or workspace settings were modified
admin.billing_actionBilling-related action (plan change, limit update)

Event Details

Each audit log entry contains:

FieldDescription
TimestampExact date and time of the action (UTC)
ActorWho performed the action -- a user email or API token identifier
ActionThe event type (e.g., resource.created, auth.login)
ResourceThe affected resource with its type and ID
WorkspaceThe workspace scope (if applicable)
DetailsAdditional context: before/after values, IP address, user agent

The log viewer provides filters to narrow down events.

Filter by Date Range

Select a start and end date to view events within a specific time window. Presets are available for common ranges: Last hour, Last 24 hours, Last 7 days, Last 30 days.

Filter by Event Type

Select one or more event categories (Authentication, Resource CRUD, Deployments, Secrets, Admin) to show only matching events.

Filter by User

Enter a user email or API token identifier to see only actions performed by that actor.

Filter by Resource

Filter by the affected resource type (app, endpoint, tool, secret, model, etc.) or search for a specific resource by name or ID.

Filter by Workspace

Select a workspace to see only events scoped to that workspace. Organization-level events appear when no workspace filter is set.

Filters can be combined. For example, you can view all secret.accessed events by a specific user in the last 7 days within a particular workspace.

Immutable and tamper-proof

Audit logs cannot be modified or deleted by anyone, including organization admins. They are stored with append-only guarantees for compliance with regulatory requirements such as SOC 2 and GDPR.

Export

Export audit logs for external analysis, compliance reporting, or long-term archival.

CSV Export

  1. Apply your desired filters
  2. Click Export -> CSV
  3. The filtered results are downloaded as a .csv file

CSV exports are suitable for spreadsheet analysis and sharing with compliance teams.

JSON Export

  1. Apply your desired filters
  2. Click Export -> JSON
  3. The filtered results are downloaded as a .json file

JSON exports contain the full event payload including nested details, making them suitable for programmatic processing and ingestion into SIEM tools.

Retention

Audit logs are retained based on your organization's plan:

PlanRetention Period
Starter30 days
Professional90 days
Enterprise1 year (customizable)

Enterprise plans can negotiate extended retention periods. Contact your account manager for custom retention requirements.

Export before expiration

Events beyond your retention window are permanently removed. Export logs regularly if you need to retain them longer than your plan allows.

On this page