Alexander A. Klimov
|
15191bcd74
|
ApplyRule::GetTarget*s(): support constant strings from variables
in addition to literal strings. This is for sandboxed filters with some
variables pre-set by the caller. They're "constant" in that scope, too.
|
2023-12-13 16:02:50 +01:00 |
Yonas Habteab
|
2610fb1285
|
Avoid evaluating the same filter twice for the same target
|
2022-11-04 10:15:22 +01:00 |
Alexander A. Klimov
|
a698b9c3da
|
ApplyRule::RuleMap: reduce complexity, save unnecessary lookups
|
2022-10-28 14:27:53 +02:00 |
Alexander A. Klimov
|
038a5e8ef6
|
Unify storages of regular/targeted apply rules: std::vector<ApplyRule::Ptr>
|
2022-10-28 14:27:53 +02:00 |
Alexander A. Klimov
|
a56ad38ad3
|
Separately handle apply rules targetting only specific parent objects
not to unnecessarily run e.g. the filter assign where host.name=="example.com"
for all hosts being not example.com.
|
2022-10-28 14:27:53 +02:00 |