audit, advisories and doctors/setup work
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
@@ -383,8 +384,13 @@ public sealed record SbomRetentionResult(
|
||||
|
||||
public sealed class SbomLedgerOptions
|
||||
{
|
||||
[Range(1, 10000)]
|
||||
public int MaxVersionsPerArtifact { get; init; } = 50;
|
||||
|
||||
[Range(0, 36500)]
|
||||
public int MaxAgeDays { get; init; }
|
||||
|
||||
[Range(1, 10000)]
|
||||
public int MinVersionsToKeep { get; init; } = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user