From aa501437a48d10c9b60d0ba5813741400d3cbec9 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Fri, 18 Jul 2025 16:14:58 +0200 Subject: [PATCH] fix(userspace/engine): adding capture members to to the rule equility operator Signed-off-by: Leonardo Grasso --- userspace/engine/falco_rule.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/userspace/engine/falco_rule.h b/userspace/engine/falco_rule.h index a5e2f26f..5e0e56cb 100644 --- a/userspace/engine/falco_rule.h +++ b/userspace/engine/falco_rule.h @@ -91,7 +91,9 @@ struct falco_rule { return (this->id == rhs.id && this->source == rhs.source && this->name == rhs.name && this->description == rhs.description && this->output == rhs.output && this->tags == rhs.tags && this->exception_fields == rhs.exception_fields && - this->priority == rhs.priority && this->condition.get() == rhs.condition.get() && + this->priority == rhs.priority && this->capture == rhs.capture && + this->capture_duration == rhs.capture_duration && + this->condition.get() == rhs.condition.get() && this->filter.get() == rhs.filter.get()); }