@page "/monitoring/audit-log" @using ScadaLink.Security @using ScadaLink.Commons.Entities.Audit @using ScadaLink.Commons.Interfaces.Repositories @attribute [Authorize(Policy = AuthorizationPolicies.RequireAdmin)] @inject ICentralUiRepository CentralUiRepository @inject IJSRuntime JS
| Timestamp | User | Action | Entity Type | Entity ID | Entity Name | State |
|---|---|---|---|---|---|---|
| No audit entries found. | ||||||
| @entry.User | @entry.Action | @entry.EntityType |
@if (!string.IsNullOrEmpty(entry.EntityId))
{
@entityIdShort…
}
else
{
—
}
|
@entry.EntityName | @if (hasState) { if (isLarge) { } else { } } else { — } | |
@FormatJson(entry.AfterStateJson!) |
||||||