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
GlobalPolicyVersion
Version of the global policy revision when PolicySource is global; otherwise zero.
public uint GlobalPolicyVersion { get; init; }
Property Value
Policy
The effective policy; this is the generated wire type.
public SandboxPolicy? Policy { get; init; }
Property Value
PolicyHash
SHA-256 hash of the serialized policy.
public string PolicyHash { get; init; }
Property Value
PolicySource
Source of the policy payload.
public PolicySource PolicySource { get; init; }
Property Value
PolicyValidationFailureMode
Gateway posture for rejected policy generations: fail_closed or retain_last_valid.
public string PolicyValidationFailureMode { get; init; }
Property Value
PolicyVersion
Current policy version, increasing per sandbox.
public uint PolicyVersion { get; init; }
Property Value
ProviderEnvRevision
Fingerprint of the provider credential inputs attached to the sandbox.
public ulong ProviderEnvRevision { get; init; }
Property Value
Settings
Effective settings by key, excluding the reserved policy key.
public IReadOnlyDictionary<string, EffectiveSetting> Settings { get; init; }
Property Value
Workspace
The workspace the sandbox belongs to.
public string Workspace { get; init; }