{"level":"info","ts":"2026-07-15T04:51:37Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/f52c6cedbb1bbe3c91f40330f8252031b83cad015d270d7f9cd590ca32a8c408"} {"level":"debug","ts":"2026-07-15T04:51:37Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"3a1c1d723ac0502f08dec2475f516045344b4bf2415f20b849715f0303567534","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T04:51:37Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0814b039ac7d9ace87b18b09e2557a665c8d18fd7f57300a73495e4b6629191b"} {"level":"debug","ts":"2026-07-15T04:51:37Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"d74d84b57a9d980af7430639108229cc06cf609da8861fa8202b151dada2de9b","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T04:51:37Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/3a93aefdb548469ba1ee6eddf76d559d20f6dac59882ae75fc49bacac124ef51"} {"level":"debug","ts":"2026-07-15T04:51:37Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"7981932a7a6588725adebab8d8b6bf344e3f4f218b17d37e1ea0fd74baba12b9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T04:51:37Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/7688f4cab27091396c3f3ec577c3e125c00fd77c8c0c9be8b359eb4759ad9faf"} {"level":"info","ts":"2026-07-15T04:51:37Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/3a1c1d723ac0502f08dec2475f516045344b4bf2415f20b849715f0303567534"} {"level":"info","ts":"2026-07-15T04:51:37Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/d74d84b57a9d980af7430639108229cc06cf609da8861fa8202b151dada2de9b"} {"level":"info","ts":"2026-07-15T04:51:37Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/7981932a7a6588725adebab8d8b6bf344e3f4f218b17d37e1ea0fd74baba12b9"} {"level":"info","ts":"2026-07-15T04:51:39Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48284","PortSpecifier":{"PortValue":48284}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"42ce36de-5a36-45c1-b264-075bad0a8f68","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:39Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48284","PortSpecifier":{"PortValue":48284}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091099,"nanos":991164933},"http":{"id":"42ce36de-5a36-45c1-b264-075bad0a8f68","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/maas-api/v1/api-keys",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:39Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-15T04:51:39Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","config":{"Name":"openshift-identities","Priority":2,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":null,"OAuth2":null,"JWTAuthentication":null,"MTLS":null,"HMAC":null,"APIKey":null,"KubernetesAuth":{"AuthCredentials":{"KeySelector":"Bearer","In":"authorization_header"}},"Plain":null,"Noop":null,"ExtendedProperties":[]},"object":{"authenticated":true,"user":{"username":"system:serviceaccount:default:tester-regular-user","uid":"d6887e37-f9b9-4ae6-9d3d-7ad0f2cd5bd5","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=b155d304-ef3d-4766-832d-258d3a5d1aa6"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/bbb2be5188e7"]}} {"level":"debug","ts":"2026-07-15T04:51:39Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/bbb2be5188e7"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=b155d304-ef3d-4766-832d-258d3a5d1aa6"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"d6887e37-f9b9-4ae6-9d3d-7ad0f2cd5bd5","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"0afc5da45128766c4038aa5682ad9870bf03d0f5caa0d758bb59e4738318b3c7"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.61:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/maas-api/v1/api-keys",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","config":{"Name":"X-MaaS-Username-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","config":{"Name":"X-MaaS-Group-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"info","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"42ce36de-5a36-45c1-b264-075bad0a8f68","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:47726","PortSpecifier":{"PortValue":47726}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.63:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-3a7aa4.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:47726","PortSpecifier":{"PortValue":47726}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.63:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091100,"nanos":33669033},"http":{"id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","method":"POST","headers":{":authority":"e2e-shared-b-3a7aa4.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/maas-api/v1/api-keys",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","config":{"Name":"openshift-identities","Priority":2,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":null,"OAuth2":null,"JWTAuthentication":null,"MTLS":null,"HMAC":null,"APIKey":null,"KubernetesAuth":{"AuthCredentials":{"KeySelector":"Bearer","In":"authorization_header"}},"Plain":null,"Noop":null,"ExtendedProperties":[]},"object":{"authenticated":true,"user":{"username":"system:serviceaccount:default:tester-regular-user","uid":"d6887e37-f9b9-4ae6-9d3d-7ad0f2cd5bd5","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=b155d304-ef3d-4766-832d-258d3a5d1aa6"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/bbb2be5188e7"]}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/bbb2be5188e7"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=b155d304-ef3d-4766-832d-258d3a5d1aa6"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"d6887e37-f9b9-4ae6-9d3d-7ad0f2cd5bd5","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"0814b039ac7d9ace87b18b09e2557a665c8d18fd7f57300a73495e4b6629191b"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.63:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-3a7aa4.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/maas-api/v1/api-keys",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-3a7aa4/rate-test-model-3a7aa4\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-3a7aa4/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","config":{"Name":"X-MaaS-Group-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","config":{"Name":"X-MaaS-Username-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"info","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f7a4ae72-0d61-45e6-8a39-360b9f06c352","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48300","PortSpecifier":{"PortValue":48300}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48300","PortSpecifier":{"PortValue":48300}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091100,"nanos":73784262},"http":{"id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:40Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d891e12b-b810-48dc-bc00-ec38f1e2160b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48310","PortSpecifier":{"PortValue":48310}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48310","PortSpecifier":{"PortValue":48310}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091101,"nanos":151380678},"http":{"id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:41Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9b0792fb-7b14-4431-874e-6f5d8ed02a49","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48316","PortSpecifier":{"PortValue":48316}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48316","PortSpecifier":{"PortValue":48316}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091102,"nanos":189889071},"http":{"id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:42Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3b955b4d-8d3b-4aa5-a593-d810c5bb4a0b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48322","PortSpecifier":{"PortValue":48322}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48322","PortSpecifier":{"PortValue":48322}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091103,"nanos":242812851},"http":{"id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:43Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"2184e64c-99e2-4dc9-92f3-2e982ddd1f6e","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48334","PortSpecifier":{"PortValue":48334}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"a8d5625f-6bc6-414d-85ae-bff21449b956","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48334","PortSpecifier":{"PortValue":48334}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091104,"nanos":282249595},"http":{"id":"a8d5625f-6bc6-414d-85ae-bff21449b956","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:44Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"a8d5625f-6bc6-414d-85ae-bff21449b956","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45336","PortSpecifier":{"PortValue":45336}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"3fca11a8-70c4-4656-a347-e59a428c14f6","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45336","PortSpecifier":{"PortValue":45336}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091105,"nanos":331871196},"http":{"id":"3fca11a8-70c4-4656-a347-e59a428c14f6","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3fca11a8-70c4-4656-a347-e59a428c14f6","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45340","PortSpecifier":{"PortValue":45340}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"3dde8877-ef3e-4380-9531-9709a75fae62","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45340","PortSpecifier":{"PortValue":45340}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091106,"nanos":372073397},"http":{"id":"3dde8877-ef3e-4380-9531-9709a75fae62","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3dde8877-ef3e-4380-9531-9709a75fae62","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4ceb644a-f243-41ee-ae52-085a11468378","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45346","PortSpecifier":{"PortValue":45346}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"4ceb644a-f243-41ee-ae52-085a11468378","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4ceb644a-f243-41ee-ae52-085a11468378","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45346","PortSpecifier":{"PortValue":45346}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091107,"nanos":414054476},"http":{"id":"4ceb644a-f243-41ee-ae52-085a11468378","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"4ceb644a-f243-41ee-ae52-085a11468378","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4ceb644a-f243-41ee-ae52-085a11468378","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4ceb644a-f243-41ee-ae52-085a11468378","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:47Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4ceb644a-f243-41ee-ae52-085a11468378","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45350","PortSpecifier":{"PortValue":45350}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45350","PortSpecifier":{"PortValue":45350}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091108,"nanos":475719447},"http":{"id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:48Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5afc331c-e8b9-4b7b-a005-6486bb56d0cc","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45352","PortSpecifier":{"PortValue":45352}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45352","PortSpecifier":{"PortValue":45352}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091109,"nanos":517638330},"http":{"id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:49Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"437b28eb-9474-4e1a-b3b7-126d8d51760a","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45368","PortSpecifier":{"PortValue":45368}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"890b6e23-80a2-4db6-a09b-09c677108c74","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:45368","PortSpecifier":{"PortValue":45368}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091110,"nanos":558681006},"http":{"id":"890b6e23-80a2-4db6-a09b-09c677108c74","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV"} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-6j4SKIscspHZJ0h2_jCvzREqN3z8emWB9UqZtyBprceuZuoCWw4OlqgFcRFV\"}"} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","subscription":"e2e-rate-iso-a-cfaa68","tenant":"e2e-shared-a-c2a8a9","userId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-cfaa68\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-cfaa68"} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"0bac14c3-6279-40ec-bdf9-ce7e8aaeaaf0","keyName":"e2e-rate-a-cfaa68","selected_subscription":"e2e-rate-iso-a-cfaa68","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-cfaa68@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-cfaa68","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:50Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"890b6e23-80a2-4db6-a09b-09c677108c74","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57492","PortSpecifier":{"PortValue":57492}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57492","PortSpecifier":{"PortValue":57492}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091119,"nanos":442783155},"http":{"id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/maas-api/v1/api-keys",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","config":{"Name":"openshift-identities","Priority":2,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":null,"OAuth2":null,"JWTAuthentication":null,"MTLS":null,"HMAC":null,"APIKey":null,"KubernetesAuth":{"AuthCredentials":{"KeySelector":"Bearer","In":"authorization_header"}},"Plain":null,"Noop":null,"ExtendedProperties":[]},"object":{"authenticated":true,"user":{"username":"system:serviceaccount:default:tester-regular-user","uid":"d6887e37-f9b9-4ae6-9d3d-7ad0f2cd5bd5","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=b155d304-ef3d-4766-832d-258d3a5d1aa6"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/bbb2be5188e7"]}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/bbb2be5188e7"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=b155d304-ef3d-4766-832d-258d3a5d1aa6"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"d6887e37-f9b9-4ae6-9d3d-7ad0f2cd5bd5","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"0afc5da45128766c4038aa5682ad9870bf03d0f5caa0d758bb59e4738318b3c7"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.61:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/maas-api/v1/api-keys",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","config":{"Name":"X-MaaS-Username-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","config":{"Name":"X-MaaS-Group-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"info","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d0b9c118-71ff-4e3e-b4c2-54bec7f23359","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:59144","PortSpecifier":{"PortValue":59144}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.63:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-3a7aa4.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:59144","PortSpecifier":{"PortValue":59144}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.63:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091119,"nanos":483979333},"http":{"id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","method":"POST","headers":{":authority":"e2e-shared-b-3a7aa4.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/maas-api/v1/api-keys",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","config":{"Name":"openshift-identities","Priority":2,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":null,"OAuth2":null,"JWTAuthentication":null,"MTLS":null,"HMAC":null,"APIKey":null,"KubernetesAuth":{"AuthCredentials":{"KeySelector":"Bearer","In":"authorization_header"}},"Plain":null,"Noop":null,"ExtendedProperties":[]},"object":{"authenticated":true,"user":{"username":"system:serviceaccount:default:tester-regular-user","uid":"d6887e37-f9b9-4ae6-9d3d-7ad0f2cd5bd5","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=b155d304-ef3d-4766-832d-258d3a5d1aa6"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/bbb2be5188e7"]}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/bbb2be5188e7"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=b155d304-ef3d-4766-832d-258d3a5d1aa6"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"d6887e37-f9b9-4ae6-9d3d-7ad0f2cd5bd5","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"0814b039ac7d9ace87b18b09e2557a665c8d18fd7f57300a73495e4b6629191b"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.63:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-3a7aa4.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/maas-api/v1/api-keys",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-3a7aa4/rate-test-model-3a7aa4\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-3a7aa4/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","config":{"Name":"X-MaaS-Username-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","config":{"Name":"X-MaaS-Group-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"info","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f0c2ab77-a21c-4a2a-8c53-5b2ea016eed3","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57502","PortSpecifier":{"PortValue":57502}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"55107df3-dea2-46c2-8d34-61c3f88461df","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57502","PortSpecifier":{"PortValue":57502}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091119,"nanos":519691280},"http":{"id":"55107df3-dea2-46c2-8d34-61c3f88461df","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:51:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"55107df3-dea2-46c2-8d34-61c3f88461df","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57510","PortSpecifier":{"PortValue":57510}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57510","PortSpecifier":{"PortValue":57510}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091120,"nanos":583953825},"http":{"id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:00Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"dc0f2a46-a953-435d-a1e7-57d33f57374e","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57522","PortSpecifier":{"PortValue":57522}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57522","PortSpecifier":{"PortValue":57522}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091121,"nanos":626088123},"http":{"id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:01Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"ed0a4f44-1925-431e-918f-94b5fe1d6ab5","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57524","PortSpecifier":{"PortValue":57524}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57524","PortSpecifier":{"PortValue":57524}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091122,"nanos":664562073},"http":{"id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:02Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"48930d15-f1a8-4bcf-a716-f85b0a1e03bd","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57540","PortSpecifier":{"PortValue":57540}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:57540","PortSpecifier":{"PortValue":57540}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091123,"nanos":705070348},"http":{"id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:03Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"8bfd3e47-b82e-48fa-a5b9-99f5aea81e2f","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48470","PortSpecifier":{"PortValue":48470}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48470","PortSpecifier":{"PortValue":48470}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091124,"nanos":745191591},"http":{"id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:04Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d632aa45-fbae-4ee4-b16a-37e22b7abb82","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48486","PortSpecifier":{"PortValue":48486}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48486","PortSpecifier":{"PortValue":48486}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091125,"nanos":791759925},"http":{"id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:05Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e170be37-2ae0-46c4-9467-cdbdf7a3fb66","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48502","PortSpecifier":{"PortValue":48502}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"a658af05-9abf-4607-ab8f-6aef28dece4b","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48502","PortSpecifier":{"PortValue":48502}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091126,"nanos":831133014},"http":{"id":"a658af05-9abf-4607-ab8f-6aef28dece4b","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:06Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"a658af05-9abf-4607-ab8f-6aef28dece4b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48504","PortSpecifier":{"PortValue":48504}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48504","PortSpecifier":{"PortValue":48504}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091127,"nanos":875556749},"http":{"id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:07Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"7793bfa6-ad69-4961-b1a2-5bb915c01661","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48510","PortSpecifier":{"PortValue":48510}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"df67a746-0280-4ad3-a220-b3b4d34607be","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48510","PortSpecifier":{"PortValue":48510}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091128,"nanos":913874701},"http":{"id":"df67a746-0280-4ad3-a220-b3b4d34607be","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:08Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"df67a746-0280-4ad3-a220-b3b4d34607be","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48512","PortSpecifier":{"PortValue":48512}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","method":"POST","path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions","host":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:48512","PortSpecifier":{"PortValue":48512}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091129,"nanos":953825076},"http":{"id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","method":"POST","headers":{":authority":"e2e-shared-a-c2a8a9.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q"} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-bYmLh3yZUwW4rXRL_E1iQmNmHce82bAY4fuVHs3pfXNes33XbdAJAeHC8M9Q\"}"} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","subscription":"e2e-rate-iso-a-d0001e","tenant":"e2e-shared-a-c2a8a9","userId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\",\"requestedSubscription\":\"e2e-rate-iso-a-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-a-c2a8a9.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c2a8a9/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-a-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"6341ae08-d29f-48df-b70b-536ae0f5fc64","keyName":"e2e-rate-a-d0001e","selected_subscription":"e2e-rate-iso-a-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-a-c2a8a9/e2e-rate-iso-a-d0001e@ai-tenant-e2e-shared-a-c2a8a9/rate-test-model-c2a8a9","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c2a8a9","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-d0001e","namespace":"ai-tenant-e2e-shared-a-c2a8a9","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:09Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e65e30c6-58fc-4560-97c3-1a3f4847ec12","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:36694","PortSpecifier":{"PortValue":36694}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.63:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","method":"POST","path":"/ai-tenant-e2e-shared-b-3a7aa4/rate-test-model-3a7aa4/v1/completions","host":"e2e-shared-b-3a7aa4.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.7:36694","PortSpecifier":{"PortValue":36694}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.63:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784091129,"nanos":996885213},"http":{"id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","method":"POST","headers":{":authority":"e2e-shared-b-3a7aa4.apps.159a7fb2-2e74-4b28-bbe4-bbb2be5188e7.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-b-3a7aa4/rate-test-model-3a7aa4/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-dT3NXWDRpkKZmXF6_L2KCovzWRDTV6GJi2YnB799NzycTcVxuWkTQIGkGisZ"} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-b-3a7aa4.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-dT3NXWDRpkKZmXF6_L2KCovzWRDTV6GJi2YnB799NzycTcVxuWkTQIGkGisZ\"}"} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-b-3a7aa4.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"keyId":"aca14643-2861-4c50-8f9b-23c59b5d71a2","keyName":"e2e-rate-b-d0001e","subscription":"e2e-rate-iso-b-d0001e","tenant":"e2e-shared-b-3a7aa4","userId":"aca14643-2861-4c50-8f9b-23c59b5d71a2","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-b-3a7aa4.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","headers":{"Content-Type":["application/json"]},"body":"{\"groups\":[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"],\"requestedModel\":\"ai-tenant-e2e-shared-b-3a7aa4/rate-test-model-3a7aa4\",\"requestedSubscription\":\"e2e-rate-iso-b-d0001e\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"subscription-info","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api-e2e-shared-b-3a7aa4.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-3a7aa4","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-d0001e","namespace":"ai-tenant-e2e-shared-b-3a7aa4","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"tenant-gateway-isolation","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":null,"OPA":{"Rego":"# Tenant hostname isolation stub.\n# Replace with a real maas-api call to validate that the API key's tenant\n# matches the gateway hostname (prevents Coke key on Pepsi gateway).\nallow { true }","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"auth-valid","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n object.get(input.auth.metadata, \"apiKeyValidation\", {})\n input.auth.metadata.apiKeyValidation.valid == true\n}\nallow {\n not input.auth.metadata.apiKeyValidation\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-3a7aa4/rate-test-model-3a7aa4\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-3a7aa4/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]}}\n\nrequest_path := object.get(input.context.request.http, \"path\", \"\")\nrequest_headers := object.get(input.context.request.http, \"headers\", {})\n\npath_parts := [p | p := split(request_path, \"/\")[_]; p != \"\"]\n\npath_model_identity := sprintf(\"%s/%s\", [path_parts[0], path_parts[1]]) {\n\tcount(path_parts) >= 2\n\tpath_parts[0] != \"v1\"\n\tpath_parts[0] != \"maas-api\"\n}\n\nheader_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nmodel_identity := path_model_identity {\n\tpath_model_identity != \"\"\n} else := header_model_identity {\n\theader_model_identity != \"\"\n} else := \"\"\n\nusername := input.auth.metadata.apiKeyValidation.username\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.username != \"\" }\nelse := input.auth.identity.preferred_username\n\t{ object.get(input.auth, \"identity\", {}).preferred_username != \"\" }\nelse := input.auth.identity.sub\n\t{ object.get(input.auth, \"identity\", {}).sub != \"\" }\nelse := input.auth.identity.user.username\n\t{ object.get(input.auth, \"identity\", {}).user.username != \"\" }\nelse := \"\"\n\ngroups := input.auth.metadata.apiKeyValidation.groups\n\t{ object.get(input.auth, \"metadata\", {}).apiKeyValidation.groups != [] }\nelse := input.auth.identity.groups\n\t{ object.get(input.auth, \"identity\", {}).groups != [] }\nelse := input.auth.identity.user.groups\n\t{ object.get(input.auth, \"identity\", {}).user.groups != [] }\nelse := []\n\nmodel_rules := object.get(model_access, model_identity, null)\n\n# Management endpoints (e.g. /v1/models, /maas-api/v1/api-keys) carry no model context.\n# Allow them here; subscription and rate-limit checks are gated by model-route conditions.\nallow {\n\tmodel_identity == \"\"\n}\n\n# Inference path: deny by default when no MaaSAuthPolicy covers this model.\n# Allow only when the caller's username or a group is explicitly listed.\nallow {\n\tmodel_rules != null\n\tmodel_rules.users[_] == username\n}\n\nallow {\n\tmodel_rules != null\n\tg := groups[_]\n\tmodel_rules.groups[_] == g\n}\n","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"subscription-valid","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"OPA":{"Rego":"allow {\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"name\", \"\") != \"\"\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"error\", \"\") == \"\"\n\tphase := object.get(input.auth.metadata[\"subscription-info\"], \"phase\", \"\")\n\tany([phase == \"Active\", phase == \"Degraded\"])\n\tobject.get(input.auth.metadata[\"subscription-info\"], \"deletionTimestamp\", \"\") == \"\"\n}","ExternalSource":null,"AllValues":false},"JSON":null,"KubernetesAuthz":null,"Authzed":null},"object":{"allow":true}} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"X-MaaS-Subscription","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Subscription","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"e2e-rate-iso-b-d0001e"} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"X-MaaS-Group","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"X-MaaS-Username","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{"Static":null,"Pattern":"auth.metadata.apiKeyValidation.username"}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"aca14643-2861-4c50-8f9b-23c59b5d71a2","keyName":"e2e-rate-b-d0001e","selected_subscription":"e2e-rate-iso-b-d0001e","selected_subscription_key":"ai-tenant-e2e-shared-b-3a7aa4/e2e-rate-iso-b-d0001e@ai-tenant-e2e-shared-b-3a7aa4/rate-test-model-3a7aa4","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-3a7aa4","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-d0001e","namespace":"ai-tenant-e2e-shared-b-3a7aa4","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T04:52:10Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"fc35d9ed-ba73-4052-b4c0-8db4687d9564","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T04:52:18Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/36dfd55f63f7964b7fca95902e8c8d1ef265a384e88681f89f054cd2bffa9a2f"} {"level":"info","ts":"2026-07-15T04:52:18Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/4d511dfe5b521abe96e4fd29dbe48612b5d109571f0571702a073a47693625ea"} {"level":"info","ts":"2026-07-15T04:52:18Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/3a93aefdb548469ba1ee6eddf76d559d20f6dac59882ae75fc49bacac124ef51"} {"level":"info","ts":"2026-07-15T04:52:18Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/633d4e6e00a884b560706f4020780bbb03fb809264647319093d5bbebd59add3"} {"level":"info","ts":"2026-07-15T04:52:18Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ded28fdb030bf81ce6005d6eb2b4a808141d8f8ebb0a185ffcb849a94b91fd78"} {"level":"info","ts":"2026-07-15T04:52:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ef6407b1da74b7dbd258d0a6750f1d33e21fb49143da25fe1642b84cae69af7e"} {"level":"info","ts":"2026-07-15T04:52:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/f66f13df76aa2f3615522b4594d2b2b9cf62c6171a1358f0c8bac2d75ce655ed"} {"level":"info","ts":"2026-07-15T04:52:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/efbff885a221e0972601e78bc455ffa5cabd677b0ace018e980092a752352478"} {"level":"info","ts":"2026-07-15T04:52:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/7688f4cab27091396c3f3ec577c3e125c00fd77c8c0c9be8b359eb4759ad9faf"} {"level":"info","ts":"2026-07-15T04:52:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/3a1c1d723ac0502f08dec2475f516045344b4bf2415f20b849715f0303567534"} {"level":"info","ts":"2026-07-15T04:52:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/d74d84b57a9d980af7430639108229cc06cf609da8861fa8202b151dada2de9b"} {"level":"info","ts":"2026-07-15T04:52:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/b41649b75fc77154f46eac1fece1451e8891f98fea160b152e8916f6ea3d23d6"} {"level":"info","ts":"2026-07-15T04:52:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/42df3832ff2cf9a6b65a5abda7bc80a7b248241be73a6eb490528db62c76f1b6"} {"level":"info","ts":"2026-07-15T04:52:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/f52c6cedbb1bbe3c91f40330f8252031b83cad015d270d7f9cd590ca32a8c408"} {"level":"info","ts":"2026-07-15T04:52:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/20515aa571c3b5296bad3ea38151ffe880f23ec970b292b44bd05c19e1e85a93"} {"level":"info","ts":"2026-07-15T04:52:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/66a818dfb69301e0fe306e455c242ad8acc61d4ded801579a70f7ccd129a721c"} {"level":"info","ts":"2026-07-15T04:52:46Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/a408c9e8602b084ad1f8daeb7627450de260ac6c4eb4c90b490729e679fc9feb"} {"level":"info","ts":"2026-07-15T04:52:46Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/0afc5da45128766c4038aa5682ad9870bf03d0f5caa0d758bb59e4738318b3c7"} {"level":"info","ts":"2026-07-15T04:52:46Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/7981932a7a6588725adebab8d8b6bf344e3f4f218b17d37e1ea0fd74baba12b9"} {"level":"info","ts":"2026-07-15T04:52:46Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/3561958bc0ed53fb027143dca52172c7c5893ca4e75c53c4119c20ba931899e1"} {"level":"info","ts":"2026-07-15T04:53:11Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/bb9e40a1c18b223b4ce520b2ff7ac76230da129345b725ae5a71cc2a72d63201"} {"level":"info","ts":"2026-07-15T04:53:12Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/e2349230d01ae96e7f8b05e1672fd23c8b0ed801e8e67804ab666b2dbc0c9395"} {"level":"info","ts":"2026-07-15T04:53:12Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/0814b039ac7d9ace87b18b09e2557a665c8d18fd7f57300a73495e4b6629191b"} {"level":"info","ts":"2026-07-15T04:53:12Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/6bfc56d34173cc75a7911726187276cc3e12bd446b24dadd98daeec13166ab09"}