audit work, fixed StellaOps.sln warnings/errors, fixed tests, sprints work, new advisories
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Net;
|
||||
using System.Globalization;
|
||||
using System.Net;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Text.Json;
|
||||
using Microsoft.Extensions.Logging;
|
||||
@@ -122,7 +123,7 @@ public sealed class OciArtifactPusher
|
||||
annotations = new SortedDictionary<string, string>(StringComparer.Ordinal);
|
||||
}
|
||||
|
||||
annotations["org.opencontainers.image.created"] = _timeProvider.GetUtcNow().ToString("O");
|
||||
annotations["org.opencontainers.image.created"] = _timeProvider.GetUtcNow().ToString("O", CultureInfo.InvariantCulture);
|
||||
annotations["org.opencontainers.image.title"] = request.ArtifactType;
|
||||
|
||||
return new OciArtifactManifest
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using StellaOps.Scanner.Storage.Oci.Diagnostics;
|
||||
|
||||
namespace StellaOps.Scanner.Storage.Oci;
|
||||
@@ -152,7 +153,7 @@ public sealed class VerdictOciPublisher
|
||||
|
||||
if (request.VerdictTimestamp.HasValue)
|
||||
{
|
||||
annotations[OciAnnotations.StellaVerdictTimestamp] = request.VerdictTimestamp.Value.ToString("O");
|
||||
annotations[OciAnnotations.StellaVerdictTimestamp] = request.VerdictTimestamp.Value.ToString("O", CultureInfo.InvariantCulture);
|
||||
}
|
||||
|
||||
// Sprint: SPRINT_4300_0002_0002 - Unknowns Attestation Predicates
|
||||
|
||||
Reference in New Issue
Block a user