audit work, fixed StellaOps.sln warnings/errors, fixed tests, sprints work, new advisories
This commit is contained in:
@@ -4,12 +4,13 @@
|
||||
// Description: Implementation of IUnifiedEvidenceService for assembling evidence.
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using System.Globalization;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using StellaOps.Scanner.Triage;
|
||||
using StellaOps.Scanner.Triage.Entities;
|
||||
using StellaOps.Scanner.WebService.Contracts;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.Scanner.WebService.Services;
|
||||
@@ -252,7 +253,7 @@ public sealed class UnifiedEvidenceService : IUnifiedEvidenceService
|
||||
{
|
||||
ArtifactDigest = ComputeDigest(finding.Purl),
|
||||
ManifestHash = ComputeDigest(contentForHash),
|
||||
FeedSnapshotHash = ComputeDigest(finding.LastSeenAt.ToString("O")),
|
||||
FeedSnapshotHash = ComputeDigest(finding.LastSeenAt.ToString("O", CultureInfo.InvariantCulture)),
|
||||
PolicyHash = ComputeDigest("default-policy"),
|
||||
KnowledgeSnapshotId = finding.KnowledgeSnapshotId
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user