This commit is contained in:
Ido Lavi 2025-11-19 17:54:01 +02:00
parent 0fa67ac1a2
commit 52cdc5f04e

View file

@ -799,7 +799,7 @@ class NomaGuardrail(CustomGuardrail):
or request_data.get("metadata", {})
.get("headers", {})
.get("x-noma-application-id")
or (user_auth.key_alias if user_auth.key_alias else (user_auth.key_name if user_auth.key_name else self.application_id)),
or (user_auth.key_alias if user_auth.key_alias else self.application_id),
"ipAddress": request_data.get("metadata", {}).get(
"requester_ip_address", None
),