{"level":"debug","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:15Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:15Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/829f56d2a53228664b1389beecf7b36c5bd4faaec9a4a7a60dc2f4c84f70b9a1"} {"level":"error","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013\": 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-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:15Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:15Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:15Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:15Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"error","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013\": 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-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"829f56d2a53228664b1389beecf7b36c5bd4faaec9a4a7a60dc2f4c84f70b9a1","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:15Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:15Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["829f56d2a53228664b1389beecf7b36c5bd4faaec9a4a7a60dc2f4c84f70b9a1"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"829f56d2a53228664b1389beecf7b36c5bd4faaec9a4a7a60dc2f4c84f70b9a1","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"829f56d2a53228664b1389beecf7b36c5bd4faaec9a4a7a60dc2f4c84f70b9a1","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013"} {"level":"debug","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:15Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:15Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/829f56d2a53228664b1389beecf7b36c5bd4faaec9a4a7a60dc2f4c84f70b9a1"} {"level":"info","ts":"2026-07-16T13:17:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013"} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2"} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2"} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2"} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ba38a8f666f7795c2407826999117eb2a50d0494130dcb9a3be98b27ebb72316","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2"} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ba38a8f666f7795c2407826999117eb2a50d0494130dcb9a3be98b27ebb72316"} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2"} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0"} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0"} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"c0a5137e30c52a538239f7f11b774ecbeab3b23a53e82bfc4785d01dd41a7597","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"47fa2ab1e825025571373028922b12a68b00d5ffae820d7561ec02acfb2f0322","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0"} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:31Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/c0a5137e30c52a538239f7f11b774ecbeab3b23a53e82bfc4785d01dd41a7597"} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/47fa2ab1e825025571373028922b12a68b00d5ffae820d7561ec02acfb2f0322"} {"level":"info","ts":"2026-07-16T13:17:31Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"690be9c67b80cc39ce092320ad93c29f72c882ada901ce95ec3b36bd7ac0ff0a","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/690be9c67b80cc39ce092320ad93c29f72c882ada901ce95ec3b36bd7ac0ff0a"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"690be9c67b80cc39ce092320ad93c29f72c882ada901ce95ec3b36bd7ac0ff0a","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"690be9c67b80cc39ce092320ad93c29f72c882ada901ce95ec3b36bd7ac0ff0a","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["690be9c67b80cc39ce092320ad93c29f72c882ada901ce95ec3b36bd7ac0ff0a"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"690be9c67b80cc39ce092320ad93c29f72c882ada901ce95ec3b36bd7ac0ff0a","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/690be9c67b80cc39ce092320ad93c29f72c882ada901ce95ec3b36bd7ac0ff0a"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"d93907d06dafd883bb1c3a603bc1e4859614bcf06528d68788c02cf186474075","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"690be9c67b80cc39ce092320ad93c29f72c882ada901ce95ec3b36bd7ac0ff0a","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/d93907d06dafd883bb1c3a603bc1e4859614bcf06528d68788c02cf186474075"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/690be9c67b80cc39ce092320ad93c29f72c882ada901ce95ec3b36bd7ac0ff0a"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"2e1fe47525a8d94ec95a1d13b334e1bfd3b81a84cb6374da89b2fa64c658a11a","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/2e1fe47525a8d94ec95a1d13b334e1bfd3b81a84cb6374da89b2fa64c658a11a"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"6992ec5a1efd50ee8a75b5c5be982ba22df959241731b576ccca3f1f688899c1","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/6992ec5a1efd50ee8a75b5c5be982ba22df959241731b576ccca3f1f688899c1"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"30f0882b21453d94a0f4f8cbd9165cd49e588102d6e4ad8b76a76f5f7e6ac150","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"2f2d134968c27defd8e5893763f25afe2ab4b9ed689ec9944add44d2411fe41c","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"44ae4f9705cabafd0c5c1f7bdcd90be6d24fa0e73e2157ccd504779b4fd4d126","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-16T13:17:32Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013"} {"level":"error","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d\": 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-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"12dc85cc31cea0b8c17b005ee49e9a458f6753915cfd5a97b370fcd1c3569995","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/30f0882b21453d94a0f4f8cbd9165cd49e588102d6e4ad8b76a76f5f7e6ac150"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"829f56d2a53228664b1389beecf7b36c5bd4faaec9a4a7a60dc2f4c84f70b9a1","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ca6d0dadd48d9ef069e9d8c00c96b385d1bf1b7cabec992cd4c32cf42ab3563b","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/2f2d134968c27defd8e5893763f25afe2ab4b9ed689ec9944add44d2411fe41c"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"99d7febe2ddd81a6faa03c9efe7653987b2cd5dfdf3fb20ca346d37035a6eb91","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/44ae4f9705cabafd0c5c1f7bdcd90be6d24fa0e73e2157ccd504779b4fd4d126"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/12dc85cc31cea0b8c17b005ee49e9a458f6753915cfd5a97b370fcd1c3569995"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"8bd02b631d65466c5299cb9b20bb2320c65cc9f8a3407afe897550a35234cdb2","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/829f56d2a53228664b1389beecf7b36c5bd4faaec9a4a7a60dc2f4c84f70b9a1"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"96796e95090cf5b0da80d871131dd142459fe2bae1eb900779c2ef1c52e440d8","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ca6d0dadd48d9ef069e9d8c00c96b385d1bf1b7cabec992cd4c32cf42ab3563b"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"001f959f1c7d2e4d0c33b346e686201aaab91262d5589b0cb79618c99c6f5ac4","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/99d7febe2ddd81a6faa03c9efe7653987b2cd5dfdf3fb20ca346d37035a6eb91"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"b66a7d09573b88c0468fe32a7a84714ab84eef8608089a4a15b6173b8c243633","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8bd02b631d65466c5299cb9b20bb2320c65cc9f8a3407afe897550a35234cdb2"} {"level":"debug","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"640a9085d588f286b167f3a66f55161b2d2193f7e0d6f0844acf4d72e2ac0662","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/96796e95090cf5b0da80d871131dd142459fe2bae1eb900779c2ef1c52e440d8"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/001f959f1c7d2e4d0c33b346e686201aaab91262d5589b0cb79618c99c6f5ac4"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b66a7d09573b88c0468fe32a7a84714ab84eef8608089a4a15b6173b8c243633"} {"level":"info","ts":"2026-07-16T13:17:32Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/640a9085d588f286b167f3a66f55161b2d2193f7e0d6f0844acf4d72e2ac0662"} {"level":"info","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:51250","PortSpecifier":{"PortValue":51250}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:51250","PortSpecifier":{"PortValue":51250}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207853,"nanos":591670464},"http":{"id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","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":"11ea323d-ed60-4e81-b95e-fbcddce04fe5","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=b471ff1c-c7f5-4785-bfb1-5472dfa27f0e"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/c44f86ff0e5c"]}} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/c44f86ff0e5c"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=b471ff1c-c7f5-4785-bfb1-5472dfa27f0e"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"11ea323d-ed60-4e81-b95e-fbcddce04fe5","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.47:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"subscription_error","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","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-16T13:17:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"575750cb-88e8-493b-a0ad-5e524ab11fbc","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:57454","PortSpecifier":{"PortValue":57454}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.48:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"28089f39-bad1-446c-b5fb-64a81982bd9a","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-8d69f8.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:57454","PortSpecifier":{"PortValue":57454}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.48:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207853,"nanos":642334466},"http":{"id":"28089f39-bad1-446c-b5fb-64a81982bd9a","method":"POST","headers":{":authority":"e2e-shared-b-8d69f8.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","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":"11ea323d-ed60-4e81-b95e-fbcddce04fe5","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=b471ff1c-c7f5-4785-bfb1-5472dfa27f0e"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/c44f86ff0e5c"]}} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/c44f86ff0e5c"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=b471ff1c-c7f5-4785-bfb1-5472dfa27f0e"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"11ea323d-ed60-4e81-b95e-fbcddce04fe5","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"c0a5137e30c52a538239f7f11b774ecbeab3b23a53e82bfc4785d01dd41a7597"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.48:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-8d69f8.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-8d69f8/rate-test-model-8d69f8\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-8d69f8/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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","config":{"Name":"X-MaaS-Group-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","config":{"Name":"X-MaaS-Username-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"info","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"28089f39-bad1-446c-b5fb-64a81982bd9a","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:51266","PortSpecifier":{"PortValue":51266}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:51266","PortSpecifier":{"PortValue":51266}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207853,"nanos":690907728},"http":{"id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1DRbNUEJ7uKwtyvkP_gcV1TVA5oMmv1vcLKIb4gGrWS2pDWHEbvphUH16WVT"} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1DRbNUEJ7uKwtyvkP_gcV1TVA5oMmv1vcLKIb4gGrWS2pDWHEbvphUH16WVT\"}"} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","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-b12c92.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":"10ffb7f2-5f7e-4df1-8769-136424836b56","keyName":"e2e-rate-a-fc2cd3","subscription":"e2e-rate-iso-a-fc2cd3","tenant":"e2e-shared-a-b12c92","userId":"10ffb7f2-5f7e-4df1-8769-136424836b56","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-fc2cd3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-fc2cd3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","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-fc2cd3"} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","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-16T13:17:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"10ffb7f2-5f7e-4df1-8769-136424836b56","keyName":"e2e-rate-a-fc2cd3","selected_subscription":"e2e-rate-iso-a-fc2cd3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-fc2cd3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-fc2cd3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"b0676bc0-925a-4fe3-9f5c-150bca89e2e4","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:51268","PortSpecifier":{"PortValue":51268}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"cce4c509-2536-4bf9-aecb-d99446a99903","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:51268","PortSpecifier":{"PortValue":51268}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207854,"nanos":755641640},"http":{"id":"cce4c509-2536-4bf9-aecb-d99446a99903","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1DRbNUEJ7uKwtyvkP_gcV1TVA5oMmv1vcLKIb4gGrWS2pDWHEbvphUH16WVT"} {"level":"debug","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1DRbNUEJ7uKwtyvkP_gcV1TVA5oMmv1vcLKIb4gGrWS2pDWHEbvphUH16WVT\"}"} {"level":"debug","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","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-b12c92.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":"10ffb7f2-5f7e-4df1-8769-136424836b56","keyName":"e2e-rate-a-fc2cd3","subscription":"e2e-rate-iso-a-fc2cd3","tenant":"e2e-shared-a-b12c92","userId":"10ffb7f2-5f7e-4df1-8769-136424836b56","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-fc2cd3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-fc2cd3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","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-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","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-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","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-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","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-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","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-fc2cd3"} {"level":"debug","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","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-16T13:17:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"10ffb7f2-5f7e-4df1-8769-136424836b56","keyName":"e2e-rate-a-fc2cd3","selected_subscription":"e2e-rate-iso-a-fc2cd3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-fc2cd3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-fc2cd3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:34Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"cce4c509-2536-4bf9-aecb-d99446a99903","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54874","PortSpecifier":{"PortValue":54874}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54874","PortSpecifier":{"PortValue":54874}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207855,"nanos":803316582},"http":{"id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1DRbNUEJ7uKwtyvkP_gcV1TVA5oMmv1vcLKIb4gGrWS2pDWHEbvphUH16WVT"} {"level":"debug","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1DRbNUEJ7uKwtyvkP_gcV1TVA5oMmv1vcLKIb4gGrWS2pDWHEbvphUH16WVT\"}"} {"level":"debug","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","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-b12c92.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":"10ffb7f2-5f7e-4df1-8769-136424836b56","keyName":"e2e-rate-a-fc2cd3","subscription":"e2e-rate-iso-a-fc2cd3","tenant":"e2e-shared-a-b12c92","userId":"10ffb7f2-5f7e-4df1-8769-136424836b56","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-fc2cd3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-fc2cd3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","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-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","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-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","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-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","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-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","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-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","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-fc2cd3"} {"level":"debug","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"10ffb7f2-5f7e-4df1-8769-136424836b56","keyName":"e2e-rate-a-fc2cd3","selected_subscription":"e2e-rate-iso-a-fc2cd3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-fc2cd3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-fc2cd3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:35Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"ffd66c3a-7e52-4b7e-b2e4-6a1eac99df1b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54880","PortSpecifier":{"PortValue":54880}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"f40959bf-f5aa-49aa-9122-2808b341f12d","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54880","PortSpecifier":{"PortValue":54880}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207864,"nanos":707570959},"http":{"id":"f40959bf-f5aa-49aa-9122-2808b341f12d","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","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":"11ea323d-ed60-4e81-b95e-fbcddce04fe5","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=b471ff1c-c7f5-4785-bfb1-5472dfa27f0e"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/c44f86ff0e5c"]}} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/c44f86ff0e5c"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=b471ff1c-c7f5-4785-bfb1-5472dfa27f0e"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"11ea323d-ed60-4e81-b95e-fbcddce04fe5","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.47:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"subscription_error","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","config":{"Name":"X-MaaS-Group-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","config":{"Name":"X-MaaS-Username-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"info","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f40959bf-f5aa-49aa-9122-2808b341f12d","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"8c845875-be76-471d-8c73-b94eac18db88","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:52426","PortSpecifier":{"PortValue":52426}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.48:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"8c845875-be76-471d-8c73-b94eac18db88","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-8d69f8.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"8c845875-be76-471d-8c73-b94eac18db88","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:52426","PortSpecifier":{"PortValue":52426}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.48:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207864,"nanos":746678275},"http":{"id":"8c845875-be76-471d-8c73-b94eac18db88","method":"POST","headers":{":authority":"e2e-shared-b-8d69f8.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"8c845875-be76-471d-8c73-b94eac18db88","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"8c845875-be76-471d-8c73-b94eac18db88","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":"11ea323d-ed60-4e81-b95e-fbcddce04fe5","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=b471ff1c-c7f5-4785-bfb1-5472dfa27f0e"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/c44f86ff0e5c"]}} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"8c845875-be76-471d-8c73-b94eac18db88","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/c44f86ff0e5c"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=b471ff1c-c7f5-4785-bfb1-5472dfa27f0e"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"11ea323d-ed60-4e81-b95e-fbcddce04fe5","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"c0a5137e30c52a538239f7f11b774ecbeab3b23a53e82bfc4785d01dd41a7597"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.48:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-8d69f8.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8c845875-be76-471d-8c73-b94eac18db88","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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8c845875-be76-471d-8c73-b94eac18db88","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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8c845875-be76-471d-8c73-b94eac18db88","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-8d69f8/rate-test-model-8d69f8\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-8d69f8/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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"8c845875-be76-471d-8c73-b94eac18db88","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8c845875-be76-471d-8c73-b94eac18db88","config":{"Name":"X-MaaS-Group-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8c845875-be76-471d-8c73-b94eac18db88","config":{"Name":"X-MaaS-Username-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"info","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"8c845875-be76-471d-8c73-b94eac18db88","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"8c845875-be76-471d-8c73-b94eac18db88","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"8327d7c0-0084-430d-a731-03c582651de5","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54892","PortSpecifier":{"PortValue":54892}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"8327d7c0-0084-430d-a731-03c582651de5","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"8327d7c0-0084-430d-a731-03c582651de5","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54892","PortSpecifier":{"PortValue":54892}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207864,"nanos":786773061},"http":{"id":"8327d7c0-0084-430d-a731-03c582651de5","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"8327d7c0-0084-430d-a731-03c582651de5","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"8327d7c0-0084-430d-a731-03c582651de5","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"8327d7c0-0084-430d-a731-03c582651de5","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"8327d7c0-0084-430d-a731-03c582651de5","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"8327d7c0-0084-430d-a731-03c582651de5","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"8327d7c0-0084-430d-a731-03c582651de5","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8327d7c0-0084-430d-a731-03c582651de5","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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8327d7c0-0084-430d-a731-03c582651de5","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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8327d7c0-0084-430d-a731-03c582651de5","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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8327d7c0-0084-430d-a731-03c582651de5","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8327d7c0-0084-430d-a731-03c582651de5","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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8327d7c0-0084-430d-a731-03c582651de5","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8327d7c0-0084-430d-a731-03c582651de5","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-16T13:17:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8327d7c0-0084-430d-a731-03c582651de5","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"8327d7c0-0084-430d-a731-03c582651de5","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:44Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"8327d7c0-0084-430d-a731-03c582651de5","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5672a333-401a-4885-b598-29d7ebee15dc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54282","PortSpecifier":{"PortValue":54282}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"5672a333-401a-4885-b598-29d7ebee15dc","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5672a333-401a-4885-b598-29d7ebee15dc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54282","PortSpecifier":{"PortValue":54282}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207865,"nanos":828625090},"http":{"id":"5672a333-401a-4885-b598-29d7ebee15dc","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"5672a333-401a-4885-b598-29d7ebee15dc","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5672a333-401a-4885-b598-29d7ebee15dc","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5672a333-401a-4885-b598-29d7ebee15dc","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5672a333-401a-4885-b598-29d7ebee15dc","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5672a333-401a-4885-b598-29d7ebee15dc","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"5672a333-401a-4885-b598-29d7ebee15dc","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5672a333-401a-4885-b598-29d7ebee15dc","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-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5672a333-401a-4885-b598-29d7ebee15dc","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-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5672a333-401a-4885-b598-29d7ebee15dc","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-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5672a333-401a-4885-b598-29d7ebee15dc","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5672a333-401a-4885-b598-29d7ebee15dc","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-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5672a333-401a-4885-b598-29d7ebee15dc","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5672a333-401a-4885-b598-29d7ebee15dc","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-16T13:17:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5672a333-401a-4885-b598-29d7ebee15dc","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5672a333-401a-4885-b598-29d7ebee15dc","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5672a333-401a-4885-b598-29d7ebee15dc","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54294","PortSpecifier":{"PortValue":54294}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54294","PortSpecifier":{"PortValue":54294}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207866,"nanos":871991958},"http":{"id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","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-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","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-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","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-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","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-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","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-16T13:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"14ac6223-9832-4a1f-b1d7-70fedff7d45c","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54296","PortSpecifier":{"PortValue":54296}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54296","PortSpecifier":{"PortValue":54296}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207867,"nanos":909325260},"http":{"id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","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-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","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-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","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-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","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-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","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-16T13:17:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:47Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"98ccc690-3f9b-43f1-96fb-4327b410bdab","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1872fea1-cd72-410c-a3f1-414c30839100","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54300","PortSpecifier":{"PortValue":54300}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"1872fea1-cd72-410c-a3f1-414c30839100","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1872fea1-cd72-410c-a3f1-414c30839100","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54300","PortSpecifier":{"PortValue":54300}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207868,"nanos":947518719},"http":{"id":"1872fea1-cd72-410c-a3f1-414c30839100","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"1872fea1-cd72-410c-a3f1-414c30839100","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1872fea1-cd72-410c-a3f1-414c30839100","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1872fea1-cd72-410c-a3f1-414c30839100","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1872fea1-cd72-410c-a3f1-414c30839100","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1872fea1-cd72-410c-a3f1-414c30839100","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"1872fea1-cd72-410c-a3f1-414c30839100","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1872fea1-cd72-410c-a3f1-414c30839100","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-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1872fea1-cd72-410c-a3f1-414c30839100","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-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1872fea1-cd72-410c-a3f1-414c30839100","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-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1872fea1-cd72-410c-a3f1-414c30839100","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1872fea1-cd72-410c-a3f1-414c30839100","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-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1872fea1-cd72-410c-a3f1-414c30839100","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1872fea1-cd72-410c-a3f1-414c30839100","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-16T13:17:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1872fea1-cd72-410c-a3f1-414c30839100","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1872fea1-cd72-410c-a3f1-414c30839100","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:48Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1872fea1-cd72-410c-a3f1-414c30839100","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54310","PortSpecifier":{"PortValue":54310}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"6434d7ac-0695-47d1-99a6-f3736717b8df","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54310","PortSpecifier":{"PortValue":54310}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207869,"nanos":986424761},"http":{"id":"6434d7ac-0695-47d1-99a6-f3736717b8df","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","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-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","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-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","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-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","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-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","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-16T13:17:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:49Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"6434d7ac-0695-47d1-99a6-f3736717b8df","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54318","PortSpecifier":{"PortValue":54318}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d905bc47-3bae-4cdf-a983-e02f17544d80","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54318","PortSpecifier":{"PortValue":54318}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207871,"nanos":24599500},"http":{"id":"d905bc47-3bae-4cdf-a983-e02f17544d80","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","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-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","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-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","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-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","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-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","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-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:51Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d905bc47-3bae-4cdf-a983-e02f17544d80","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54332","PortSpecifier":{"PortValue":54332}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54332","PortSpecifier":{"PortValue":54332}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207872,"nanos":61753824},"http":{"id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","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-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","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-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","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-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","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-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","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-16T13:17:52Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:52Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"77bb4b53-dbe8-490c-a8fc-451877f8a4eb","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54348","PortSpecifier":{"PortValue":54348}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54348","PortSpecifier":{"PortValue":54348}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207873,"nanos":97005306},"http":{"id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","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-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","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-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","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-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","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-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","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-16T13:17:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:53Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"2ddb5b39-89ea-476d-9c33-1ea4f99a8f44","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54358","PortSpecifier":{"PortValue":54358}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54358","PortSpecifier":{"PortValue":54358}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207874,"nanos":133456376},"http":{"id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","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-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","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-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","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-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","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-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","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-16T13:17:54Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:54Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"745715da-ab25-47cd-9927-7dbe1a36f2e5","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54370","PortSpecifier":{"PortValue":54370}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54370","PortSpecifier":{"PortValue":54370}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207875,"nanos":176016264},"http":{"id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","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-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","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-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","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-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","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-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","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-16T13:17:55Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:55Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e6b49cb3-d5ab-47ca-a8ca-af090a7897cc","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:33340","PortSpecifier":{"PortValue":33340}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","method":"POST","path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions","host":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:33340","PortSpecifier":{"PortValue":33340}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.47:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207876,"nanos":213520539},"http":{"id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","method":"POST","headers":{":authority":"e2e-shared-a-b12c92.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP"} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1YNICBjwzfsKQHB9b_Y66SQ0l22kjzZifaKxm5Mdx7jsDImoAGN4wzjSqhBlP\"}"} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","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-b12c92.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":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","subscription":"e2e-rate-iso-a-43f1e3","tenant":"e2e-shared-a-b12c92","userId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-b12c92.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-b12c92/rate-test-model-b12c92\",\"requestedSubscription\":\"e2e-rate-iso-a-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","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-b12c92.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-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-b12c92/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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fa6f5165-52b5-45f3-a2ee-5996345e1be8","keyName":"e2e-rate-a-43f1e3","selected_subscription":"e2e-rate-iso-a-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-a-b12c92/e2e-rate-iso-a-43f1e3@ai-tenant-e2e-shared-a-b12c92/rate-test-model-b12c92","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-b12c92","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-43f1e3","namespace":"ai-tenant-e2e-shared-a-b12c92","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"07fa400f-0228-4dd4-ac37-e699c1b569f9","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:33044","PortSpecifier":{"PortValue":33044}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.48:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","method":"POST","path":"/ai-tenant-e2e-shared-b-8d69f8/rate-test-model-8d69f8/v1/completions","host":"e2e-shared-b-8d69f8.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:33044","PortSpecifier":{"PortValue":33044}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.48:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784207876,"nanos":261290571},"http":{"id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","method":"POST","headers":{":authority":"e2e-shared-b-8d69f8.apps.fe734e7b-c38c-4bd9-9605-c44f86ff0e5c.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-b-8d69f8/rate-test-model-8d69f8/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-10ssIYpaRm9bYJmtz_mYaWAWmFBo3u1zcV7ETdDRvmsZfSBrDVldAconUHZG2"} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-b-8d69f8.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-10ssIYpaRm9bYJmtz_mYaWAWmFBo3u1zcV7ETdDRvmsZfSBrDVldAconUHZG2\"}"} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","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-8d69f8.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":"be9d1783-7555-4c53-bcf3-dc2614c1caec","keyName":"e2e-rate-b-43f1e3","subscription":"e2e-rate-iso-b-43f1e3","tenant":"e2e-shared-b-8d69f8","userId":"be9d1783-7555-4c53-bcf3-dc2614c1caec","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-b-8d69f8.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-8d69f8/rate-test-model-8d69f8\",\"requestedSubscription\":\"e2e-rate-iso-b-43f1e3\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","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-8d69f8.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-8d69f8","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-43f1e3","namespace":"ai-tenant-e2e-shared-b-8d69f8","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-8d69f8/rate-test-model-8d69f8\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-8d69f8/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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","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-43f1e3"} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","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-16T13:17:56Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"be9d1783-7555-4c53-bcf3-dc2614c1caec","keyName":"e2e-rate-b-43f1e3","selected_subscription":"e2e-rate-iso-b-43f1e3","selected_subscription_key":"ai-tenant-e2e-shared-b-8d69f8/e2e-rate-iso-b-43f1e3@ai-tenant-e2e-shared-b-8d69f8/rate-test-model-8d69f8","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-8d69f8","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-43f1e3","namespace":"ai-tenant-e2e-shared-b-8d69f8","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-16T13:17:56Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"21885b2e-0407-4b56-8a6e-8ddcb9d736f0","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/47fa2ab1e825025571373028922b12a68b00d5ffae820d7561ec02acfb2f0322"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/44ae4f9705cabafd0c5c1f7bdcd90be6d24fa0e73e2157ccd504779b4fd4d126"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/829f56d2a53228664b1389beecf7b36c5bd4faaec9a4a7a60dc2f4c84f70b9a1"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/8bd02b631d65466c5299cb9b20bb2320c65cc9f8a3407afe897550a35234cdb2"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/0e9ec95485bc84bfdd64156a6c9fe5930ba07ea5f6a7b41fbe564c0620f076a0"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/b66a7d09573b88c0468fe32a7a84714ab84eef8608089a4a15b6173b8c243633"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/90f0885ac2c1ae479b3dcdb1aba460fe22acfb1d3ac99a19023bf76c6a723013"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ba38a8f666f7795c2407826999117eb2a50d0494130dcb9a3be98b27ebb72316"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/99d7febe2ddd81a6faa03c9efe7653987b2cd5dfdf3fb20ca346d37035a6eb91"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/2e1fe47525a8d94ec95a1d13b334e1bfd3b81a84cb6374da89b2fa64c658a11a"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/30f0882b21453d94a0f4f8cbd9165cd49e588102d6e4ad8b76a76f5f7e6ac150"} {"level":"info","ts":"2026-07-16T13:18:05Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/12dc85cc31cea0b8c17b005ee49e9a458f6753915cfd5a97b370fcd1c3569995"} {"level":"info","ts":"2026-07-16T13:18:06Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/690be9c67b80cc39ce092320ad93c29f72c882ada901ce95ec3b36bd7ac0ff0a"} {"level":"info","ts":"2026-07-16T13:18:06Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/9356125c8bae8c1a52e24cb13d74ceb5e97c8db57d157b8916b96c4bdeab1df2"} {"level":"info","ts":"2026-07-16T13:18:06Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/57c0fd64780ea02a52b9cdf904780e1c7b03f429d6a69498b735b2b828fc537d"} {"level":"info","ts":"2026-07-16T13:18:06Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/d93907d06dafd883bb1c3a603bc1e4859614bcf06528d68788c02cf186474075"} {"level":"info","ts":"2026-07-16T13:18:28Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/96796e95090cf5b0da80d871131dd142459fe2bae1eb900779c2ef1c52e440d8"} {"level":"info","ts":"2026-07-16T13:18:28Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/001f959f1c7d2e4d0c33b346e686201aaab91262d5589b0cb79618c99c6f5ac4"} {"level":"info","ts":"2026-07-16T13:18:28Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/2cc010b7b1238c453dda9989e84fd01a025be15da203f0e627b043031a430072"} {"level":"info","ts":"2026-07-16T13:18:29Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ca6d0dadd48d9ef069e9d8c00c96b385d1bf1b7cabec992cd4c32cf42ab3563b"} {"level":"info","ts":"2026-07-16T13:18:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/6992ec5a1efd50ee8a75b5c5be982ba22df959241731b576ccca3f1f688899c1"} {"level":"info","ts":"2026-07-16T13:18:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/640a9085d588f286b167f3a66f55161b2d2193f7e0d6f0844acf4d72e2ac0662"} {"level":"info","ts":"2026-07-16T13:18:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/c0a5137e30c52a538239f7f11b774ecbeab3b23a53e82bfc4785d01dd41a7597"} {"level":"info","ts":"2026-07-16T13:18:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/2f2d134968c27defd8e5893763f25afe2ab4b9ed689ec9944add44d2411fe41c"}