audit work, fixed StellaOps.sln warnings/errors, fixed tests, sprints work, new advisories

This commit is contained in:
master
2026-01-07 18:49:59 +02:00
parent 04ec098046
commit 608a7f85c0
866 changed files with 56323 additions and 6231 deletions

View File

@@ -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
};