tests fixes and sprints work

This commit is contained in:
master
2026-01-22 19:08:46 +02:00
parent c32fff8f86
commit 726d70dc7f
881 changed files with 134434 additions and 6228 deletions

View File

@@ -0,0 +1,20 @@
using System.Collections.Immutable;
using StellaOps.Scanner.AiMlSecurity.Models;
namespace StellaOps.Scanner.AiMlSecurity.Analyzers;
public sealed record AiMlSecurityResult
{
public static AiMlSecurityResult Empty { get; } = new();
public ImmutableArray<AiSecurityFinding> Findings { get; init; } = [];
public ImmutableArray<AiRiskAssessment> RiskAssessments { get; init; } = [];
public AiModelInventory? Inventory { get; init; }
}
public interface IAiMlSecurityCheck
{
Task<AiMlSecurityResult> AnalyzeAsync(
AiMlSecurityContext context,
CancellationToken ct = default);
}