Minor default user config tweak

This commit is contained in:
2025-11-17 12:24:09 -05:00
parent 4a47cbe661
commit a7fc1b71e1
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -116,6 +116,14 @@ class AirlockAPIWrapper:
result = self._post("/v1/agent/find", payload) result = self._post("/v1/agent/find", payload)
return pd.DataFrame(result["response"]["agents"]) return pd.DataFrame(result["response"]["agents"])
#Baseline Managment
def baseline_find_all(self) -> pd.DataFrame:
"""Retrieve all agents."""
result = self._post("/v1/agent/find", {})
return pd.DataFrame(result["response"]["agents"])
# Hash Management # Hash Management
def hash_add_to_allowlist(self, applicationid: str, hashes: List[str]) -> dict: def hash_add_to_allowlist(self, applicationid: str, hashes: List[str]) -> dict:
"""Add hashes to the allowlist for a specific application.""" """Add hashes to the allowlist for a specific application."""
+1 -1
View File
@@ -192,7 +192,7 @@ def load_user_config(config_dir: Path) -> dict:
if not user_config_path.exists(): if not user_config_path.exists():
# Create default user config # Create default user config
default_user_config = { default_user_config = {
"TELEMETRY": "false", "TELEMETRY": False,
"TELEM_URL": "", "TELEM_URL": "",
"TEXTUAL_THEME": "gruvbox", "TEXTUAL_THEME": "gruvbox",
"EXTRAS": "NOTTODAY", "EXTRAS": "NOTTODAY",