tests fixes and sprints work
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user