@php $alerts = $securityDashboard['alerts'] ?? []; @endphp @if(count($alerts) > 0)

Security alerts

@foreach($alerts as $alert) @php $severity = $alert['severity'] ?? 'warning'; $badge = $severity === 'critical' ? 'danger' : ($severity === 'warning' ? 'warning' : 'info'); $action = $alert['action'] ?? null; @endphp
{{ $severity }} {{ $alert['title'] ?? '' }}

{{ $alert['description'] ?? '' }}

@if($action) Review @endif
@endforeach
@endif