-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Short description
I just upgraded to OPA 1.7.1 via Homebrew, and when I tried to run opa exec with the --stdin-input flag, it complained that the flag was unknown. I didn't see where the flag was removed on purpose, and opa eval seems to still have it. And, the usage message still includes it.
opa exec --decision <DECISION_PATh> -b bundle --stdin-input
Error: unknown flag: --stdin-input
Usage:
opa exec <path> [<path> [...]] [flags]
Examples:
Loading input from stdin:
opa exec [<path> [...]] --stdin-input [flags]
OPA version:
opa version
Version: 1.7.1
Build Commit:
Build Timestamp:
Build Hostname:
Go Version: go1.24.5
Platform: darwin/arm64
Rego Version: v1
WebAssembly: unavailable
List of flags from opa exec help, where --stdin-input is no longer listed:
Flags:
-b, --bundle string set bundle file(s) or directory path(s). This flag can be repeated.
-c, --config-file string set path of configuration file
--decision string set decision to evaluate
--fail exits with non-zero exit code on undefined/empty result and errors
--fail-defined exits with non-zero exit code on defined/non-empty result and errors
-f, --format {json} set output format (default json)
-h, --help help for exec
--log-format {text,json,json-pretty} set log format (default json)
-l, --log-level {debug,info,error} set log level (default error)
--log-timestamp-format string set log timestamp format (OPA_LOG_TIMESTAMP_FORMAT environment variable)
--set stringArray override config values on the command line (use commas to specify multiple values)
--set-file stringArray override config values with files on the command line (use commas to specify multiple values)
--timeout duration set exec timeout with a Go-style duration, such as '5m 30s'. (default unlimited)
--v0-compatible opt-in to OPA features and behaviors prior to the OPA v1.0 release
Metadata
Metadata
Assignees
Labels
No labels