Table of Contents

Class AuditAnnotation

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Represents an annotation (tag, bookmark, or note) attached to an audit event.

public sealed record AuditAnnotation : IEquatable<AuditAnnotation>
Inheritance
AuditAnnotation
Implements
Inherited Members

Remarks

Annotations are additive, immutable records that never modify the original AuditEvent or its hash chain. They are stored separately and linked by EventId.

Properties

ActorId

Gets the identifier of the actor who created this annotation.

public required string ActorId { get; init; }

Property Value

string

Content

Gets the content of the annotation: tag label, bookmark label, or note text.

public required string Content { get; init; }

Property Value

string

CreatedAt

Gets the timestamp when this annotation was created.

public required DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

EventId

Gets the identifier of the audit event this annotation is attached to.

public required string EventId { get; init; }

Property Value

string

Id

Gets the unique identifier of this annotation.

public required string Id { get; init; }

Property Value

string

Type

Gets the type of annotation (tag, bookmark, or note).

public required AuditAnnotationType Type { get; init; }

Property Value

AuditAnnotationType

Visibility

Gets the visibility of this annotation (personal or shared).

public required AuditAnnotationVisibility Visibility { get; init; }

Property Value

AuditAnnotationVisibility