feat: Phase 3C.2 — per-engagement attack chain graph view#10
Merged
feat: Phase 3C.2 — per-engagement attack chain graph view#10
Conversation
Per-engagement interactive graph visualization using force-graph (vasturiano), edge curation UI, MITRE ATT&CK phase coloring, server-side filtering for scale. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 tasks covering backend (subgraph endpoint, curation PATCH, drift DTO), frontend (force-graph canvas, detail panel, filters, legend, empty state), and browser verification. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds a new method to ChainService that builds a filtered subgraph for a single engagement. Queries Finding + ChainFindingRelation ORM models directly (web-specific aggregation concern), applies severity/status filters with max_nodes cap, and returns force-graph or canonical shape with meta (total_findings, rendered_findings, filtered, generation). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ndering Custom node rendering (severity colors, MITRE pills, selection rings), custom edge rendering (status-based styles, drift badges, arrowheads), position-preserving data updates. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…uration, expansion Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use `new ForceGraph()` constructor (matches type defs), `undefined` instead of `null` for fx/fy (matches NodeObject interface). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/engagements/:id/chainfor exploring attack chain relationships between findingsGET /api/chain/subgraphendpoint with severity/status filtering, max_nodes cap, and neighborhood expansionPATCH /api/chain/relations/:idfor edge curation (confirm/reject) with drift detectionTest plan
🤖 Generated with Claude Code