{"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"477116d8ad918892342f33b5962bd3761e693e6e0fe977989a5f8b2372eff5d6","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["477116d8ad918892342f33b5962bd3761e693e6e0fe977989a5f8b2372eff5d6"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"477116d8ad918892342f33b5962bd3761e693e6e0fe977989a5f8b2372eff5d6","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"477116d8ad918892342f33b5962bd3761e693e6e0fe977989a5f8b2372eff5d6","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499"} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/477116d8ad918892342f33b5962bd3761e693e6e0fe977989a5f8b2372eff5d6"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ed20da2aa3cbac26b7eb4f67df477fb7d947a57670f09a7e7d6090c826612896","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1e365f2c8eb2027a867f95738cc5191f267533bec6e49b517938142573682596","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ed20da2aa3cbac26b7eb4f67df477fb7d947a57670f09a7e7d6090c826612896"} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1e365f2c8eb2027a867f95738cc5191f267533bec6e49b517938142573682596"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9"} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa"} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9"} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"error","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269\": 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-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"0ddbabc0f50d1aec357816f4f1629771eba1a99c6ff07a5a4c67a0a5d973aba7","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"0ddbabc0f50d1aec357816f4f1629771eba1a99c6ff07a5a4c67a0a5d973aba7","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0ddbabc0f50d1aec357816f4f1629771eba1a99c6ff07a5a4c67a0a5d973aba7","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0ddbabc0f50d1aec357816f4f1629771eba1a99c6ff07a5a4c67a0a5d973aba7"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"0ddbabc0f50d1aec357816f4f1629771eba1a99c6ff07a5a4c67a0a5d973aba7","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["0ddbabc0f50d1aec357816f4f1629771eba1a99c6ff07a5a4c67a0a5d973aba7"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"0ddbabc0f50d1aec357816f4f1629771eba1a99c6ff07a5a4c67a0a5d973aba7","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0ddbabc0f50d1aec357816f4f1629771eba1a99c6ff07a5a4c67a0a5d973aba7","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269"} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0ddbabc0f50d1aec357816f4f1629771eba1a99c6ff07a5a4c67a0a5d973aba7"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"c2e6456f521c3241d95165f78990b8b8300c6f1ad9b3392c59e4387834b6b986","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/c2e6456f521c3241d95165f78990b8b8300c6f1ad9b3392c59e4387834b6b986"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"8e7813dd4c180ca9f71b85c1d845728b650be2c8c87e90bf11e352fa4d879adc","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8e7813dd4c180ca9f71b85c1d845728b650be2c8c87e90bf11e352fa4d879adc"} {"level":"debug","ts":"2026-07-17T22:12:41Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-17T22:12:41Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1a62a8bde06989a510751c4455b7c834ee34518f94b6e7b99dfbdb533804f77a","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"b98a41679aa38909aeea13a8e276c7d70ee02351cc4e8cd1a53b837cb1a66bce","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1a62a8bde06989a510751c4455b7c834ee34518f94b6e7b99dfbdb533804f77a"} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5509cae4671f71045cdf4acd1bbb161bc874eec6396445f024cb4b6e6aa95083","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d"} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"f93ff5ea7edd9984d7cb9b6fcf22dfd52a79f2c2b9e8d184d6fccb87aadc98a6","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b98a41679aa38909aeea13a8e276c7d70ee02351cc4e8cd1a53b837cb1a66bce"} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"error","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d\": 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-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"3d8b4e543e479ed03cb5e43f03312a0aa5a1c785f654fd3822f616226aa1915d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/5509cae4671f71045cdf4acd1bbb161bc874eec6396445f024cb4b6e6aa95083"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1022c04bf03229d97d87911a195986327691620f1379a21fc1e1627ce0feed88","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"c72f679405e41b22791dd9eab46846db360d89f6db9e03d0c8d0956d7cf7ef36","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/f93ff5ea7edd9984d7cb9b6fcf22dfd52a79f2c2b9e8d184d6fccb87aadc98a6"} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/3d8b4e543e479ed03cb5e43f03312a0aa5a1c785f654fd3822f616226aa1915d"} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1022c04bf03229d97d87911a195986327691620f1379a21fc1e1627ce0feed88"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"7dbb6bdc838a8e6ad992402f3c9f51e613db8bfc4d4cf6e5dbdef9ef2efd5c6f","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/c72f679405e41b22791dd9eab46846db360d89f6db9e03d0c8d0956d7cf7ef36"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"c687b060e48acf959a6f663393e180ad62c3debc64d38acdde01bb31afd0bda3","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/7dbb6bdc838a8e6ad992402f3c9f51e613db8bfc4d4cf6e5dbdef9ef2efd5c6f"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"c1cc666c1d7669b3129e336b67a62139da078e9856c1fa32554a840c1f484dfc","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/c687b060e48acf959a6f663393e180ad62c3debc64d38acdde01bb31afd0bda3"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"3b59e35d5616f7ef7031924c58f289573a6df57274bef495d71582215216d0a5","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/c1cc666c1d7669b3129e336b67a62139da078e9856c1fa32554a840c1f484dfc"} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/3b59e35d5616f7ef7031924c58f289573a6df57274bef495d71582215216d0a5"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5f1a2ec997ff42d452e45bcd72e9b037054a6878dd19c32481449ac0d737609c","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/5f1a2ec997ff42d452e45bcd72e9b037054a6878dd19c32481449ac0d737609c"} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d"} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d"} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-17T22:12:42Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-17T22:12:42Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d"} {"level":"info","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:35050","PortSpecifier":{"PortValue":35050}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"1c0bedb2-58f5-4499-b980-511f668c6afa","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:35050","PortSpecifier":{"PortValue":35050}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326365,"nanos":531268720},"http":{"id":"1c0bedb2-58f5-4499-b980-511f668c6afa","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","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":"b061b836-ac9d-45f7-8c08-f26e19a9c5e4","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=867ffb59-b6a1-4890-a1c1-06477790a5a1"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/4fb21568c075"]}} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/4fb21568c075"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=867ffb59-b6a1-4890-a1c1-06477790a5a1"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"b061b836-ac9d-45f7-8c08-f26e19a9c5e4","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.142:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","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":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","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-17T22:12:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1c0bedb2-58f5-4499-b980-511f668c6afa","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:40048","PortSpecifier":{"PortValue":40048}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.143:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d809da0f-4770-40e6-a03c-7c30ccac6812","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-b96f25.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:40048","PortSpecifier":{"PortValue":40048}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.143:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326365,"nanos":569810865},"http":{"id":"d809da0f-4770-40e6-a03c-7c30ccac6812","method":"POST","headers":{":authority":"e2e-shared-b-b96f25.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","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":"b061b836-ac9d-45f7-8c08-f26e19a9c5e4","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=867ffb59-b6a1-4890-a1c1-06477790a5a1"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/4fb21568c075"]}} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/4fb21568c075"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=867ffb59-b6a1-4890-a1c1-06477790a5a1"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"b061b836-ac9d-45f7-8c08-f26e19a9c5e4","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"1e365f2c8eb2027a867f95738cc5191f267533bec6e49b517938142573682596"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.143:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-b96f25.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-b96f25/rate-test-model-b96f25\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-b96f25/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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","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":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","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-17T22:12:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d809da0f-4770-40e6-a03c-7c30ccac6812","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:35066","PortSpecifier":{"PortValue":35066}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:35066","PortSpecifier":{"PortValue":35066}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326365,"nanos":615694582},"http":{"id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-sqo2BFvFZjksqiZk_aN3GIdCY1XZCENDPLGATXYbULYIJWhWQ2mUwQchNVHu"} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-sqo2BFvFZjksqiZk_aN3GIdCY1XZCENDPLGATXYbULYIJWhWQ2mUwQchNVHu\"}"} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","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-2a645a.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":"38163c05-5452-427f-8c81-b103376b2aa9","keyName":"e2e-rate-a-095e1c","subscription":"e2e-rate-iso-a-095e1c","tenant":"e2e-shared-a-2a645a","userId":"38163c05-5452-427f-8c81-b103376b2aa9","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-095e1c\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-095e1c","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","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-095e1c"} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","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-17T22:12:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"38163c05-5452-427f-8c81-b103376b2aa9","keyName":"e2e-rate-a-095e1c","selected_subscription":"e2e-rate-iso-a-095e1c","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-095e1c@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-095e1c","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"bc9e2616-99ee-45c7-8c9a-5d410284895b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:34028","PortSpecifier":{"PortValue":34028}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"c1133295-8165-4f93-a751-d4c8f0cd5517","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:34028","PortSpecifier":{"PortValue":34028}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326366,"nanos":676476962},"http":{"id":"c1133295-8165-4f93-a751-d4c8f0cd5517","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-sqo2BFvFZjksqiZk_aN3GIdCY1XZCENDPLGATXYbULYIJWhWQ2mUwQchNVHu"} {"level":"debug","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-sqo2BFvFZjksqiZk_aN3GIdCY1XZCENDPLGATXYbULYIJWhWQ2mUwQchNVHu\"}"} {"level":"debug","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","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-2a645a.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":"38163c05-5452-427f-8c81-b103376b2aa9","keyName":"e2e-rate-a-095e1c","subscription":"e2e-rate-iso-a-095e1c","tenant":"e2e-shared-a-2a645a","userId":"38163c05-5452-427f-8c81-b103376b2aa9","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-095e1c\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-095e1c","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","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-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","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-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","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-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","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-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","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-095e1c"} {"level":"debug","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","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-17T22:12:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"38163c05-5452-427f-8c81-b103376b2aa9","keyName":"e2e-rate-a-095e1c","selected_subscription":"e2e-rate-iso-a-095e1c","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-095e1c@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-095e1c","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"c1133295-8165-4f93-a751-d4c8f0cd5517","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"60097446-b2d3-4a4e-bf88-11e080435402","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:34040","PortSpecifier":{"PortValue":34040}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"60097446-b2d3-4a4e-bf88-11e080435402","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"60097446-b2d3-4a4e-bf88-11e080435402","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:34040","PortSpecifier":{"PortValue":34040}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326367,"nanos":713101031},"http":{"id":"60097446-b2d3-4a4e-bf88-11e080435402","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"60097446-b2d3-4a4e-bf88-11e080435402","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-sqo2BFvFZjksqiZk_aN3GIdCY1XZCENDPLGATXYbULYIJWhWQ2mUwQchNVHu"} {"level":"debug","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"60097446-b2d3-4a4e-bf88-11e080435402","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-sqo2BFvFZjksqiZk_aN3GIdCY1XZCENDPLGATXYbULYIJWhWQ2mUwQchNVHu\"}"} {"level":"debug","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"60097446-b2d3-4a4e-bf88-11e080435402","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-2a645a.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":"38163c05-5452-427f-8c81-b103376b2aa9","keyName":"e2e-rate-a-095e1c","subscription":"e2e-rate-iso-a-095e1c","tenant":"e2e-shared-a-2a645a","userId":"38163c05-5452-427f-8c81-b103376b2aa9","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"60097446-b2d3-4a4e-bf88-11e080435402","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-095e1c\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"60097446-b2d3-4a4e-bf88-11e080435402","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-095e1c","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"60097446-b2d3-4a4e-bf88-11e080435402","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"60097446-b2d3-4a4e-bf88-11e080435402","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-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"60097446-b2d3-4a4e-bf88-11e080435402","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-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"60097446-b2d3-4a4e-bf88-11e080435402","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-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"60097446-b2d3-4a4e-bf88-11e080435402","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"60097446-b2d3-4a4e-bf88-11e080435402","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-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"60097446-b2d3-4a4e-bf88-11e080435402","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-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"60097446-b2d3-4a4e-bf88-11e080435402","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-095e1c"} {"level":"debug","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"60097446-b2d3-4a4e-bf88-11e080435402","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"38163c05-5452-427f-8c81-b103376b2aa9","keyName":"e2e-rate-a-095e1c","selected_subscription":"e2e-rate-iso-a-095e1c","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-095e1c@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-095e1c","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"60097446-b2d3-4a4e-bf88-11e080435402","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:47Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"60097446-b2d3-4a4e-bf88-11e080435402","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:34050","PortSpecifier":{"PortValue":34050}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:34050","PortSpecifier":{"PortValue":34050}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326376,"nanos":288953990},"http":{"id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","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":"b061b836-ac9d-45f7-8c08-f26e19a9c5e4","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=867ffb59-b6a1-4890-a1c1-06477790a5a1"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/4fb21568c075"]}} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/4fb21568c075"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=867ffb59-b6a1-4890-a1c1-06477790a5a1"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"b061b836-ac9d-45f7-8c08-f26e19a9c5e4","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.142:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","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":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","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-17T22:12:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4d2e37e4-eca6-4994-81be-3f318bdd2206","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:40570","PortSpecifier":{"PortValue":40570}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.143:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-b96f25.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:40570","PortSpecifier":{"PortValue":40570}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.143:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326376,"nanos":327230173},"http":{"id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","method":"POST","headers":{":authority":"e2e-shared-b-b96f25.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","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":"b061b836-ac9d-45f7-8c08-f26e19a9c5e4","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=867ffb59-b6a1-4890-a1c1-06477790a5a1"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/4fb21568c075"]}} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/4fb21568c075"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=867ffb59-b6a1-4890-a1c1-06477790a5a1"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"b061b836-ac9d-45f7-8c08-f26e19a9c5e4","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"1e365f2c8eb2027a867f95738cc5191f267533bec6e49b517938142573682596"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.143:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-b96f25.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-b96f25/rate-test-model-b96f25\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-b96f25/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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","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":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","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-17T22:12:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"88198bd8-3f8c-4cde-bc32-124d71d5e5a9","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:34054","PortSpecifier":{"PortValue":34054}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:34054","PortSpecifier":{"PortValue":34054}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326376,"nanos":363856028},"http":{"id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","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-17T22:12:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"ec027fc5-2230-47eb-96a1-8fb8657900ca","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38824","PortSpecifier":{"PortValue":38824}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38824","PortSpecifier":{"PortValue":38824}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326377,"nanos":401182314},"http":{"id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","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-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","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-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","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-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","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-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","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-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:57Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"fe4f3c5d-f601-4c7a-803f-a22c87629595","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4913ba94-2efb-4024-943e-a9542df307ec","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38840","PortSpecifier":{"PortValue":38840}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"4913ba94-2efb-4024-943e-a9542df307ec","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4913ba94-2efb-4024-943e-a9542df307ec","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38840","PortSpecifier":{"PortValue":38840}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326378,"nanos":437521745},"http":{"id":"4913ba94-2efb-4024-943e-a9542df307ec","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"4913ba94-2efb-4024-943e-a9542df307ec","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4913ba94-2efb-4024-943e-a9542df307ec","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4913ba94-2efb-4024-943e-a9542df307ec","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4913ba94-2efb-4024-943e-a9542df307ec","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4913ba94-2efb-4024-943e-a9542df307ec","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"4913ba94-2efb-4024-943e-a9542df307ec","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4913ba94-2efb-4024-943e-a9542df307ec","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-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4913ba94-2efb-4024-943e-a9542df307ec","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-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4913ba94-2efb-4024-943e-a9542df307ec","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4913ba94-2efb-4024-943e-a9542df307ec","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-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4913ba94-2efb-4024-943e-a9542df307ec","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-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4913ba94-2efb-4024-943e-a9542df307ec","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-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4913ba94-2efb-4024-943e-a9542df307ec","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4913ba94-2efb-4024-943e-a9542df307ec","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4913ba94-2efb-4024-943e-a9542df307ec","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:58Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4913ba94-2efb-4024-943e-a9542df307ec","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38844","PortSpecifier":{"PortValue":38844}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38844","PortSpecifier":{"PortValue":38844}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326379,"nanos":470157569},"http":{"id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","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-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","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-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","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-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","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-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","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-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:12:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"6abf0d8f-4a6b-4953-842a-1c3b664ed887","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38856","PortSpecifier":{"PortValue":38856}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38856","PortSpecifier":{"PortValue":38856}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326380,"nanos":503840254},"http":{"id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","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-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","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-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","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-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","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-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","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-17T22:13:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:13:00Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"70cbd6e3-bba6-4970-a281-2bd54ba765c6","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38872","PortSpecifier":{"PortValue":38872}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38872","PortSpecifier":{"PortValue":38872}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326381,"nanos":546065587},"http":{"id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","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-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","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-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","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-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","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-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","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-17T22:13:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:13:01Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3210e379-54fd-4ac0-a5e4-b3fccfec9b8b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38878","PortSpecifier":{"PortValue":38878}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38878","PortSpecifier":{"PortValue":38878}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326382,"nanos":582502420},"http":{"id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","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-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","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-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","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-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","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-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","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-17T22:13:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:13:02Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"aa86f76a-9ba0-4dc3-b3eb-135f94f6b5e2","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38888","PortSpecifier":{"PortValue":38888}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"49246737-b5c6-40c5-b180-f29eb5a8a008","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38888","PortSpecifier":{"PortValue":38888}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326383,"nanos":619338351},"http":{"id":"49246737-b5c6-40c5-b180-f29eb5a8a008","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","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-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","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-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","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-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","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-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","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-17T22:13:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:13:03Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"49246737-b5c6-40c5-b180-f29eb5a8a008","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38894","PortSpecifier":{"PortValue":38894}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38894","PortSpecifier":{"PortValue":38894}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326384,"nanos":654503781},"http":{"id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","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-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","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-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","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-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","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-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","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-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:13:04Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9ff8ccea-0417-4982-897a-04e2ffa8b633","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38900","PortSpecifier":{"PortValue":38900}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:38900","PortSpecifier":{"PortValue":38900}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326385,"nanos":686354335},"http":{"id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","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-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","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-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","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-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","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-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","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-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:13:05Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9c1c2dd7-14fa-4ed7-be2a-2ad31f37d79b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:39244","PortSpecifier":{"PortValue":39244}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"3549d839-ec0f-4824-b817-965027f4f8bc","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:39244","PortSpecifier":{"PortValue":39244}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326386,"nanos":719238047},"http":{"id":"3549d839-ec0f-4824-b817-965027f4f8bc","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","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-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","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-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","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-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","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-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","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-17T22:13:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:13:06Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3549d839-ec0f-4824-b817-965027f4f8bc","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:39252","PortSpecifier":{"PortValue":39252}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","method":"POST","path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions","host":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:39252","PortSpecifier":{"PortValue":39252}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.142:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326387,"nanos":751365359},"http":{"id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","method":"POST","headers":{":authority":"e2e-shared-a-2a645a.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB"} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-cvMi612NhamQDGge_YNFpTq0puQpvtE1gIfV5Lvm3OJgVDZXDQalFMNt9EnB\"}"} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","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-2a645a.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":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","subscription":"e2e-rate-iso-a-b2ac90","tenant":"e2e-shared-a-2a645a","userId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-2a645a.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-2a645a/rate-test-model-2a645a\",\"requestedSubscription\":\"e2e-rate-iso-a-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","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-2a645a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-2a645a/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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","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":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"34d2fcf5-ce93-4b92-9538-e3a0dd9059dd","keyName":"e2e-rate-a-b2ac90","selected_subscription":"e2e-rate-iso-a-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-a-2a645a/e2e-rate-iso-a-b2ac90@ai-tenant-e2e-shared-a-2a645a/rate-test-model-2a645a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-2a645a","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-b2ac90","namespace":"ai-tenant-e2e-shared-a-2a645a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d92087ea-7b8f-4dfc-a04f-5b4bfcb9c329","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f0ce520f-0c34-4602-b478-43889393b256","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:51880","PortSpecifier":{"PortValue":51880}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.143:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"f0ce520f-0c34-4602-b478-43889393b256","method":"POST","path":"/ai-tenant-e2e-shared-b-b96f25/rate-test-model-b96f25/v1/completions","host":"e2e-shared-b-b96f25.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f0ce520f-0c34-4602-b478-43889393b256","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.9:51880","PortSpecifier":{"PortValue":51880}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.143:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784326387,"nanos":789474569},"http":{"id":"f0ce520f-0c34-4602-b478-43889393b256","method":"POST","headers":{":authority":"e2e-shared-b-b96f25.apps.ea9effa3-c5ca-49d5-8d29-4fb21568c075.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-b-b96f25/rate-test-model-b96f25/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"f0ce520f-0c34-4602-b478-43889393b256","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-FK2a1AeUlQVnx02m_P9FvBJ8aO5yTctjsjZFYFpvMarSSUg0FtKoWjeaiYRE"} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"f0ce520f-0c34-4602-b478-43889393b256","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-b-b96f25.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-FK2a1AeUlQVnx02m_P9FvBJ8aO5yTctjsjZFYFpvMarSSUg0FtKoWjeaiYRE\"}"} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"f0ce520f-0c34-4602-b478-43889393b256","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-b96f25.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":"7c6353bf-2c11-45f7-bfc2-0318db749d34","keyName":"e2e-rate-b-b2ac90","subscription":"e2e-rate-iso-b-b2ac90","tenant":"e2e-shared-b-b96f25","userId":"7c6353bf-2c11-45f7-bfc2-0318db749d34","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"f0ce520f-0c34-4602-b478-43889393b256","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-b-b96f25.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-b96f25/rate-test-model-b96f25\",\"requestedSubscription\":\"e2e-rate-iso-b-b2ac90\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"f0ce520f-0c34-4602-b478-43889393b256","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-b96f25.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select","DynamicEndpoint":null,"Method":"POST","Body":{},"Parameters":[],"Headers":[],"ContentType":"application/json","SharedSecret":"","OAuth2":null,"OAuth2TokenForceFetch":false,"AuthCredentials":null}},"object":{"modelRefs":[{"name":"rate-test-model-b96f25","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-b2ac90","namespace":"ai-tenant-e2e-shared-b-b96f25","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"f0ce520f-0c34-4602-b478-43889393b256","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f0ce520f-0c34-4602-b478-43889393b256","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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f0ce520f-0c34-4602-b478-43889393b256","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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f0ce520f-0c34-4602-b478-43889393b256","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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f0ce520f-0c34-4602-b478-43889393b256","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-b96f25/rate-test-model-b96f25\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-b96f25/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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f0ce520f-0c34-4602-b478-43889393b256","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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f0ce520f-0c34-4602-b478-43889393b256","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-b2ac90"} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f0ce520f-0c34-4602-b478-43889393b256","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-17T22:13:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f0ce520f-0c34-4602-b478-43889393b256","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":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"subscription_error_message","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":"7c6353bf-2c11-45f7-bfc2-0318db749d34","keyName":"e2e-rate-b-b2ac90","selected_subscription":"e2e-rate-iso-b-b2ac90","selected_subscription_key":"ai-tenant-e2e-shared-b-b96f25/e2e-rate-iso-b-b2ac90@ai-tenant-e2e-shared-b-b96f25/rate-test-model-b96f25","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b96f25","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-b2ac90","namespace":"ai-tenant-e2e-shared-b-b96f25","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f0ce520f-0c34-4602-b478-43889393b256","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-17T22:13:07Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f0ce520f-0c34-4602-b478-43889393b256","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-17T22:13:14Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/9f064257b48259194f68d1bc7db656f312f82624345323938d19c94aa214c499"} {"level":"info","ts":"2026-07-17T22:13:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/b8508d729b2a5426b2334e3065a96c5269a757f44392cfac408bbfc2ca21b2f9"} {"level":"info","ts":"2026-07-17T22:13:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/8e7813dd4c180ca9f71b85c1d845728b650be2c8c87e90bf11e352fa4d879adc"} {"level":"info","ts":"2026-07-17T22:13:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/5f1a2ec997ff42d452e45bcd72e9b037054a6878dd19c32481449ac0d737609c"} {"level":"info","ts":"2026-07-17T22:13:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/0ddbabc0f50d1aec357816f4f1629771eba1a99c6ff07a5a4c67a0a5d973aba7"} {"level":"info","ts":"2026-07-17T22:13:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/c687b060e48acf959a6f663393e180ad62c3debc64d38acdde01bb31afd0bda3"} {"level":"info","ts":"2026-07-17T22:13:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/477116d8ad918892342f33b5962bd3761e693e6e0fe977989a5f8b2372eff5d6"} {"level":"info","ts":"2026-07-17T22:13:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/3d8b4e543e479ed03cb5e43f03312a0aa5a1c785f654fd3822f616226aa1915d"} {"level":"info","ts":"2026-07-17T22:13:21Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/1a62a8bde06989a510751c4455b7c834ee34518f94b6e7b99dfbdb533804f77a"} {"level":"info","ts":"2026-07-17T22:13:21Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/cbb49e8e45e34f4ba8638c1c2f8c7e7a04f27007c63c8089481971e4fa43ac9d"} {"level":"info","ts":"2026-07-17T22:13:21Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/c2e6456f521c3241d95165f78990b8b8300c6f1ad9b3392c59e4387834b6b986"} {"level":"info","ts":"2026-07-17T22:13:21Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/c72f679405e41b22791dd9eab46846db360d89f6db9e03d0c8d0956d7cf7ef36"} {"level":"info","ts":"2026-07-17T22:13:21Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/bf650e80764787d118dd13179ddf45b89bc36cacc40d6c7f9010e1340a9df269"} {"level":"info","ts":"2026-07-17T22:13:22Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/1022c04bf03229d97d87911a195986327691620f1379a21fc1e1627ce0feed88"} {"level":"info","ts":"2026-07-17T22:13:22Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/5509cae4671f71045cdf4acd1bbb161bc874eec6396445f024cb4b6e6aa95083"} {"level":"info","ts":"2026-07-17T22:13:22Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/f93ff5ea7edd9984d7cb9b6fcf22dfd52a79f2c2b9e8d184d6fccb87aadc98a6"} {"level":"info","ts":"2026-07-17T22:13:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/c1cc666c1d7669b3129e336b67a62139da078e9856c1fa32554a840c1f484dfc"} {"level":"info","ts":"2026-07-17T22:13:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/7dbb6bdc838a8e6ad992402f3c9f51e613db8bfc4d4cf6e5dbdef9ef2efd5c6f"} {"level":"info","ts":"2026-07-17T22:13:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/537042a932e3a310e88f3172e354b270c5fbc16a21d7307f9322b86113c9318d"} {"level":"info","ts":"2026-07-17T22:13:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/3b59e35d5616f7ef7031924c58f289573a6df57274bef495d71582215216d0a5"} {"level":"info","ts":"2026-07-17T22:14:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/b98a41679aa38909aeea13a8e276c7d70ee02351cc4e8cd1a53b837cb1a66bce"} {"level":"info","ts":"2026-07-17T22:14:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/586ed6221050915dae365565b40ab83490ad82d401ef9cfc4772b1a7993807aa"} {"level":"info","ts":"2026-07-17T22:14:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/1e365f2c8eb2027a867f95738cc5191f267533bec6e49b517938142573682596"} {"level":"info","ts":"2026-07-17T22:14:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ed20da2aa3cbac26b7eb4f67df477fb7d947a57670f09a7e7d6090c826612896"}