@extends('layouts.app') @section('title','Sharing Logs - NGBVD') @section('content') @include('integrations.partials.settings_style')
Zero Trust API Audit Trail

Sharing Logs

Detailed inbound and outbound API activity: client, IP, endpoint, data accessed, timing, rate limits, signatures and responses.

API Access and Data Sharing Register

Every protected GET/POST API call is recorded here after the zero-trust middleware validates the client.

@forelse($logs as $log) @php $status=strtolower($log->status ?? 'pending'); $badge=$status==='success'?'ni-success':(in_array($status,['failed','error'])?'ni-danger':($status==='retrying'?'ni-warning':'ni-muted')); $modalId='integrationLogModal'.($log->id ?? md5($log->uuid ?? $loop->index)); $client = $log->apiClient ?? null; @endphp @empty @endforelse
Date/Time Client Direction Endpoint IP / Where Data Accessed Duration Status Action
{{ optional($log->created_at)->format('d M Y') ?: 'N/A' }}
{{ optional($log->created_at)->format('H:i:s') }}
{{ $client->name ?? $log->system_name ?? $log->integration_name ?? 'Unknown Client' }}
{{ $client->client_key ?? 'No key captured' }}
{{ ucfirst($log->direction ?: 'outbound') }} {{ $log->http_method ?: 'GET' }} {{ $log->endpoint ?: '-' }}
{{ $log->route_name ?: '' }}
{{ $log->ip_address ?: 'N/A' }}
{{ $log->geo_city ?: '' }} {{ $log->geo_country ?: '' }}
{{ \Illuminate\Support\Str::limit($log->data_accessed ?: $log->record_type ?: 'N/A', 100) }}
@if($log->response_record_count !== null){{ $log->response_record_count }} records@endif
{{ $log->duration_ms !== null ? number_format($log->duration_ms).' ms' : '-' }}
{{ $log->response_size_bytes ? number_format($log->response_size_bytes).' bytes' : '' }}
{{ ucfirst($status) }}
HTTP {{ $log->response_code ?: '-' }}
No integration logs foundSharing logs will appear here after protected API activity is recorded.

Filter Logs

Review by client, endpoint, IP, status or date.

Clear
@foreach($logs as $log) @php $status=strtolower($log->status ?? 'pending'); $badge=$status==='success'?'ni-success':(in_array($status,['failed','error'])?'ni-danger':($status==='retrying'?'ni-warning':'ni-muted')); $modalId='integrationLogModal'.($log->id ?? md5($log->uuid ?? $loop->index)); $client = $log->apiClient ?? null; @endphp @endforeach @endsection