@extends('layouts.app') @section('content')

{{ $dashboardData['total_attempts_24h'] }}

Failed Attempts (24h)

More info

{{ $dashboardData['blocked_ips'] }}

Blocked IP Addresses

More info

{{ $dashboardData['unique_ips_24h'] }}

Unique IPs (24h)

{{ $dashboardData['high_threat_attempts'] }}

High Threat Attempts

Recent Failed Login Attempts
@if(count($dashboardData['recent_attempts']) > 0)
@foreach($dashboardData['recent_attempts'] as $attempt) @endforeach
Time IP Address Email Attempted Location Threat Level Actions
{{ $attempt->created_at->format('M j, H:i') }} {{ $attempt->ip_address }} @if($attempt->is_blocked) Blocked @endif {{ Str::limit($attempt->email_attempted, 25) }} @if($attempt->country) {{ $attempt->city }}, {{ $attempt->country }} @else Unknown @endif {{ ucfirst($attempt->threat_level) }} @if(!$attempt->is_blocked) @else @endif
@else

No recent failed login attempts detected.

This is a good sign - your system is secure!

@endif
Top Attacking IPs (24h)
@if(count($dashboardData['top_attacking_ips']) > 0)
@foreach($dashboardData['top_attacking_ips'] as $attackingIp)
{{ $attackingIp['ip_address'] }}
{{ ucfirst($attackingIp['max_threat']) }}
{{ $attackingIp['total_attempts'] }}
@endforeach
@else

No attack patterns detected in the last 24 hours.

@endif
Attack Sources by Country
@if(count($dashboardData['attack_countries']) > 0)
@foreach($dashboardData['attack_countries'] as $country)
{{ $country['country'] }} {{ $country['attempts'] }}
@endforeach
@else

No geolocation data available.

@endif
Quick Security Actions
Block IP Address
@csrf
Unblock IP Address
@csrf
@endsection