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
Binary
Binary path that triggered the denial.
public string Binary { get; init; }
Property Value
CandidateEffectivePolicy
The candidate effective policy used for review.
public SandboxPolicy? CandidateEffectivePolicy { get; init; }
Property Value
CandidateEffectivePolicyHash
Hash of the candidate effective policy.
public string CandidateEffectivePolicyHash { get; init; }
Property Value
Confidence
Analysis confidence from 0 to 1; zero in mechanistic mode.
public float Confidence { get; init; }
Property Value
CreatedAt
Creation time.
public DateTimeOffset? CreatedAt { get; init; }
Property Value
CurrentEffectivePolicy
The current effective policy used for review.
public SandboxPolicy? CurrentEffectivePolicy { get; init; }
Property Value
CurrentEffectivePolicyHash
Hash of the current effective policy.
public string CurrentEffectivePolicyHash { get; init; }
Property Value
DecidedAt
Time of the approve or reject decision.
public DateTimeOffset? DecidedAt { get; init; }
Property Value
DenialSummaryIds
Denial summaries that led to the chunk.
public IReadOnlyList<string> DenialSummaryIds { get; init; }
Property Value
FirstSeenAt
First time the endpoint was proposed.
public DateTimeOffset? FirstSeenAt { get; init; }
Property Value
HitCount
How many times the endpoint was proposed across denial flush cycles.
public int HitCount { get; init; }
Property Value
Id
Unique chunk id.
public string Id { get; init; }
Property Value
LastSeenAt
Most recent time the endpoint was proposed.
public DateTimeOffset? LastSeenAt { get; init; }
Property Value
ProposedRule
The proposed rule; this is the generated wire type.
public NetworkPolicyRule? ProposedRule { get; init; }
Property Value
Rationale
Why the rule was proposed.
public string Rationale { get; init; }
Property Value
RejectionReason
Reviewer text given when the chunk was rejected.
public string RejectionReason { get; init; }
Property Value
ReviewToken
Digest binding a review to the exact live inputs; pass it to approve.
public string ReviewToken { get; init; }
Property Value
RuleName
Proposed network_policies map key.
public string RuleName { get; init; }
Property Value
SecurityNotes
Security concerns flagged by analysis.
public string SecurityNotes { get; init; }
Property Value
Stage
Recommendation stage: initial or refined.
public string Stage { get; init; }
Property Value
Status
Review state: pending, approved or rejected.
public string Status { get; init; }
Property Value
SupersedesChunkId
For a refined chunk, the initial chunk it replaces.
public string SupersedesChunkId { get; init; }
Property Value
ValidationResult
Gateway-side static check verdict.
public string ValidationResult { get; init; }