@extends('layouts.main')
@section('title', 'Cybersecurity Dashboard')
@section('breadcrumb')
@include('dashboards.ecsm.incl_report_button', ['report_name' => 'Cybersecurity Dashboard Report'])
@include('dashboards.ecsm.incl_docs_button', ['docs' => \App\Models\SplunkDashboards::getDocuments('Cybersecurity Dashboard')])
{{-- Global Time Range Selector --}}
@foreach([
$wCyberCondition => 'Global Cybersecurity Condition',
$wThreatLevel => 'Threat Level',
$wActiveGNEs => 'Active Critical/High GNEs',
$wExposure => 'Exposure Pressure',
$wProtection => 'Protection Effectiveness',
$wWorkflow => 'Cybersecurity Workflow Health',
] as $wId => $wName)
@if($wId)
{{ $wName }}
@if(!empty($tooltips[$wName]))
@endif
{!! $splunk_searches::getCodeArray([$wId], $from, $to) !!}
@endif
@endforeach
{{-- /top row gauges --}}
{{-- BOTTOM WIDGETS --}}
@php
$bottomWidgets = [
// Row 2 — 3 widgets
['id' => $wRiskDrivers, 'name' => 'Active Risk Drivers', 'class' => 'col-xl-4', 'scroll' => true],
['id' => $wThreatIntel, 'name' => 'Threat & Validation Intelligence', 'class' => 'col-xl-4'],
['id' => $wControlMatrix, 'name' => 'Protection Effectiveness Control Matrix', 'class' => 'col-xl-4'],
// Row 3 — 3 widgets
['id' => $wExposureIntel, 'name' => 'Exposure Intelligence', 'class' => 'col-xl-4', 'scroll' => true],
['id' => $wRemediation, 'name' => 'Remediation Execution', 'class' => 'col-xl-4', 'chart' => true],
['id' => $wBottlenecks, 'name' => 'Operational Bottlenecks', 'class' => 'col-xl-4'],
// Row 4 — 3 widgets
['id' => $wPersistentPress, 'name' => 'Persistent Threat Pressure', 'class' => 'col-xl-4', 'scroll' => true],
['id' => $wIdentity, 'name' => 'Identity & Access Intelligence', 'class' => 'col-xl-4'],
['id' => $wIoT, 'name' => 'IoT/OT Exposure', 'class' => 'col-xl-4', 'scroll' => true],
];
@endphp
@foreach($bottomWidgets as $w)
@if($w['id'])
{{ $w['name'] }}
@if(!empty($tooltips[$w['name']]))
@endif
{!! $splunk_searches::getCodeArray([$w['id']], $from, $to) !!}
@endif
@endforeach
{{-- /bottom widgets --}}
{{-- News --}}