Table of Contents

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

string

Detail

public string? Detail { get; init; }

Property Value

string

DurationMs

Duration of the audited operation in milliseconds.

public long? DurationMs { get; init; }

Property Value

long?

EventId

public string EventId { get; init; }

Property Value

string

PolicyResult

public PolicyDecision? PolicyResult { get; init; }

Property Value

PolicyDecision?

PreviousHash

Hash of the previous audit event for tamper-evident chaining. Null for the first event.

public string? PreviousHash { get; init; }

Property Value

string

Resource

public string? Resource { get; init; }

Property Value

string

SessionId

public string? SessionId { get; init; }

Property Value

string

Severity

public AuditSeverity Severity { get; init; }

Property Value

AuditSeverity

TenantId

Tenant identifier when running in a multi-tenant deployment.

public string? TenantId { get; init; }

Property Value

string

Timestamp

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset

ToolArguments

Redacted tool arguments for tool invocation events.

public string? ToolArguments { get; init; }

Property Value

string

ToolName

Tool name for tool invocation events.

public string? ToolName { get; init; }

Property Value

string

ToolResult

Tool result summary (truncated) for tool invocation events.

public string? ToolResult { get; init; }

Property Value

string

TraceId

public string? TraceId { get; init; }

Property Value

string

UserId

public string? UserId { get; init; }

Property Value

string