{% extends 'shipping/base.html' %} {% block title %}Activity Audit Logs — SFX API Hub{% endblock %} {% block content %}
Audit Log History (Showing Latest {{ logs|length }} Entries)
{% for log in logs %} {% empty %} {% endfor %}
Timestamp Service Action Name Method & Endpoint Status Code Latency Actions
{{ log.timestamp|date:"Y-m-d H:i:s" }} {% if log.service_type == 'FORWARD' %} Forward {% elif log.service_type == 'REVERSE' %} Reverse {% else %} Webhook {% endif %} {{ log.action_name }} {{ log.http_method }} {{ log.endpoint_url }} {% if log.response_status_code >= 200 and log.response_status_code < 300 %} {{ log.response_status_code }} OK {% else %} {{ log.response_status_code }} Error {% endif %} {{ log.execution_time_ms }} ms
No audit logs recorded matching criteria. Execute API calls from Forward or Reverse hubs to populate logs.
{% endblock %} {% block extra_scripts %} {% endblock %}