Renovate Updates (#5258)

This commit is contained in:
shashank-elastic
2025-11-17 20:22:11 +05:30
committed by GitHub
parent 64cc823481
commit 79607723df
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ def rule_prompt( # noqa: PLR0912, PLR0913, PLR0915
# if failing due to a query, loop until resolved or terminated
while True:
try:
contents["query"] = click.edit(contents["query"], extension=".eql")
contents["query"] = click.edit(contents["query"], extension=".eql") # type: ignore[reportUnknownArgumentType]
rule = TOMLRule(
path=Path(path),
contents=TOMLRuleContents.from_dict({"rule": contents, "metadata": meta}),
+2 -2
View File
@@ -35,7 +35,7 @@ def get_gh_release(repo: Repository, release_name: str | None = None, tag_name:
releases = repo.get_releases()
for release in releases:
if (release_name and release_name == release.title) or (tag_name and tag_name == release.tag_name):
if (release_name and release_name == release.name) or (tag_name and tag_name == release.tag_name):
return release
return None
@@ -211,7 +211,7 @@ class ManifestManager:
raise ValueError(f"No release found for {tag_name or release_name}")
if not self.release_name:
self.release_name = self.release.title
self.release_name = self.release.name
self.manifest_name = f"manifest-{self.release_name}.json"
self.assets = self._get_enriched_assets_from_release()
+9 -9
View File
@@ -1,6 +1,6 @@
[project]
name = "detection_rules"
version = "1.5.11"
version = "1.5.12"
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"
@@ -19,12 +19,12 @@ classifiers = [
"Topic :: Utilities"
]
dependencies = [
"Click~=8.1.7",
"Click~=8.3.0",
"elasticsearch~=8.12.1",
"eql==0.9.19",
"jsl==0.2.4",
"jsonschema>=4.21.1",
"marko==2.0.3",
"marko==2.2.1",
"marshmallow-dataclass==8.7.1",
"marshmallow-jsonschema~=0.13.0",
"marshmallow-union~=0.1.15",
@@ -39,19 +39,19 @@ dependencies = [
"typing-extensions>=4.12",
"XlsxWriter~=3.2.0",
"semver==3.0.4",
"PyGithub==2.2.0",
"PyGithub==2.8.1",
"detection-rules-kql @ git+https://github.com/elastic/detection-rules.git#subdirectory=lib/kql",
"detection-rules-kibana @ git+https://github.com/elastic/detection-rules.git#subdirectory=lib/kibana",
"setuptools==78.1.1"
]
[project.optional-dependencies]
dev = [
"pep8-naming==0.13.0",
"flake8==7.0.0",
"pyflakes==3.2.0",
"pep8-naming==0.15.1",
"flake8==7.3.0",
"pyflakes==3.4.0",
"pytest>=8.1.1",
"nodeenv==1.8.0",
"pre-commit==3.6.2",
"nodeenv==1.9.1",
"pre-commit==3.8.0",
"ruff>=0.11",
"pyright>=1.1",
]