nuke/lib/policy
Jason Cameron 93e2447ba2
fix(expression): add validation for empty expression list in CEL (#545)
* fix(expression): add validation for empty ExpressionOrList

Signed-off-by: Jason Cameron <git@jasoncameron.dev>

* fix(imports): block empty file imports with improved error checking logic

Signed-off-by: Jason Cameron <git@jasoncameron.dev>

* docs(expression): improve validation to error on empty CEL expressions

Signed-off-by: Jason Cameron <git@jasoncameron.dev>

---------

Signed-off-by: Jason Cameron <git@jasoncameron.dev>
2025-05-23 18:14:31 -04:00
..
config fix(expression): add validation for empty expression list in CEL (#545) 2025-05-23 18:14:31 -04:00
expressions style: apply structpack & goimport (#469) 2025-05-09 12:54:15 -04:00
testdata feat: enable loading config fragments (#321) 2025-04-23 07:01:28 -04:00
bot.go style: apply structpack & goimport (#469) 2025-05-09 12:54:15 -04:00
celchecker.go style: apply structpack & goimport (#469) 2025-05-09 12:54:15 -04:00
checker.go fix(config): remove trailing newlines in regexes (#373) 2025-04-26 14:01:15 +00:00
checker_test.go style: apply structpack & goimport (#469) 2025-05-09 12:54:15 -04:00
checkresult.go feat(lib): use Checker type instead of ad-hoc logic (#318) 2025-04-22 07:49:41 -04:00
policy.go feat(checker): add CEL for matching complicated expressions (#421) 2025-05-03 14:26:54 -04:00
policy_test.go Refactor and split out things into cmd and lib (#77) 2025-03-22 18:44:49 -04:00