{% extends "base.html" %} {% block breadcrumb_items %} {% endblock %} {% block header_actions %}
{% endblock %} {% block content %}

Security Monitoring

Monitor security events and access logs

Security Score

95%

Excellent
Failed Logins

{{ security_data.failed_logins or 0 }}

Last 24 hours
Active Sessions

{{ security_data.active_sessions or 0 }}

Current users
Blocked IPs

{{ security_data.blocked_ips or 0 }}

Auto-blocked
Recent Security Events
{% if security_data.security_events %} {% for event in security_data.security_events %} {% endfor %} {% else %} {% endif %}
Time Event IP Address User Severity Action
{{ event.timestamp.strftime('%H:%M:%S') }} {{ event.description }} {{ event.user_ip or 'Unknown' }} {{ event.user_email or '-' }} {% if event.status_code >= 400 %} Critical {% elif event.activity_type == 'ERROR' %} Warning {% else %} Info {% endif %} {% if event.user_ip and event.status_code >= 400 %} {% else %} - {% endif %}
No security events found
Top Failed Login IPs
192.168.1.100
Last attempt: 2 min ago
8
10.0.0.45
Last attempt: 15 min ago
5
203.0.113.5
Last attempt: 1 hour ago
3
198.51.100.10
Last attempt: 2 hours ago
2
Active User Sessions
User IP Address Login Time Action
superadmin 127.0.0.1 20:38:22
staff_user 192.168.1.50 19:45:10
editor 10.0.0.25 18:22:35
Blocked IP Addresses
IP Address Reason Blocked At Action
192.168.1.100 Brute force 20:45:32
10.0.0.45 Suspicious activity 20:42:15
203.0.113.5 Rate limiting 20:35:10
{% endblock %} {% block extra_js %} {% endblock %}