tests fixes and sprints work
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace StellaOps.Platform.WebService.Contracts;
|
||||
|
||||
public sealed record AnalyticsSupplierConcentration(
|
||||
string Supplier,
|
||||
int ComponentCount,
|
||||
int ArtifactCount,
|
||||
int TeamCount,
|
||||
int CriticalVulnCount,
|
||||
int HighVulnCount,
|
||||
IReadOnlyList<string>? Environments);
|
||||
|
||||
public sealed record AnalyticsLicenseDistribution(
|
||||
string? LicenseConcluded,
|
||||
string LicenseCategory,
|
||||
int ComponentCount,
|
||||
int ArtifactCount,
|
||||
IReadOnlyList<string>? Ecosystems);
|
||||
|
||||
public sealed record AnalyticsVulnerabilityExposure(
|
||||
string VulnId,
|
||||
string Severity,
|
||||
decimal? CvssScore,
|
||||
decimal? EpssScore,
|
||||
bool KevListed,
|
||||
bool FixAvailable,
|
||||
int RawComponentCount,
|
||||
int RawArtifactCount,
|
||||
int EffectiveComponentCount,
|
||||
int EffectiveArtifactCount,
|
||||
int VexMitigated);
|
||||
|
||||
public sealed record AnalyticsFixableBacklogItem(
|
||||
string Service,
|
||||
string Environment,
|
||||
string Component,
|
||||
string? Version,
|
||||
string VulnId,
|
||||
string Severity,
|
||||
string? FixedVersion);
|
||||
|
||||
public sealed record AnalyticsAttestationCoverage(
|
||||
string Environment,
|
||||
string? Team,
|
||||
int TotalArtifacts,
|
||||
int WithProvenance,
|
||||
decimal? ProvenancePct,
|
||||
int SlsaLevel2Plus,
|
||||
decimal? Slsa2Pct,
|
||||
int MissingProvenance);
|
||||
|
||||
public sealed record AnalyticsVulnerabilityTrendPoint(
|
||||
DateTimeOffset SnapshotDate,
|
||||
string Environment,
|
||||
int TotalVulns,
|
||||
int FixableVulns,
|
||||
int VexMitigated,
|
||||
int NetExposure,
|
||||
int KevVulns);
|
||||
|
||||
public sealed record AnalyticsComponentTrendPoint(
|
||||
DateTimeOffset SnapshotDate,
|
||||
string Environment,
|
||||
int TotalComponents,
|
||||
int UniqueSuppliers);
|
||||
Reference in New Issue
Block a user