[FR] [DAC] Add existing mitre threat information on import (#4948)

This commit is contained in:
Mika Ayenson, PhD
2025-07-31 09:44:09 -05:00
committed by GitHub
parent 0e78ce360b
commit f2fac1bc48
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -189,8 +189,8 @@ def rule_prompt( # noqa: PLR0912, PLR0913, PLR0915
# build this from technique ID
if name == "threat":
threat_map: list[dict[str, Any]] = []
if not skip_errors:
threat_map: list[dict[str, Any]] = kwargs.get("threat", [])
if not skip_errors and not required_only:
while click.confirm("add mitre tactic?"):
tactic = schema_prompt("mitre tactic name", type="string", enum=tactics, is_required=True)
technique_ids = ( # type: ignore[reportUnknownVariableType]
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "detection_rules"
version = "1.3.14"
version = "1.3.15"
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"