Patrick East
Patrick East
https://www.openpolicyagent.org/docs/latest/extensions/#custom-built-in-functions-in-go Shows how to add a custom built-in function through the Rego public golang API's. This is the easiest way if you want to customize OPA. The process is pretty...
Depends on how you intend to run OPA, if you are doing everything through the Golang API then yes, you can register one like that and call the API's to...
There was some discussion around requiring go 1.13 in OPA over in https://github.com/open-policy-agent/opa/pull/1969#discussion_r382850242 As-is 1.13 crept in as a requirement to `cmd` and `tester`, if we make changes to use...
Lets bring it up as a topic for the next OPA community meeting, for now lets hold off on making any changes.
+1 for golang.org/x/crypto being pretty safe as a dependency
You can likely follow similar instructions to configure your system and build the library as what the docker image uses: https://github.com/open-policy-agent/contrib/blob/master/pam_opa/docker/pam-builder.dockerfile Specific to the jansson library see: https://github.com/open-policy-agent/contrib/blob/fd52a84cd1e6e9830a1c6e7255dd8fa5a73aa711/pam_opa/docker/pam-builder.dockerfile#L10-L23
I don't know of any integrations with GraphQL that have been done (or at least shared publicly). If this is something you'd want to work on we'd be happy to...
> I am not sure how far the WASM would take me, I think the compile API doesn't work with wasm, yet. Correct, you have to use the OPA golang...
Can you provide some details about what versions are being used? Please also provide logs of the errors you are seeing. kube-mgmt does batch the requests for initial synchronization as...
> Are there plans to allow the user to add builtins? The documentation says http could be implemented (for instance) but I don't think this package exposes that behavior? Potentially,...