audit, advisories and doctors/setup work

This commit is contained in:
master
2026-01-13 18:53:39 +02:00
parent 9ca7cb183e
commit d7be6ba34b
811 changed files with 54242 additions and 4056 deletions

View File

@@ -43,8 +43,7 @@ public sealed partial class NvdGoldenSetExtractor : IGoldenSetSourceExtractor
_logger.LogDebug("Extracting from NVD for {VulnerabilityId}", vulnerabilityId);
// TODO: Implement actual NVD API call
// For now, return a stub result indicating the API needs implementation
// NVD API integration is not yet implemented; return a stub result.
await Task.CompletedTask;
var source = new ExtractionSource

View File

@@ -293,8 +293,9 @@ public sealed class GoldenSetReviewService : IGoldenSetReviewService
return comments;
}
const string newline = "\n";
var changeList = string.Join(
Environment.NewLine,
newline,
changes.Select(c => string.Format(
CultureInfo.InvariantCulture,
"- [{0}]: {1}",
@@ -305,7 +306,7 @@ public sealed class GoldenSetReviewService : IGoldenSetReviewService
CultureInfo.InvariantCulture,
"{0}{1}{1}Requested changes:{1}{2}",
comments,
Environment.NewLine,
newline,
changeList);
}

View File

@@ -12,7 +12,7 @@ namespace StellaOps.BinaryIndex.GoldenSet;
/// <summary>
/// PostgreSQL implementation of <see cref="IGoldenSetStore"/>.
/// </summary>
internal sealed class PostgresGoldenSetStore : IGoldenSetStore
public sealed class PostgresGoldenSetStore : IGoldenSetStore
{
private readonly NpgsqlDataSource _dataSource;
private readonly IGoldenSetValidator _validator;