Support Rego imports for creating DRY OPA policy code
this fiscal quarter
G
Goldenrod Catshark
Currently, if you have common utility code in your OPA policy, you have to copy and paste it across all of your policy documents to use it. This is not DRY and can potentially lead to lots of unfortunate failures in policy enforcement if this code is updated frequently / in lots of different places and something is missed.
It would be nice if common policy code could be stored in a library and imported into the main policy documents.
Log In
P
Pranay Kaikini
Sepia Gayal: This feature is currently under development.
P
Pranay Kaikini
this fiscal quarter
S
Sepia Gayal
I'm surprised this is not supported already. :)