We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e0b8c commit 384ea21Copy full SHA for 384ea21
detection_rules/atlas.py
@@ -27,7 +27,7 @@ def get_atlas_file_path() -> Path:
27
"""Get the path to the ATLAS YAML file."""
28
if not ATLAS_FILE.exists():
29
# Try to download it if it doesn't exist
30
- download_atlas_data()
+ _ = download_atlas_data()
31
return ATLAS_FILE
32
33
@@ -39,7 +39,7 @@ def download_atlas_data(save: bool = True) -> dict[str, Any] | None:
39
atlas_data = yaml.safe_load(r.text)
40
41
if save:
42
- ATLAS_FILE.write_text(r.text)
+ _ = ATLAS_FILE.write_text(r.text)
43
print(f"Downloaded ATLAS data to {ATLAS_FILE}")
44
45
return atlas_data
0 commit comments