Skip to content

Add RetailShield capability matrix#80

Merged
TFT444 merged 3 commits into
devfrom
feature/capability-matrix
Jun 6, 2026
Merged

Add RetailShield capability matrix#80
TFT444 merged 3 commits into
devfrom
feature/capability-matrix

Conversation

@TFT444
Copy link
Copy Markdown
Owner

@TFT444 TFT444 commented Jun 4, 2026

Summary

Closes #73

Adds docs/capability-matrix.md — a single reference document covering every detection rule and response playbook with honest status labels.

What's in the matrix

Retail detection rules (13) — full row for each: rule name, KQL file, MITRE technique, tactic, severity, query frequency, data sources (standard tables + custom tables + watchlists), recommended playbook trigger, and status. All 13 are marked ✅ Complete.

Generic detection rules (6) — MITRE mapping documented with ⬜ Placeholder status for each, since the KQL files contain only comments and no implemented logic yet.

Response playbooks (5) — block-ip, isolate-endpoint, quarantine-email, suspend-terminal, incident-reporting — each with trigger, description, and ✅ Complete status.

Supporting tables:

  • MITRE ATT&CK tactic coverage summary (which rules cover each tactic)
  • Watchlist dependency table (4 watchlists × rules using them)
  • Custom table dependency table (RetailShield_POS_CL, RetailShield_Logs_CL × rules using them)

How to test

  1. Check rule count:

    # Retail rules in matrix should match files on disk
    grep "^| " docs/capability-matrix.md | grep "\.kql" | grep -v "^| Rule" | wc -l
    # Should be 19 (13 retail + 6 generic)
  2. Cross-check against KQL files:

    # Every .kql filename in detection-rules/retail/ should appear in the matrix
    for f in detection-rules/retail/*.kql; do
      name=$(basename "$f")
      grep -q "$name" docs/capability-matrix.md && echo "OK: $name" || echo "MISSING: $name"
    done
  3. Read the document and verify:

    • Generic rules are honestly marked ⬜ Placeholder
    • All 5 playbooks appear in the playbooks section
    • MITRE tactic coverage table is consistent with the rules table above it

Generated by Claude Code

…and 5 playbooks

Documents every detection rule and response playbook with MITRE technique,
tactic, severity, frequency, data sources, playbook trigger, and honest
status labels (Complete vs Placeholder for generic stubs).
Includes tactic coverage summary and watchlist/custom table dependency tables.

Closes #73
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
retail-shield Ready Ready Preview, Comment Jun 6, 2026 10:52am

The file was stored with literal \n sequences instead of real newlines
(MCP push_files encoding bug from previous session), causing syntax
errors in pytest and flake8 on every branch forked from dev.
@TFT444 TFT444 merged commit 16ab34b into dev Jun 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant