@extends('layouts.app') @section('title', 'Security Attempts') @section('content')

Failed Login Attempts

Total Attempts {{ number_format($stats['total_attempts']) }}
Blocked IPs {{ number_format($stats['blocked_ips']) }}
High Threat {{ number_format($stats['high_threat']) }}
Recent 24h {{ number_format($stats['recent_24h']) }}
@forelse($attempts as $attempt) @empty @endforelse
Date/Time IP Address Email Attempted User Agent Device Info Threat Level Status Actions
{{ $attempt->created_at->format('M j, Y') }}
{{ $attempt->created_at->format('H:i:s') }}
{{ $attempt->ip_address }} @if($attempt->country_code)
{{ $attempt->country_code }} @endif
{{ $attempt->email_attempted }}
{{ $attempt->user_agent ?? 'Unknown' }}
@if($attempt->device_type) {{ ucfirst($attempt->device_type) }} @if($attempt->platform)
{{ $attempt->platform }} @endif @else Unknown @endif
@php $threatColors = [ 'low' => 'success', 'medium' => 'warning', 'high' => 'danger' ]; $color = $threatColors[$attempt->threat_level] ?? 'secondary'; @endphp {{ ucfirst($attempt->threat_level) }} @if($attempt->is_blocked) Blocked @else Failed @endif
@if(!$attempt->is_blocked) @endif

No failed login attempts found.

Showing {{ $attempts->firstItem() ?? 0 }} to {{ $attempts->lastItem() ?? 0 }} of {{ $attempts->total() }} results
{{ $attempts->appends(request()->query())->links() }}
@endsection @section('scripts') @endsection