[P2] Module Output Viewer and Execution History #88

Closed
opened 2026-06-10 03:32:30 +00:00 by Mark · 0 comments
Owner

Problem

Currently, module execution outputs are not visible to users. They see only:

  • Summary text in evidence items
  • No raw module output
  • No execution history
  • No ability to re-run modules

Proposed Solution

Create a module output viewer:

Backend Changes

  1. Store full module execution results
  2. Create module execution history endpoint
  3. Add re-run module endpoint

Frontend Changes

  1. ModuleOutputViewer component

    • Display raw module output (JSON/tree view)
    • Syntax highlighting
    • Copy to clipboard
    • Expand/collapse sections
  2. ModuleExecutionHistory component

    • List all module executions for investigation
    • Filter by module type, status, time
    • Re-run module button
    • Compare outputs

Files to Create/Modify

  • backend/app/models.py - ModuleExecution model
  • backend/app/routers/gather.py - execution history endpoints
  • frontend/src/components/ModuleOutputViewer.jsx (new)
  • frontend/src/components/ModuleExecutionHistory.jsx (new)
  • frontend/src/components/InvestigationDetail.jsx - add tab

Acceptance Criteria

  • Raw module outputs are stored and retrievable
  • Module execution history shows all runs
  • User can view formatted module output
  • User can re-run modules manually
  • Outputs can be copied to clipboard

Effort

Medium - 1 week

## Problem Currently, module execution outputs are not visible to users. They see only: - Summary text in evidence items - No raw module output - No execution history - No ability to re-run modules ## Proposed Solution Create a module output viewer: ### Backend Changes 1. Store full module execution results 2. Create module execution history endpoint 3. Add re-run module endpoint ### Frontend Changes 1. ModuleOutputViewer component - Display raw module output (JSON/tree view) - Syntax highlighting - Copy to clipboard - Expand/collapse sections 2. ModuleExecutionHistory component - List all module executions for investigation - Filter by module type, status, time - Re-run module button - Compare outputs ### Files to Create/Modify - backend/app/models.py - ModuleExecution model - backend/app/routers/gather.py - execution history endpoints - frontend/src/components/ModuleOutputViewer.jsx (new) - frontend/src/components/ModuleExecutionHistory.jsx (new) - frontend/src/components/InvestigationDetail.jsx - add tab ## Acceptance Criteria - Raw module outputs are stored and retrievable - Module execution history shows all runs - User can view formatted module output - User can re-run modules manually - Outputs can be copied to clipboard ## Effort Medium - 1 week
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/osint-hub#88
No description provided.