You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
runtime+config: drive annotation parsing from new configurable
...not from an extra config flag. Restores the default to `false` for
anyone not setting `opa_config.DefaultIncludeRuleMetadata` or not
configuring `include_rule_metadata: true`.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Copy file name to clipboardExpand all lines: docs/docs/configuration.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1036,8 +1036,7 @@ The `server` configuration sets:
1036
1036
| `persistence_directory` | `string` | No (default `$PWD/.opa`) | Set directory to use for persistence with options like `bundles[_].persist`. |
1037
1037
| `plugins` | `object` | No (default: `{}`) | Location for custom plugin configuration. |
1038
1038
| `nd_builtin_cache` | `boolean` | No (default: `false`) | Enable the non-deterministic builtins caching system during policy evaluation, and include the contents of the cache in decision logs. Note that decision logs that are larger than `upload_size_limit_bytes` will drop the `nd_builtin_cache` key from the log entry before uploading. |
1039
-
| `skip_annotation_processing` | `boolean` | No (default: `false`) | Disable metadata annotation processing during policy parsing. By default, the runtime processes annotations so they are available during evaluation. |
1040
-
| `include_rule_metadata` | `boolean` | No (default: `false`) | Include custom metadata from evaluated rule annotations in decision logs. When enabled, the `custom` field of each decision log entry will contain a `rule_metadata` key with the custom annotation fields of all successfully evaluated rules. |
1039
+
| `include_rule_metadata` | `boolean` | No (default: `false`) | Include custom metadata from evaluated rule annotations in decision logs. When enabled, the `custom` field of each decision log entry will contain a `rule_metadata` key with the custom annotation fields of all successfully evaluated rules. Implies annotation processing. |
0 commit comments