@extends('layouts.superadmin') @section('title','Socratic Sentinel — Incidents') @section('content')
Incidents — حالات + معالجة + توثيق

Incidents لوحة الحالات

أي مؤشر خطر أو شذوذ يتم تسجيله هنا، مع إمكانية إغلاق الحالة وتوثيق المعالجة.

فلترة
Incidents Scope
@if(session('success'))
{{ session('success') }}
@endif
Incidents List
فلتر النتائج ثم أغلق أي حالة تم حلها
@forelse($items as $it) @php $sev = strtolower($it->severity ?? 'medium'); $sevCls = match($sev){ 'low' => 'bg-emerald-500/10 border-emerald-400/20 text-emerald-200', 'high' => 'bg-amber-500/10 border-amber-400/20 text-amber-200', 'critical' => 'bg-rose-500/10 border-rose-400/20 text-rose-200', default => 'bg-cyan-500/10 border-cyan-400/20 text-cyan-200', }; $isOpen = empty($it->resolved_at); @endphp @empty @endforelse
Time Kind Severity Title Actor IP Status Action
{{ $it->happened_at ?? '—' }} {{ $it->kind ?? '—' }} {{ $sev }}
{{ $it->title ?? '—' }}
@if(!empty($it->details))
{{ $it->details }}
@endif
{{ $it->actor_user_id ?? '—' }} {{ $it->ip_address ?? '—' }} @if($isOpen) open @else resolved
{{ $it->resolved_at }}
@endif
@if($isOpen)
@csrf
@else @endif
لا يوجد Incidents ضمن الفلترة.
{{ $items->links() }}
@endsection