up
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Signals CI & Image / signals-ci (push) Has been cancelled
Signals Reachability Scoring & Events / reachability-smoke (push) Has been cancelled
Signals Reachability Scoring & Events / sign-and-upload (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Reachability Corpus Validation / validate-corpus (push) Has been cancelled
Reachability Corpus Validation / validate-ground-truths (push) Has been cancelled
Scanner Analyzers / Discover Analyzers (push) Has been cancelled
Scanner Analyzers / Validate Test Fixtures (push) Has been cancelled
Reachability Corpus Validation / determinism-check (push) Has been cancelled
Scanner Analyzers / Build Analyzers (push) Has been cancelled
Scanner Analyzers / Test Language Analyzers (push) Has been cancelled
Scanner Analyzers / Verify Deterministic Output (push) Has been cancelled
Notify Smoke Test / Notify Unit Tests (push) Has been cancelled
Notify Smoke Test / Notifier Service Tests (push) Has been cancelled
Notify Smoke Test / Notification Smoke Test (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Signals CI & Image / signals-ci (push) Has been cancelled
Signals Reachability Scoring & Events / reachability-smoke (push) Has been cancelled
Signals Reachability Scoring & Events / sign-and-upload (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Reachability Corpus Validation / validate-corpus (push) Has been cancelled
Reachability Corpus Validation / validate-ground-truths (push) Has been cancelled
Scanner Analyzers / Discover Analyzers (push) Has been cancelled
Scanner Analyzers / Validate Test Fixtures (push) Has been cancelled
Reachability Corpus Validation / determinism-check (push) Has been cancelled
Scanner Analyzers / Build Analyzers (push) Has been cancelled
Scanner Analyzers / Test Language Analyzers (push) Has been cancelled
Scanner Analyzers / Verify Deterministic Output (push) Has been cancelled
Notify Smoke Test / Notify Unit Tests (push) Has been cancelled
Notify Smoke Test / Notifier Service Tests (push) Has been cancelled
Notify Smoke Test / Notification Smoke Test (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
This commit is contained in:
@@ -20,3 +20,91 @@ public sealed record RuntimeEventsIngestResponseDto
|
||||
[JsonPropertyName("duplicates")]
|
||||
public int Duplicates { get; init; }
|
||||
}
|
||||
|
||||
public sealed record RuntimeReconcileRequestDto
|
||||
{
|
||||
[JsonPropertyName("imageDigest")]
|
||||
public required string ImageDigest { get; init; }
|
||||
|
||||
[JsonPropertyName("runtimeEventId")]
|
||||
public string? RuntimeEventId { get; init; }
|
||||
|
||||
[JsonPropertyName("maxMisses")]
|
||||
public int MaxMisses { get; init; } = 100;
|
||||
}
|
||||
|
||||
public sealed record RuntimeReconcileResponseDto
|
||||
{
|
||||
[JsonPropertyName("imageDigest")]
|
||||
public required string ImageDigest { get; init; }
|
||||
|
||||
[JsonPropertyName("runtimeEventId")]
|
||||
public string? RuntimeEventId { get; init; }
|
||||
|
||||
[JsonPropertyName("sbomArtifactId")]
|
||||
public string? SbomArtifactId { get; init; }
|
||||
|
||||
[JsonPropertyName("totalRuntimeLibraries")]
|
||||
public int TotalRuntimeLibraries { get; init; }
|
||||
|
||||
[JsonPropertyName("totalSbomComponents")]
|
||||
public int TotalSbomComponents { get; init; }
|
||||
|
||||
[JsonPropertyName("matchCount")]
|
||||
public int MatchCount { get; init; }
|
||||
|
||||
[JsonPropertyName("missCount")]
|
||||
public int MissCount { get; init; }
|
||||
|
||||
[JsonPropertyName("misses")]
|
||||
public IReadOnlyList<RuntimeLibraryMissDto> Misses { get; init; } = [];
|
||||
|
||||
[JsonPropertyName("matches")]
|
||||
public IReadOnlyList<RuntimeLibraryMatchDto> Matches { get; init; } = [];
|
||||
|
||||
[JsonPropertyName("reconciledAt")]
|
||||
public DateTimeOffset ReconciledAt { get; init; }
|
||||
|
||||
[JsonPropertyName("errorCode")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? ErrorCode { get; init; }
|
||||
|
||||
[JsonPropertyName("errorMessage")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? ErrorMessage { get; init; }
|
||||
}
|
||||
|
||||
public sealed record RuntimeLibraryMissDto
|
||||
{
|
||||
[JsonPropertyName("path")]
|
||||
public required string Path { get; init; }
|
||||
|
||||
[JsonPropertyName("sha256")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? Sha256 { get; init; }
|
||||
|
||||
[JsonPropertyName("inode")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public long? Inode { get; init; }
|
||||
}
|
||||
|
||||
public sealed record RuntimeLibraryMatchDto
|
||||
{
|
||||
[JsonPropertyName("runtimePath")]
|
||||
public required string RuntimePath { get; init; }
|
||||
|
||||
[JsonPropertyName("runtimeSha256")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? RuntimeSha256 { get; init; }
|
||||
|
||||
[JsonPropertyName("sbomComponentKey")]
|
||||
public required string SbomComponentKey { get; init; }
|
||||
|
||||
[JsonPropertyName("sbomComponentName")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? SbomComponentName { get; init; }
|
||||
|
||||
[JsonPropertyName("matchType")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? MatchType { get; init; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user