{"level":"debug","ts":"2026-07-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-SpZ0DN4747GuHq88_XbJN1ySFCf4un6N7GeyOmBFKKzZF7o41cU9fC6LG70q"} {"level":"debug","ts":"2026-07-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-SpZ0DN4747GuHq88_XbJN1ySFCf4un6N7GeyOmBFKKzZF7o41cU9fC6LG70q\"}"} {"level":"debug","ts":"2026-07-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","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-641e39.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":"a17aeb41-59f6-49b1-a48e-395b9e46a194","keyName":"e2e-rate-a-4805a8","subscription":"e2e-rate-iso-a-4805a8","tenant":"e2e-shared-a-641e39","userId":"a17aeb41-59f6-49b1-a48e-395b9e46a194","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-4805a8\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-4805a8","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","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-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","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-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","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-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","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-4805a8"} {"level":"debug","ts":"2026-07-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","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-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","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-29T20:07:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"a17aeb41-59f6-49b1-a48e-395b9e46a194","keyName":"e2e-rate-a-4805a8","selected_subscription":"e2e-rate-iso-a-4805a8","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-4805a8@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-4805a8","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:07:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:07:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"a8e912ed-f073-4e81-b62c-b9d770d4a732","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:33162","PortSpecifier":{"PortValue":33162}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:33162","PortSpecifier":{"PortValue":33162}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355654,"nanos":862211446},"http":{"id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-SpZ0DN4747GuHq88_XbJN1ySFCf4un6N7GeyOmBFKKzZF7o41cU9fC6LG70q"} {"level":"debug","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-SpZ0DN4747GuHq88_XbJN1ySFCf4un6N7GeyOmBFKKzZF7o41cU9fC6LG70q\"}"} {"level":"debug","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","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-641e39.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":"a17aeb41-59f6-49b1-a48e-395b9e46a194","keyName":"e2e-rate-a-4805a8","subscription":"e2e-rate-iso-a-4805a8","tenant":"e2e-shared-a-641e39","userId":"a17aeb41-59f6-49b1-a48e-395b9e46a194","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-4805a8\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-4805a8","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","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-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","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-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","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-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","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-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","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-4805a8"} {"level":"debug","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","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-29T20:07:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"a17aeb41-59f6-49b1-a48e-395b9e46a194","keyName":"e2e-rate-a-4805a8","selected_subscription":"e2e-rate-iso-a-4805a8","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-4805a8@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-4805a8","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:07:34Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"84d4ca75-0c0f-4d1c-ba52-b8ea786431cc","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:33174","PortSpecifier":{"PortValue":33174}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:33174","PortSpecifier":{"PortValue":33174}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355655,"nanos":913564726},"http":{"id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-SpZ0DN4747GuHq88_XbJN1ySFCf4un6N7GeyOmBFKKzZF7o41cU9fC6LG70q"} {"level":"debug","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-SpZ0DN4747GuHq88_XbJN1ySFCf4un6N7GeyOmBFKKzZF7o41cU9fC6LG70q\"}"} {"level":"debug","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","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-641e39.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":"a17aeb41-59f6-49b1-a48e-395b9e46a194","keyName":"e2e-rate-a-4805a8","subscription":"e2e-rate-iso-a-4805a8","tenant":"e2e-shared-a-641e39","userId":"a17aeb41-59f6-49b1-a48e-395b9e46a194","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-4805a8\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-4805a8","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","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-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","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-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","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-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","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-4805a8"} {"level":"debug","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","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-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","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-29T20:07:35Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"a17aeb41-59f6-49b1-a48e-395b9e46a194","keyName":"e2e-rate-a-4805a8","selected_subscription":"e2e-rate-iso-a-4805a8","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-4805a8@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-4805a8","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:07:35Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d8a1b732-04d5-4ad2-849b-16de3957bd83","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:43430","PortSpecifier":{"PortValue":43430}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:43430","PortSpecifier":{"PortValue":43430}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355675,"nanos":38606152},"http":{"id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","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":"f267f341-6132-4a94-a6f5-6eb55e305e22","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=4f0b46cb-dc44-4e17-bec6-34f4f25774ab"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/5cd7d79781d0"]}} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/5cd7d79781d0"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=4f0b46cb-dc44-4e17-bec6-34f4f25774ab"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"f267f341-6132-4a94-a6f5-6eb55e305e22","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"221bdf1f68445abc4230407b823e2bc3ebe3d831a389e481e31c4cb4a3c18634"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.47:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","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":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"keyId","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","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-29T20:07:55Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e89e5a3e-0f5c-4f7d-820a-646f7a3cf0f1","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:60138","PortSpecifier":{"PortValue":60138}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.48:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-4c787c.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:60138","PortSpecifier":{"PortValue":60138}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.48:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355675,"nanos":80420884},"http":{"id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","method":"POST","headers":{":authority":"e2e-shared-b-4c787c.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","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":"f267f341-6132-4a94-a6f5-6eb55e305e22","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=4f0b46cb-dc44-4e17-bec6-34f4f25774ab"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/5cd7d79781d0"]}} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/5cd7d79781d0"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=4f0b46cb-dc44-4e17-bec6-34f4f25774ab"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"f267f341-6132-4a94-a6f5-6eb55e305e22","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"ca8783bb0337ec3184be0e5bac638c2f69e174383604394b57548f700cb1497a"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.48:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-4c787c.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-4c787c/rate-test-model-4c787c\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-4c787c/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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","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-29T20:07:55Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"b04da779-f264-4c3a-a96a-1f0e6032ae6d","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:43444","PortSpecifier":{"PortValue":43444}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"5125bf32-efb9-49ba-bc06-bf442b89376c","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:43444","PortSpecifier":{"PortValue":43444}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355675,"nanos":117051347},"http":{"id":"5125bf32-efb9-49ba-bc06-bf442b89376c","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q"} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q\"}"} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","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-641e39.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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","subscription":"e2e-rate-iso-a-f876e7","tenant":"e2e-shared-a-641e39","userId":"d2a34802-7739-4493-86f3-83645562f108","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-f876e7\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","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-f876e7"} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","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-29T20:07:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","selected_subscription":"e2e-rate-iso-a-f876e7","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-f876e7@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:07:55Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5125bf32-efb9-49ba-bc06-bf442b89376c","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:43446","PortSpecifier":{"PortValue":43446}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:43446","PortSpecifier":{"PortValue":43446}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355676,"nanos":154670585},"http":{"id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q"} {"level":"debug","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q\"}"} {"level":"debug","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","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-641e39.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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","subscription":"e2e-rate-iso-a-f876e7","tenant":"e2e-shared-a-641e39","userId":"d2a34802-7739-4493-86f3-83645562f108","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-f876e7\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","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-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","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-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","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-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","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-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","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-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","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-f876e7"} {"level":"debug","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","selected_subscription":"e2e-rate-iso-a-f876e7","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-f876e7@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:07:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4fd32ac9-d224-4897-81d9-bbc1824108f5","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:43450","PortSpecifier":{"PortValue":43450}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:43450","PortSpecifier":{"PortValue":43450}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355677,"nanos":190667854},"http":{"id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q"} {"level":"debug","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q\"}"} {"level":"debug","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","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-641e39.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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","subscription":"e2e-rate-iso-a-f876e7","tenant":"e2e-shared-a-641e39","userId":"d2a34802-7739-4493-86f3-83645562f108","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-f876e7\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","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-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","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-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","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-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","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-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","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-f876e7"} {"level":"debug","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","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-29T20:07:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","selected_subscription":"e2e-rate-iso-a-f876e7","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-f876e7@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:07:57Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4dca0b82-d1ca-4a86-a233-f7220ebfb157","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1088d141-29e2-4305-b973-f22238dd502b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58920","PortSpecifier":{"PortValue":58920}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"1088d141-29e2-4305-b973-f22238dd502b","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1088d141-29e2-4305-b973-f22238dd502b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58920","PortSpecifier":{"PortValue":58920}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355678,"nanos":231516239},"http":{"id":"1088d141-29e2-4305-b973-f22238dd502b","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"1088d141-29e2-4305-b973-f22238dd502b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q"} {"level":"debug","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1088d141-29e2-4305-b973-f22238dd502b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q\"}"} {"level":"debug","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1088d141-29e2-4305-b973-f22238dd502b","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-641e39.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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","subscription":"e2e-rate-iso-a-f876e7","tenant":"e2e-shared-a-641e39","userId":"d2a34802-7739-4493-86f3-83645562f108","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1088d141-29e2-4305-b973-f22238dd502b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-f876e7\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1088d141-29e2-4305-b973-f22238dd502b","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"1088d141-29e2-4305-b973-f22238dd502b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1088d141-29e2-4305-b973-f22238dd502b","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-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1088d141-29e2-4305-b973-f22238dd502b","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-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1088d141-29e2-4305-b973-f22238dd502b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1088d141-29e2-4305-b973-f22238dd502b","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-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1088d141-29e2-4305-b973-f22238dd502b","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-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1088d141-29e2-4305-b973-f22238dd502b","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-f876e7"} {"level":"debug","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1088d141-29e2-4305-b973-f22238dd502b","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-29T20:07:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1088d141-29e2-4305-b973-f22238dd502b","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","selected_subscription":"e2e-rate-iso-a-f876e7","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-f876e7@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1088d141-29e2-4305-b973-f22238dd502b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:07:58Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1088d141-29e2-4305-b973-f22238dd502b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58926","PortSpecifier":{"PortValue":58926}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58926","PortSpecifier":{"PortValue":58926}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355679,"nanos":271742981},"http":{"id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q"} {"level":"debug","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q\"}"} {"level":"debug","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","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-641e39.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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","subscription":"e2e-rate-iso-a-f876e7","tenant":"e2e-shared-a-641e39","userId":"d2a34802-7739-4493-86f3-83645562f108","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-f876e7\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","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-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","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-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","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-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","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-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","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-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","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-f876e7"} {"level":"debug","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","selected_subscription":"e2e-rate-iso-a-f876e7","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-f876e7@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:07:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"bbe7f181-12d7-9bcb-ba54-abb9c13bab3f","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"45e77243-5644-4106-8dc2-f13bb745975e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58932","PortSpecifier":{"PortValue":58932}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"45e77243-5644-4106-8dc2-f13bb745975e","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"45e77243-5644-4106-8dc2-f13bb745975e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58932","PortSpecifier":{"PortValue":58932}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355680,"nanos":306782557},"http":{"id":"45e77243-5644-4106-8dc2-f13bb745975e","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"45e77243-5644-4106-8dc2-f13bb745975e","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q"} {"level":"debug","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"45e77243-5644-4106-8dc2-f13bb745975e","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q\"}"} {"level":"debug","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"45e77243-5644-4106-8dc2-f13bb745975e","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-641e39.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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","subscription":"e2e-rate-iso-a-f876e7","tenant":"e2e-shared-a-641e39","userId":"d2a34802-7739-4493-86f3-83645562f108","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"45e77243-5644-4106-8dc2-f13bb745975e","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-f876e7\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"45e77243-5644-4106-8dc2-f13bb745975e","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"45e77243-5644-4106-8dc2-f13bb745975e","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"45e77243-5644-4106-8dc2-f13bb745975e","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-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"45e77243-5644-4106-8dc2-f13bb745975e","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-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"45e77243-5644-4106-8dc2-f13bb745975e","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"45e77243-5644-4106-8dc2-f13bb745975e","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-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"45e77243-5644-4106-8dc2-f13bb745975e","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-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"45e77243-5644-4106-8dc2-f13bb745975e","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-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"45e77243-5644-4106-8dc2-f13bb745975e","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-f876e7"} {"level":"debug","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"45e77243-5644-4106-8dc2-f13bb745975e","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","selected_subscription":"e2e-rate-iso-a-f876e7","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-f876e7@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"45e77243-5644-4106-8dc2-f13bb745975e","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:08:00Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"45e77243-5644-4106-8dc2-f13bb745975e","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9156e8b9-4910-4282-9fa8-44190a236856","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58936","PortSpecifier":{"PortValue":58936}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"9156e8b9-4910-4282-9fa8-44190a236856","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9156e8b9-4910-4282-9fa8-44190a236856","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58936","PortSpecifier":{"PortValue":58936}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355681,"nanos":343321142},"http":{"id":"9156e8b9-4910-4282-9fa8-44190a236856","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"9156e8b9-4910-4282-9fa8-44190a236856","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q"} {"level":"debug","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"9156e8b9-4910-4282-9fa8-44190a236856","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q\"}"} {"level":"debug","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"9156e8b9-4910-4282-9fa8-44190a236856","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-641e39.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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","subscription":"e2e-rate-iso-a-f876e7","tenant":"e2e-shared-a-641e39","userId":"d2a34802-7739-4493-86f3-83645562f108","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"9156e8b9-4910-4282-9fa8-44190a236856","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-f876e7\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"9156e8b9-4910-4282-9fa8-44190a236856","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"9156e8b9-4910-4282-9fa8-44190a236856","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9156e8b9-4910-4282-9fa8-44190a236856","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-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9156e8b9-4910-4282-9fa8-44190a236856","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-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9156e8b9-4910-4282-9fa8-44190a236856","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9156e8b9-4910-4282-9fa8-44190a236856","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-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9156e8b9-4910-4282-9fa8-44190a236856","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-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9156e8b9-4910-4282-9fa8-44190a236856","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-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9156e8b9-4910-4282-9fa8-44190a236856","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-f876e7"} {"level":"debug","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9156e8b9-4910-4282-9fa8-44190a236856","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","selected_subscription":"e2e-rate-iso-a-f876e7","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-f876e7@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9156e8b9-4910-4282-9fa8-44190a236856","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:08:01Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9156e8b9-4910-4282-9fa8-44190a236856","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58940","PortSpecifier":{"PortValue":58940}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58940","PortSpecifier":{"PortValue":58940}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355682,"nanos":392610397},"http":{"id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q"} {"level":"debug","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q\"}"} {"level":"debug","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","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-641e39.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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","subscription":"e2e-rate-iso-a-f876e7","tenant":"e2e-shared-a-641e39","userId":"d2a34802-7739-4493-86f3-83645562f108","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-f876e7\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","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-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","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-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","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-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","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-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","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-f876e7"} {"level":"debug","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","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-29T20:08:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","selected_subscription":"e2e-rate-iso-a-f876e7","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-f876e7@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:08:02Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1d6a042a-988a-43d6-b338-f5acaa903b2c","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58944","PortSpecifier":{"PortValue":58944}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"770052ac-c51e-4ef9-b416-43cf689c5f17","method":"POST","path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions","host":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58944","PortSpecifier":{"PortValue":58944}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355683,"nanos":437636808},"http":{"id":"770052ac-c51e-4ef9-b416-43cf689c5f17","method":"POST","headers":{":authority":"e2e-shared-a-641e39.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q"} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-YT61teFGsHlAeXEz_NOe51rHbrDjuOzCmDLYpnmhiNh9xaUFQsRY6O3DLE3Q\"}"} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","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-641e39.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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","subscription":"e2e-rate-iso-a-f876e7","tenant":"e2e-shared-a-641e39","userId":"d2a34802-7739-4493-86f3-83645562f108","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-641e39.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-641e39/rate-test-model-641e39\",\"requestedSubscription\":\"e2e-rate-iso-a-f876e7\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","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-641e39.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":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"}} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-641e39/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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","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-f876e7"} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","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":"d2a34802-7739-4493-86f3-83645562f108","keyName":"e2e-rate-a-f876e7","selected_subscription":"e2e-rate-iso-a-f876e7","selected_subscription_key":"ai-tenant-e2e-shared-a-641e39/e2e-rate-iso-a-f876e7@ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-a-641e39/models/facebook/opt-125m","name":"rate-test-model-641e39","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-f876e7","namespace":"ai-tenant-e2e-shared-a-641e39","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-641e39/rate-test-model-641e39"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"770052ac-c51e-4ef9-b416-43cf689c5f17","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:53970","PortSpecifier":{"PortValue":53970}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.48:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","method":"POST","path":"/ai-tenant-e2e-shared-b-4c787c/rate-test-model-4c787c/v1/completions","host":"e2e-shared-b-4c787c.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:53970","PortSpecifier":{"PortValue":53970}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.48:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355683,"nanos":473047372},"http":{"id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","method":"POST","headers":{":authority":"e2e-shared-b-4c787c.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-b-4c787c/rate-test-model-4c787c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-pmDeR7ydYlvKc44I_F4TAJjwDzsOAY2Wz51ptsWMbxPLF5kn9CvxWASjDYIP"} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-b-4c787c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-pmDeR7ydYlvKc44I_F4TAJjwDzsOAY2Wz51ptsWMbxPLF5kn9CvxWASjDYIP\"}"} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","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-4c787c.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":"3882d192-2ec1-4037-95ae-2b1a3c799bc8","keyName":"e2e-rate-b-f876e7","subscription":"e2e-rate-iso-b-f876e7","tenant":"e2e-shared-b-4c787c","userId":"3882d192-2ec1-4037-95ae-2b1a3c799bc8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-b-4c787c.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-4c787c/rate-test-model-4c787c\",\"requestedSubscription\":\"e2e-rate-iso-b-f876e7\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","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-4c787c.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":[{"model_name":"publishers/ai-tenant-e2e-shared-b-4c787c/models/facebook/opt-125m","name":"rate-test-model-4c787c","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-f876e7","namespace":"ai-tenant-e2e-shared-b-4c787c","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-b-4c787c/rate-test-model-4c787c"}} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-4c787c/rate-test-model-4c787c\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-4c787c/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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","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-f876e7"} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","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-29T20:08:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","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":"3882d192-2ec1-4037-95ae-2b1a3c799bc8","keyName":"e2e-rate-b-f876e7","selected_subscription":"e2e-rate-iso-b-f876e7","selected_subscription_key":"ai-tenant-e2e-shared-b-4c787c/e2e-rate-iso-b-f876e7@ai-tenant-e2e-shared-b-4c787c/rate-test-model-4c787c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-shared-b-4c787c/models/facebook/opt-125m","name":"rate-test-model-4c787c","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-f876e7","namespace":"ai-tenant-e2e-shared-b-4c787c","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-b-4c787c/rate-test-model-4c787c"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:08:03Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"34251962-cc01-4f12-9e7e-2e1ae5b895fb","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:08:08Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/43ffd2f39179d0edc7a4b651b181a9fa10edb36fc83c81c12fd8ff35b67f5375"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/f9e5b21695c5ffb12454b8f7d375aa8b0f732ca039417ec712397b2d5bb8f7bc"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/5ef60f996dea39e69a01e432b15f30ab14c75a40cdc6f6199fbf119e8cb23349"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/dee4423b71b915a14ecefbd79c95cad23713db16c7aa54779e76d63a1a227c41"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/221bdf1f68445abc4230407b823e2bc3ebe3d831a389e481e31c4cb4a3c18634"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/8062b2ce9426ab50096f4655a7fd38a397c02404be85e3d9af00d45d1d7338c7"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/3e32a93afa5588554ffb458eca7c35782d2ee5c542fce30a808ce6e6f70c18c6"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/d5ca8f89ddb6b0f1884ca65d56e6af53ec2aca666a034e390eeeb2a127b77cb8"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/510026eaf88764ed0f21edf1d8f3158b67d4e1aff5037cd1001ab07d30cf05c1"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/b9970515954f08e4ec606725b5512a5c4ac9dfc41fefec43efca7a764b55dd4e"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/1be782fbfe6fdfd8db5113f375a5ded3d831176bc5eba3408285dc0047b3ee92"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/48cec17712ca5e81a2dbdb8d532bf26e929fdde35392be386b790ef233d28bab"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/9bf2051ec2a50de7cf17bfa0b94439c1a8978c78d3fcdeb7840974d98ba5e90d"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/6c066858e61a5ef1cf2ed401c0297cfe9189596f33819f3f59ec037b049aa2b3"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/6ceb3eda55fbc64cb78445f31b6a9d9a3ab37aace341a844fc321a98569934ef"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/e2e5db05bff5588ac53e41f9362a5c58206779e9eb284814bf3098c64e7fa743"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/1bf926b02fba66cb086d8aef184282ec7f96190b1d2a10654018bd96647902a6"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/09259fcf9bfb75aeeb76388be91ea2d27b177f7968af243b0fdf7f27774a35f0"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ca8783bb0337ec3184be0e5bac638c2f69e174383604394b57548f700cb1497a"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/4e5cb41b2f1456c33b3f3f855d0953c0a19fd659ed28f6909fceb76e4ac0f172"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/c439afe5003d79ed114fe8412d7cc3a802b8d56a8bb6f5a2183d2500647a28e2"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/969053e983fb194c1f964aa4460915318102a65252268bbcc23648fcd912666b"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/9f9b13b05cf436f3dd0a3489a977759f3c2734213ed65033086014375ca6a006"} {"level":"info","ts":"2026-07-29T20:08:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/f6771d97918b95facc9352e1818bc92d86626cc841254fb1a5db6592b4f55b7b"} {"level":"info","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f461d588-242f-4989-ba21-41afdd09c425","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:39960","PortSpecifier":{"PortValue":39960}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.134.0.45:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"f461d588-242f-4989-ba21-41afdd09c425","method":"POST","path":"/maas-api/v1/api-keys","host":"maas.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f461d588-242f-4989-ba21-41afdd09c425","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:39960","PortSpecifier":{"PortValue":39960}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.134.0.45:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355773,"nanos":176754335},"http":{"id":"f461d588-242f-4989-ba21-41afdd09c425","method":"POST","headers":{":authority":"maas.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"f461d588-242f-4989-ba21-41afdd09c425","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"f461d588-242f-4989-ba21-41afdd09c425","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":"f267f341-6132-4a94-a6f5-6eb55e305e22","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=4f0b46cb-dc44-4e17-bec6-34f4f25774ab"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/5cd7d79781d0"]}} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"f461d588-242f-4989-ba21-41afdd09c425","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/5cd7d79781d0"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=4f0b46cb-dc44-4e17-bec6-34f4f25774ab"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"f267f341-6132-4a94-a6f5-6eb55e305e22","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"b64d1d3a1a41de71c5b05aa58c2da5025409dfbb29fbaa63fe6a7b8fb71bf42e"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.134.0.45:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"maas.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f461d588-242f-4989-ba21-41afdd09c425","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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f461d588-242f-4989-ba21-41afdd09c425","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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f461d588-242f-4989-ba21-41afdd09c425","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"llm/facebook-opt-125m-simulated\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"llm/premium-simulated-simulated-premium\":{\"users\":[\"system:serviceaccount:premium-users-namespace:premium-service-account\"],\"groups\":[\"premium-user\"]},\"publishers/llm/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/llm/models/facebook/opt-125m-premium\":{\"users\":[\"system:serviceaccount:premium-users-namespace:premium-service-account\"],\"groups\":[\"premium-user\"]}}\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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"f461d588-242f-4989-ba21-41afdd09c425","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"subscription_info","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f461d588-242f-4989-ba21-41afdd09c425","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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f461d588-242f-4989-ba21-41afdd09c425","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-29T20:09:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f461d588-242f-4989-ba21-41afdd09c425","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f461d588-242f-4989-ba21-41afdd09c425","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:39964","PortSpecifier":{"PortValue":39964}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.134.0.45:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","method":"POST","path":"/llm/facebook-opt-125m-simulated/v1/chat/completions","host":"maas.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:39964","PortSpecifier":{"PortValue":39964}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.134.0.45:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355773,"nanos":232992776},"http":{"id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","method":"POST","headers":{":authority":"maas.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/llm/facebook-opt-125m-simulated/v1/chat/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-BETmwWjP4YplUxrE_dMHcJUPV2dSBmiSZxNNxntZYT6aUC1uBbipMsBurBSa"} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","config":"apiKeyValidation","method":"POST","url":"https://maas-api.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-BETmwWjP4YplUxrE_dMHcJUPV2dSBmiSZxNNxntZYT6aUC1uBbipMsBurBSa\"}"} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","config":{"Name":"apiKeyValidation","Priority":0,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Metrics":false,"Cache":{},"UserInfo":null,"UMA":null,"GenericHTTP":{"Endpoint":"https://maas-api.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":"0d43cc8b-7ed4-42ed-9e51-82c1e7a213b1","keyName":"e2e-ipp-default","subscription":"simulator-subscription","tenant":"models-as-a-service","userId":"0d43cc8b-7ed4-42ed-9e51-82c1e7a213b1","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","config":"subscription-info","method":"POST","url":"https://maas-api.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\":\"llm/facebook-opt-125m-simulated\",\"requestedSubscription\":\"simulator-subscription\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","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.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":{"description":"Free-tier subscription with 100 tokens/min rate limit","displayName":"Simulator Subscription (Free)","modelRefs":[{"description":"A simulated OPT-125M model for free-tier testing","display_name":"Facebook OPT 125M (Simulated)","model_name":"publishers/llm/models/facebook/opt-125m","name":"facebook-opt-125m-simulated","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"simulator-subscription","namespace":"models-as-a-service","phase":"Active","priority":10,"ready":true,"resolvedModel":"llm/facebook-opt-125m-simulated"}} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","input":{"auth":{"identity":"Bearer **** subscription with 100 tokens/min rate limit","displayName":"Simulator Subscription (Free)","modelRefs":[{"description":"A simulated OPT-125M model for free-tier testing","display_name":"Facebook OPT 125M (Simulated)","model_name":"publishers/llm/models/facebook/opt-125m","name":"facebook-opt-125m-simulated","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"simulator-subscription","namespace":"models-as-a-service","phase":"Active","priority":10,"ready":true,"resolvedModel":"llm/facebook-opt-125m-simulated"}}},"context":{"context_extensions":{"host":"311b1be286674fd5684c9ac59b318287dade9769cfe4aeebd8c88e2dc6b72418"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.134.0.45:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"maas.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/llm/facebook-opt-125m-simulated/v1/chat/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"llm/facebook-opt-125m-simulated\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"llm/premium-simulated-simulated-premium\":{\"users\":[\"system:serviceaccount:premium-users-namespace:premium-service-account\"],\"groups\":[\"premium-user\"]},\"publishers/llm/models/facebook/opt-125m\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/llm/models/facebook/opt-125m-premium\":{\"users\":[\"system:serviceaccount:premium-users-namespace:premium-service-account\"],\"groups\":[\"premium-user\"]}}\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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","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-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","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":"simulator-subscription"} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","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":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"selected_subscription_key","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":"0d43cc8b-7ed4-42ed-9e51-82c1e7a213b1","keyName":"e2e-ipp-default","selected_subscription":"simulator-subscription","selected_subscription_key":"models-as-a-service/simulator-subscription@llm/facebook-opt-125m-simulated","subscription_error":"","subscription_error_message":"","subscription_info":{"description":"Free-tier subscription with 100 tokens/min rate limit","displayName":"Simulator Subscription (Free)","modelRefs":[{"description":"A simulated OPT-125M model for free-tier testing","display_name":"Facebook OPT 125M (Simulated)","model_name":"publishers/llm/models/facebook/opt-125m","name":"facebook-opt-125m-simulated","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"simulator-subscription","namespace":"models-as-a-service","phase":"Active","priority":10,"ready":true,"resolvedModel":"llm/facebook-opt-125m-simulated"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:09:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"2fe927d3-a501-4ae4-b344-24d5d22fb982","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73"} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73"} {"level":"error","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/kuadrant/authorino/controllers.(*AuthConfigStatusUpdater).updateAuthConfigStatus\n\t/usr/src/authorino/controllers/auth_config_status_updater.go:162\ngithub.com/kuadrant/authorino/controllers.(*AuthConfigStatusUpdater).Reconcile\n\t/usr/src/authorino/controllers/auth_config_status_updater.go:81\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73"} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73"} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73"} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d"} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d"} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d"} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73"} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d"} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e"} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"error","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/kuadrant/authorino/controllers.(*AuthConfigStatusUpdater).updateAuthConfigStatus\n\t/usr/src/authorino/controllers/auth_config_status_updater.go:162\ngithub.com/kuadrant/authorino/controllers.(*AuthConfigStatusUpdater).Reconcile\n\t/usr/src/authorino/controllers/auth_config_status_updater.go:81\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e"} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e"} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb"} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb"} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e"} {"level":"info","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb"} {"level":"debug","ts":"2026-07-29T20:10:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:19Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"error","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/kuadrant/authorino/controllers.(*AuthConfigStatusUpdater).updateAuthConfigStatus\n\t/usr/src/authorino/controllers/auth_config_status_updater.go:162\ngithub.com/kuadrant/authorino/controllers.(*AuthConfigStatusUpdater).Reconcile\n\t/usr/src/authorino/controllers/auth_config_status_updater.go:81\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9"} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b"} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9"} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b"} {"level":"error","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/kuadrant/authorino/controllers.(*AuthConfigStatusUpdater).updateAuthConfigStatus\n\t/usr/src/authorino/controllers/auth_config_status_updater.go:162\ngithub.com/kuadrant/authorino/controllers.(*AuthConfigStatusUpdater).Reconcile\n\t/usr/src/authorino/controllers/auth_config_status_updater.go:81\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b"} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"040550ea24fe6f56e5685a20e6186e50ee4a46c1c24906928b6d66a6e484045e","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"040550ea24fe6f56e5685a20e6186e50ee4a46c1c24906928b6d66a6e484045e","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"165bc7be79e0e2d3249a7a9ad1e4eb879b255010293bba953fd1225aa34fa674","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/040550ea24fe6f56e5685a20e6186e50ee4a46c1c24906928b6d66a6e484045e"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"165bc7be79e0e2d3249a7a9ad1e4eb879b255010293bba953fd1225aa34fa674","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"040550ea24fe6f56e5685a20e6186e50ee4a46c1c24906928b6d66a6e484045e","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["040550ea24fe6f56e5685a20e6186e50ee4a46c1c24906928b6d66a6e484045e"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/165bc7be79e0e2d3249a7a9ad1e4eb879b255010293bba953fd1225aa34fa674"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"040550ea24fe6f56e5685a20e6186e50ee4a46c1c24906928b6d66a6e484045e","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"165bc7be79e0e2d3249a7a9ad1e4eb879b255010293bba953fd1225aa34fa674","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["165bc7be79e0e2d3249a7a9ad1e4eb879b255010293bba953fd1225aa34fa674"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/040550ea24fe6f56e5685a20e6186e50ee4a46c1c24906928b6d66a6e484045e"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"165bc7be79e0e2d3249a7a9ad1e4eb879b255010293bba953fd1225aa34fa674","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"040550ea24fe6f56e5685a20e6186e50ee4a46c1c24906928b6d66a6e484045e","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"165bc7be79e0e2d3249a7a9ad1e4eb879b255010293bba953fd1225aa34fa674","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/165bc7be79e0e2d3249a7a9ad1e4eb879b255010293bba953fd1225aa34fa674"} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/040550ea24fe6f56e5685a20e6186e50ee4a46c1c24906928b6d66a6e484045e"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f"} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63"} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-29T20:10:20Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-29T20:10:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca"} {"level":"info","ts":"2026-07-29T20:10:36Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:38746","PortSpecifier":{"PortValue":38746}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.50:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-ipp-a-f0b78f.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:10:36Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:38746","PortSpecifier":{"PortValue":38746}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.50:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355836,"nanos":487792519},"http":{"id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","method":"POST","headers":{":authority":"e2e-ipp-a-f0b78f.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.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-29T20:10:36Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-29T20:10:36Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","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":"f267f341-6132-4a94-a6f5-6eb55e305e22","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=4f0b46cb-dc44-4e17-bec6-34f4f25774ab"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/5cd7d79781d0"]}} {"level":"debug","ts":"2026-07-29T20:10:36Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/5cd7d79781d0"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=4f0b46cb-dc44-4e17-bec6-34f4f25774ab"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"f267f341-6132-4a94-a6f5-6eb55e305e22","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.50:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-ipp-a-f0b78f.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.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-29T20:10:36Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","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-29T20:10:36Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","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-29T20:10:36Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-ipp-a-f0b78f/ipp-route-f0b78f\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-ipp-a-f0b78f/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-29T20:10:36Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","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":"groups","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-29T20:10:36Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","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-29T20:10:36Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","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-29T20:10:36Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:10:36Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"a6d2f371-7a25-4109-aba3-5772e817cd3a","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58308","PortSpecifier":{"PortValue":58308}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.50:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","method":"POST","path":"/ai-tenant-e2e-ipp-a-f0b78f/ipp-route-f0b78f/v1/chat/completions","host":"e2e-ipp-a-f0b78f.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.10:58308","PortSpecifier":{"PortValue":58308}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.50:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1785355838,"nanos":556683675},"http":{"id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","method":"POST","headers":{":authority":"e2e-ipp-a-f0b78f.apps.14a39beb-7b86-4727-815f-5cd7d79781d0.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-ipp-a-f0b78f/ipp-route-f0b78f/v1/chat/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-iuUGBohSESQ9Ybfu_X7iRh9pHkou198UVv4EUfQD0IRu70ZHxGlySTRgTwI"} {"level":"debug","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-ipp-a-f0b78f.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-iuUGBohSESQ9Ybfu_X7iRh9pHkou198UVv4EUfQD0IRu70ZHxGlySTRgTwI\"}"} {"level":"debug","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","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-ipp-a-f0b78f.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":"2a505d7b-2226-46d4-aa4d-32df1ba8b5ab","keyName":"e2e-ipp-f0b78f","subscription":"ipp-route-f0b78f-sub","tenant":"e2e-ipp-a-f0b78f","userId":"2a505d7b-2226-46d4-aa4d-32df1ba8b5ab","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-ipp-a-f0b78f.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-ipp-a-f0b78f/ipp-route-f0b78f\",\"requestedSubscription\":\"ipp-route-f0b78f-sub\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","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-ipp-a-f0b78f.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":[{"model_name":"publishers/ai-tenant-e2e-ipp-a-f0b78f/models/facebook/opt-125m","name":"ipp-route-f0b78f","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"ipp-route-f0b78f-sub","namespace":"ai-tenant-e2e-ipp-a-f0b78f","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-ipp-a-f0b78f/ipp-route-f0b78f"}} {"level":"debug","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","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-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","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-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-ipp-a-f0b78f/ipp-route-f0b78f\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-ipp-a-f0b78f/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-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","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-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","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-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","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":"ipp-route-f0b78f-sub"} {"level":"debug","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","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-29T20:10:38Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","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":"subscription_error","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"userid","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":"2a505d7b-2226-46d4-aa4d-32df1ba8b5ab","keyName":"e2e-ipp-f0b78f","selected_subscription":"ipp-route-f0b78f-sub","selected_subscription_key":"ai-tenant-e2e-ipp-a-f0b78f/ipp-route-f0b78f-sub@ai-tenant-e2e-ipp-a-f0b78f/ipp-route-f0b78f","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"model_name":"publishers/ai-tenant-e2e-ipp-a-f0b78f/models/facebook/opt-125m","name":"ipp-route-f0b78f","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"ipp-route-f0b78f-sub","namespace":"ai-tenant-e2e-ipp-a-f0b78f","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-ipp-a-f0b78f/ipp-route-f0b78f"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-29T20:10:38Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d840e945-0b45-48c8-b276-cd1cd9ebeb59","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-29T20:11:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/75572ff2100bb9b021d437584ed7e3daf9ec229c58a0ceaa91b84df7e552362d"} {"level":"info","ts":"2026-07-29T20:11:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/0ef60d960f5509ef2ccdc750fe5e8cde3812c799a02176f60b51128c9bf368e9"} {"level":"info","ts":"2026-07-29T20:11:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/040550ea24fe6f56e5685a20e6186e50ee4a46c1c24906928b6d66a6e484045e"} {"level":"info","ts":"2026-07-29T20:11:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/165bc7be79e0e2d3249a7a9ad1e4eb879b255010293bba953fd1225aa34fa674"} {"level":"info","ts":"2026-07-29T20:11:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/1e90d55577689d6bb74c4162e837cd99d7bfaaf79a982ebc965270d59a153d8b"} {"level":"info","ts":"2026-07-29T20:11:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/8a2987199441eae8c8a56dd66a21f171658cdf178510b570c40a3e54ec3bc02e"} {"level":"info","ts":"2026-07-29T20:11:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/9a49ea7eedcbd0c429755bae51eca790faaf420ce717c49791eb08845f3eed73"} {"level":"info","ts":"2026-07-29T20:11:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ed4dab492d4493798ebe68a9fb13e222614fd8eb3778a4c1974a4f1c95c617fb"} {"level":"info","ts":"2026-07-29T20:11:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/83c06bf9d602107854ea02d2ae64b06db411127b17338b2eeb5c89243ddce3ca"} {"level":"info","ts":"2026-07-29T20:11:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ee4774d744d8bb560f05c228732c50df48a912707127d29a1518c00e88a9086b"} {"level":"info","ts":"2026-07-29T20:11:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/251e590f1a1edaaa90394a2a06ed1c5c665b7b2ac5705591bb58fb18fd74dd63"} {"level":"info","ts":"2026-07-29T20:11:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/76ddbe74ba710368507bf64c84957c6b8ce62078e567f3cd4e6421cb77121c9f"}