Skip unit test for protected prebuilt-rules on DAC env (#5323)

This commit is contained in:
shashank-elastic
2025-11-17 21:41:46 +05:30
committed by GitHub
parent 79607723df
commit 5db396f084
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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 Securitys Detection Engine."
readme = "README.md"
requires-python = ">=3.12"
+1
View File
@@ -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