add: [Rulezet] new rule format - #529
Merged
Merged
Conversation
Add a dedicated object for a Splunk detection/correlation search (SPL query), covering scheduling, risk score, severity, and MITRE ATT&CK mapping.
Add a dedicated object for an Elastic Security detection rule (KQL, Lucene, EQL, or ES|QL query), covering scheduling, risk score, severity, and MITRE ATT&CK mapping.
Add a dedicated object for a Microsoft Sentinel or Defender XDR KQL analytics rule, covering scheduling, alert thresholds, entity mappings, and MITRE ATT&CK mapping.
Member
|
Thank you! |
ecrou-exact
added a commit
to rulezet/rulezet-core
that referenced
this pull request
Sep 11, 2026
…mplates MISP/misp-objects#529 (merged) added splunk-rule, elastic-detection-rule and kql-analytics-rule templates — the 3 rule formats Rulezet already supports (Rule.format == 'splunk'/'elastic'/'kql') had no MISP object mapping yet, unlike yara/sigma/suricata/wazuh/nse/crs/nova. pymisp's bundled misp-objects data doesn't include these new templates yet (checked: definition.json absent from the installed package), so each is vendored locally under object_templates/ and passed via misp_objects_template_custom — the same approach already used for Rulezet's own custom rulezet-metadata/rulezet-bundle objects. Mapping follows the existing minimal convention (full rule content in the primary query attribute + title as rule-name), same level of support as every other format. Verified end-to-end against real splunk/elastic/kql rules in the local DB — both the single-object and full-event export paths produce the right object alongside rulezet-metadata. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ecrou-exact
added a commit
to rulezet/rulezet-core
that referenced
this pull request
Sep 11, 2026
…mplates MISP/misp-objects#529 (merged) added splunk-rule, elastic-detection-rule and kql-analytics-rule templates — the 3 rule formats Rulezet already supports (Rule.format == 'splunk'/'elastic'/'kql') had no MISP object mapping yet, unlike yara/sigma/suricata/wazuh/nse/crs/nova. pymisp's bundled misp-objects data doesn't include these new templates yet (checked: definition.json absent from the installed package), so each is vendored locally under object_templates/ and passed via misp_objects_template_custom — the same approach already used for Rulezet's own custom rulezet-metadata/rulezet-bundle objects. Mapping follows the existing minimal convention (full rule content in the primary query attribute + title as rule-name), same level of support as every other format. Verified end-to-end against real splunk/elastic/kql rules in the local DB — both the single-object and full-event export paths produce the right object alongside rulezet-metadata. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
splunk-rule: Splunk detection/correlation search (SPL), with scheduling, risk score, severity, and MITRE ATT&CK mapping.elastic-detection-rule: Elastic Security detection rule (KQL/Lucene/EQL/ES|QL), with scheduling, risk score, severity, and MITRE ATT&CK mapping.kql-analytics-rule: Microsoft Sentinel/Defender XDR KQL analytics rule, with scheduling, alert thresholds, entity mappings, and MITRE ATT&CK mapping.First version with Claude Code.
For rulezet ( to see the rule into pivotick ;) )