{% extends "base.html" %} {% import "components/macros.html" as ui %} {% block title %}Audit Logs - Stick{% endblock %} {% block content %}

Audit Logs

Review, search, and audit system activities and state changes

Manage Users Matches Found: {{ logs.len() }}

Filter Log Entries

Clear Filters
{{ ui::table_container_open(id="audit-table", max_height="68vh") }} {% if logs.is_empty() %} {% else %} {% for log in logs %} {% endfor %} {% endif %}
Timestamp User Event Target Entity IP / Details Replay Payload
No audit log entries matched the filter criteria.
{{ log.timestamp.format("%Y-%m-%d %H:%M:%S UTC") }} {% if let Some(uname) = log.username %} {{ uname }} {% if let Some(uid) = log.user_id %}
{{ uid.to_hex() }}
{% endif %} {% else %} Anonymous {% endif %}
{{ log.action_type }} {{ log.entity_type }} {% if let Some(e_id) = log.entity_id %}
{{ e_id.to_hex() }}
{% endif %}
{% if let Some(det) = log.details %} {{ det }} {% endif %}
{% if let Some(ip) = log.ip_address %} IP: {{ ip }} {% endif %} {% if let Some(ua) = log.user_agent %} {{ ua }} {% endif %}
{% if !log.formatted_payload().is_empty() %}
View Payload
{{ log.formatted_payload() }}
{% else %} No payload {% endif %}
{{ ui::table_container_close(id="audit-table") }}
← Back to Account Settings
{% endblock %}