@extends('layouts.walls') @section('additional_styles') @endsection @section('content') @php $timWidgetIds = ['map' => 683, '1h' => 696, '24h' => 697, '7d' => 698]; $timWidgets = []; foreach ($timWidgetIds as $timKey => $timWidgetId) { $timWidget = \App\Models\SplunkSearches::find($timWidgetId); if (!$timWidget) { continue; } $timFrom = ''; $timTo = ''; if ($timWidget->period_only) { $timFrom = $timWidget->period_from; $timTo = $timWidget->period_to; } $timWidgets[] = ['key' => $timKey, 'id' => $timWidgetId, 'from' => $timFrom, 'to' => $timTo]; } $timFlags = array_map(function ($timFlagPath) { return basename($timFlagPath, '.png'); }, glob(public_path('theme/png/*.png'))); $timClientQuery = \App\Client::whereNotNull('cust_id')->where('cust_id', '!=', ''); if ((int) account()->id !== \App\Models\Account::GLESEC_ACCOUNT_ID) { $timClientQuery->where('client_id', account()->id); } $timClients = $timClientQuery->pluck('name', 'cust_id')->toArray(); @endphp
@include('monitoring_wall.partials._sw-topbar', ['subtitle' => 'Global Attack Surface'])
@include('monitoring_wall.partials._sw-loader')
@include('monitoring_wall.partials._sw-loader', ['label' => 'Locating attack sources'])
@include('monitoring_wall.partials._sw-loader')
@include('monitoring_wall.partials._sw-bootstrap') @endsection