Skip to content

Implement scan differential notifications with historical change tracking #32

@techmore

Description

@techmore

Summary

Add differential scan analysis so users can compare current results to historical scans and quickly see what changed, when it first appeared, and how long it has persisted.

Why It Matters

The application already stores scan metadata and historical scan artifacts. The missing piece is turning that history into actionable change tracking for operators.

Desired Outcome

  • compare a new scan against the most relevant previous scan
  • detect new or removed hosts
  • detect port, service, and vulnerability changes
  • attach basic historical context such as first seen, last seen, and duration where practical
  • surface important changes in the UI and reports

Scope

  1. Baseline Selection
  • define the canonical previous-scan selection logic
  • decide how customer/target matching works for comparison
  1. Diff Engine
  • compare hosts, ports, services, and vulnerability findings
  • classify additions, removals, and modifications
  • avoid noisy output for insignificant churn where possible
  1. Presentation
  • show high-signal change summaries in the UI
  • include a differential summary in generated reports
  • leave room for future alerting without requiring it in the first version

Implementation Notes

Likely touch points in the current architecture:

  • scan metadata and persistence helpers
  • reporting pipeline
  • history/scans API surfaces
  • frontend views for scan history and report summaries

This should build on the existing saved-scan/reporting model rather than introducing a parallel history system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions