Skip to content

feat: add shared detection content specification v1 - #55

Merged
egrexsec merged 1 commit into
mainfrom
feat/detection-content-spec-v1
Jul 27, 2026
Merged

feat: add shared detection content specification v1#55
egrexsec merged 1 commit into
mainfrom
feat/detection-content-spec-v1

Conversation

@egrexsec

Copy link
Copy Markdown
Owner

Summary

  • add the shared DetLab Detection Content Specification v1 JSON Schema
  • normalize rich DetLab detection YAML into the portable contract
  • record canonical source hashes and generated-artifact provenance/staleness
  • validate every authored detection YAML file
  • add a Python contract CI job while preserving the existing static Next.js build
  • document that rich DetLab YAML remains canonical and generated queries remain derived

Validation

  • PYTHONPATH=service python -m unittest discover -s service/tests -p 'test_*.py' -v
  • cd web && npm test
  • cd web && npm run build
  • git diff --check

Boundaries

  • this PR adds the shared contract and adapter, not the conversion API or workbench controls
  • no generated query is represented as production/live validated
  • contract schema is byte-identical to the copy proposed in egrexsec/cybersecurity-playbook

@egrexsec
egrexsec marked this pull request as ready for review July 27, 2026 16:36
@egrexsec
egrexsec merged commit ec28280 into main Jul 27, 2026
2 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