Compare commits

...
1 Commits
Author SHA1 Message Date
patrick b9b41c7bcd fix(auditor): change server from Triton to Zephyrus for the LAPI 2026-02-11 20:44:37 -05:00
+3 -3
View File
@@ -14,10 +14,10 @@ class FirewallAuditor:
self.table = "crowdsec"
self.set_name = "0.0.0.0/0-cscli"
self.API_KEY = os.getenv("BOUNCER_KEY")
self.TRITON = "triton.beane.me"
self.ZEPHYRUS = "zephyrus.beane.me"
def get_remote_lapi_truth(self):
url = f"https://{self.TRITON}:8081/v1/decisions"
url = f"https://{self.ZEPHYRUS}:8080/v1/decisions"
headers = {"X-Api-Key": self.API_KEY}
try:
@@ -46,7 +46,7 @@ class FirewallAuditor:
return truth_map
except requests.exceptions.ConnectTimeout:
logging.error("Connection to Triton timed out. Check if port 8081 is open on Triton's firewall.")
logging.error("Connection to Zephyrus timed out. Check if port 8080 is open on Zephyrus's firewall.")
return {}
except Exception as e:
logging.error(f"LAPI Sync Error: {e}")