aperture icon indicating copy to clipboard operation
aperture copied to clipboard

pack_as_bytes in Authz buffer and Protobuf decoder in Agent

Open tanveergill opened this issue 2 years ago • 1 comments

Describe the solution you'd like

  • Set pack_as_bytes field in Authz buffer settings
  • Convert body to UTF-8 before passing to Rego
  • We have to make changes on the Agent side to take proto descriptors that can decode protobuf. Use same architecture as OPA server plugin

Additional context

  • Not all binary can be represented as UTF-8
  • Need binary in order to support protocol parsers in the future that work off the original binary format. E.g. parse query types from database requests

tanveergill avatar Sep 15 '22 17:09 tanveergill

This is blocked on #479

krdln avatar Sep 28 '22 08:09 krdln