audit, advisories and doctors/setup work
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user