Class AuditEvent
- Namespace
- JD.AI.Core.Governance.Audit
- Assembly
- JD.AI.Core.dll
public sealed class AuditEvent
- Inheritance
-
AuditEvent
- Inherited Members
Properties
Action
public string Action { get; init; }
Property Value
Detail
public string? Detail { get; init; }
Property Value
DurationMs
Duration of the audited operation in milliseconds.
public long? DurationMs { get; init; }
Property Value
- long?
EventId
public string EventId { get; init; }
Property Value
PolicyResult
public PolicyDecision? PolicyResult { get; init; }
Property Value
PreviousHash
Hash of the previous audit event for tamper-evident chaining. Null for the first event.
public string? PreviousHash { get; init; }
Property Value
Resource
public string? Resource { get; init; }
Property Value
SessionId
public string? SessionId { get; init; }
Property Value
Severity
public AuditSeverity Severity { get; init; }
Property Value
TenantId
Tenant identifier when running in a multi-tenant deployment.
public string? TenantId { get; init; }
Property Value
Timestamp
public DateTimeOffset Timestamp { get; init; }
Property Value
ToolArguments
Redacted tool arguments for tool invocation events.
public string? ToolArguments { get; init; }
Property Value
ToolName
Tool name for tool invocation events.
public string? ToolName { get; init; }
Property Value
ToolResult
Tool result summary (truncated) for tool invocation events.
public string? ToolResult { get; init; }
Property Value
TraceId
public string? TraceId { get; init; }
Property Value
UserId
public string? UserId { get; init; }