diff --git a/detection_rules/ghwrap.py b/detection_rules/ghwrap.py index 1f71cbbd3..aad7daf5a 100644 --- a/detection_rules/ghwrap.py +++ b/detection_rules/ghwrap.py @@ -109,7 +109,7 @@ def update_gist( # noqa: PLR0913 if pre_purge: # retrieve all existing file names which are not in the file_map and overwrite them to empty to delete files - response = requests.get(url, timeout=30) + response = requests.get(url, headers=headers, timeout=30) response.raise_for_status() data = response.json() files = list(data["files"]) diff --git a/pyproject.toml b/pyproject.toml index 4e6a06c16..fba7e4f95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "detection_rules" -version = "1.4.1" +version = "1.4.2" 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"