{% extends "base.html" %} {% block title %}{{ _('audit.title') }}{% endblock %} {% block head %} {% endblock %} {% block content %}

๐Ÿ›ก๏ธ {{ _('audit.title') }} Admin

{{ _('audit.subtitle') }}

{{ _('audit.total_entries', total=total) }}
{{ _('audit.retention_hint') }}
{% if success_msg %}
โœ“ {{ success_msg }}
{% endif %} {% if error_msg %}
โœ— {{ error_msg }}
{% endif %}
{{ _('audit.filter_and_search') }} {% if action_filter or user_filter or start_date or end_date or search_filter or category_filter %} {{ _('audit.reset_filters') }} {% endif %}
{{ _('audit.table_entries_header') }} {% if total > 0 %} {{ offset + 1 }}โ€“{% if offset + limit < total %}{{ offset + limit }}{% else %}{{ total }}{% endif %} / {{ total }} {% else %} {{ _('audit.all') }} {% endif %}
{% for log in logs %} {% else %} {% endfor %}
# {{ _('audit.timestamp') }} {{ _('audit.user') }} {{ _('audit.category') }} {{ _('audit.action') }} {{ _('audit.details') }} {{ _('audit.ip_address') }} {{ _('audit.client') }}
{{ log.id }} {{ log.timestamp }} {% if log.username %} {{ log.username }} {% if log.user_id %}({{ log.user_id[:6] }}โ€ฆ){% endif %} {% else %} system {% endif %} {{ log.category }} {{ log.action }} {{ log.details|default('โ€“') }} {% if ':' in (log.ip_address or '') %} v6 {% else %} v4 {% endif %} {{ log.ip_address|default('โ€“') }} {{ log.user_agent|default('โ€“') }}
๐Ÿ›ก๏ธ
{{ _('audit.no_logs_found') }}
{{ _('audit.no_logs_desc') }}
{% if total > limit %}
{{ _('audit.page_info', page=((offset // limit) + 1), pages=(((total - 1) // limit) + 1)) }}
{% if offset > 0 %} ยซ {{ _('audit.pagination_prev') }} {% endif %} {% if offset + limit < total %} {{ _('audit.pagination_next') }} ยป {% endif %}
{% endif %}
โš  {{ _('audit.prune_title') }}

{{ _('audit.prune_desc') }}

{{ _('audit.api_access_heading') }}
curl -H "X-API-Key: <admin_key>" "{{ request.url.scheme }}://{{ request.url.netloc }}{{ base_path }}/api/v1/system/audit?limit=100&action=login_failed"
{% endblock %}