Skip to content

Runtime page: sensor health, live activity and alerts #72

Open

Description

@vsn411

Part of #51. Once sensors send live data (#66), users need to see which apps are covered, whether each sensor is healthy, and what changed recently.

New page: Runtime (per project, linked from the project page):

  • Apps table: app, environment, sensor version, instances, last heartbeat, events per minute, dropped events, and observation window. Mark a sensor Stale when it has missed 3 heartbeats.
  • Coverage: app functions executed vs. total (from the Runtime evidence format, storage and secfoo runtime ingest #53 session lines), and routes seen.
  • Recent activity: newly loaded packages, version drift, unscanned dependencies (Runtime package inventory: loaded versions, drift and live advisories #68), new advisories against running versions, and newly reached vulnerable functions. Each row links to its finding.
  • Live refresh: poll a small JSON endpoint every 10 s (no websockets needed) while the tab is visible.

Alerts: add an optional webhook ([runtime] alert_webhook in ~/.secfoo/config.toml) that fires on three events: a vulnerable function first Reached from traffic, a new advisory against a running version, and a sensor going stale. The payload holds the finding fingerprint, app, env and a link, and never stack samples.

Where to look: src/secfoo/web/routes/projects.py, src/secfoo/web/sca_dashboard.py, design-system/.

Done when: web tests cover healthy, stale and never-connected sensors and the webhook payload. A screenshot goes in the PR.

Activity

  1. added
    enhancement
    help wanted
    hackathon
    difficulty: medium
    on Nov 10, 2026
  2. SriRamkunamsetty commented on Nov 29, 2026

    @SriRamkunamsetty
    Contributor

    I'd like to take this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty: mediumenhancementhackathonhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions