Skip to content

Implement early timestamp detection for correlation rules and update …#126

Merged
wagga40 merged 1 commit intomasterfrom
3.5.0-correlations
Mar 21, 2026
Merged

Implement early timestamp detection for correlation rules and update …#126
wagga40 merged 1 commit intomasterfrom
3.5.0-correlations

Conversation

@wagga40
Copy link
Copy Markdown
Owner

@wagga40 wagga40 commented Mar 21, 2026

Add native Sigma correlation rule support

#124

Summary

  • Support event_count, value_count, and temporal Sigma correlation rules via pySigma's convert_correlation_rule() path
  • Parse multi-document YAML files (----separated base rule + correlation rule)
  • Auto-align the SQLite backend's timestamp_field with the detected/configured time field so correlation SQL references the correct column
  • Exclude correlation entries from EventFilter (they carry no Channel/EventID metadata)

Limitations

  • timespan on event_count: the SQLite backend may not enforce the time window — counts can reflect all matching rows rather than a rolling window
  • Base rule + correlation must be in the same YAML file or same directory (single --ruleset path) for name references to resolve

…RulesetConfig to include time_field. Enhance documentation on Sigma correlation rules and improve validation for multi-document YAML rules.
@wagga40 wagga40 merged commit 018a860 into master Mar 21, 2026
2 checks passed
@wagga40 wagga40 deleted the 3.5.0-correlations branch March 21, 2026 11:05
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