Commit a3394d2
test(auth): validate cache key selector is valid CEL
Add CEL syntax validation to the subscription cache key test. The
cache key selector is evaluated by Authorino as a CEL expression at
runtime, so a syntax error would cause subscription-info cache lookups
to fail silently.
Uses cel-go parser to verify the expression parses without errors.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3e19d3e commit a3394d2
File tree
3 files changed
+17
-0
lines changed- maas-controller
- pkg/controller/maas
3 files changed
+17
-0
lines changedFile mode changed.
File mode changed.
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
488 | 505 | | |
0 commit comments