stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using StellaOps.AuditPack.Models;
|
||||
|
||||
namespace StellaOps.AuditPack.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Interface for isolated replay context.
|
||||
/// </summary>
|
||||
public interface IIsolatedReplayContext : IDisposable
|
||||
{
|
||||
bool IsInitialized { get; }
|
||||
DateTimeOffset EvaluationTime { get; }
|
||||
string WorkingDirectory { get; }
|
||||
byte[]? Sbom { get; }
|
||||
byte[]? FeedsSnapshot { get; }
|
||||
byte[]? PolicyBundle { get; }
|
||||
byte[]? VexStatements { get; }
|
||||
string? SbomDigest { get; }
|
||||
string? FeedsDigest { get; }
|
||||
string? PolicyDigest { get; }
|
||||
|
||||
Task<ReplayContextInitResult> InitializeAsync(
|
||||
AuditBundleReadResult bundleResult,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
InputDigestVerification VerifyInputDigests(InputDigests expected);
|
||||
string GetInputPath(ReplayInputType inputType);
|
||||
}
|
||||
Reference in New Issue
Block a user