Minor default user config tweak
This commit is contained in:
@@ -115,6 +115,14 @@ class AirlockAPIWrapper:
|
|||||||
payload = {"groupid": groupid}
|
payload = {"groupid": groupid}
|
||||||
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:
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user