Phase 5: Findings diagnostics panel; pin Go toolchain 1.27.2 (0 called stdlib vulns); npm audit clean

This commit is contained in:
Andy Dixon
2026-10-09 22:01:03 +01:00
parent 68702f1b2e
commit fa5445e4a4
8 changed files with 185 additions and 0 deletions
+10
View File
@@ -248,4 +248,14 @@ func TestAnalysisFromFixture(t *testing.T) {
if _, _, err := e.TLS(ctx, s.ID, 100); err != nil {
t.Fatalf("tls: %v", err)
}
// Findings must run without error; the fixture has a 404 and some resets.
fs, err := e.Findings(ctx, s.ID, 1)
if err != nil {
t.Fatalf("findings: %v", err)
}
for _, f := range fs {
if f.Count < 1 || f.Severity == "" || f.Title == "" {
t.Fatalf("malformed finding: %+v", f)
}
}
}