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
Content
Gets the content of the annotation: tag label, bookmark label, or note text.
public required string Content { get; init; }
Property Value
CreatedAt
Gets the timestamp when this annotation was created.
public required DateTimeOffset CreatedAt { get; init; }
Property Value
EventId
Gets the identifier of the audit event this annotation is attached to.
public required string EventId { get; init; }
Property Value
Id
Gets the unique identifier of this annotation.
public required string Id { get; init; }
Property Value
Type
Gets the type of annotation (tag, bookmark, or note).
public required AuditAnnotationType Type { get; init; }
Property Value
Visibility
Gets the visibility of this annotation (personal or shared).
public required AuditAnnotationVisibility Visibility { get; init; }