docs re-org, audit fixes, build fixes

This commit is contained in:
StellaOps Bot
2026-01-05 09:35:33 +02:00
parent eca4e964d3
commit dfab8a29c3
173 changed files with 1276 additions and 560 deletions

View File

@@ -14,7 +14,7 @@ public sealed class RiskScoreTests
[Fact]
public void RiskScore_Zero_ReturnsNegligibleLevel()
{
var score = RiskScore.Zero;
var score = RiskScore.Zero();
Assert.Equal(0.0f, score.OverallScore);
Assert.Equal(RiskCategory.Unknown, score.Category);

View File

@@ -34,7 +34,7 @@ public sealed class SurfaceValidatorRunnerTests
Array.Empty<string>(),
new SurfaceSecretsConfiguration("kubernetes", "", null, null, null, false),
string.Empty,
new SurfaceTlsConfiguration(null, null, null));
new SurfaceTlsConfiguration(null, null, null)) { CreatedAtUtc = DateTimeOffset.UtcNow };
var context = SurfaceValidationContext.Create(services, "TestComponent", environment);
@@ -60,7 +60,7 @@ public sealed class SurfaceValidatorRunnerTests
Array.Empty<string>(),
new SurfaceSecretsConfiguration("kubernetes", "tenant-a", null, "stellaops", null, false),
"tenant-a",
new SurfaceTlsConfiguration(null, null, null));
new SurfaceTlsConfiguration(null, null, null)) { CreatedAtUtc = DateTimeOffset.UtcNow };
var services = CreateServices();
var runner = services.GetRequiredService<ISurfaceValidatorRunner>();
@@ -86,7 +86,7 @@ public sealed class SurfaceValidatorRunnerTests
Array.Empty<string>(),
new SurfaceSecretsConfiguration("inline", "tenant-a", Root: null, Namespace: null, FallbackProvider: null, AllowInline: false),
"tenant-a",
new SurfaceTlsConfiguration(null, null, null));
new SurfaceTlsConfiguration(null, null, null)) { CreatedAtUtc = DateTimeOffset.UtcNow };
var services = CreateServices();
var runner = services.GetRequiredService<ISurfaceValidatorRunner>();
@@ -118,7 +118,7 @@ public sealed class SurfaceValidatorRunnerTests
Array.Empty<string>(),
new SurfaceSecretsConfiguration("file", "tenant-a", Root: missingRoot, Namespace: null, FallbackProvider: null, AllowInline: false),
"tenant-a",
new SurfaceTlsConfiguration(null, null, null));
new SurfaceTlsConfiguration(null, null, null)) { CreatedAtUtc = DateTimeOffset.UtcNow };
var services = CreateServices();
var runner = services.GetRequiredService<ISurfaceValidatorRunner>();