Well-known attributes (Kuadrant RFC-0002)
guicassolato opened this issue · comments
Guilherme Cassolato commented
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-authzCheckRequest
input - Define a proper
AuthorizationJson
struct that merges the new Well-known attributes type into it, withjson:""
annotation - Implement a
NewAuthorizationJson
function that instantiates the struct from an Envoy ext-authzCheckRequest
andAuthPipeline
input - Deprecate the
context.*
attributes from the Authorization JSON (for future removal)