opal
opal copied to clipboard
Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...)
For some reason the data updater test is flaky (sometime does not pass due to timeout on [this line](https://github.com/authorizon/opal/blob/master/opal_client/tests/data_updater_test.py#L110)). We will get to it soon, but if someone wants to...
e.g: gitlab, bitbucket, etc work started in #64, will complete it in a separate pull :)
## Background The test is checking that opal common can clone a private repo. we sometimes need to clone a private repo when the policy code synced to opal is...
OPAL is pretty well tested (we have over 40 tests) but more tests is always better. :) If someone wants to contribute more tests, please reach out and we will...
### how it works now At the moment OPAL server tracks a git repo for sourcing policy code (rego and static data) to its clients. The entire repo is exposed...
Confi (our configuration lib) allows each config var to have a description string. All strings should be well explained and documented.
exposes periodic_update_interval on OPAL_DATA_SOURCE_CONFIG to allow for auto PUT data updates from a given source to be generated at a set interval (in seconds)
The /policy returns : "detail": "policy repo was not found", when configured for Bundle API **To Reproduce** OPAL_POLICY_BUNDLE_URL=... OPAL_POLICY_SOURCE_TYPE = API **Expected behavior** /policy returns 200 **OPAL version** - Version:...
**Describe the bug** Currently the field save_method in the OPAL server API 'POST /data/config' is unused. No matter what we set, it will always perform the save_method PUT. https://github.com/permitio/opal/blob/master/packages/opal-client/opal_client/data/updater.py#L396 **Expected...
Add an additional field to DataSourceEntry named data that will be sent to OPA instead of being fetched from a URL.