Table of Contents

Class SandboxConfig

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

The effective configuration of a sandbox.

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

Properties

ConfigRevision

Fingerprint of the effective policy plus settings.

public ulong ConfigRevision { get; init; }

Property Value

ulong

GlobalPolicyVersion

Version of the global policy revision when PolicySource is global; otherwise zero.

public uint GlobalPolicyVersion { get; init; }

Property Value

uint

Policy

The effective policy; this is the generated wire type.

public SandboxPolicy? Policy { get; init; }

Property Value

SandboxPolicy

PolicyHash

SHA-256 hash of the serialized policy.

public string PolicyHash { get; init; }

Property Value

string

PolicySource

Source of the policy payload.

public PolicySource PolicySource { get; init; }

Property Value

PolicySource

PolicyValidationFailureMode

Gateway posture for rejected policy generations: fail_closed or retain_last_valid.

public string PolicyValidationFailureMode { get; init; }

Property Value

string

PolicyVersion

Current policy version, increasing per sandbox.

public uint PolicyVersion { get; init; }

Property Value

uint

ProviderEnvRevision

Fingerprint of the provider credential inputs attached to the sandbox.

public ulong ProviderEnvRevision { get; init; }

Property Value

ulong

Settings

Effective settings by key, excluding the reserved policy key.

public IReadOnlyDictionary<string, EffectiveSetting> Settings { get; init; }

Property Value

IReadOnlyDictionary<string, EffectiveSetting>

Workspace

The workspace the sandbox belongs to.

public string Workspace { get; init; }

Property Value

string