From 4e6ae373b6abc7ef0d5fb810385d14250757f3f1 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 1 Apr 2026 17:22:44 +0900 Subject: feat(security): add bearer token auth for health/metrics endpoints --- services/order-executor/src/order_executor/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/order-executor/src') diff --git a/services/order-executor/src/order_executor/main.py b/services/order-executor/src/order_executor/main.py index ab6ef4f..0198f65 100644 --- a/services/order-executor/src/order_executor/main.py +++ b/services/order-executor/src/order_executor/main.py @@ -57,7 +57,7 @@ async def run() -> None: last_id = "$" stream = "signals" - health = HealthCheckServer("order-executor", port=config.health_port + 2) + health = HealthCheckServer("order-executor", port=config.health_port + 2, auth_token=config.metrics_auth_token) health.register_check("redis", broker.ping) await health.start() metrics.service_up.labels(service="order-executor").set(1) -- cgit v1.2.3