Motivation
RDX targets Managed Detection & Response and detection engineering use cases (RDX-072, RDX-073, RDX-074). Currently RDX models controls and treatment decisions but lacks a standardized format for exporting operational detection artefacts (playbooks, SIEM rules) that defenders can ingest. Mapping attackPaths and controls to STIX playbooks and Sigma rules (or references to them) will accelerate detection engineering, automate the synthesis of starter detection rules from TARA, and improve MDR interoperability.
This proposal complements the existing monitoring/detection requirement (RDX-055) by defining a concrete, machine-readable export model and export examples.
Proposed change
-
Add an optional top-level playbooks[] array under riskSet with schema fields:
- id, title, description
- relatedRiskValueId[] (link to
riskValues)
- relatedAttackPathIds[]
- controls[] (control ids applied)
- detectionArtifacts[] — array of objects with:
artifactType (enum: "sigma","stix","cacao","other"), artifactRef (URI or embedded text), artifactLanguage (e.g., "sigma", "stix2.1"), mapping (array mapping attackPath step ids to lines/conditions in the artifact), confidence and author.
- automationHints[] — structured guidance for automated translation (e.g., log sources, field mappings, sample event snippets)
- owner / contact
-
Define export tooling guidance and an example exporter tools/rdx_to_detection.py that:
- walks selected attackPaths + controls and emits a starter Sigma rule template(s) with references back to the originating RDX objects (attackPath IDs, riskValueId) and suggested logsource metadata.
- optionally produces a STIX 2.1 bundle linking indicators, course-of-action (playbook), and observed-data placeholders.
-
Provide example examples/rdx-playbook-export.json and examples/rdx-playbook-sigma.yml illustrating (a) mapping of an attackPath step to a Sigma rule, and (b) a STIX bundle with course-of-action and attack-pattern links.
-
Document a recommended minimal mapping format used by exporters so that generated Sigma rules include a back-reference tag (e.g., tags: ["rdx:attackPath:AP-001","rdx:riskValue:RV-123"]) to enable traceability and CI gating.
-
New requirement id (to add to REQUIREMENTS.md):
- RDX-116 (new requirement): "Provide a standardized detection playbook/export model enabling export of detection artifacts (Sigma, STIX) with bidirectional traceability to RDX attackPaths, controls, and risk values."
References
Acceptance criteria
- Schema additions:
spec/json/rdx.schema.json and spec/xml/rdx.xsd accept a playbooks[] array with fields described above; XSD parity maintained.
- Add
tools/rdx_to_detection.py which, given an RDX document, emits at least one Sigma rule YAML and one STIX 2.1 bundle demonstrating the mapping. The exporter must insert traceability tags/metadata back to RDX object IDs.
- Examples:
examples/rdx-playbook-export.json, examples/rdx-playbook-sigma.yml and examples/rdx-playbook-stix.json are included and validated where applicable.
- Documentation:
methodology/ contains a "Detection Playbooks and Exports" section describing exporter behaviour, mapping conventions, and suggested CI gating patterns for detection coverage.
- REQUIREMENTS.md updated with RDX-116 and cross-reference to RDX-072..RDX-074 and RDX-055.
Generated by tools/ai_idea_scout.py via the AI Idea Scout workflow.
Review the proposal, refine the title/body/labels, and close if not desired.
Motivation
RDX targets Managed Detection & Response and detection engineering use cases (RDX-072, RDX-073, RDX-074). Currently RDX models controls and treatment decisions but lacks a standardized format for exporting operational detection artefacts (playbooks, SIEM rules) that defenders can ingest. Mapping attackPaths and controls to STIX playbooks and Sigma rules (or references to them) will accelerate detection engineering, automate the synthesis of starter detection rules from TARA, and improve MDR interoperability.
This proposal complements the existing monitoring/detection requirement (RDX-055) by defining a concrete, machine-readable export model and export examples.
Proposed change
Add an optional top-level
playbooks[]array underriskSetwith schema fields:riskValues)artifactType(enum: "sigma","stix","cacao","other"),artifactRef(URI or embedded text),artifactLanguage(e.g., "sigma", "stix2.1"),mapping(array mapping attackPath step ids to lines/conditions in the artifact),confidenceandauthor.Define export tooling guidance and an example exporter
tools/rdx_to_detection.pythat:Provide example
examples/rdx-playbook-export.jsonandexamples/rdx-playbook-sigma.ymlillustrating (a) mapping of an attackPath step to a Sigma rule, and (b) a STIX bundle withcourse-of-actionandattack-patternlinks.Document a recommended minimal
mappingformat used by exporters so that generated Sigma rules include a back-reference tag (e.g.,tags: ["rdx:attackPath:AP-001","rdx:riskValue:RV-123"]) to enable traceability and CI gating.New requirement id (to add to REQUIREMENTS.md):
References
Acceptance criteria
spec/json/rdx.schema.jsonandspec/xml/rdx.xsdaccept aplaybooks[]array with fields described above; XSD parity maintained.tools/rdx_to_detection.pywhich, given an RDX document, emits at least one Sigma rule YAML and one STIX 2.1 bundle demonstrating the mapping. The exporter must insert traceability tags/metadata back to RDX object IDs.examples/rdx-playbook-export.json,examples/rdx-playbook-sigma.ymlandexamples/rdx-playbook-stix.jsonare included and validated where applicable.methodology/contains a "Detection Playbooks and Exports" section describing exporter behaviour, mapping conventions, and suggested CI gating patterns for detection coverage.Generated by
tools/ai_idea_scout.pyvia the AI Idea Scout workflow.Review the proposal, refine the title/body/labels, and close if not desired.