← Back to documentation
Snapshot of projects/netsentry-iot/requirements/RTM.md — 28 Nov 2026
NetSentry-IoT — Requirements Traceability Matrix (RTM)
Bidirectional traceability: each requirement maps to a design component, a verification (TDD test), and (where applicable) a KPI. Component names match design/SDD.md §4.
Requirements → Design → Verification
| Requirement | Tier | Design component (SDD §4) | Verification (testbench) | KPI |
|---|---|---|---|---|
| REQ-NET-FUNC-001 | M | packet-engine — capture | test_capture (drop-free @100 Mb/s) | — |
| REQ-NET-FUNC-002 | M | protocol-inspection — MQTT | test_mqtt_decode (bit-exact) | — |
| REQ-NET-FUNC-003 | M | protocol-inspection — HTTP | test_http_decode (bit-exact) | — |
| REQ-NET-FUNC-004 | M | anomaly-detection — spoofing/DoS | test_detection (recall/precision) | recall ≥ 95 %, precision ≥ 90 % |
| REQ-NET-FUNC-005 | M | packet-engine — isolation | test_isolation (local action) | — |
| REQ-NET-FUNC-006 | D | protocol-inspection — Zigbee | (Phase 2) | — |
| REQ-NET-PERF-001 | M | packet-engine + anomaly-detection | test_latency | p95/p99 < 5 ms |
| REQ-NET-PERF-002 | M | (whole probe) | test_footprint | CPU < 10 %, RSS < 256 MiB |
| REQ-NET-SEC-001 | M | anomaly-detection (local rules) | test_no_cloud (WAN severed) | — |
| REQ-NET-COM-002 | M | compliance/reporting | test_incident_log | — |
| REQ-NET-COM-003 | M | compliance/reporting | test_minimization | — |
| REQ-NET-SEC-004 | D | protocol-inspection | (Phase 2, documented) | — |
| REQ-NET-ROB-001 | M | anomaly-detection (thresholds) | test_false_positive | measurable FP rate |
| REQ-NET-ROB-002 | M | packet-engine (quarantine) | test_fuzz (1 000 malformed) | zero crashes |
| REQ-NET-VV-001 | M | attack-simulator | test_replay (deterministic) | — |
| REQ-NET-VV-002 | M | (measurement harness) | test_metrics | archived in performance/ |
Verification → Requirements (reverse)
| Test (TDD) | Requirements covered |
|---|---|
test_capture | FUNC-001 |
test_mqtt_decode | FUNC-002 |
test_http_decode | FUNC-003 |
test_detection | FUNC-004 |
test_isolation | FUNC-005 |
test_latency | PERF-001 |
test_footprint | PERF-002 |
test_no_cloud | SEC-001 |
test_incident_log | COM-002 |
test_minimization | COM-003 |
test_false_positive | ROB-001 |
test_fuzz | ROB-002 |
test_replay | VV-001 |
test_metrics | VV-002 |
KPI coverage
| KPI | Requirements | Measurement |
|---|---|---|
| Detection + isolation < 5 ms | PERF-001 | performance/ latency report |
| No Cloud signature dependency | SEC-001 | test_no_cloud |
Every Mandatory requirement has ≥ 1 verification test (TDD) and every test traces to ≥ 1 requirement — full bidirectional closure.
Source: raw markdown — published as-is from the source repository.