Merge branch 'agent-node'
This commit is contained in:
commit
5990dddf5a
8 files changed
+126
-60
No files matched your search
+2
-2
@@ -10,7 +10,7 @@ class LocalStateReporter:
|
||||
Manages the health manifest on Triton.
|
||||
Acts as the 'Black Box' recorder for Argus to query.
|
||||
"""
|
||||
def __init__(self, state_file="/home/patrick/threat-engine-agent/threat-agent-state.json"):
|
||||
def __init__(self, state_file="/home/patrick/threat-agent-state.json"):
|
||||
self.state_file = state_file
|
||||
# Ensure the directory is writable
|
||||
os.makedirs(os.path.dirname(os.path.abspath(self.state_file)), exist_ok=True)
|
||||
@@ -20,7 +20,7 @@ class LocalStateReporter:
|
||||
Writes the current health snapshot to a JSON file.
|
||||
"""
|
||||
status_data = {
|
||||
"node": "triton",
|
||||
"node": "zephyrus",
|
||||
"last_check": datetime.now().isoformat(),
|
||||
"status": "HEALTHY" if is_synced else "DESYNC_DETECTED",
|
||||
"is_synced": is_synced,
|
||||
|
||||
Reference in new issue
Block a user