Skip to content

chore: bump github.com/open-policy-agent/opa from 1.4.2 to 1.15.2#711

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/open-policy-agent/opa-1.15.2
Open

chore: bump github.com/open-policy-agent/opa from 1.4.2 to 1.15.2#711
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/open-policy-agent/opa-1.15.2

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Bumps github.com/open-policy-agent/opa from 1.4.2 to 1.15.2.

Release notes

Sourced from github.com/open-policy-agent/opa's releases.

v1.15.2

This release updates the version of Go used to build the OPA binaries and images to 1.26.2. This version of Go contains multiple security fixes.

v1.15.1

This patch release fixes a backwards-incompatible change in the v1/logging.Logger interface that inadvertently made it into Release v1.15.0. When using OPA as Go module, and when providing custom Logger implementations, this change would break your build.

[!TIP] Users of the binaries or Docker images can ignore this, the code is otherwise the same as v1.15.0.

Miscellaneous

  • logging: make WithContext() optional (authored by @​srenatus)

v1.15.0

This release contains a mix of new features, performance improvements, and bugfixes. Notably:

  • Add logger plugin interface and file logger implementation with log rotation
  • Custom HTTPAuthPlugin behavior change, all per-request authentication logic must be moved from NewClient() to Prepare()
  • AWS signing supports for web identity for assume role credentials

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.Handler interface. This allows any slog.Handler implementation to be used as a logger plugin. Loggers can be configured via the server.logger_plugin configuration 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:

server:
  logger_plugin: file_logger
plugins:
file_logger:
path: /var/log/opa/server.log
max_size_mb: 100
max_age_days: 28
max_backups: 3
compress: true
level: info

Example configuration for decision logs using the same plugin:

server:
  logger_plugin: file_logger
</tr></table> 

... (truncated)

Changelog

Sourced from github.com/open-policy-agent/opa's changelog.

1.15.2

This release updates the version of Go used to build the OPA binaries and images to 1.26.2. This version of Go contains multiple security fixes.

1.15.1

This patch release fixes a backwards-incompatible change in the v1/logging.Logger interface that inadvertently made it into Release v1.15.0. When using OPA as Go module, and when providing custom Logger implementations, this change would break your build.

Users of the binaries or Docker images can ignore this, the code is otherwise the same as v1.15.0.

Miscellaneous

  • logging: make WithContext() optional (authored by @​srenatus)

1.15.0

This release contains a mix of new features, performance improvements, and bugfixes. Notably:

  • Add logger plugin interface and file logger implementation with log rotation
  • Custom HTTPAuthPlugin behavior change, all per-request authentication logic must be moved from NewClient() to Prepare()
  • AWS signing supports for web identity for assume role credentials

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.Handler interface. This allows any slog.Handler implementation to be used as a logger plugin. Loggers can be configured via the server.logger_plugin configuration 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:

server:
  logger_plugin: file_logger
plugins:
file_logger:
path: /var/log/opa/server.log
max_size_mb: 100
max_age_days: 28
max_backups: 3
compress: true
level: info

Example configuration for decision logs using the same plugin:

server:
  logger_plugin: file_logger
</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 1.4.2 to 1.15.2.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/v1.15.2/CHANGELOG.md)
- [Commits](open-policy-agent/opa@v1.4.2...v1.15.2)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-version: 1.15.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 27, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 27, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
codeserver c064c59 Apr 27 2026, 01:00 PM

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgolang/​golang.org/​x/​oauth2@​v0.29.0 ⏵ v0.34.071 +1100100100100
Updatedgolang/​github.com/​prometheus/​client_golang@​v1.22.0 ⏵ v1.23.272 +1100100100100
Updatedgolang/​golang.org/​x/​crypto@​v0.39.0 ⏵ v0.48.074 +1100 +3100100100
Updatedgolang/​golang.org/​x/​net@​v0.41.0 ⏵ v0.51.075 +1100 +2100100100
Updatedgolang/​golang.org/​x/​tools@​v0.33.0 ⏵ v0.41.075 +1100100100100
Updatedgolang/​google.golang.org/​grpc@​v1.73.0 ⏵ v1.79.375 +1100 +75100100100
Updatedgolang/​google.golang.org/​protobuf@​v1.36.6 ⏵ v1.36.1175 +1100100100100
Updatedgolang/​go.opentelemetry.io/​otel@​v1.37.0 ⏵ v1.40.076 +185100100100
Updatedgolang/​github.com/​open-policy-agent/​opa@​v1.4.2 ⏵ v1.15.277 +1100100100100
Updatedgolang/​golang.org/​x/​text@​v0.26.0 ⏵ v0.34.077100100100100
Updatedgolang/​github.com/​prometheus/​client_model@​v0.6.1 ⏵ v0.6.210010010010080
Updatedgolang/​github.com/​prometheus/​common@​v0.63.0 ⏵ v0.66.194 +110010010080
Updatedgolang/​golang.org/​x/​sys@​v0.33.0 ⏵ v0.41.084100100100100
Updatedgolang/​github.com/​go-jose/​go-jose/​v4@​v4.1.0 ⏵ v4.1.39885100100100
Updatedgolang/​go.opentelemetry.io/​otel/​sdk@​v1.37.0 ⏵ v1.40.098 +185 +6100100100
Updatedgolang/​github.com/​klauspost/​compress@​v1.18.0 ⏵ v1.18.292 +1100100100100
Updatedgolang/​github.com/​stretchr/​testify@​v1.10.0 ⏵ v1.11.196 +1100100100100
Updatedgolang/​golang.org/​x/​mod@​v0.25.0 ⏵ v0.32.096100100100100
Updatedgolang/​github.com/​spf13/​pflag@​v1.0.6 ⏵ v1.0.1097100100100100
Updatedgolang/​cloud.google.com/​go/​compute/​metadata@​v0.7.0 ⏵ v0.9.098 +1100100100100
Updatedgolang/​go.opentelemetry.io/​otel/​exporters/​otlp/​otlptrace/​otlptracegrpc@​v1.35.0 ⏵ v1.40.099100100100100
Updatedgolang/​golang.org/​x/​sync@​v0.15.0 ⏵ v0.20.099100100100100
Updatedgolang/​go.opentelemetry.io/​otel/​trace@​v1.37.0 ⏵ v1.40.0100 +1100100100100
Updatedgolang/​golang.org/​x/​term@​v0.32.0 ⏵ v0.40.0100 +1100100100100
Updatedgolang/​go.opentelemetry.io/​otel/​exporters/​otlp/​otlptrace@​v1.35.0 ⏵ v1.40.0100100100100100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants