{% extends "django_security_monitor/base.html" %} {% block title %}Dashboard{% endblock %} {% block topbar_title %}๐Ÿ“Š Security Dashboard{% endblock %} {% block content %}
{{ stats.events_today }}
Events Today
{{ stats.critical_today }}
Critical Today
{{ stats.blocked_ips }}
Blocked IPs
{{ stats.active_threats }}
Active Threats
{{ stats.total_visitors }}
Total Visitors
{{ stats.honeypot_hits }}
Honeypot Hits Today
Event Types โ€” Last 7 Days
Events Timeline โ€” Last 7 Days
โšก Live Security Feed Auto-refreshes every 15s
{% for e in recent_events %} {% empty %} {% endfor %}
TimeIPEventSeverityPath
{{ e.timestamp|date:"H:i:s" }} {{ e.ip_address }} {{ e.get_event_type_display }} {% if e.extra_data.superuser_test %} ๐Ÿงช TEST {% endif %} {{ e.severity }} {{ e.path }}
โœ… No security events yet
View All Events โ†’
๐ŸŽฏ Top Threat IPs View All
{% for t in top_threats %} {% with prob=t.hack_probability %} {% endwith %} {% empty %} {% endfor %}
IPHack ProbabilityScoreStatus
{{ t.ip_address }}
{{ prob }}%
{{ t.score|floatformat:0 }} {% if t.is_blocked %} ๐Ÿ”’ Blocked {% else %} {{ t.risk_level }} {% endif %}
No threats recorded
๐Ÿ”ฅ Most Attacked Paths โ€” Last 7 Days
{% for p in top_paths %} {% empty %} {% endfor %}
PathAttack CountBar
{{ p.path }} {{ p.count }} {% with top_paths.0.count as max_count %}
{% endwith %}
No data yet
{% endblock %} {% block extra_js %} {% endblock %}