{"level":"info","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"0f12f87990c117828110247838f7dde8e68687f4dbd3c91f0c345be93f1bffd6","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"f805753dd916c9737e8fe90352ff49c16597d1350398a106782a7f7e1690a1fd","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0f12f87990c117828110247838f7dde8e68687f4dbd3c91f0c345be93f1bffd6","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1022f27ccbab682eacf9ef192085aadc2359e567775f7167dc6611f00e3615ed"} {"level":"debug","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:43Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:43Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/f805753dd916c9737e8fe90352ff49c16597d1350398a106782a7f7e1690a1fd"} {"level":"debug","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0f12f87990c117828110247838f7dde8e68687f4dbd3c91f0c345be93f1bffd6"} {"level":"info","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21"} {"level":"debug","ts":"2026-07-22T04:17:43Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:43Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:43Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21"} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"c664a829ea8b02fcd40e5da1d4d0a59b427c63deebc9b641d8bcf5c5a89aecd7","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Unknown"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/c664a829ea8b02fcd40e5da1d4d0a59b427c63deebc9b641d8bcf5c5a89aecd7"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"c664a829ea8b02fcd40e5da1d4d0a59b427c63deebc9b641d8bcf5c5a89aecd7","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/67c5de7fd2997faafad11d668a8e97a34e1b3d416304fd5f20d877329df536a3"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"67c5de7fd2997faafad11d668a8e97a34e1b3d416304fd5f20d877329df536a3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["67c5de7fd2997faafad11d668a8e97a34e1b3d416304fd5f20d877329df536a3"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"67c5de7fd2997faafad11d668a8e97a34e1b3d416304fd5f20d877329df536a3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"556acf23f2d24ddffd0caf20ec2097f2d4d36d0a4cd9adb8b423eaacb6f73be3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/556acf23f2d24ddffd0caf20ec2097f2d4d36d0a4cd9adb8b423eaacb6f73be3"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/c664a829ea8b02fcd40e5da1d4d0a59b427c63deebc9b641d8bcf5c5a89aecd7"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/33f564be7d5eae36ca428274803831c71f6ea9d65bdb784ff45927c9737010aa"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"556acf23f2d24ddffd0caf20ec2097f2d4d36d0a4cd9adb8b423eaacb6f73be3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"c664a829ea8b02fcd40e5da1d4d0a59b427c63deebc9b641d8bcf5c5a89aecd7","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["c664a829ea8b02fcd40e5da1d4d0a59b427c63deebc9b641d8bcf5c5a89aecd7"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/da0c0678ced36e288ac208f27e038c966afd5ffbdb6355e6676a5648f6f7bc70"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"c664a829ea8b02fcd40e5da1d4d0a59b427c63deebc9b641d8bcf5c5a89aecd7","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"33f564be7d5eae36ca428274803831c71f6ea9d65bdb784ff45927c9737010aa","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["33f564be7d5eae36ca428274803831c71f6ea9d65bdb784ff45927c9737010aa"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/d1e3cc110a54858c66776106994db461774f556ba2d1cd9bae2283658310fd03"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"33f564be7d5eae36ca428274803831c71f6ea9d65bdb784ff45927c9737010aa","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"da0c0678ced36e288ac208f27e038c966afd5ffbdb6355e6676a5648f6f7bc70","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["da0c0678ced36e288ac208f27e038c966afd5ffbdb6355e6676a5648f6f7bc70"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/e2cb8eddf3c434c9d6c300aa8afbbfcb692d8f268f0c1c3f13f2be318f985b7f"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/3e4e547a3859d4dd5d555a844fd33d6b5ec8b386579f0b64b662b8f77ae88505"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"da0c0678ced36e288ac208f27e038c966afd5ffbdb6355e6676a5648f6f7bc70","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"d1e3cc110a54858c66776106994db461774f556ba2d1cd9bae2283658310fd03","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["d1e3cc110a54858c66776106994db461774f556ba2d1cd9bae2283658310fd03"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/67c5de7fd2997faafad11d668a8e97a34e1b3d416304fd5f20d877329df536a3"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/d6c4263b7d009c59fdaebe51f1d66d37443e4a842062d380455c28afa0a911b4"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9aaf4c172da06cc517baefe6a365944c0f3c74abd694620413ba73f63158bf0b"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"d1e3cc110a54858c66776106994db461774f556ba2d1cd9bae2283658310fd03","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"e2cb8eddf3c434c9d6c300aa8afbbfcb692d8f268f0c1c3f13f2be318f985b7f","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["e2cb8eddf3c434c9d6c300aa8afbbfcb692d8f268f0c1c3f13f2be318f985b7f"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/556acf23f2d24ddffd0caf20ec2097f2d4d36d0a4cd9adb8b423eaacb6f73be3"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8a267dbb0e309ba697be92b03645e7fb5ed1839151170f15a7193247a81245df"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"e2cb8eddf3c434c9d6c300aa8afbbfcb692d8f268f0c1c3f13f2be318f985b7f","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"3e4e547a3859d4dd5d555a844fd33d6b5ec8b386579f0b64b662b8f77ae88505","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["3e4e547a3859d4dd5d555a844fd33d6b5ec8b386579f0b64b662b8f77ae88505"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/c664a829ea8b02fcd40e5da1d4d0a59b427c63deebc9b641d8bcf5c5a89aecd7"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b93807c3545ed26cc82b3c2644a5b056f4db5c948a4dc9b0646587071a3a6783"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"3e4e547a3859d4dd5d555a844fd33d6b5ec8b386579f0b64b662b8f77ae88505","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"67c5de7fd2997faafad11d668a8e97a34e1b3d416304fd5f20d877329df536a3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"d6c4263b7d009c59fdaebe51f1d66d37443e4a842062d380455c28afa0a911b4","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["d6c4263b7d009c59fdaebe51f1d66d37443e4a842062d380455c28afa0a911b4"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/33f564be7d5eae36ca428274803831c71f6ea9d65bdb784ff45927c9737010aa"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"d6c4263b7d009c59fdaebe51f1d66d37443e4a842062d380455c28afa0a911b4","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"9aaf4c172da06cc517baefe6a365944c0f3c74abd694620413ba73f63158bf0b","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["9aaf4c172da06cc517baefe6a365944c0f3c74abd694620413ba73f63158bf0b"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/da0c0678ced36e288ac208f27e038c966afd5ffbdb6355e6676a5648f6f7bc70"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/d1e3cc110a54858c66776106994db461774f556ba2d1cd9bae2283658310fd03"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"9aaf4c172da06cc517baefe6a365944c0f3c74abd694620413ba73f63158bf0b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"556acf23f2d24ddffd0caf20ec2097f2d4d36d0a4cd9adb8b423eaacb6f73be3","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["556acf23f2d24ddffd0caf20ec2097f2d4d36d0a4cd9adb8b423eaacb6f73be3"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/e2cb8eddf3c434c9d6c300aa8afbbfcb692d8f268f0c1c3f13f2be318f985b7f"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/3e4e547a3859d4dd5d555a844fd33d6b5ec8b386579f0b64b662b8f77ae88505"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/d6c4263b7d009c59fdaebe51f1d66d37443e4a842062d380455c28afa0a911b4"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"556acf23f2d24ddffd0caf20ec2097f2d4d36d0a4cd9adb8b423eaacb6f73be3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"8a267dbb0e309ba697be92b03645e7fb5ed1839151170f15a7193247a81245df","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["8a267dbb0e309ba697be92b03645e7fb5ed1839151170f15a7193247a81245df"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/9aaf4c172da06cc517baefe6a365944c0f3c74abd694620413ba73f63158bf0b"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/556acf23f2d24ddffd0caf20ec2097f2d4d36d0a4cd9adb8b423eaacb6f73be3"} {"level":"info","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"8a267dbb0e309ba697be92b03645e7fb5ed1839151170f15a7193247a81245df","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"c664a829ea8b02fcd40e5da1d4d0a59b427c63deebc9b641d8bcf5c5a89aecd7","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:44Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"b93807c3545ed26cc82b3c2644a5b056f4db5c948a4dc9b0646587071a3a6783","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:44Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["b93807c3545ed26cc82b3c2644a5b056f4db5c948a4dc9b0646587071a3a6783"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8a267dbb0e309ba697be92b03645e7fb5ed1839151170f15a7193247a81245df"} {"level":"info","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"b93807c3545ed26cc82b3c2644a5b056f4db5c948a4dc9b0646587071a3a6783","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:45Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:45Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/b93807c3545ed26cc82b3c2644a5b056f4db5c948a4dc9b0646587071a3a6783"} {"level":"info","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"33f564be7d5eae36ca428274803831c71f6ea9d65bdb784ff45927c9737010aa","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"da0c0678ced36e288ac208f27e038c966afd5ffbdb6355e6676a5648f6f7bc70","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"d1e3cc110a54858c66776106994db461774f556ba2d1cd9bae2283658310fd03","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"e2cb8eddf3c434c9d6c300aa8afbbfcb692d8f268f0c1c3f13f2be318f985b7f","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"3e4e547a3859d4dd5d555a844fd33d6b5ec8b386579f0b64b662b8f77ae88505","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"d6c4263b7d009c59fdaebe51f1d66d37443e4a842062d380455c28afa0a911b4","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"9aaf4c172da06cc517baefe6a365944c0f3c74abd694620413ba73f63158bf0b","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"556acf23f2d24ddffd0caf20ec2097f2d4d36d0a4cd9adb8b423eaacb6f73be3","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"8a267dbb0e309ba697be92b03645e7fb5ed1839151170f15a7193247a81245df","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"b93807c3545ed26cc82b3c2644a5b056f4db5c948a4dc9b0646587071a3a6783","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-22T04:17:45Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-22T04:17:45Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570"} {"level":"info","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:45Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:45Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570"} {"level":"info","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-22T04:17:45Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-22T04:17:45Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570"} {"level":"error","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"failed to update the resource","authconfig":{"name":"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570","namespace":"kuadrant-system"},"error":"Operation cannot be fulfilled on authconfigs.authorino.kuadrant.io \"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570\": 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-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-22T04:17:45Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:46684","PortSpecifier":{"PortValue":46684}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:46684","PortSpecifier":{"PortValue":46684}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693866,"nanos":467133433},"http":{"id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","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":"88d523f6-2b3e-4966-9ce1-debf8be3a1cf","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=eaea3edd-9c76-456b-b6f4-85607b8e9c74"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/e824959af2ef"]}} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/e824959af2ef"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=eaea3edd-9c76-456b-b6f4-85607b8e9c74"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"88d523f6-2b3e-4966-9ce1-debf8be3a1cf","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.60:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","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":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","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-22T04:17:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"25b8311f-8c94-424c-b8a7-3ef85f1218f0","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:60938","PortSpecifier":{"PortValue":60938}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-38610b.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:60938","PortSpecifier":{"PortValue":60938}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693866,"nanos":509078367},"http":{"id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","method":"POST","headers":{":authority":"e2e-shared-b-38610b.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","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":"88d523f6-2b3e-4966-9ce1-debf8be3a1cf","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=eaea3edd-9c76-456b-b6f4-85607b8e9c74"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/e824959af2ef"]}} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/e824959af2ef"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=eaea3edd-9c76-456b-b6f4-85607b8e9c74"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"88d523f6-2b3e-4966-9ce1-debf8be3a1cf","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"56f4493cba43bef3828a764a11e644a24246a2b9d6dd3e4174f23f637cb68924"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.61:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-38610b.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-38610b/rate-test-model-38610b\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-38610b/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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","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-22T04:17:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9c2b5096-bc5b-4e12-a352-f47005aa6e1f","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:46694","PortSpecifier":{"PortValue":46694}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:46694","PortSpecifier":{"PortValue":46694}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693866,"nanos":560532429},"http":{"id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1T1v0P4eeGYvlcC4w_vxcsrqTeanRfV0uMOq7qx8jwwCqusaJv8QhRVTxQnPh"} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1T1v0P4eeGYvlcC4w_vxcsrqTeanRfV0uMOq7qx8jwwCqusaJv8QhRVTxQnPh\"}"} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","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-dd1671.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":"56562447-2c91-4b49-81a5-9110b3325312","keyName":"e2e-rate-a-72f9a9","subscription":"e2e-rate-iso-a-72f9a9","tenant":"e2e-shared-a-dd1671","userId":"56562447-2c91-4b49-81a5-9110b3325312","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-72f9a9\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-72f9a9","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","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-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","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-72f9a9"} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"56562447-2c91-4b49-81a5-9110b3325312","keyName":"e2e-rate-a-72f9a9","selected_subscription":"e2e-rate-iso-a-72f9a9","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-72f9a9@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-72f9a9","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:17:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"8e8c0ca5-8f85-4ece-b28c-65f19fa5c49b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d260fb09-c55b-479f-93e8-75558268997f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:46706","PortSpecifier":{"PortValue":46706}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d260fb09-c55b-479f-93e8-75558268997f","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d260fb09-c55b-479f-93e8-75558268997f","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:46706","PortSpecifier":{"PortValue":46706}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693867,"nanos":651740287},"http":{"id":"d260fb09-c55b-479f-93e8-75558268997f","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d260fb09-c55b-479f-93e8-75558268997f","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1T1v0P4eeGYvlcC4w_vxcsrqTeanRfV0uMOq7qx8jwwCqusaJv8QhRVTxQnPh"} {"level":"debug","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d260fb09-c55b-479f-93e8-75558268997f","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1T1v0P4eeGYvlcC4w_vxcsrqTeanRfV0uMOq7qx8jwwCqusaJv8QhRVTxQnPh\"}"} {"level":"debug","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d260fb09-c55b-479f-93e8-75558268997f","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-dd1671.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":"56562447-2c91-4b49-81a5-9110b3325312","keyName":"e2e-rate-a-72f9a9","subscription":"e2e-rate-iso-a-72f9a9","tenant":"e2e-shared-a-dd1671","userId":"56562447-2c91-4b49-81a5-9110b3325312","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d260fb09-c55b-479f-93e8-75558268997f","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-72f9a9\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d260fb09-c55b-479f-93e8-75558268997f","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-72f9a9","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d260fb09-c55b-479f-93e8-75558268997f","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d260fb09-c55b-479f-93e8-75558268997f","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-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d260fb09-c55b-479f-93e8-75558268997f","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-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d260fb09-c55b-479f-93e8-75558268997f","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d260fb09-c55b-479f-93e8-75558268997f","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-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d260fb09-c55b-479f-93e8-75558268997f","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-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d260fb09-c55b-479f-93e8-75558268997f","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-72f9a9"} {"level":"debug","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d260fb09-c55b-479f-93e8-75558268997f","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-22T04:17:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d260fb09-c55b-479f-93e8-75558268997f","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"56562447-2c91-4b49-81a5-9110b3325312","keyName":"e2e-rate-a-72f9a9","selected_subscription":"e2e-rate-iso-a-72f9a9","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-72f9a9@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-72f9a9","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d260fb09-c55b-479f-93e8-75558268997f","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:17:47Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d260fb09-c55b-479f-93e8-75558268997f","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:46710","PortSpecifier":{"PortValue":46710}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:46710","PortSpecifier":{"PortValue":46710}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693868,"nanos":691275997},"http":{"id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-1T1v0P4eeGYvlcC4w_vxcsrqTeanRfV0uMOq7qx8jwwCqusaJv8QhRVTxQnPh"} {"level":"debug","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-1T1v0P4eeGYvlcC4w_vxcsrqTeanRfV0uMOq7qx8jwwCqusaJv8QhRVTxQnPh\"}"} {"level":"debug","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","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-dd1671.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":"56562447-2c91-4b49-81a5-9110b3325312","keyName":"e2e-rate-a-72f9a9","subscription":"e2e-rate-iso-a-72f9a9","tenant":"e2e-shared-a-dd1671","userId":"56562447-2c91-4b49-81a5-9110b3325312","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-72f9a9\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-72f9a9","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","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-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","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-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","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-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","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-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","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-72f9a9"} {"level":"debug","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","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-22T04:17:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"56562447-2c91-4b49-81a5-9110b3325312","keyName":"e2e-rate-a-72f9a9","selected_subscription":"e2e-rate-iso-a-72f9a9","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-72f9a9@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-72f9a9","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:17:48Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"c5bcd9c4-0a2f-4cd1-b242-50cc1e9f3098","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:40988","PortSpecifier":{"PortValue":40988}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:40988","PortSpecifier":{"PortValue":40988}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693877,"nanos":413165736},"http":{"id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","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":"88d523f6-2b3e-4966-9ce1-debf8be3a1cf","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=eaea3edd-9c76-456b-b6f4-85607b8e9c74"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/e824959af2ef"]}} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/e824959af2ef"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=eaea3edd-9c76-456b-b6f4-85607b8e9c74"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"88d523f6-2b3e-4966-9ce1-debf8be3a1cf","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.60:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","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":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"keyId","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","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-22T04:17:57Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f5b95362-c5e7-47ac-ae03-affaa7a80cfc","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:33058","PortSpecifier":{"PortValue":33058}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-38610b.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:33058","PortSpecifier":{"PortValue":33058}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693877,"nanos":450907077},"http":{"id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","method":"POST","headers":{":authority":"e2e-shared-b-38610b.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","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":"88d523f6-2b3e-4966-9ce1-debf8be3a1cf","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=eaea3edd-9c76-456b-b6f4-85607b8e9c74"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/e824959af2ef"]}} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/e824959af2ef"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=eaea3edd-9c76-456b-b6f4-85607b8e9c74"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"88d523f6-2b3e-4966-9ce1-debf8be3a1cf","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"56f4493cba43bef3828a764a11e644a24246a2b9d6dd3e4174f23f637cb68924"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.133.0.61:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-38610b.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-38610b/rate-test-model-38610b\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-38610b/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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","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-22T04:17:57Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"61d7e1da-acd2-48a5-8df1-8b7f409c56b6","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41000","PortSpecifier":{"PortValue":41000}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"e643f3a8-2fc6-4182-989c-447cd3102154","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41000","PortSpecifier":{"PortValue":41000}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693877,"nanos":489468875},"http":{"id":"e643f3a8-2fc6-4182-989c-447cd3102154","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","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-22T04:17:57Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:17:57Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e643f3a8-2fc6-4182-989c-447cd3102154","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41010","PortSpecifier":{"PortValue":41010}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"041f70de-f6f1-4953-8104-4a499c1cab89","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41010","PortSpecifier":{"PortValue":41010}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693878,"nanos":524966881},"http":{"id":"041f70de-f6f1-4953-8104-4a499c1cab89","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","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-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","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-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","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-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","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-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","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-22T04:17:58Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:17:58Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"041f70de-f6f1-4953-8104-4a499c1cab89","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"41dac6de-9441-456f-8f31-475f689596b4","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41020","PortSpecifier":{"PortValue":41020}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"41dac6de-9441-456f-8f31-475f689596b4","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"41dac6de-9441-456f-8f31-475f689596b4","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41020","PortSpecifier":{"PortValue":41020}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693879,"nanos":564521406},"http":{"id":"41dac6de-9441-456f-8f31-475f689596b4","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"41dac6de-9441-456f-8f31-475f689596b4","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"41dac6de-9441-456f-8f31-475f689596b4","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"41dac6de-9441-456f-8f31-475f689596b4","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"41dac6de-9441-456f-8f31-475f689596b4","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"41dac6de-9441-456f-8f31-475f689596b4","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"41dac6de-9441-456f-8f31-475f689596b4","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"41dac6de-9441-456f-8f31-475f689596b4","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-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"41dac6de-9441-456f-8f31-475f689596b4","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-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"41dac6de-9441-456f-8f31-475f689596b4","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-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"41dac6de-9441-456f-8f31-475f689596b4","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"41dac6de-9441-456f-8f31-475f689596b4","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-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"41dac6de-9441-456f-8f31-475f689596b4","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-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"41dac6de-9441-456f-8f31-475f689596b4","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"41dac6de-9441-456f-8f31-475f689596b4","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"41dac6de-9441-456f-8f31-475f689596b4","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:17:59Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"41dac6de-9441-456f-8f31-475f689596b4","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"117f6aca-9e95-45cc-a881-522098fcef96","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41026","PortSpecifier":{"PortValue":41026}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"117f6aca-9e95-45cc-a881-522098fcef96","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"117f6aca-9e95-45cc-a881-522098fcef96","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41026","PortSpecifier":{"PortValue":41026}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693880,"nanos":601135804},"http":{"id":"117f6aca-9e95-45cc-a881-522098fcef96","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"117f6aca-9e95-45cc-a881-522098fcef96","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"117f6aca-9e95-45cc-a881-522098fcef96","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"117f6aca-9e95-45cc-a881-522098fcef96","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"117f6aca-9e95-45cc-a881-522098fcef96","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"117f6aca-9e95-45cc-a881-522098fcef96","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"117f6aca-9e95-45cc-a881-522098fcef96","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"117f6aca-9e95-45cc-a881-522098fcef96","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-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"117f6aca-9e95-45cc-a881-522098fcef96","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-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"117f6aca-9e95-45cc-a881-522098fcef96","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"117f6aca-9e95-45cc-a881-522098fcef96","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-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"117f6aca-9e95-45cc-a881-522098fcef96","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-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"117f6aca-9e95-45cc-a881-522098fcef96","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-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"117f6aca-9e95-45cc-a881-522098fcef96","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"117f6aca-9e95-45cc-a881-522098fcef96","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"117f6aca-9e95-45cc-a881-522098fcef96","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:18:00Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"117f6aca-9e95-45cc-a881-522098fcef96","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3d921160-73d3-4479-8401-63c00766328e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41034","PortSpecifier":{"PortValue":41034}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"3d921160-73d3-4479-8401-63c00766328e","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3d921160-73d3-4479-8401-63c00766328e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41034","PortSpecifier":{"PortValue":41034}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693881,"nanos":654521950},"http":{"id":"3d921160-73d3-4479-8401-63c00766328e","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"3d921160-73d3-4479-8401-63c00766328e","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3d921160-73d3-4479-8401-63c00766328e","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3d921160-73d3-4479-8401-63c00766328e","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3d921160-73d3-4479-8401-63c00766328e","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3d921160-73d3-4479-8401-63c00766328e","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"3d921160-73d3-4479-8401-63c00766328e","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3d921160-73d3-4479-8401-63c00766328e","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-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3d921160-73d3-4479-8401-63c00766328e","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-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3d921160-73d3-4479-8401-63c00766328e","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-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3d921160-73d3-4479-8401-63c00766328e","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3d921160-73d3-4479-8401-63c00766328e","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-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3d921160-73d3-4479-8401-63c00766328e","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-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3d921160-73d3-4479-8401-63c00766328e","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3d921160-73d3-4479-8401-63c00766328e","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3d921160-73d3-4479-8401-63c00766328e","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:18:01Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3d921160-73d3-4479-8401-63c00766328e","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41050","PortSpecifier":{"PortValue":41050}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"2459541a-5062-4ba9-b9d5-194710bc6614","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41050","PortSpecifier":{"PortValue":41050}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693882,"nanos":694834488},"http":{"id":"2459541a-5062-4ba9-b9d5-194710bc6614","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","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-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","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-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","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-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","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-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","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-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:18:02Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"2459541a-5062-4ba9-b9d5-194710bc6614","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"77c52b23-777e-4320-849d-b4b38b35df38","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41062","PortSpecifier":{"PortValue":41062}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"77c52b23-777e-4320-849d-b4b38b35df38","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"77c52b23-777e-4320-849d-b4b38b35df38","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41062","PortSpecifier":{"PortValue":41062}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693883,"nanos":743976728},"http":{"id":"77c52b23-777e-4320-849d-b4b38b35df38","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"77c52b23-777e-4320-849d-b4b38b35df38","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"77c52b23-777e-4320-849d-b4b38b35df38","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"77c52b23-777e-4320-849d-b4b38b35df38","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"77c52b23-777e-4320-849d-b4b38b35df38","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"77c52b23-777e-4320-849d-b4b38b35df38","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"77c52b23-777e-4320-849d-b4b38b35df38","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"77c52b23-777e-4320-849d-b4b38b35df38","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-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"77c52b23-777e-4320-849d-b4b38b35df38","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-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"77c52b23-777e-4320-849d-b4b38b35df38","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"77c52b23-777e-4320-849d-b4b38b35df38","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-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"77c52b23-777e-4320-849d-b4b38b35df38","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-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"77c52b23-777e-4320-849d-b4b38b35df38","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"77c52b23-777e-4320-849d-b4b38b35df38","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-22T04:18:03Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"77c52b23-777e-4320-849d-b4b38b35df38","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"77c52b23-777e-4320-849d-b4b38b35df38","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:18:03Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"77c52b23-777e-4320-849d-b4b38b35df38","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41070","PortSpecifier":{"PortValue":41070}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41070","PortSpecifier":{"PortValue":41070}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693884,"nanos":778486943},"http":{"id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","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-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","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-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","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-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","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-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","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-22T04:18:04Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:18:04Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5ea24f1c-f1b1-4b66-95b0-ed3dcc3c208a","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41076","PortSpecifier":{"PortValue":41076}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"3f218245-57c4-4939-80ba-69d03beed7cc","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41076","PortSpecifier":{"PortValue":41076}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693885,"nanos":813992863},"http":{"id":"3f218245-57c4-4939-80ba-69d03beed7cc","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","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-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","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-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","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-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","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-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","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-22T04:18:05Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:18:05Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"3f218245-57c4-4939-80ba-69d03beed7cc","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41084","PortSpecifier":{"PortValue":41084}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41084","PortSpecifier":{"PortValue":41084}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693886,"nanos":847954910},"http":{"id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","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-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","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-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","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-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","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-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","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-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:18:06Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5ea77231-7472-44ec-b7a8-94e5afa9775d","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41086","PortSpecifier":{"PortValue":41086}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41086","PortSpecifier":{"PortValue":41086}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693887,"nanos":886405340},"http":{"id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","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-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","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-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","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-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","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-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","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-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:18:07Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"31690f4f-cadc-4bd8-bee1-d298899eca0e","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41098","PortSpecifier":{"PortValue":41098}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"76a6746c-1d77-488d-ae5a-130daf652eb2","method":"POST","path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions","host":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:41098","PortSpecifier":{"PortValue":41098}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.60:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693888,"nanos":946009146},"http":{"id":"76a6746c-1d77-488d-ae5a-130daf652eb2","method":"POST","headers":{":authority":"e2e-shared-a-dd1671.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6"} {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-EcKXxjlwiCsxMvgf_jt6QhX2WLc8QNhYCjD3RsOAHPrlTjV2EvFjKbhDWvG6\"}"} {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","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-dd1671.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":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","subscription":"e2e-rate-iso-a-1134f5","tenant":"e2e-shared-a-dd1671","userId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-dd1671.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-dd1671/rate-test-model-dd1671\",\"requestedSubscription\":\"e2e-rate-iso-a-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","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-dd1671.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-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"}} {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","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-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","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-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","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-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-a-dd1671/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-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","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-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","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-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyId","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"selected_subscription","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"fb60f6bf-bd2b-45c5-9485-e5a592729577","keyName":"e2e-rate-a-1134f5","selected_subscription":"e2e-rate-iso-a-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-a-dd1671/e2e-rate-iso-a-1134f5@ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-dd1671","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-1134f5","namespace":"ai-tenant-e2e-shared-a-dd1671","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-a-dd1671/rate-test-model-dd1671"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"76a6746c-1d77-488d-ae5a-130daf652eb2","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:39720","PortSpecifier":{"PortValue":39720}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","method":"POST","path":"/ai-tenant-e2e-shared-b-38610b/rate-test-model-38610b/v1/completions","host":"e2e-shared-b-38610b.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.13:39720","PortSpecifier":{"PortValue":39720}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.61:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1784693888,"nanos":978033718},"http":{"id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","method":"POST","headers":{":authority":"e2e-shared-b-38610b.apps.a4e64f71-0acc-4a4a-8127-e824959af2ef.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-b-38610b/rate-test-model-38610b/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-YYWKKtgz9O9RWz9a_aPPOyl5SrkewG61BGl9UJ7dMUCbnPLLlXcYVp1CXQVI"} {"level":"debug","ts":"2026-07-22T04:18:08Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-b-38610b.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-YYWKKtgz9O9RWz9a_aPPOyl5SrkewG61BGl9UJ7dMUCbnPLLlXcYVp1CXQVI\"}"} {"level":"debug","ts":"2026-07-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","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-38610b.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":"bc8d259d-7a4e-42e1-82e7-1228b3779dab","keyName":"e2e-rate-b-1134f5","subscription":"e2e-rate-iso-b-1134f5","tenant":"e2e-shared-b-38610b","userId":"bc8d259d-7a4e-42e1-82e7-1228b3779dab","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-b-38610b.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-38610b/rate-test-model-38610b\",\"requestedSubscription\":\"e2e-rate-iso-b-1134f5\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","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-38610b.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-38610b","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-1134f5","namespace":"ai-tenant-e2e-shared-b-38610b","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-b-38610b/rate-test-model-38610b"}} {"level":"debug","ts":"2026-07-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","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-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","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-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-38610b/rate-test-model-38610b\":{\"users\":null,\"groups\":[\"system:authenticated\"]},\"publishers/ai-tenant-e2e-shared-b-38610b/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-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","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-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","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-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","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-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","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-1134f5"} {"level":"debug","ts":"2026-07-22T04:18:09Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"groups","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":"bc8d259d-7a4e-42e1-82e7-1228b3779dab","keyName":"e2e-rate-b-1134f5","selected_subscription":"e2e-rate-iso-b-1134f5","selected_subscription_key":"ai-tenant-e2e-shared-b-38610b/e2e-rate-iso-b-1134f5@ai-tenant-e2e-shared-b-38610b/rate-test-model-38610b","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-38610b","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-1134f5","namespace":"ai-tenant-e2e-shared-b-38610b","phase":"Active","ready":true,"resolvedModel":"ai-tenant-e2e-shared-b-38610b/rate-test-model-38610b"},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-22T04:18:09Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-22T04:18:09Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"27dfcb12-3775-4e01-a8ba-6cf3773853b3","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-22T04:18:14Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/56f4493cba43bef3828a764a11e644a24246a2b9d6dd3e4174f23f637cb68924"} {"level":"info","ts":"2026-07-22T04:18:14Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/4db610429cf08a3edcbfc9195a743512bcfa424609d0fd6a1dfdf278b8b99c49"} {"level":"info","ts":"2026-07-22T04:18:14Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/33f564be7d5eae36ca428274803831c71f6ea9d65bdb784ff45927c9737010aa"} {"level":"info","ts":"2026-07-22T04:18:14Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/b93807c3545ed26cc82b3c2644a5b056f4db5c948a4dc9b0646587071a3a6783"} {"level":"info","ts":"2026-07-22T04:18:14Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/c664a829ea8b02fcd40e5da1d4d0a59b427c63deebc9b641d8bcf5c5a89aecd7"} {"level":"info","ts":"2026-07-22T04:18:14Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/d1e3cc110a54858c66776106994db461774f556ba2d1cd9bae2283658310fd03"} {"level":"info","ts":"2026-07-22T04:18:14Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/0f12f87990c117828110247838f7dde8e68687f4dbd3c91f0c345be93f1bffd6"} {"level":"info","ts":"2026-07-22T04:18:14Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/4cb91deb5294b32b8b342d2449e970d2ad2494a79a97c45645d9f59aed3d7180"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/b5043884044a4d4172d1f5d59705782339b255df6ae5c18f17a6b86b683ef739"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/556acf23f2d24ddffd0caf20ec2097f2d4d36d0a4cd9adb8b423eaacb6f73be3"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/576145c34970595258c11ed536f327904a340d543c0f2941856d51ef0549a993"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/e2cb8eddf3c434c9d6c300aa8afbbfcb692d8f268f0c1c3f13f2be318f985b7f"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/1022f27ccbab682eacf9ef192085aadc2359e567775f7167dc6611f00e3615ed"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/bbb4ea2ca4a782fd5f5702632fd1371cb9d1b68d1fb1505c1290d70ab31c6d21"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/8a267dbb0e309ba697be92b03645e7fb5ed1839151170f15a7193247a81245df"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/da0c0678ced36e288ac208f27e038c966afd5ffbdb6355e6676a5648f6f7bc70"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/20a300f0d3cbdc139b69566e838cc01cf48bfdaca9075d78a3a19cc13000f67e"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/67c5de7fd2997faafad11d668a8e97a34e1b3d416304fd5f20d877329df536a3"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/f805753dd916c9737e8fe90352ff49c16597d1350398a106782a7f7e1690a1fd"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/d6c4263b7d009c59fdaebe51f1d66d37443e4a842062d380455c28afa0a911b4"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/9aaf4c172da06cc517baefe6a365944c0f3c74abd694620413ba73f63158bf0b"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/3e4e547a3859d4dd5d555a844fd33d6b5ec8b386579f0b64b662b8f77ae88505"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/cc3254a41c43f259a823f2f11d7618cfd2a3b3e0593f0fe6c7f0bede67ada570"} {"level":"info","ts":"2026-07-22T04:18:15Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/b7d6c5035e6354100e79221640eb49ea014590480803283cca6af3e9ee8109ee"}