We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3df752 commit 0fa8c0fCopy full SHA for 0fa8c0f
detection_rules/main.py
@@ -32,6 +32,7 @@
32
from .generic_loader import GenericCollection
33
from .misc import (
34
add_client,
35
+ getdefault,
36
nested_set,
37
parse_user_config,
38
raise_client_error,
@@ -464,6 +465,7 @@ def view_rule(
464
465
and isinstance(rule.contents.data, ESQLRuleData)
466
and isinstance(rule.contents.data.validator, ESQLValidator)
467
and isinstance(rule.contents.metadata, RuleMeta)
468
+ and not getdefault("remote_esql_validation")()
469
):
470
rule.contents.data.validator.validate(rule.contents.data, rule.contents.metadata, force_remote_validation=True)
471
0 commit comments