@using ZB.MOM.WW.OtOpcUa.Admin.Services @using ZB.MOM.WW.OtOpcUa.Configuration.Entities @inject AuditLogService AuditSvc

Recent audit log

@if (_entries is null) {

Loading…

} else if (_entries.Count == 0) {

No audit entries for this cluster yet.

} else { @foreach (var a in _entries) { }
WhenPrincipalEventNodeGenerationDetails
@a.Timestamp.ToString("u") @a.Principal @a.EventType @a.NodeId @a.GenerationId @a.DetailsJson
} @code { [Parameter] public string ClusterId { get; set; } = string.Empty; private List? _entries; protected override async Task OnParametersSetAsync() => _entries = await AuditSvc.ListRecentAsync(ClusterId, limit: 100, CancellationToken.None); }