{% extends "base.html" %} {% set active_page = 'audit-logs' %} {% block title %}Audit Logs — vSphere Backup Manager{% endblock %} {% block head %} {% endblock %} {% block content %}
Audit Logs
Historical records of all user management actions and system-level events (Auto-pruned after 360 days)
🔍
{% if q or actor_type != 'all' or action_type != 'all' %} Clear Filters {% endif %}
{% if logs %} {% for log in logs %} {% endfor %} {% else %} {% endif %}
Timestamp Actor Action Target Details IP Address
{{ log.timestamp_fmt }} {% if log.actor == 'system' %} 🤖 system {% else %} 👤 {{ log.actor }} {% endif %} {% if log.action in ('USER_LOGIN', 'USER_LOGOUT') %} {{ log.action }} {% elif 'SUCCESS' in log.action or 'OK' in log.action %} {{ log.action }} {% elif 'FAIL' in log.action or 'FAILURE' in log.action or 'ERROR' in log.action %} {{ log.action }} {% else %} {{ log.action }} {% endif %} {{ log.target }} {{ log.details }} {{ log.ip_address }}
No matching audit logs found. User actions and system events will appear here chronologically.
{% if total_pages > 1 %}
Showing {{ logs|length }} of {{ total_count }} log entries
{% if page > 1 %} ← Previous {% else %} {% endif %} Page {{ page }} of {{ total_pages }} {% if page < total_pages %} Next → {% else %} {% endif %}
{% endif %}
{% endblock %}