{{-- Navbar --}} {{-- Hero --}}

{{ config('app.name') }}

集中管理內部服務申請、VPN 帳號、主機監控與資安通報

VPN 管理 主機監控 CVE 通報 GCB 合規 專案管理
@auth 進入儀表板 @else 登入系統 @endauth
{{-- CVE 區塊 --}} @php $cveData = \App\Services\CveService::getCachedCves(); $allCves = collect($cveData)->flatten(1)->unique('id') ->sortByDesc(fn($c) => !empty($c['published']) ? \Carbon\Carbon::parse($c['published'])->timestamp : 0) ->values()->toArray(); $categories = ['all' => $allCves] + $cveData; $tabMeta = [ 'all' => ['label' => '全部', 'icon' => 'bi-grid-fill'], 'Linux OS' => ['label' => 'Linux', 'icon' => 'bi-ubuntu'], 'Apache' => ['label' => 'Apache', 'icon' => 'bi-server'], 'MySQL' => ['label' => 'MySQL', 'icon' => 'bi-database'], 'PHP' => ['label' => 'PHP', 'icon' => 'bi-filetype-php'], 'MSSQL' => ['label' => 'MSSQL', 'icon' => 'bi-database-gear'], 'Oracle' => ['label' => 'Oracle', 'icon' => 'bi-database-fill'], 'Chrome' => ['label' => 'Chrome', 'icon' => 'bi-browser-chrome'], ]; $tagClassMap = [ 'Linux OS'=>'ptag-linux','Apache'=>'ptag-apache','MySQL'=>'ptag-mysql', 'PHP'=>'ptag-php','MSSQL'=>'ptag-mssql','Oracle'=>'ptag-oracle','Chrome'=>'ptag-chrome', ]; $sevLabels = ['CRITICAL'=>'嚴重','HIGH'=>'高','MEDIUM'=>'中','LOW'=>'低']; // 統計數字 $criticalCount = collect($allCves)->where('severity','CRITICAL')->count(); $highCount = collect($allCves)->where('severity','HIGH')->count(); @endphp {{-- Stats bar --}} @if(!empty($allCves))
{{ count($allCves) }}
本期 CVE 總數
{{ $criticalCount }}
嚴重等級
{{ $highCount }}
高風險
{{ count($cveData) }}
監控產品類別
@endif
@if(!empty($allCves))
CVE 資安通報
每天 08:00 自動更新 ・ 近 120 天
{{-- 分類標籤 --}}
@foreach($tabMeta as $key => $meta) @php $items = collect($categories[$key] ?? []) ->sortByDesc(fn($c) => !empty($c['published']) ? \Carbon\Carbon::parse($c['published'])->timestamp : 0) ->values()->all(); @endphp @if($key === 'all' || count($items) > 0) @endif @endforeach
{{-- Tab 內容 --}} @foreach($tabMeta as $key => $meta) @php $items = collect($categories[$key] ?? []) ->sortByDesc(fn($c) => !empty($c['published']) ? \Carbon\Carbon::parse($c['published'])->timestamp : 0) ->values()->all(); $slug = Str::slug($key); $totalPages = (int) ceil(count($items) / 10); @endphp @if($key === 'all' || count($items) > 0)
@foreach($items as $idx => $cve) @endforeach
CVE 編號 嚴重性 分數 產品 描述 發布日期
{{ $cve['id'] }} {{ $sevLabels[$cve['severity'] ?? ''] ?? 'N/A' }} @if($cve['score']) {{ $cve['score'] }} @else - @endif @foreach($cve['tags'] ?? [] as $tag) {{ $tag }} @endforeach {{ Str::limit($cve['description'], 75) }} @if(!empty($cve['description_zh'])) {{ Str::limit($cve['description_zh'], 55) }} @endif {{ $cve['published'] ? \Carbon\Carbon::parse($cve['published'])->format('Y-m-d') : '-' }}
@if($totalPages > 1)
共 {{ count($items) }} 筆
第 1 / {{ $totalPages }} 頁
@else
共 {{ count($items) }} 筆
@endif
@endif @endforeach
@endif
{{-- Footer --}} {{-- CVE Modal --}}