@extends('layouts.app') @section('title', 'Security Attempts') @section('content')
| 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. |
|||||||