Add integration tests for Proof Chain and Reachability workflows

- Implement ProofChainTestFixture for PostgreSQL-backed integration tests.
- Create StellaOps.Integration.ProofChain project with necessary dependencies.
- Add ReachabilityIntegrationTests to validate call graph extraction and reachability analysis.
- Introduce ReachabilityTestFixture for managing corpus and fixture paths.
- Establish StellaOps.Integration.Reachability project with required references.
- Develop UnknownsWorkflowTests to cover the unknowns lifecycle: detection, ranking, escalation, and resolution.
- Create StellaOps.Integration.Unknowns project with dependencies for unknowns workflow.
This commit is contained in:
StellaOps Bot
2025-12-20 22:19:26 +02:00
parent 3c6e14fca5
commit efe9bd8cfe
86 changed files with 9616 additions and 323 deletions

View File

@@ -146,8 +146,9 @@ internal static partial class CommandHandlers
internal static async Task HandleWitnessListAsync(
IServiceProvider services,
string scanId,
string? cve,
string? vuln,
string? tier,
bool reachableOnly,
string format,
int limit,
bool verbose,
@@ -158,8 +159,9 @@ internal static partial class CommandHandlers
if (verbose)
{
console.MarkupLine($"[dim]Listing witnesses for scan: {scanId}[/]");
if (cve != null) console.MarkupLine($"[dim]Filtering by CVE: {cve}[/]");
if (vuln != null) console.MarkupLine($"[dim]Filtering by vuln: {vuln}[/]");
if (tier != null) console.MarkupLine($"[dim]Filtering by tier: {tier}[/]");
if (reachableOnly) console.MarkupLine("[dim]Showing reachable witnesses only[/]");
}
// TODO: Replace with actual service call