Table of Contents

Class AuditLedgerRecordEntity

Namespace
AsiBackbone.EntityFrameworkCore.Persistence
Assembly
AsiBackbone.EntityFrameworkCore.dll

Represents the Entity Framework Core persistence shape for an AsiBackbone audit ledger record.

public sealed class AuditLedgerRecordEntity : GovernanceEntity, IGovernanceEntity, IConcurrencyTrackedEntity
Inheritance
AuditLedgerRecordEntity
Implements
Inherited Members

Properties

AcknowledgmentId

Gets or sets the related acknowledgment identifier, when available.

public string? AcknowledgmentId { get; set; }

Property Value

string

ActorDisplayName

Gets or sets the optional display name or label associated with the actor.

public string? ActorDisplayName { get; set; }

Property Value

string

ActorId

Gets or sets the stable actor identifier associated with the event.

public string ActorId { get; set; }

Property Value

string

ActorType

Gets or sets the actor type associated with the event.

public GovernanceActorType ActorType { get; set; }

Property Value

GovernanceActorType

CapabilityTokenId

Gets or sets the related capability grant identifier, when available.

public string? CapabilityTokenId { get; set; }

Property Value

string

ConstraintCount

Gets or sets the number of evaluated constraints, when supplied by the host.

public int? ConstraintCount { get; set; }

Property Value

int?

ConstraintSetHash

Gets or sets the hash of the evaluated constraint set, when supplied by the host.

public string? ConstraintSetHash { get; set; }

Property Value

string

CorrelationId

Gets or sets the correlation identifier associated with the event, when supplied by the host.

public string? CorrelationId { get; set; }

Property Value

string

DecisionLatencyMs

Gets or sets the decision latency in milliseconds, when supplied by the host.

public long? DecisionLatencyMs { get; set; }

Property Value

long?

DecisionReceiptId

Gets or sets the stable decision receipt identifier.

public string? DecisionReceiptId { get; set; }

Property Value

string

DecisionStage

Gets or sets the provider-neutral decision stage associated with the event, when supplied by the host.

public string? DecisionStage { get; set; }

Property Value

string

EmitterProvider

Gets or sets the provider-neutral emitter provider name, when supplied by the host or outbox provider.

public string? EmitterProvider { get; set; }

Property Value

string

EmitterStatus

Gets or sets the provider-neutral emitter status, when supplied by the host or outbox provider.

public string? EmitterStatus { get; set; }

Property Value

string

EventId

Gets or sets the stable audit event identifier.

public string EventId { get; set; }

Property Value

string

GatewayExecutionId

Gets or sets the gateway execution identifier associated with the event, when supplied by the host or gateway provider.

public string? GatewayExecutionId { get; set; }

Property Value

string

HandshakeId

Gets or sets the related responsibility or acknowledgment identifier, when available.

public string? HandshakeId { get; set; }

Property Value

string

MetadataJson

Gets or sets serialized framework-neutral audit metadata supplied by the host.

public string MetadataJson { get; set; }

Property Value

string

OccurredUtc

Gets or sets the UTC timestamp when the audited event occurred.

public DateTimeOffset OccurredUtc { get; set; }

Property Value

DateTimeOffset

OperationName

Gets or sets the operation name associated with the audited event.

public string OperationName { get; set; }

Property Value

string

OrganizationHash

Gets or sets the privacy-preserving organization hash associated with the decision, when supplied by the host.

public string? OrganizationHash { get; set; }

Property Value

string

OutboxSequence

Gets or sets the outbox sequence associated with the event, when supplied by the host or outbox provider.

public long? OutboxSequence { get; set; }

Property Value

long?

Outcome

Gets or sets the governance, constraint, or host-defined outcome associated with the event.

public string Outcome { get; set; }

Property Value

string

ParentSpanId

Gets or sets the parent span identifier associated with the event, when supplied by the host or observability adapter.

public string? ParentSpanId { get; set; }

Property Value

string

PolicyHash

Gets or sets the policy hash associated with the event, when supplied by the host.

public string? PolicyHash { get; set; }

Property Value

string

PolicyScope

Gets or sets the policy scope associated with the decision, when supplied by the host.

public string? PolicyScope { get; set; }

Property Value

string

PolicyVersion

Gets or sets the policy version associated with the event, when supplied by the host.

public string? PolicyVersion { get; set; }

Property Value

string

PreviousRecordHash

Gets or sets the previous ledger record hash, when supplied by a host or signing package.

public string? PreviousRecordHash { get; set; }

Property Value

string

ReasonCodesJson

Gets or sets the serialized machine-readable reason codes associated with the event.

public string ReasonCodesJson { get; set; }

Property Value

string

RecordHash

Gets or sets this ledger record hash, when supplied by a host or signing package.

public string? RecordHash { get; set; }

Property Value

string

RecordId

Gets or sets the stable audit ledger record identifier.

public string RecordId { get; set; }

Property Value

string

RecordedUtc

Gets or sets the UTC timestamp when the ledger record was created by the host or storage adapter.

public DateTimeOffset RecordedUtc { get; set; }

Property Value

DateTimeOffset

RiskScore

Gets or sets the host-defined risk score associated with the decision, when supplied by the host.

public double? RiskScore { get; set; }

Property Value

double?

SchemaVersion

Gets or sets the serialized schema version for this audit ledger record.

public string SchemaVersion { get; set; }

Property Value

string

SignatureAlgorithm

Gets or sets the signature algorithm, when supplied by a signing package or host.

public string? SignatureAlgorithm { get; set; }

Property Value

string

SignatureKeyId

Gets or sets the signature key identifier, when supplied by a signing package or host.

public string? SignatureKeyId { get; set; }

Property Value

string

SignatureKeyVersion

Gets or sets the signature key version, when supplied by a signing package or host.

public string? SignatureKeyVersion { get; set; }

Property Value

string

SignatureProvider

Gets or sets the signing provider descriptor, when supplied by a signing package or host.

public string? SignatureProvider { get; set; }

Property Value

string

SignatureValue

Gets or sets the signature value, when supplied by a signing package or host.

public string? SignatureValue { get; set; }

Property Value

string

SignedUtc

Gets or sets the UTC timestamp when the signature was produced, when supplied by a signing package or host.

public DateTimeOffset? SignedUtc { get; set; }

Property Value

DateTimeOffset?

SigningHash

Gets or sets the hash value that was signed or is intended to be signed, when supplied by a signing package or host.

public string? SigningHash { get; set; }

Property Value

string

SpanId

Gets or sets the span identifier associated with the event, when supplied by the host or observability adapter.

public string? SpanId { get; set; }

Property Value

string

TenantHash

Gets or sets the privacy-preserving tenant hash associated with the decision, when supplied by the host.

public string? TenantHash { get; set; }

Property Value

string

TraceId

Gets or sets the trace identifier associated with the event, when supplied by the host.

public string? TraceId { get; set; }

Property Value

string