Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dynamic metadata in OPA policies #478

Conversation

tjons
Copy link
Collaborator

@tjons tjons commented Nov 6, 2023

This PR resolves open-policy-agent/opa#6209 by adding a special dynamic_metadata keyword to the OPA envoy plugin API. When an evaluated policy returns an object with the dynamic_metadata keyword, it will be written to the DynamicMetadata field of the returned CheckResponse. This allows users to emit data from OPA policies that can be consumed elsewhere in the envoy filterchain to enable richer and more dynamic auth scenarions.

tjons and others added 6 commits November 6, 2023 02:42
Signed-off-by: Rudrakh Panigrahi <[email protected]>
Signed-off-by: tjons <[email protected]>
Signed-off-by: talip <[email protected]>
Signed-off-by: Praneeth Talishetti <[email protected]>
Signed-off-by: tjons <[email protected]>
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.53.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: tjons <[email protected]>
Signed-off-by: Ashutosh Narkar <[email protected]>
Signed-off-by: tjons <[email protected]>
Signed-off-by: Rudrakh Panigrahi <[email protected]>
Signed-off-by: tjons <[email protected]>
@tjons tjons force-pushed the 6209-add-support-for-dynamic-metadata branch from c719921 to fe0c999 Compare November 6, 2023 02:43
@tjons tjons closed this Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for dynamic metadata
4 participants