OPA v1.15.0 #745
johanfylling
announced in
Announcements
OPA v1.15.0
#745
Replies: 1 comment
OPA v1.15.2This release updates the version of Go used to build the OPA binaries and images to 1.26.2. Release notes and downloads can be found here. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This release contains a mix of new features, performance improvements, and bugfixes. Notably:
HTTPAuthPluginbehavior change (all per-request authentication logic must be moved fromNewClient()toPrepare())Logger Plugin Support (#8434) (authored by @srenatus)
OPA now supports pluggable logging implementations via the logger plugin interface, which is based on Go's standard
log/slog.Handlerinterface. This allows anyslog.Handlerimplementation to be used as a logger plugin. Loggers can be configured via theserver.logger_pluginconfiguration option and used for both runtime logging and decision logs. OPA includes a built-in file logger plugin (file_logger) that writes structured JSON logs with rotation support using lumberjack. Users can also implement and register custom logger plugins when building OPA.Example configuration for server logging:
Example configuration for decision logs using the same plugin:
Custom HTTPAuthPlugin behavior change (#8376) (authored by @srenatus)
The
HTTPAuthPlugin.NewClient()method is now called once perClientinstance and cached rather than being called forevery request. Custom plugins that performed per-request operations in
NewClient()(such as request counters,per-request transport wrapping, or logging/metrics side effects) will now only execute those operations once. All
per-request authentication logic must be moved from
NewClient()toPrepare(). All plugins included in OPA have beenupdated and are unaffected by this change.
Runtime, SDK, Tooling
@srenatus)
@srenatus)
cert_reread_interval_secondsfield.Defaults to re-reading on every request for backwards compatibility.
The implementation also uses content hashing to detect changes and avoid re-parsing unchanged TLS certificates and
keys. (#8376) (authored by @srenatus)
server. (#8376) (authored by @srenatus)
authored by @tiagogviegas)
Compiler, Topdown and Rego
Bundles
#8388) (#6529) authored by @srenatus
Docs, Website, Ecosystem
Miscellaneous
Release notes and downloads can be found here.
All reactions