Files
releases/cmd
Torin Sandall ce9db831ed cmd: Add --fail-defined flag to eval subcommand
The eval subcommand currently supports a --fail flag that causes the
subcommand to exit with a non-zero status when the query result is
undefined. While this is useful in some cases, runners often want to
see an error message explaining _why_ the exit status is
non-zero. Since the query result is undefined, policy authors can't
surface information in the result set

With these changes, the eval subcommand includes a new --fail-defined
flag has the opposite behaviour: exit with non-zero status if the
query result is defined/non-empty. This works well for deny lists that
are commonly found in admission use cases.

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2019-03-05 09:44:15 -08:00
..
2018-07-02 09:19:15 -07:00
2017-03-12 12:04:35 -07:00
2018-08-21 10:47:46 -07:00
2016-08-02 16:57:15 -07:00
2017-09-14 08:35:39 -07:00
2019-02-15 08:00:22 -08:00