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
If you add a policy bundle, with a .manifest defined, on the command line, the decision logs will not contain the contents of the .manifest 'revision' field.
The text was updated successfully, but these errors were encountered:
When bundles are loaded from the command line the /system/bundle/manifest document is not being written into the in-memory store. For bundle downloads, this behaviour is implemented inside the bundle plugin. One way to resolve this would be add an optional flag on the bundle reader that would cause it to insert the bundle metadata into the bundle.Bundle#Data field. When bundles are instantiated in different places inside OPA, we could set the flag. If users are embedding OPA as a library, they could opt-in to this behaviour.
For example:
// Instead of the current simple API:
bundle.Read(r)
// Construct a reader and set the flag:
br := bundle.NewReader(r).IncludeManifestInData(true)
br.Read()
If you add a policy bundle, with a .manifest defined, on the command line, the decision logs will not contain the contents of the .manifest 'revision' field.
The text was updated successfully, but these errors were encountered: