Table of Contents

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

DateTimeOffset?

LoadError

Load error or schema diagnostic.

public string LoadError { get; init; }

Property Value

string

LoadedAt

Time the sandbox loaded it, when it did.

public DateTimeOffset? LoadedAt { get; init; }

Property Value

DateTimeOffset?

Policy

The full policy; populated only when the gateway was asked for it.

public SandboxPolicy? Policy { get; init; }

Property Value

SandboxPolicy

PolicyHash

SHA-256 hash of the canonical payload; empty for an invalid historical row.

public string PolicyHash { get; init; }

Property Value

string

Provenance

Immutable provenance supplied with the revision.

public IReadOnlyDictionary<string, string> Provenance { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Status

Load state.

public PolicyLoadStatus Status { get; init; }

Property Value

PolicyLoadStatus

Version

Version, increasing per sandbox.

public uint Version { get; init; }

Property Value

uint