{% extends "base.html" %} {% block title %}Audit Trail - AKSARA{% endblock %} {% block content %}

Audit Trail

A complete chronological log of system actions and modifications.

to
Reset
{% for item in structured_logs %} {% else %} {% endfor %}
Datetime Actor Action Entity Details Summary
{{ item.log.created_at|localtime }} {{ item.actor_name }} {% if item.log.action == 'CREATE' %} Created {% elif item.log.action == 'UPDATE' %} Modified {% elif item.log.action == 'DELETE' %} Deleted {% else %} {{ item.log.action }} {% endif %} {{ item.log.entity_type }}
ID: {{ item.log.entity_id }}
{% if item.log.action == 'CREATE' %} New record created. {% elif item.log.action == 'DELETE' %} Record permanently deleted. {% elif item.log.action == 'UPDATE' and item.changes %}
    {% for field, diff in item.changes.items() %} {% if field == '_manager_override' %}
  • Administrative Override
  • {% else %}
  • {{ field }}: {{ diff.old or 'empty' }} {{ diff.new or 'empty' }}
  • {% endif %} {% endfor %}
{% else %} No significant fields changed or metadata update only. {% endif %}
No Audit Records Found

There are no audit logs matching the selected filters.

{% if pagination %} {% endif %}
{% endblock %} {% block scripts %} {% endblock %}