19 lines
563 B
C#
19 lines
563 B
C#
using System.Collections.Immutable;
|
|
|
|
namespace StellaOps.Policy;
|
|
|
|
public sealed record PolicyPreviewRequest(
|
|
string ImageDigest,
|
|
ImmutableArray<PolicyFinding> Findings,
|
|
ImmutableArray<PolicyVerdict> BaselineVerdicts,
|
|
PolicySnapshot? SnapshotOverride = null,
|
|
PolicySnapshotContent? ProposedPolicy = null);
|
|
|
|
public sealed record PolicyPreviewResponse(
|
|
bool Success,
|
|
string PolicyDigest,
|
|
string? RevisionId,
|
|
ImmutableArray<PolicyIssue> Issues,
|
|
ImmutableArray<PolicyVerdictDiff> Diffs,
|
|
int ChangedCount);
|