fix(auditor): change server from Triton to Zephyrus for the LAPI

This commit is contained in:
patrick committed 2026-02-11 20:44:37 -05:00
1 parent 14c5ac758e
commit b9b41c7bcd
1 file changed
+3 -3
+3 -3
View File
@@ -14,10 +14,10 @@ class FirewallAuditor:
self.table = "crowdsec" self.table = "crowdsec"
self.set_name = "0.0.0.0/0-cscli" self.set_name = "0.0.0.0/0-cscli"
self.API_KEY = os.getenv("BOUNCER_KEY") self.API_KEY = os.getenv("BOUNCER_KEY")
self.TRITON = "triton.beane.me" self.ZEPHYRUS = "zephyrus.beane.me"
def get_remote_lapi_truth(self): 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} headers = {"X-Api-Key": self.API_KEY}
try: try:
@@ -46,7 +46,7 @@ class FirewallAuditor:
return truth_map return truth_map
except requests.exceptions.ConnectTimeout: 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 {} return {}
except Exception as e: except Exception as e:
logging.error(f"LAPI Sync Error: {e}") logging.error(f"LAPI Sync Error: {e}")