Repository navigation
Description
User Story
As an OpenShell operator, I want to monitor sandbox egress and contain suspicious workloads so that I can investigate unusual use of allowed network destinations.
Problem Statement
The egress monitoring effort spans connection accounting, HTTP request attribution, and sandbox containment. Four separate issues describe these capabilities, but they need a shared entry point that explains their relationship and tracks progress.
Impact / Why This Matters
Operators need final connection totals and measurements during active transfers to support external detection. They also need accurate request attribution and a containment action that preserves inspection. Scattered issue references make the overall scope and remaining work difficult to assess.
Proposed Design
Use this issue as the upstream tracker for egress monitoring, with the four existing issues attached as native sub-issues. Their descriptions remain authoritative for detailed behavior and acceptance criteria.
- feat(ocsf): emit a Close event for proxied sandbox connections #5919: Emit final per-connection byte counts and duration through OCSF Close events, without a dedicated feature flag.
- feat(ocsf): add opt-in Traffic events for active sandbox connections #5921: Add opt-in periodic OCSF Traffic events, with bounded reporting and observable loss. Consumers correlate Traffic and Close through a connection identifier.
- bug(ocsf): attribute inspected HTTP requests to the policy that governs them #5922: Attribute inspected HTTP requests to the policy that governs each request. Connection-wide accounting remains distinct from request attribution.
- feat(sandbox): explore quarantine for live incident investigation #5920: Explore sandbox quarantine that blocks workload traffic while preserving authorized inspection. Authorization, effective-state reporting, persistence, and release need design decisions.
Accounting and quarantine are separate workstreams. Quarantine design does not block accounting delivery. Grouping these issues does not imply implementation approval, a fixed sequence, or a release commitment.
External observability tools or detectors consume the events and initiate responses through the public API. Inline middleware integration, event aggregation beyond the bounded reporting in #5921, and broader detector authorization are possible follow-up work, outside this tracker's current scope.
Acceptance Criteria
- Close events meet the acceptance criteria in feat(ocsf): emit a Close event for proxied sandbox connections #5919.
- Opt-in Traffic events meet the acceptance criteria in feat(ocsf): add opt-in Traffic events for active sandbox connections #5921.
- HTTP request attribution meets the acceptance criteria in bug(ocsf): attribute inspected HTTP requests to the policy that governs them #5922.
- The quarantine exploration resolves the design criteria in feat(sandbox): explore quarantine for live incident investigation #5920 and records the disposition of any implementation follow-up.
Alternatives Considered
- Maintain only cross-links among the individual issues. This leaves no single place to explain scope and track the combined effort.
- Track only in a personal planning repository. That preserves personal context but makes the upstream effort harder for contributors to discover.
Activity