save progress
This commit is contained in:
@@ -249,33 +249,45 @@ public enum VexJustification
|
||||
|
||||
/// <summary>
|
||||
/// CVSS v3 scoring data.
|
||||
/// Sprint: SPRINT_20260107_004_004 Task SP-007
|
||||
/// </summary>
|
||||
public sealed record CvssV3Data
|
||||
{
|
||||
/// <summary>Gets the CVSS v3 base score (0.0-10.0).</summary>
|
||||
public required double BaseScore { get; init; }
|
||||
public decimal? BaseScore { get; init; }
|
||||
|
||||
/// <summary>Gets the CVSS v3 vector string.</summary>
|
||||
public required string VectorString { get; init; }
|
||||
public string? VectorString { get; init; }
|
||||
|
||||
/// <summary>Gets the temporal score if available.</summary>
|
||||
public double? TemporalScore { get; init; }
|
||||
public decimal? TemporalScore { get; init; }
|
||||
|
||||
/// <summary>Gets the environmental score if available.</summary>
|
||||
public double? EnvironmentalScore { get; init; }
|
||||
public decimal? EnvironmentalScore { get; init; }
|
||||
|
||||
/// <summary>Gets when the score was published.</summary>
|
||||
public DateTimeOffset? PublishedTime { get; init; }
|
||||
|
||||
/// <summary>Gets when the score was modified.</summary>
|
||||
public DateTimeOffset? ModifiedTime { get; init; }
|
||||
|
||||
/// <summary>Gets the source of the CVSS data.</summary>
|
||||
public string? Source { get; init; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// EPSS (Exploit Prediction Scoring System) data.
|
||||
/// Sprint: SPRINT_20260107_004_004 Task SP-007
|
||||
/// </summary>
|
||||
public sealed record EpssData
|
||||
{
|
||||
/// <summary>Gets the EPSS probability (0.0-1.0).</summary>
|
||||
public required double Probability { get; init; }
|
||||
public decimal? Probability { get; init; }
|
||||
|
||||
/// <summary>Gets the EPSS percentile (0.0-1.0).</summary>
|
||||
public required double Percentile { get; init; }
|
||||
public decimal? Percentile { get; init; }
|
||||
|
||||
/// <summary>Gets when the score was assessed.</summary>
|
||||
public DateTimeOffset? AssessedOn { get; init; }
|
||||
/// <summary>Gets the date of the EPSS score.</summary>
|
||||
public DateTimeOffset? ScoreDate { get; init; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user