[Bug] Github Gist API Now Requires Auth (#5119)

* Add headers to public call
This commit is contained in:
Eric Forte
2025-09-16 08:18:48 -04:00
committed by GitHub
parent 4476ac52a8
commit b2b9d677c7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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"])
+1 -1
View File
@@ -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 Securitys Detection Engine."
readme = "README.md"
requires-python = ">=3.12"