Skip unit test for protected prebuilt-rules on DAC env (#5323)
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "detection_rules"
|
||||
version = "1.5.12"
|
||||
version = "1.5.13"
|
||||
description = "Detection Rules is the home for rules used by Elastic Security. This repository is used for the development, maintenance, testing, validation, and release of rules for Elastic Security’s Detection Engine."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
@@ -1112,6 +1112,7 @@ class TestIntegrationRules(BaseRuleTest):
|
||||
f"The following ({len(failures)}) rules are missing a valid `machine_learning_job_id`:\n{err_msg}"
|
||||
)
|
||||
|
||||
@unittest.skipIf(os.environ.get("CUSTOM_RULES_DIR"), "Skipping test for custom rules.")
|
||||
def test_preserve_upstream_protected_rule_id_name(self):
|
||||
"""
|
||||
Ensure upstream referenced rule IDs and rule names remain unchanged
|
||||
|
||||
Reference in New Issue
Block a user