Table of Contents

Class EntitlementSnapshot

Namespace
Excalibur.A3.Governance.Reporting
Assembly
Excalibur.A3.Governance.Abstractions.dll

A point-in-time snapshot of entitlements for reporting purposes.

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

Remarks

Summary statistics (total users, total grants, total roles) are intentionally omitted because they are derivable from the Entries collection.

Constructors

EntitlementSnapshot(DateTimeOffset, EntitlementReportType, string?, IReadOnlyList<EntitlementEntry>)

A point-in-time snapshot of entitlements for reporting purposes.

public EntitlementSnapshot(DateTimeOffset GeneratedAt, EntitlementReportType ReportType, string? Scope, IReadOnlyList<EntitlementEntry> Entries)

Parameters

GeneratedAt DateTimeOffset

When the snapshot was generated.

ReportType EntitlementReportType

The type of report this snapshot represents.

Scope string

The user ID or tenant ID scope, or null for unscoped reports.

Entries IReadOnlyList<EntitlementEntry>

The entitlement entries in this snapshot.

Remarks

Summary statistics (total users, total grants, total roles) are intentionally omitted because they are derivable from the Entries collection.

Properties

Entries

The entitlement entries in this snapshot.

public IReadOnlyList<EntitlementEntry> Entries { get; init; }

Property Value

IReadOnlyList<EntitlementEntry>

GeneratedAt

When the snapshot was generated.

public DateTimeOffset GeneratedAt { get; init; }

Property Value

DateTimeOffset

ReportType

The type of report this snapshot represents.

public EntitlementReportType ReportType { get; init; }

Property Value

EntitlementReportType

Scope

The user ID or tenant ID scope, or null for unscoped reports.

public string? Scope { get; init; }

Property Value

string