diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d89d9a..a0218d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ This changelog also serves as a development context document for AI agents conti --- -## [2.4.3] - 2026-01-30 +## [2.4.3] - 2026-01-31 ### Fixed - Import & Visual Corrections @@ -28,6 +28,20 @@ This changelog also serves as a development context document for AI agents conti - ID badges show pointer cursor and highlight on hover - Clicking the rest of the phase item still opens the metadata editor as before +### Added - Relationship Explorer Integration + +- **NEW**: Relationship Explorer integrated as a second main view +- Header navigation now shows AttackFlow branding with primary view buttons +- Explorer embedded via `explorer.html` with full-screen layout +- Mitigation items in the detail panel open the explorer in a new tab, deep-linked to the mitigation + +### Changed - Navigation & Safety + +- **CHANGED**: Mitigation clicks now open the embedded Relationship Explorer in the current tab (preserves kill chain state) +- **NEW**: Leave-site confirmation dialog to prevent accidental data loss +- **NEW**: Confirmation behavior configurable via `CONFIG.navigation.confirmOnLeave` (default enabled) +- **CHANGED**: Editor view now renders a breadcrumbed Relationships sub-tab with Explorer as a separate tab group + --- ## [2.4.2] - 2026-01-29 diff --git a/README.md b/README.md index 565a215..5e71b31 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ An editor for creating enriched Cyber Kill Chain assessments by mapping MITRE AT ### Work in progress -![Version](https://img.shields.io/badge/version-2.4.2-blue) +![Version](https://img.shields.io/badge/version-2.4.3-blue) ![License](https://img.shields.io/badge/license-Apache%202.0-green) ![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen) @@ -20,6 +20,7 @@ An editor for creating enriched Cyber Kill Chain assessments by mapping MITRE AT - **Rich Metadata** — Comments, hyperlinks, observables, CVE/CVSS references - **Score & Confidence** — Rate items by severity and assessment confidence - **Visual Indicators** — Color-coded ribbons, CVE badges, and metadata icons +- **Relationship Explorer** — Browse ATT&CK ↔ CAPEC ↔ CWE ↔ Mitigations in a dedicated view - **Hide Empty Phases** — Focus on active phases by hiding empty ones - **Import/Export** — Lightweight JSON sharing and CSV exports with metadata - **Navigator Layers** — Import ATT&CK Navigator JSON exports @@ -28,17 +29,21 @@ An editor for creating enriched Cyber Kill Chain assessments by mapping MITRE AT ## Quick Start +The Relationship Explorer is a second main view that lets you investigate ATT&CK ↔ CAPEC ↔ CWE ↔ Mitigations without assigning items first. Use the header navigation to switch views, click any node to load its details in the right panel, and open mitigation links to explore cross‑framework relationships in context. + 1. Clone or download this repository 2. Open `index.html` in a browser, or deploy to a web server 3. Browse techniques in the left sidebar 4. Drag items onto kill chain phases 5. Click items in the diagram to add metadata -6. Export your attack chain as JSON or CSV +6. Use the header navigation to switch to Relationship Explorer +7. Export your attack chain as JSON or CSV ## Project Structure ``` ├── index.html # Main application +├── explorer.html # Relationship Explorer view ├── config.js # Centralized configuration (paths, colors, settings) ├── kill-chain-visualizer.js # Core visualization component ├── scripts/ diff --git a/config.js b/config.js index b9274ed..8df2455 100644 --- a/config.js +++ b/config.js @@ -70,6 +70,11 @@ const CONFIG = { maxDescLength: 800, // Max description length in detail panel maxMitigations: 8, // Max mitigations to show maxReferences: 3 // Max references to show + }, + + // Navigation behavior + navigation: { + confirmOnLeave: true // Show confirmation dialog before leaving the page } }; diff --git a/explorer.html b/explorer.html new file mode 100644 index 0000000..59b6fe6 --- /dev/null +++ b/explorer.html @@ -0,0 +1,998 @@ + + + + + + AttackFlow - Relationship Explorer + + + +
+
+
+
Relationship Explorer
+
+ +
+ +
+
+
+ +
+
+
+
+ +
+
Relationship Graph
+
+
+
+
+ +
+
Details
+
+
Loading data...
+
+
+
+ + + + diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..10c9d26 Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html index 2cd497f..0d04584 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Kill Chain Editor - Unified Kill Chain + AttackFlow - Kill Chain Editor