Class PolicyRevision
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
A versioned policy revision.
public sealed record PolicyRevision : IEquatable<PolicyRevision>
- Inheritance
-
PolicyRevision
- Implements
- Inherited Members
Properties
CreatedAt
Creation time.
public DateTimeOffset? CreatedAt { get; init; }
Property Value
LoadError
Load error or schema diagnostic.
public string LoadError { get; init; }
Property Value
LoadedAt
Time the sandbox loaded it, when it did.
public DateTimeOffset? LoadedAt { get; init; }
Property Value
Policy
The full policy; populated only when the gateway was asked for it.
public SandboxPolicy? Policy { get; init; }
Property Value
PolicyHash
SHA-256 hash of the canonical payload; empty for an invalid historical row.
public string PolicyHash { get; init; }
Property Value
Provenance
Immutable provenance supplied with the revision.
public IReadOnlyDictionary<string, string> Provenance { get; init; }
Property Value
Status
Load state.
public PolicyLoadStatus Status { get; init; }
Property Value
Version
Version, increasing per sandbox.
public uint Version { get; init; }