{"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"c6ca0a88a82f19c58fe71749803bfd7667f8606ca5a3d98ef13cf1fb915f1b6c","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/c6ca0a88a82f19c58fe71749803bfd7667f8606ca5a3d98ef13cf1fb915f1b6c"} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"c6ca0a88a82f19c58fe71749803bfd7667f8606ca5a3d98ef13cf1fb915f1b6c","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:03Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:03Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["c6ca0a88a82f19c58fe71749803bfd7667f8606ca5a3d98ef13cf1fb915f1b6c"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"c6ca0a88a82f19c58fe71749803bfd7667f8606ca5a3d98ef13cf1fb915f1b6c","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"c6ca0a88a82f19c58fe71749803bfd7667f8606ca5a3d98ef13cf1fb915f1b6c","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/fd19a5a6e12c0cd49334ee5c9492c9d4dc02a652089555658d7893d570a9d30d"} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/c6ca0a88a82f19c58fe71749803bfd7667f8606ca5a3d98ef13cf1fb915f1b6c"} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:03Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:03Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:03Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:03Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:03Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:03Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"d11f0c7ad359e7509a3de3419be120196f8f24887e4900a613713c2bf10f4805","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"debug","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:03Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:03Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/d11f0c7ad359e7509a3de3419be120196f8f24887e4900a613713c2bf10f4805"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"44ec23c4485848fbd5191fdabb42bfed708ccabff0097036c4279bee44fc9ee2","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/44ec23c4485848fbd5191fdabb42bfed708ccabff0097036c4279bee44fc9ee2"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"4e16839a6efe196d8f607113731c5ac0c3d1f0fc4a3ca2b009c7d235dca7bcbc","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/4e16839a6efe196d8f607113731c5ac0c3d1f0fc4a3ca2b009c7d235dca7bcbc"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7"} {"level":"error","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358\": 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-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ee259dde0026fc6399e80daa06f061964f6562cd13d73115041b5681b334859e","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ee259dde0026fc6399e80daa06f061964f6562cd13d73115041b5681b334859e"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5d80bc92d30b0eb66061c97a935f738c53467f32340ba1576981aa21ad0b5dc0","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/5d80bc92d30b0eb66061c97a935f738c53467f32340ba1576981aa21ad0b5dc0"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ea908b2e76d89701e981cb64a7fd18c3fc2b523494cc5a8c544c13401852d16a","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ea908b2e76d89701e981cb64a7fd18c3fc2b523494cc5a8c544c13401852d16a"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"44dffa28a82896a14d322770aa720a29762e7f7ea99703446e2735387109a9b0","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/44dffa28a82896a14d322770aa720a29762e7f7ea99703446e2735387109a9b0"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"832bf9e2ed7f6cca43f0b4022272bfd923533e4174c542787804e874929983db","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9f1ab3c513a97787b833837386bf66decee1994b246a7b3d29240ad3320f2f65","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"fa2a4c477f36d16b490ecf6bdb7c61ff5fd957f917d398159e0d8a7c6548d06a","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-15T21:48:04Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/832bf9e2ed7f6cca43f0b4022272bfd923533e4174c542787804e874929983db"} {"level":"error","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3\": 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-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"a5d61d6f3f974b3b8de99db2493ba366a5b7b44eedb16513b8e89ee73889e80e","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9f1ab3c513a97787b833837386bf66decee1994b246a7b3d29240ad3320f2f65"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"e9c51316d484251f10a36c05058d88564094a6a46e8c0615d3dc905f5cf7f3d3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"19a648da3d3283a9fc7162614144673baba26c0fe7591b4a94e36289551e85f8","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"8a379ab1b2a68480d112b34e2bd79ce1a92ef840144954f540685384f1e278f7","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/fa2a4c477f36d16b490ecf6bdb7c61ff5fd957f917d398159e0d8a7c6548d06a"} {"level":"debug","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"37fdc92ecf38ee5d876e4222f27f53c6ff3b3645a0d98f1ff1b7df26af680209","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/a5d61d6f3f974b3b8de99db2493ba366a5b7b44eedb16513b8e89ee73889e80e"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/e9c51316d484251f10a36c05058d88564094a6a46e8c0615d3dc905f5cf7f3d3"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/19a648da3d3283a9fc7162614144673baba26c0fe7591b4a94e36289551e85f8"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8a379ab1b2a68480d112b34e2bd79ce1a92ef840144954f540685384f1e278f7"} {"level":"info","ts":"2026-07-15T21:48:04Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/37fdc92ecf38ee5d876e4222f27f53c6ff3b3645a0d98f1ff1b7df26af680209"} {"level":"info","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d65b0967-980e-4103-be01-748a6cb8882a","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:43196","PortSpecifier":{"PortValue":43196}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d65b0967-980e-4103-be01-748a6cb8882a","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d65b0967-980e-4103-be01-748a6cb8882a","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:43196","PortSpecifier":{"PortValue":43196}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152088,"nanos":175042212},"http":{"id":"d65b0967-980e-4103-be01-748a6cb8882a","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"d65b0967-980e-4103-be01-748a6cb8882a","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d65b0967-980e-4103-be01-748a6cb8882a","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":"90e942e9-e45e-4a26-bc53-b2ddfb0d6a8c","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=35fe9762-d917-4c97-bc3a-c6508f66798a"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/8138293411f3"]}} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d65b0967-980e-4103-be01-748a6cb8882a","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/8138293411f3"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=35fe9762-d917-4c97-bc3a-c6508f66798a"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"90e942e9-e45e-4a26-bc53-b2ddfb0d6a8c","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.71:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d65b0967-980e-4103-be01-748a6cb8882a","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d65b0967-980e-4103-be01-748a6cb8882a","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d65b0967-980e-4103-be01-748a6cb8882a","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"d65b0967-980e-4103-be01-748a6cb8882a","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"subscription_error_message","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"userid","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d65b0967-980e-4103-be01-748a6cb8882a","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d65b0967-980e-4103-be01-748a6cb8882a","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-15T21:48:08Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d65b0967-980e-4103-be01-748a6cb8882a","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d65b0967-980e-4103-be01-748a6cb8882a","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:51396","PortSpecifier":{"PortValue":51396}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.43:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-700cbf.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:51396","PortSpecifier":{"PortValue":51396}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.43:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152088,"nanos":218693696},"http":{"id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","method":"POST","headers":{":authority":"e2e-shared-b-700cbf.apps.0b31ce17-7905-4df7-813a-8138293411f3.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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","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":"90e942e9-e45e-4a26-bc53-b2ddfb0d6a8c","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=35fe9762-d917-4c97-bc3a-c6508f66798a"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/8138293411f3"]}} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/8138293411f3"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=35fe9762-d917-4c97-bc3a-c6508f66798a"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"90e942e9-e45e-4a26-bc53-b2ddfb0d6a8c","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"37fdc92ecf38ee5d876e4222f27f53c6ff3b3645a0d98f1ff1b7df26af680209"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.43:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-700cbf.apps.0b31ce17-7905-4df7-813a-8138293411f3.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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-700cbf/rate-test-model-700cbf\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-700cbf/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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","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":"subscription_error_message","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","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-15T21:48:08Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"89b82440-3250-421e-a2b2-8c6afdafd3aa","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:43208","PortSpecifier":{"PortValue":43208}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"fbb2c193-8e40-439d-8de0-e771cd44331f","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:43208","PortSpecifier":{"PortValue":43208}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152088,"nanos":259435699},"http":{"id":"fbb2c193-8e40-439d-8de0-e771cd44331f","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-vmbpvK9x3cNnSoR4_p2AzgoID5afalK6BheqmfsX3VMyCl8eT8eql0f8y6OC"} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-vmbpvK9x3cNnSoR4_p2AzgoID5afalK6BheqmfsX3VMyCl8eT8eql0f8y6OC\"}"} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","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-c664d0.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":"64ce4bd1-ff53-47f8-b301-fd5a9138c976","keyName":"e2e-rate-a-a32d46","subscription":"e2e-rate-iso-a-a32d46","tenant":"e2e-shared-a-c664d0","userId":"64ce4bd1-ff53-47f8-b301-fd5a9138c976","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-a32d46\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a32d46","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","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-a32d46"} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","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-15T21:48:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"64ce4bd1-ff53-47f8-b301-fd5a9138c976","keyName":"e2e-rate-a-a32d46","selected_subscription":"e2e-rate-iso-a-a32d46","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-a32d46@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a32d46","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:08Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"fbb2c193-8e40-439d-8de0-e771cd44331f","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:43212","PortSpecifier":{"PortValue":43212}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:43212","PortSpecifier":{"PortValue":43212}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152089,"nanos":320065737},"http":{"id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-vmbpvK9x3cNnSoR4_p2AzgoID5afalK6BheqmfsX3VMyCl8eT8eql0f8y6OC"} {"level":"debug","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-vmbpvK9x3cNnSoR4_p2AzgoID5afalK6BheqmfsX3VMyCl8eT8eql0f8y6OC\"}"} {"level":"debug","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","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-c664d0.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":"64ce4bd1-ff53-47f8-b301-fd5a9138c976","keyName":"e2e-rate-a-a32d46","subscription":"e2e-rate-iso-a-a32d46","tenant":"e2e-shared-a-c664d0","userId":"64ce4bd1-ff53-47f8-b301-fd5a9138c976","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-a32d46\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a32d46","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","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-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","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-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","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-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","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-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","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-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","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-a32d46"} {"level":"debug","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"64ce4bd1-ff53-47f8-b301-fd5a9138c976","keyName":"e2e-rate-a-a32d46","selected_subscription":"e2e-rate-iso-a-a32d46","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-a32d46@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a32d46","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:09Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3f6112bc-153b-4bb4-9c1b-7f9b089c36db","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:43228","PortSpecifier":{"PortValue":43228}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:43228","PortSpecifier":{"PortValue":43228}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152090,"nanos":361215708},"http":{"id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-vmbpvK9x3cNnSoR4_p2AzgoID5afalK6BheqmfsX3VMyCl8eT8eql0f8y6OC"} {"level":"debug","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-vmbpvK9x3cNnSoR4_p2AzgoID5afalK6BheqmfsX3VMyCl8eT8eql0f8y6OC\"}"} {"level":"debug","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","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-c664d0.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":"64ce4bd1-ff53-47f8-b301-fd5a9138c976","keyName":"e2e-rate-a-a32d46","subscription":"e2e-rate-iso-a-a32d46","tenant":"e2e-shared-a-c664d0","userId":"64ce4bd1-ff53-47f8-b301-fd5a9138c976","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-a32d46\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a32d46","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","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-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","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-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","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-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","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-a32d46"} {"level":"debug","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","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-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","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-15T21:48:10Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"64ce4bd1-ff53-47f8-b301-fd5a9138c976","keyName":"e2e-rate-a-a32d46","selected_subscription":"e2e-rate-iso-a-a32d46","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-a32d46@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a32d46","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:10Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1d4d2dfa-62cd-4a34-8423-cbda0fe92778","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59532","PortSpecifier":{"PortValue":59532}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59532","PortSpecifier":{"PortValue":59532}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152099,"nanos":176612585},"http":{"id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","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":"90e942e9-e45e-4a26-bc53-b2ddfb0d6a8c","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=35fe9762-d917-4c97-bc3a-c6508f66798a"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/8138293411f3"]}} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/8138293411f3"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=35fe9762-d917-4c97-bc3a-c6508f66798a"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"90e942e9-e45e-4a26-bc53-b2ddfb0d6a8c","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.71:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"subscription_error_message","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"userid","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","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-15T21:48:19Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"fce7f10f-1c41-46be-85a8-2ce77811c7a4","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:55998","PortSpecifier":{"PortValue":55998}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.43:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"46f66108-eb07-4694-a9b3-15d2d8644e25","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-700cbf.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:55998","PortSpecifier":{"PortValue":55998}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.43:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152099,"nanos":221219943},"http":{"id":"46f66108-eb07-4694-a9b3-15d2d8644e25","method":"POST","headers":{":authority":"e2e-shared-b-700cbf.apps.0b31ce17-7905-4df7-813a-8138293411f3.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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","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":"90e942e9-e45e-4a26-bc53-b2ddfb0d6a8c","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=35fe9762-d917-4c97-bc3a-c6508f66798a"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/8138293411f3"]}} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/8138293411f3"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=35fe9762-d917-4c97-bc3a-c6508f66798a"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"90e942e9-e45e-4a26-bc53-b2ddfb0d6a8c","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"37fdc92ecf38ee5d876e4222f27f53c6ff3b3645a0d98f1ff1b7df26af680209"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.43:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-700cbf.apps.0b31ce17-7905-4df7-813a-8138293411f3.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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-700cbf/rate-test-model-700cbf\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-700cbf/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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","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":"subscription_error_message","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","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-15T21:48:19Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"46f66108-eb07-4694-a9b3-15d2d8644e25","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59544","PortSpecifier":{"PortValue":59544}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59544","PortSpecifier":{"PortValue":59544}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152099,"nanos":259476159},"http":{"id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","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-15T21:48:19Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:19Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3ced5f77-d41f-4c4d-97fc-31c54dc7a11b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"36629267-d69c-4242-b5eb-87e45dee060f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59552","PortSpecifier":{"PortValue":59552}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"36629267-d69c-4242-b5eb-87e45dee060f","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"36629267-d69c-4242-b5eb-87e45dee060f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59552","PortSpecifier":{"PortValue":59552}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152100,"nanos":297168578},"http":{"id":"36629267-d69c-4242-b5eb-87e45dee060f","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"36629267-d69c-4242-b5eb-87e45dee060f","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"36629267-d69c-4242-b5eb-87e45dee060f","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"36629267-d69c-4242-b5eb-87e45dee060f","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"36629267-d69c-4242-b5eb-87e45dee060f","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"36629267-d69c-4242-b5eb-87e45dee060f","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"36629267-d69c-4242-b5eb-87e45dee060f","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"36629267-d69c-4242-b5eb-87e45dee060f","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-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"36629267-d69c-4242-b5eb-87e45dee060f","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-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"36629267-d69c-4242-b5eb-87e45dee060f","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"36629267-d69c-4242-b5eb-87e45dee060f","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-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"36629267-d69c-4242-b5eb-87e45dee060f","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"36629267-d69c-4242-b5eb-87e45dee060f","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-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"36629267-d69c-4242-b5eb-87e45dee060f","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-15T21:48:20Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"36629267-d69c-4242-b5eb-87e45dee060f","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"36629267-d69c-4242-b5eb-87e45dee060f","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:20Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"36629267-d69c-4242-b5eb-87e45dee060f","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59558","PortSpecifier":{"PortValue":59558}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59558","PortSpecifier":{"PortValue":59558}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152101,"nanos":341399094},"http":{"id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","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-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","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-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","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-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","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-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","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-15T21:48:21Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:21Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"c39c18c0-d2e2-4294-8f18-b567ab5361f7","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"72082921-7241-4656-8f6f-4f4f257ec498","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59562","PortSpecifier":{"PortValue":59562}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"72082921-7241-4656-8f6f-4f4f257ec498","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"72082921-7241-4656-8f6f-4f4f257ec498","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59562","PortSpecifier":{"PortValue":59562}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152102,"nanos":380623930},"http":{"id":"72082921-7241-4656-8f6f-4f4f257ec498","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"72082921-7241-4656-8f6f-4f4f257ec498","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"72082921-7241-4656-8f6f-4f4f257ec498","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"72082921-7241-4656-8f6f-4f4f257ec498","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"72082921-7241-4656-8f6f-4f4f257ec498","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"72082921-7241-4656-8f6f-4f4f257ec498","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"72082921-7241-4656-8f6f-4f4f257ec498","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"72082921-7241-4656-8f6f-4f4f257ec498","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-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"72082921-7241-4656-8f6f-4f4f257ec498","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-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"72082921-7241-4656-8f6f-4f4f257ec498","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-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"72082921-7241-4656-8f6f-4f4f257ec498","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"72082921-7241-4656-8f6f-4f4f257ec498","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-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"72082921-7241-4656-8f6f-4f4f257ec498","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-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"72082921-7241-4656-8f6f-4f4f257ec498","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"72082921-7241-4656-8f6f-4f4f257ec498","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"72082921-7241-4656-8f6f-4f4f257ec498","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:22Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"72082921-7241-4656-8f6f-4f4f257ec498","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59576","PortSpecifier":{"PortValue":59576}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"391ead2c-8358-484b-b566-76c7ae58b61d","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59576","PortSpecifier":{"PortValue":59576}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152103,"nanos":419329674},"http":{"id":"391ead2c-8358-484b-b566-76c7ae58b61d","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","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-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","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-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","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-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","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-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","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-15T21:48:23Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:23Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"391ead2c-8358-484b-b566-76c7ae58b61d","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59580","PortSpecifier":{"PortValue":59580}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"8dade671-c7f1-4b12-9132-04f9c173b2be","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59580","PortSpecifier":{"PortValue":59580}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152104,"nanos":455791550},"http":{"id":"8dade671-c7f1-4b12-9132-04f9c173b2be","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","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-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","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-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","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-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","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-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","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-15T21:48:24Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:24Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"8dade671-c7f1-4b12-9132-04f9c173b2be","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59586","PortSpecifier":{"PortValue":59586}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:59586","PortSpecifier":{"PortValue":59586}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152105,"nanos":493697670},"http":{"id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","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-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","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-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","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-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","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-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","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-15T21:48:25Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:25Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"0f3e9e41-148f-4b5b-82d5-ee384f9c58b2","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:40460","PortSpecifier":{"PortValue":40460}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:40460","PortSpecifier":{"PortValue":40460}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152106,"nanos":537285897},"http":{"id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","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-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","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-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","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-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","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-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","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-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:26Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"bc23d98b-abe9-4a72-a09f-4e1ec87e3c75","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:40476","PortSpecifier":{"PortValue":40476}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:40476","PortSpecifier":{"PortValue":40476}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152107,"nanos":575992346},"http":{"id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","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-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","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-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","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-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","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-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","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-15T21:48:27Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:27Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"879730b2-a05f-4cec-bef3-935a8f39e6a5","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"c317790a-17b0-4f75-8176-d3a213970569","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:40484","PortSpecifier":{"PortValue":40484}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"c317790a-17b0-4f75-8176-d3a213970569","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"c317790a-17b0-4f75-8176-d3a213970569","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:40484","PortSpecifier":{"PortValue":40484}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152108,"nanos":619360477},"http":{"id":"c317790a-17b0-4f75-8176-d3a213970569","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"c317790a-17b0-4f75-8176-d3a213970569","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"c317790a-17b0-4f75-8176-d3a213970569","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"c317790a-17b0-4f75-8176-d3a213970569","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"c317790a-17b0-4f75-8176-d3a213970569","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"c317790a-17b0-4f75-8176-d3a213970569","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"c317790a-17b0-4f75-8176-d3a213970569","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c317790a-17b0-4f75-8176-d3a213970569","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-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c317790a-17b0-4f75-8176-d3a213970569","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-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c317790a-17b0-4f75-8176-d3a213970569","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c317790a-17b0-4f75-8176-d3a213970569","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-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c317790a-17b0-4f75-8176-d3a213970569","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-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c317790a-17b0-4f75-8176-d3a213970569","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c317790a-17b0-4f75-8176-d3a213970569","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-15T21:48:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c317790a-17b0-4f75-8176-d3a213970569","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"c317790a-17b0-4f75-8176-d3a213970569","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:28Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"c317790a-17b0-4f75-8176-d3a213970569","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4767f44e-e78d-425c-8044-d03c9622305d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:40494","PortSpecifier":{"PortValue":40494}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"4767f44e-e78d-425c-8044-d03c9622305d","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4767f44e-e78d-425c-8044-d03c9622305d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:40494","PortSpecifier":{"PortValue":40494}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152109,"nanos":662382403},"http":{"id":"4767f44e-e78d-425c-8044-d03c9622305d","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"4767f44e-e78d-425c-8044-d03c9622305d","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4767f44e-e78d-425c-8044-d03c9622305d","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4767f44e-e78d-425c-8044-d03c9622305d","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4767f44e-e78d-425c-8044-d03c9622305d","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4767f44e-e78d-425c-8044-d03c9622305d","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"4767f44e-e78d-425c-8044-d03c9622305d","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4767f44e-e78d-425c-8044-d03c9622305d","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-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4767f44e-e78d-425c-8044-d03c9622305d","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-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4767f44e-e78d-425c-8044-d03c9622305d","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4767f44e-e78d-425c-8044-d03c9622305d","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-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4767f44e-e78d-425c-8044-d03c9622305d","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4767f44e-e78d-425c-8044-d03c9622305d","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-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4767f44e-e78d-425c-8044-d03c9622305d","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-15T21:48:29Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4767f44e-e78d-425c-8044-d03c9622305d","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4767f44e-e78d-425c-8044-d03c9622305d","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:29Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4767f44e-e78d-425c-8044-d03c9622305d","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:40496","PortSpecifier":{"PortValue":40496}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","method":"POST","path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions","host":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:40496","PortSpecifier":{"PortValue":40496}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.71:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152110,"nanos":698854772},"http":{"id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","method":"POST","headers":{":authority":"e2e-shared-a-c664d0.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf"} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-d0LwsREJJ73jU02j_JPpaQ4nf0noCaSLhJMaiaBpCjNm7wugNXzYvHJ8ZVYf\"}"} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","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-c664d0.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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","subscription":"e2e-rate-iso-a-692310","tenant":"e2e-shared-a-c664d0","userId":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-c664d0.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-c664d0/rate-test-model-c664d0\",\"requestedSubscription\":\"e2e-rate-iso-a-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","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-c664d0.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-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-c664d0/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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","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":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"bbdceea6-dff7-4f6c-8d0e-08a8397f5345","keyName":"e2e-rate-a-692310","selected_subscription":"e2e-rate-iso-a-692310","selected_subscription_key":"ai-tenant-e2e-shared-a-c664d0/e2e-rate-iso-a-692310@ai-tenant-e2e-shared-a-c664d0/rate-test-model-c664d0","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-c664d0","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-692310","namespace":"ai-tenant-e2e-shared-a-c664d0","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e4010ced-6b1a-4b1c-a546-8905d3b927dd","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:49674","PortSpecifier":{"PortValue":49674}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.43:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"40f4a631-aa9f-44ee-839c-c36d022945ef","method":"POST","path":"/ai-tenant-e2e-shared-b-700cbf/rate-test-model-700cbf/v1/completions","host":"e2e-shared-b-700cbf.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.16:49674","PortSpecifier":{"PortValue":49674}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.43:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784152110,"nanos":739059919},"http":{"id":"40f4a631-aa9f-44ee-839c-c36d022945ef","method":"POST","headers":{":authority":"e2e-shared-b-700cbf.apps.0b31ce17-7905-4df7-813a-8138293411f3.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-b-700cbf/rate-test-model-700cbf/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-10nmv5ULkXoFXhmpQ_a9gm1WIuKmcUNiBnGyngV8rfSJMHAKE94NPJa015wWQ"} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-b-700cbf.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-10nmv5ULkXoFXhmpQ_a9gm1WIuKmcUNiBnGyngV8rfSJMHAKE94NPJa015wWQ\"}"} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","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-700cbf.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":"bd315bd5-ecae-4426-a92f-a682ded7aba8","keyName":"e2e-rate-b-692310","subscription":"e2e-rate-iso-b-692310","tenant":"e2e-shared-b-700cbf","userId":"bd315bd5-ecae-4426-a92f-a682ded7aba8","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-b-700cbf.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-700cbf/rate-test-model-700cbf\",\"requestedSubscription\":\"e2e-rate-iso-b-692310\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","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-700cbf.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-700cbf","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-692310","namespace":"ai-tenant-e2e-shared-b-700cbf","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-700cbf/rate-test-model-700cbf\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-700cbf/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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","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-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","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-692310"} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","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":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","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":"bd315bd5-ecae-4426-a92f-a682ded7aba8","keyName":"e2e-rate-b-692310","selected_subscription":"e2e-rate-iso-b-692310","selected_subscription_key":"ai-tenant-e2e-shared-b-700cbf/e2e-rate-iso-b-692310@ai-tenant-e2e-shared-b-700cbf/rate-test-model-700cbf","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-700cbf","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-692310","namespace":"ai-tenant-e2e-shared-b-700cbf","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-15T21:48:30Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"40f4a631-aa9f-44ee-839c-c36d022945ef","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/fa2a4c477f36d16b490ecf6bdb7c61ff5fd957f917d398159e0d8a7c6548d06a"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/5d80bc92d30b0eb66061c97a935f738c53467f32340ba1576981aa21ad0b5dc0"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/15f1e42b7f24182d91e48dbe23f6ee3068a87fbe1ed78f012092da21e33688d9"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ea908b2e76d89701e981cb64a7fd18c3fc2b523494cc5a8c544c13401852d16a"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/5d31bd6638add2d7d0efe64cc2ef14af7cfff3094d0e00d1042c1c93c2433af3"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/8a379ab1b2a68480d112b34e2bd79ce1a92ef840144954f540685384f1e278f7"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/a5d61d6f3f974b3b8de99db2493ba366a5b7b44eedb16513b8e89ee73889e80e"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/832bf9e2ed7f6cca43f0b4022272bfd923533e4174c542787804e874929983db"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/44dffa28a82896a14d322770aa720a29762e7f7ea99703446e2735387109a9b0"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/71fd4fd0868e724a78391a085ed0e2ebce886571c29a993c511f6bbb9c7061b1"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/2f21d607f744932fea4be20e0c32253a91e910293dda2fd80ebcad38c6335358"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/a614ff2c4c6cf8d3f1de22dcf3cdd45f3aed374c68dacc5271f70609c9d227f2"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ee259dde0026fc6399e80daa06f061964f6562cd13d73115041b5681b334859e"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/19a648da3d3283a9fc7162614144673baba26c0fe7591b4a94e36289551e85f8"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/e9c51316d484251f10a36c05058d88564094a6a46e8c0615d3dc905f5cf7f3d3"} {"level":"info","ts":"2026-07-15T21:48:39Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/c6ca0a88a82f19c58fe71749803bfd7667f8606ca5a3d98ef13cf1fb915f1b6c"} {"level":"info","ts":"2026-07-15T21:49:02Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/a12f5c76e2ef2e6f77d1de3c9997bdeaefd636bc751abca436d76bb5a8d309c7"} {"level":"info","ts":"2026-07-15T21:49:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/d11f0c7ad359e7509a3de3419be120196f8f24887e4900a613713c2bf10f4805"} {"level":"info","ts":"2026-07-15T21:49:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/891349800b9f9705039de3f556412fe8c619840de461e4a4f19fd3f1cd6d2f6b"} {"level":"info","ts":"2026-07-15T21:49:03Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/44ec23c4485848fbd5191fdabb42bfed708ccabff0097036c4279bee44fc9ee2"} {"level":"info","ts":"2026-07-15T21:49:08Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/4e16839a6efe196d8f607113731c5ac0c3d1f0fc4a3ca2b009c7d235dca7bcbc"} {"level":"info","ts":"2026-07-15T21:49:08Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/fd19a5a6e12c0cd49334ee5c9492c9d4dc02a652089555658d7893d570a9d30d"} {"level":"info","ts":"2026-07-15T21:49:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/9f1ab3c513a97787b833837386bf66decee1994b246a7b3d29240ad3320f2f65"} {"level":"info","ts":"2026-07-15T21:49:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/37fdc92ecf38ee5d876e4222f27f53c6ff3b3645a0d98f1ff1b7df26af680209"}