Skip to content

Commit

Permalink
fix: change correlation type when ref rule is correlation
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed Dec 22, 2024
1 parent 476b5f9 commit bc76edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detections/detection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ impl Detection {
continue;
}
for value in rule.judge_satisfy_aggcondition(stored_static) {
let mut output = false;
let mut output = true;
if let CorrelationType::TemporalRef(generate, uuid) = &rule.correlation_type {
detected_temporal_refs
.entry(uuid.clone())
Expand Down

0 comments on commit bc76edf

Please sign in to comment.