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

Well-known attributes (Kuadrant RFC-0002) #425

Closed
5 tasks done
guicassolato opened this issue Sep 20, 2023 · 0 comments · Fixed by #428
Closed
5 tasks done

Well-known attributes (Kuadrant RFC-0002) #425

guicassolato opened this issue Sep 20, 2023 · 0 comments · Fixed by #428
Assignees

Comments

@guicassolato
Copy link
Collaborator

guicassolato commented Sep 20, 2023

RFE: Implementation of Kuadrant's Well-known attributes (RFC-0002).

Possible steps for the implementation

  • Define a struct that models all applicable Well-known attributes, except auth.*
  • Implement a NewWellknownAttributes function that instantiates the struct from an Envoy ext-authz CheckRequest input
  • Define a proper AuthorizationJson struct that merges the new Well-known attributes type into it, with json:"" annotation
  • Implement a NewAuthorizationJson function that instantiates the struct from an Envoy ext-authz CheckRequest and AuthPipeline input
  • Deprecate the context.* attributes from the Authorization JSON (for future removal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: To test
Development

Successfully merging a pull request may close this issue.

2 participants