{"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/70508f115f81fb7d6e6e3377a78575299210f9eebc87390e1b23f30bfdd81943"} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae"} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae"} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939"} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939"} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae"} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939"} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"2ca90158f872debb077fe05b0b46ef95bd12c397db2e25cd2a36cbac50ca466e","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4"} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ab4f62feeb10fc19c6390bd03c9f78ba4a8cdd74a0a2b55b22c45f6d1c02179f","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/2ca90158f872debb077fe05b0b46ef95bd12c397db2e25cd2a36cbac50ca466e"} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4"} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-10T23:39:24Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ab4f62feeb10fc19c6390bd03c9f78ba4a8cdd74a0a2b55b22c45f6d1c02179f"} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"1876279ad6733a0da73bb49c1a2a72ef357f0d538171038ce5de8b8e83cd9070","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4"} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"749a0c815b6c37c936be65c83ec70b6602c14651460e21640919ac6dcdb6ea29","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"7bd9be008cf9ecf3b1162c2047a8e18850bda03c0b79c4ff4ff3ceed633d76aa","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/1876279ad6733a0da73bb49c1a2a72ef357f0d538171038ce5de8b8e83cd9070"} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/749a0c815b6c37c936be65c83ec70b6602c14651460e21640919ac6dcdb6ea29"} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/7bd9be008cf9ecf3b1162c2047a8e18850bda03c0b79c4ff4ff3ceed633d76aa"} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"dcd1916e38a4d2d5f014f742b8568a17dc2658d6ba614aafb41bdd3b1d646077","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"0502cab57f2e6e935d11f23eb9a7f7d87978ac5e888223f9db51f58e4bff515e","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:24Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/dcd1916e38a4d2d5f014f742b8568a17dc2658d6ba614aafb41bdd3b1d646077"} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"f8cb0d6d4819bf5bca55bd26921050b6a41ea03fc552e7ce8e7dd7a595cea23f","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/0502cab57f2e6e935d11f23eb9a7f7d87978ac5e888223f9db51f58e4bff515e"} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ee993b1211560602c4ce465cbefa14b37a29212c458b24cc8faf08ef65334ce5","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/f8cb0d6d4819bf5bca55bd26921050b6a41ea03fc552e7ce8e7dd7a595cea23f"} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ee993b1211560602c4ce465cbefa14b37a29212c458b24cc8faf08ef65334ce5"} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-10T23:39:25Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-10T23:39:25Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"092cb73727887ad7c27b710c5f4116f032fc471842210c2b83054894778d69cc","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881"} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ea62f3ef43d16d3b6bb0398024efbcef97b8f40e8223c10f31590045b415f2b7","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-10T23:39:25Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-10T23:39:25Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/092cb73727887ad7c27b710c5f4116f032fc471842210c2b83054894778d69cc"} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"66ddc5731ae554c5347af3725b132a43f21f15b4ae7e071b55cbf98a7dd3034d","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"False","lastTransitionTime":"2026-07-10T23:39:25Z","reason":"HostsNotLinked","message":"No hosts linked to the resource"},{"type":"Ready","status":"False","lastTransitionTime":"2026-07-10T23:39:25Z","reason":"Reconciling"}],"summary":{"ready":false,"hostsReady":[],"numHostsReady":"0/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"7e7aa85a167b2b21775bf2ecbc90ab7f8108f9826cca64e4c49729dab7bfee55","namespace":"kuadrant-system"}} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881"} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status changed","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"},"authconfig/status":{"conditions":[{"type":"Available","status":"True","lastTransitionTime":"2026-07-10T23:39:25Z","reason":"HostsLinked"},{"type":"Ready","status":"True","lastTransitionTime":"2026-07-10T23:39:25Z","reason":"Reconciled"}],"summary":{"ready":true,"hostsReady":["a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881"],"numHostsReady":"1/1","numIdentitySources":2,"numMetadataSources":2,"numAuthorizationPolicies":4,"numResponseItems":6,"festivalWristbandEnabled":false}}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status updated","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ea62f3ef43d16d3b6bb0398024efbcef97b8f40e8223c10f31590045b415f2b7"} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/66ddc5731ae554c5347af3725b132a43f21f15b4ae7e071b55cbf98a7dd3034d"} {"level":"debug","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig.statusupdater","msg":"resource status did not change","authconfig":{"name":"ec40c95ccb38893d69cb9bd3e3461ebd28e4617d2196ef2b615058c08e1724fa","namespace":"kuadrant-system"}} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/7e7aa85a167b2b21775bf2ecbc90ab7f8108f9826cca64e4c49729dab7bfee55"} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881"} {"level":"info","ts":"2026-07-10T23:39:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource reconciled","authconfig":"kuadrant-system/ec40c95ccb38893d69cb9bd3e3461ebd28e4617d2196ef2b615058c08e1724fa"} {"level":"info","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54906","PortSpecifier":{"PortValue":54906}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54906","PortSpecifier":{"PortValue":54906}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726768,"nanos":263836600},"http":{"id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","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":"2bbdbe40-dbcb-405a-9c35-59705a3e3101","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=1efdf5fb-4d4e-4aac-840a-ec2dd65e978d"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/60555e7ce252"]}} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/60555e7ce252"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=1efdf5fb-4d4e-4aac-840a-ec2dd65e978d"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"2bbdbe40-dbcb-405a-9c35-59705a3e3101","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"2ca90158f872debb077fe05b0b46ef95bd12c397db2e25cd2a36cbac50ca466e"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.52:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","config":{"Name":"X-MaaS-Group-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","config":{"Name":"X-MaaS-Username-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"info","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"52f27dea-d9c9-4983-a525-eb86e6f065cf","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:34244","PortSpecifier":{"PortValue":34244}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.53:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-27111a.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:34244","PortSpecifier":{"PortValue":34244}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.53:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726768,"nanos":305195897},"http":{"id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","method":"POST","headers":{":authority":"e2e-shared-b-27111a.apps.61502759-dd75-45ea-943f-60555e7ce252.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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","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":"2bbdbe40-dbcb-405a-9c35-59705a3e3101","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=1efdf5fb-4d4e-4aac-840a-ec2dd65e978d"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/60555e7ce252"]}} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/60555e7ce252"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=1efdf5fb-4d4e-4aac-840a-ec2dd65e978d"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"2bbdbe40-dbcb-405a-9c35-59705a3e3101","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"749a0c815b6c37c936be65c83ec70b6602c14651460e21640919ac6dcdb6ea29"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.53:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-27111a.apps.61502759-dd75-45ea-943f-60555e7ce252.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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-27111a/rate-test-model-27111a\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","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-10T23:39:28Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"48559d32-ce50-47bc-a5b0-6eaa9f5be422","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54912","PortSpecifier":{"PortValue":54912}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54912","PortSpecifier":{"PortValue":54912}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726768,"nanos":346156851},"http":{"id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM"} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM\"}"} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","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-f5848c.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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","subscription":"e2e-rate-iso-a-a2f85f","tenant":"e2e-shared-a-f5848c","userId":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-a2f85f\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","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-a2f85f"} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","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-10T23:39:28Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","selected_subscription":"e2e-rate-iso-a-a2f85f","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-a2f85f@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:28Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"7ae31ba0-900a-4066-af13-10f5c0d7f39e","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54928","PortSpecifier":{"PortValue":54928}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54928","PortSpecifier":{"PortValue":54928}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726769,"nanos":405090291},"http":{"id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM"} {"level":"debug","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM\"}"} {"level":"debug","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","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-f5848c.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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","subscription":"e2e-rate-iso-a-a2f85f","tenant":"e2e-shared-a-f5848c","userId":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-a2f85f\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","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-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","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-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","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-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","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-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","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-a2f85f"} {"level":"debug","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","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-10T23:39:29Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","selected_subscription":"e2e-rate-iso-a-a2f85f","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-a2f85f@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:29Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"9199fafe-e5be-4015-95b7-e2164ef31f8b","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54938","PortSpecifier":{"PortValue":54938}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54938","PortSpecifier":{"PortValue":54938}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726770,"nanos":443110907},"http":{"id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM"} {"level":"debug","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM\"}"} {"level":"debug","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","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-f5848c.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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","subscription":"e2e-rate-iso-a-a2f85f","tenant":"e2e-shared-a-f5848c","userId":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-a2f85f\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","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-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","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-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","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-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","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-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","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-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","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-a2f85f"} {"level":"debug","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","selected_subscription":"e2e-rate-iso-a-a2f85f","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-a2f85f@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:30Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"0c0936a7-a2b2-4d19-a30d-8d0f7587a20c","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54946","PortSpecifier":{"PortValue":54946}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"6081af02-9f58-4b2c-9256-8892d41f5495","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:54946","PortSpecifier":{"PortValue":54946}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726771,"nanos":481028031},"http":{"id":"6081af02-9f58-4b2c-9256-8892d41f5495","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM"} {"level":"debug","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM\"}"} {"level":"debug","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","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-f5848c.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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","subscription":"e2e-rate-iso-a-a2f85f","tenant":"e2e-shared-a-f5848c","userId":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-a2f85f\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","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-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","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-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","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-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","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-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","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-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","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-a2f85f"} {"level":"debug","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","selected_subscription":"e2e-rate-iso-a-a2f85f","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-a2f85f@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:31Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"6081af02-9f58-4b2c-9256-8892d41f5495","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:47064","PortSpecifier":{"PortValue":47064}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"423a7963-2ea0-4d2b-9581-58138b41a520","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:47064","PortSpecifier":{"PortValue":47064}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726772,"nanos":522462538},"http":{"id":"423a7963-2ea0-4d2b-9581-58138b41a520","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM"} {"level":"debug","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM\"}"} {"level":"debug","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","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-f5848c.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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","subscription":"e2e-rate-iso-a-a2f85f","tenant":"e2e-shared-a-f5848c","userId":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-a2f85f\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","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-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","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-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","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-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","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-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","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-a2f85f"} {"level":"debug","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","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-10T23:39:32Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","selected_subscription":"e2e-rate-iso-a-a2f85f","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-a2f85f@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:32Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"423a7963-2ea0-4d2b-9581-58138b41a520","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:47080","PortSpecifier":{"PortValue":47080}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:47080","PortSpecifier":{"PortValue":47080}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726773,"nanos":564945543},"http":{"id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM"} {"level":"debug","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM\"}"} {"level":"debug","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","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-f5848c.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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","subscription":"e2e-rate-iso-a-a2f85f","tenant":"e2e-shared-a-f5848c","userId":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-a2f85f\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","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-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","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-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","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-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","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-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","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-a2f85f"} {"level":"debug","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","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-10T23:39:33Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","selected_subscription":"e2e-rate-iso-a-a2f85f","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-a2f85f@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:33Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1489c719-cd85-4bdb-814c-d7ffb5ec6491","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:47094","PortSpecifier":{"PortValue":47094}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:47094","PortSpecifier":{"PortValue":47094}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726774,"nanos":601498002},"http":{"id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM"} {"level":"debug","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-111hk0JmKEiTf2pWu_91aFGuE2yj2Ay8VroxAyd84quNr4nCBw7voR7jG09bM\"}"} {"level":"debug","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","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-f5848c.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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","subscription":"e2e-rate-iso-a-a2f85f","tenant":"e2e-shared-a-f5848c","userId":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-a2f85f\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","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-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","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-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","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-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","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-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","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-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","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-a2f85f"} {"level":"debug","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"a0fa27ef-ef2f-444c-a6f0-05fdb6d6b83a","keyName":"e2e-rate-a-a2f85f","selected_subscription":"e2e-rate-iso-a-a2f85f","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-a2f85f@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-a2f85f","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:34Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5fb2a58d-7845-452f-9851-9c0e8411fd3d","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40302","PortSpecifier":{"PortValue":40302}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"28efdc28-053f-447f-b095-f2e72ee568ca","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40302","PortSpecifier":{"PortValue":40302}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726783,"nanos":387424935},"http":{"id":"28efdc28-053f-447f-b095-f2e72ee568ca","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","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":"2bbdbe40-dbcb-405a-9c35-59705a3e3101","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=1efdf5fb-4d4e-4aac-840a-ec2dd65e978d"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/60555e7ce252"]}} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/60555e7ce252"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=1efdf5fb-4d4e-4aac-840a-ec2dd65e978d"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"2bbdbe40-dbcb-405a-9c35-59705a3e3101","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"2ca90158f872debb077fe05b0b46ef95bd12c397db2e25cd2a36cbac50ca466e"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.52:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyName","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","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-10T23:39:43Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"28efdc28-053f-447f-b095-f2e72ee568ca","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:58596","PortSpecifier":{"PortValue":58596}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.53:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","method":"POST","path":"/maas-api/v1/api-keys","host":"e2e-shared-b-27111a.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:58596","PortSpecifier":{"PortValue":58596}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.53:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726783,"nanos":446854548},"http":{"id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","method":"POST","headers":{":authority":"e2e-shared-b-27111a.apps.61502759-dd75-45ea-943f-60555e7ce252.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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.identity.kubernetesauth","msg":"calling kubernetes token review api","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","tokenreview":{"name":""}} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","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":"2bbdbe40-dbcb-405a-9c35-59705a3e3101","groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"extra":{"authentication.kubernetes.io/credential-id":["JTI=1efdf5fb-4d4e-4aac-840a-ec2dd65e978d"]}},"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/60555e7ce252"]}} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","input":{"auth":{"identity":{"audiences":["https://prod-eaas-bucket.s3.us-east-1.amazonaws.com/60555e7ce252"],"authenticated":true,"user":{"extra":{"authentication.kubernetes.io/credential-id":["JTI=1efdf5fb-4d4e-4aac-840a-ec2dd65e978d"]},"groups":["system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"uid":"2bbdbe40-dbcb-405a-9c35-59705a3e3101","username":"system:serviceaccount:default:tester-regular-user"}}},"context":{"context_extensions":{"host":"749a0c815b6c37c936be65c83ec70b6602c14651460e21640919ac6dcdb6ea29"},"destination":{"address":{"Address":{"SocketAddress":{"PortSpecifier":{"PortValue":443},"address":"10.132.0.53:443"}}}},"metadata_context":{},"request":{"http":{"headers":{":authority":"e2e-shared-b-27111a.apps.61502759-dd75-45ea-943f-60555e7ce252.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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-27111a/rate-test-model-27111a\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"cannot build dynamic response","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"keyId","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyName","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"groups","Value":{}}]},"Plain":null},"reason":"no such key: metadata"} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","config":{"Name":"X-MaaS-Group-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Group","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"[\"system:authenticated\",\"system:serviceaccounts\",\"system:serviceaccounts:default\",\"system:authenticated\"]"} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","config":{"Name":"X-MaaS-Username-Token","Priority":1,"Conditions":{"Left":{},"Right":{"Left":null,"Right":null}},"Wrapper":"httpHeader","WrapperKey":"X-MaaS-Username","Metrics":false,"Cache":null,"Wristband":null,"DynamicJSON":null,"Plain":{"Value":{}}},"object":"system:serviceaccount:default:tester-regular-user"} {"level":"info","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"e6e52ee9-6188-43ad-93c6-d55fb2ca77ed","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40304","PortSpecifier":{"PortValue":40304}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40304","PortSpecifier":{"PortValue":40304}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726783,"nanos":491424215},"http":{"id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","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-10T23:39:43Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:43Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"4dd10665-41c4-4b99-9aad-451c1f8bd204","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40306","PortSpecifier":{"PortValue":40306}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"1998ee63-067a-4dc5-a57d-e6673a63b914","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40306","PortSpecifier":{"PortValue":40306}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726784,"nanos":526353318},"http":{"id":"1998ee63-067a-4dc5-a57d-e6673a63b914","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","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-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","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-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","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-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","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-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","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-10T23:39:44Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:44Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1998ee63-067a-4dc5-a57d-e6673a63b914","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40310","PortSpecifier":{"PortValue":40310}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"c360aa74-5d65-4404-8c36-f7830fd97b56","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40310","PortSpecifier":{"PortValue":40310}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726785,"nanos":564435037},"http":{"id":"c360aa74-5d65-4404-8c36-f7830fd97b56","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","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-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","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-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","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-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","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-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","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-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:45Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"c360aa74-5d65-4404-8c36-f7830fd97b56","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40326","PortSpecifier":{"PortValue":40326}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40326","PortSpecifier":{"PortValue":40326}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726786,"nanos":604279162},"http":{"id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","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-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","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-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","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-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","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-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","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-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:46Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"1de1eb86-cd4b-4343-a280-1f0877ee61c2","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40340","PortSpecifier":{"PortValue":40340}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40340","PortSpecifier":{"PortValue":40340}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726787,"nanos":644669812},"http":{"id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","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-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","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-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","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-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","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-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","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-10T23:39:47Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:47Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"5fc67e29-8807-4d17-9e9f-32c5d50977b0","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40348","PortSpecifier":{"PortValue":40348}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40348","PortSpecifier":{"PortValue":40348}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726788,"nanos":682211765},"http":{"id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","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-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","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-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","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-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","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-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","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-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:48Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"a6efb22d-b85b-40db-86b9-eb5a7b501133","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"41328888-4466-46d7-833a-11c39ea51db0","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40350","PortSpecifier":{"PortValue":40350}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"41328888-4466-46d7-833a-11c39ea51db0","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"41328888-4466-46d7-833a-11c39ea51db0","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40350","PortSpecifier":{"PortValue":40350}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726789,"nanos":725013139},"http":{"id":"41328888-4466-46d7-833a-11c39ea51db0","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"41328888-4466-46d7-833a-11c39ea51db0","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"41328888-4466-46d7-833a-11c39ea51db0","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"41328888-4466-46d7-833a-11c39ea51db0","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"41328888-4466-46d7-833a-11c39ea51db0","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"41328888-4466-46d7-833a-11c39ea51db0","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"41328888-4466-46d7-833a-11c39ea51db0","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"41328888-4466-46d7-833a-11c39ea51db0","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-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"41328888-4466-46d7-833a-11c39ea51db0","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-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"41328888-4466-46d7-833a-11c39ea51db0","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-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"41328888-4466-46d7-833a-11c39ea51db0","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"41328888-4466-46d7-833a-11c39ea51db0","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-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"41328888-4466-46d7-833a-11c39ea51db0","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"41328888-4466-46d7-833a-11c39ea51db0","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-10T23:39:49Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"41328888-4466-46d7-833a-11c39ea51db0","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"41328888-4466-46d7-833a-11c39ea51db0","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:49Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"41328888-4466-46d7-833a-11c39ea51db0","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40356","PortSpecifier":{"PortValue":40356}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"d9091d2d-28a9-4c66-9939-220471f7ace2","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:40356","PortSpecifier":{"PortValue":40356}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726790,"nanos":762517033},"http":{"id":"d9091d2d-28a9-4c66-9939-220471f7ace2","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","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-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","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-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","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-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","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-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","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-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:50Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"d9091d2d-28a9-4c66-9939-220471f7ace2","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:34332","PortSpecifier":{"PortValue":34332}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:34332","PortSpecifier":{"PortValue":34332}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726791,"nanos":801259971},"http":{"id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","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-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","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-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","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-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","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-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","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-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:51Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"cffe6e16-08a9-4b64-9fd0-d916fddddd15","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:34336","PortSpecifier":{"PortValue":34336}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:34336","PortSpecifier":{"PortValue":34336}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726792,"nanos":838161678},"http":{"id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","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-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","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-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","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-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","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-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","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-10T23:39:52Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:52Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"2718edad-e4b7-4bbc-8944-0858aeb9ee14","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:34340","PortSpecifier":{"PortValue":34340}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"987579ce-27bf-4626-b4fa-7b9c535fda77","method":"POST","path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions","host":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:34340","PortSpecifier":{"PortValue":34340}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.52:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726793,"nanos":882488814},"http":{"id":"987579ce-27bf-4626-b4fa-7b9c535fda77","method":"POST","headers":{":authority":"e2e-shared-a-f5848c.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW"} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-MnxmOoUTXASt5x0M_M9EeTtwy3g7SFs7Yi1cabNmtCkjzMji0iaXrHybGcnW\"}"} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","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-f5848c.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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","subscription":"e2e-rate-iso-a-ca5d1a","tenant":"e2e-shared-a-f5848c","userId":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-a-f5848c.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-f5848c/rate-test-model-f5848c\",\"requestedSubscription\":\"e2e-rate-iso-a-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","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-f5848c.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-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","config":{"Name":"identity","Priority":0,"Conditions":{"Left":null,"Right":null},"Wrapper":"envoyDynamicMetadata","WrapperKey":"identity","Metrics":true,"Cache":null,"Wristband":null,"DynamicJSON":{"Properties":[{"Name":"groups_str","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"keyName","Value":{}},{"Name":"selected_subscription","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error","Value":{}},{"Name":"keyId","Value":{}},{"Name":"subscription_error_message","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":"b9c08977-c5de-4008-9e56-6d8e3b6dde47","keyName":"e2e-rate-a-ca5d1a","selected_subscription":"e2e-rate-iso-a-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-a-f5848c/e2e-rate-iso-a-ca5d1a@ai-tenant-e2e-shared-a-f5848c/rate-test-model-f5848c","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-f5848c","source":"internal","token_rate_limits":[{"limit":3,"window":"1m"}]}],"name":"e2e-rate-iso-a-ca5d1a","namespace":"ai-tenant-e2e-shared-a-f5848c","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"987579ce-27bf-4626-b4fa-7b9c535fda77","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:36268","PortSpecifier":{"PortValue":36268}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.53:443","PortSpecifier":{"PortValue":443}}}}},"request":{"http":{"id":"f6b087c0-e34e-4273-af3b-bfcea736310e","method":"POST","path":"/ai-tenant-e2e-shared-b-27111a/rate-test-model-27111a/v1/completions","host":"e2e-shared-b-27111a.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com","scheme":"https"}}}} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth","msg":"incoming authorization request","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","object":{"source":{"address":{"Address":{"SocketAddress":{"address":"10.133.0.9:36268","PortSpecifier":{"PortValue":36268}}}}},"destination":{"address":{"Address":{"SocketAddress":{"address":"10.132.0.53:443","PortSpecifier":{"PortValue":443}}}}},"request":{"time":{"seconds":1783726793,"nanos":925516663},"http":{"id":"f6b087c0-e34e-4273-af3b-bfcea736310e","method":"POST","headers":{":authority":"e2e-shared-b-27111a.apps.61502759-dd75-45ea-943f-60555e7ce252.prod.konfluxeaas.com",":method":"POST",":path":"/ai-tenant-e2e-shared-b-27111a/rate-test-model-27111a/v1/completions",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.identity","msg":"identity validated","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","config":{"Name":"api-keys","Priority":0,"Conditions":{"Left":{"Selector":"request.headers.authorization","Operator":5,"Value":"^Bearer **** sk-oai-v8A0PCMsfAAeih5m_SfcpvihZsUbcztTFwHJzMAR2V2k8Nx4Nd91InruTlwi"} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","config":"apiKeyValidation","method":"POST","url":"https://maas-api-e2e-shared-b-27111a.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/api-keys/validate","headers":{"Content-Type":["application/json"]},"body":"{\"key\":\"sk-oai-v8A0PCMsfAAeih5m_SfcpvihZsUbcztTFwHJzMAR2V2k8Nx4Nd91InruTlwi\"}"} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","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-27111a.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":"2448003c-79f4-4558-a67c-c84fae25b06c","keyName":"e2e-rate-b-ca5d1a","subscription":"e2e-rate-iso-b-ca5d1a","tenant":"e2e-shared-b-27111a","userId":"2448003c-79f4-4558-a67c-c84fae25b06c","username":"system:serviceaccount:default:tester-regular-user","valid":true}} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.metadata.http","msg":"sending request","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","config":"subscription-info","method":"POST","url":"https://maas-api-e2e-shared-b-27111a.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-27111a/rate-test-model-27111a\",\"requestedSubscription\":\"e2e-rate-iso-b-ca5d1a\",\"username\":\"system:serviceaccount:default:tester-regular-user\"}"} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.metadata","msg":"fetched auth metadata","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","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-27111a.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-27111a","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-ca5d1a","namespace":"ai-tenant-e2e-shared-b-27111a","phase":"Active","ready":true}} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"evaluating for input","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","input":{"auth":{"identity":"Bearer **** deflate","authorization":"Bearer **** deflate","authorization":"Bearer **** {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.authorization","msg":"access granted","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","config":{"Name":"require-group-membership","Priority":0,"Conditions":{"Left":null,"Right":null},"Metrics":false,"Cache":{},"OPA":{"Rego":"\nmodel_access := {\"ai-tenant-e2e-shared-b-27111a/rate-test-model-27111a\":{\"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\nraw_header_model_identity := object.get(request_headers, \"x-gateway-model-name\", \"\")\n\nheader_model_identity := sprintf(\"%s/%s\", [split(raw_header_model_identity, \"/\")[1], split(raw_header_model_identity, \"/\")[3]]) {\n\tstartswith(raw_header_model_identity, \"publishers/\")\n} else := raw_header_model_identity\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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","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-ca5d1a"} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","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-10T23:39:53Z","logger":"authorino.service.auth.authpipeline.response","msg":"dynamic response built","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","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","Value":{}},{"Name":"subscription_info","Value":{}},{"Name":"selected_subscription_key","Value":{}},{"Name":"subscription_error_message","Value":{}},{"Name":"userid","Value":{}},{"Name":"groups","Value":{}},{"Name":"groups_str","Value":{}},{"Name":"keyName","Value":{}},{"Name":"keyId","Value":{}}]},"Plain":null},"object":{"groups":["system:authenticated","system:serviceaccounts","system:serviceaccounts:default","system:authenticated"],"groups_str":"system:authenticated,system:serviceaccounts,system:serviceaccounts:default,system:authenticated","keyId":"2448003c-79f4-4558-a67c-c84fae25b06c","keyName":"e2e-rate-b-ca5d1a","selected_subscription":"e2e-rate-iso-b-ca5d1a","selected_subscription_key":"ai-tenant-e2e-shared-b-27111a/e2e-rate-iso-b-ca5d1a@ai-tenant-e2e-shared-b-27111a/rate-test-model-27111a","subscription_error":"","subscription_error_message":"","subscription_info":{"modelRefs":[{"name":"rate-test-model-27111a","source":"internal","token_rate_limits":[{"limit":100,"window":"1m"}]}],"name":"e2e-rate-iso-b-ca5d1a","namespace":"ai-tenant-e2e-shared-b-27111a","phase":"Active","ready":true},"userid":"system:serviceaccount:default:tester-regular-user"}} {"level":"info","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","authorized":true,"response":"OK"} {"level":"debug","ts":"2026-07-10T23:39:53Z","logger":"authorino.service.auth","msg":"outgoing authorization response","request id":"f6b087c0-e34e-4273-af3b-bfcea736310e","authorized":true,"response":"OK"} {"level":"info","ts":"2026-07-10T23:40:01Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/dcd1916e38a4d2d5f014f742b8568a17dc2658d6ba614aafb41bdd3b1d646077"} {"level":"info","ts":"2026-07-10T23:40:02Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ec40c95ccb38893d69cb9bd3e3461ebd28e4617d2196ef2b615058c08e1724fa"} {"level":"info","ts":"2026-07-10T23:40:02Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/1876279ad6733a0da73bb49c1a2a72ef357f0d538171038ce5de8b8e83cd9070"} {"level":"info","ts":"2026-07-10T23:40:02Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/cef42139e7e2eb864187d18398f4f579057dd92de722648061fde9179baa52ae"} {"level":"info","ts":"2026-07-10T23:40:02Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ab4f62feeb10fc19c6390bd03c9f78ba4a8cdd74a0a2b55b22c45f6d1c02179f"} {"level":"info","ts":"2026-07-10T23:40:02Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/8ce0f13f3dd38a8bac6dae00cb8833c0d520adbfe9a476bd24e41007a2ae53d1"} {"level":"info","ts":"2026-07-10T23:40:02Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/0502cab57f2e6e935d11f23eb9a7f7d87978ac5e888223f9db51f58e4bff515e"} {"level":"info","ts":"2026-07-10T23:40:02Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/8fbaf6ddb5fb5aba08fb192a1984626b7a770f1ef5bf1cb6a50b26bf9f178939"} {"level":"info","ts":"2026-07-10T23:40:08Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/1ed6be554d6fa3d6d9663826f86ff5ca05d6eb9b54223f98f1aa7f4ccdef70e4"} {"level":"info","ts":"2026-07-10T23:40:08Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/70508f115f81fb7d6e6e3377a78575299210f9eebc87390e1b23f30bfdd81943"} {"level":"info","ts":"2026-07-10T23:40:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/66ddc5731ae554c5347af3725b132a43f21f15b4ae7e071b55cbf98a7dd3034d"} {"level":"info","ts":"2026-07-10T23:40:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/092cb73727887ad7c27b710c5f4116f032fc471842210c2b83054894778d69cc"} {"level":"info","ts":"2026-07-10T23:40:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/70e6ec419e6115901319cb91f2f296a4894d621290098beb36550f8047283481"} {"level":"info","ts":"2026-07-10T23:40:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/b5c504977299a4abe354a76098fa21eb2db297734c9121963854e678667c334d"} {"level":"info","ts":"2026-07-10T23:40:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/a038fd92d18956788d69a60c2ba2635b09834b9ee975f4fad14481eb0a328881"} {"level":"info","ts":"2026-07-10T23:40:09Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/7e7aa85a167b2b21775bf2ecbc90ab7f8108f9826cca64e4c49729dab7bfee55"} {"level":"info","ts":"2026-07-10T23:40:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/457da8105329144dc475d6b726e543d3748d10eacb0d38fa0e0c04e19da78392"} {"level":"info","ts":"2026-07-10T23:40:19Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/7bd9be008cf9ecf3b1162c2047a8e18850bda03c0b79c4ff4ff3ceed633d76aa"} {"level":"info","ts":"2026-07-10T23:40:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ee993b1211560602c4ce465cbefa14b37a29212c458b24cc8faf08ef65334ce5"} {"level":"info","ts":"2026-07-10T23:40:20Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/2ca90158f872debb077fe05b0b46ef95bd12c397db2e25cd2a36cbac50ca466e"} {"level":"info","ts":"2026-07-10T23:40:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/810d52b4f1bca24188dcfb371a22596947d7dcd8b4fc58edea14f943f08ccedb"} {"level":"info","ts":"2026-07-10T23:40:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/ea62f3ef43d16d3b6bb0398024efbcef97b8f40e8223c10f31590045b415f2b7"} {"level":"info","ts":"2026-07-10T23:40:25Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/f8cb0d6d4819bf5bca55bd26921050b6a41ea03fc552e7ce8e7dd7a595cea23f"} {"level":"info","ts":"2026-07-10T23:40:26Z","logger":"authorino.controller-runtime.manager.controller.authconfig","msg":"resource de-indexed","authconfig":"kuadrant-system/749a0c815b6c37c936be65c83ec70b6602c14651460e21640919ac6dcdb6ea29"}