Table of Contents

Class DraftChunk

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

A proposed network policy rule awaiting review.

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

Properties

ApplicationError

Gateway-side preflight failure explaining why the chunk cannot be applied now.

public string ApplicationError { get; init; }

Property Value

string

Binary

Binary path that triggered the denial.

public string Binary { get; init; }

Property Value

string

CandidateEffectivePolicy

The candidate effective policy used for review.

public SandboxPolicy? CandidateEffectivePolicy { get; init; }

Property Value

SandboxPolicy

CandidateEffectivePolicyHash

Hash of the candidate effective policy.

public string CandidateEffectivePolicyHash { get; init; }

Property Value

string

Confidence

Analysis confidence from 0 to 1; zero in mechanistic mode.

public float Confidence { get; init; }

Property Value

float

CreatedAt

Creation time.

public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

CurrentEffectivePolicy

The current effective policy used for review.

public SandboxPolicy? CurrentEffectivePolicy { get; init; }

Property Value

SandboxPolicy

CurrentEffectivePolicyHash

Hash of the current effective policy.

public string CurrentEffectivePolicyHash { get; init; }

Property Value

string

DecidedAt

Time of the approve or reject decision.

public DateTimeOffset? DecidedAt { get; init; }

Property Value

DateTimeOffset?

DenialSummaryIds

Denial summaries that led to the chunk.

public IReadOnlyList<string> DenialSummaryIds { get; init; }

Property Value

IReadOnlyList<string>

FirstSeenAt

First time the endpoint was proposed.

public DateTimeOffset? FirstSeenAt { get; init; }

Property Value

DateTimeOffset?

HitCount

How many times the endpoint was proposed across denial flush cycles.

public int HitCount { get; init; }

Property Value

int

Id

Unique chunk id.

public string Id { get; init; }

Property Value

string

LastSeenAt

Most recent time the endpoint was proposed.

public DateTimeOffset? LastSeenAt { get; init; }

Property Value

DateTimeOffset?

ProposedRule

The proposed rule; this is the generated wire type.

public NetworkPolicyRule? ProposedRule { get; init; }

Property Value

NetworkPolicyRule

Rationale

Why the rule was proposed.

public string Rationale { get; init; }

Property Value

string

RejectionReason

Reviewer text given when the chunk was rejected.

public string RejectionReason { get; init; }

Property Value

string

ReviewToken

Digest binding a review to the exact live inputs; pass it to approve.

public string ReviewToken { get; init; }

Property Value

string

RuleName

Proposed network_policies map key.

public string RuleName { get; init; }

Property Value

string

SecurityNotes

Security concerns flagged by analysis.

public string SecurityNotes { get; init; }

Property Value

string

Stage

Recommendation stage: initial or refined.

public string Stage { get; init; }

Property Value

string

Status

Review state: pending, approved or rejected.

public string Status { get; init; }

Property Value

string

SupersedesChunkId

For a refined chunk, the initial chunk it replaces.

public string SupersedesChunkId { get; init; }

Property Value

string

ValidationResult

Gateway-side static check verdict.

public string ValidationResult { get; init; }

Property Value

string