This release is a pre-release and may not be stable for production use.
Remote Policy Checker for Oslo Policy
This package extends Oslo Policy to support remote HTTP-based policy checking, allowing policy decisions to be made by a remote service. It is designed to work in conjunction with goslo.policy.server, a Go-based policy server that provides centralized policy enforcement for OpenStack services.
Installation
pip install oslo.policy.remote
Configuration
Add to your service’s configuration file:
[remote_policy]
server_url = http://policy-server:8082
timeout = 3
fail_closed = true
ssl_verify = false
Policy File Example
create_instance: remote:create_instance
delete_instance: rule:admin_or_owner
Generating Sample Policies
oslopolicy-remote-policy-generator --namespace nova > /etc/nova/policy.yaml
Development
To set up a development environment:
git clone https://github.com/mehmettopcu/oslo.policy.remote
cd oslo.policy.remote
pip install -e .[test]
pytest tests/
License
Apache 2.0
Metadata
Release files for oslo.policy.remote 0.0.3.dev3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| oslo_policy_remote-0.0.3.dev3.tar.gz | 28.8 kB | Without provenance | Details for oslo_policy_remote-0.0.3.dev3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oslo_policy_remote-0.0.3.dev3-py3-none-any.whl | Python 3 | none | any | Details for oslo_policy_remote-0.0.3.dev3-py3-none-any.whl |
Total release size: 50.9 kB
Release files / oslo_policy_remote-0.0.3.dev3.tar.gz
| Download URL | oslo_policy_remote-0.0.3.dev3.tar.gz |
|---|---|
| Size | 28.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd7d51f5e983735f238e5f75f6309c9e577cace0e215ea8d9fb500ab2ae93fe8
|
|
BLAKE2b-256 checksum How to use checksums |
49ce744825eaa563a2b93d319fdd1d656d343617c5d59297929051a4ac0ac813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / oslo_policy_remote-0.0.3.dev3-py3-none-any.whl
| Download URL | oslo_policy_remote-0.0.3.dev3-py3-none-any.whl |
|---|---|
| Size | 22.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4eaf18ceeba659010f51a13ec0375a6a5f3cb5d5f0aa8e7137fbabc22674391
|
|
BLAKE2b-256 checksum How to use checksums |
021678f7c6b86c4314ac5eb07c38a93b89e8d2605159ebe410e55dda5f67d9ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Security for oslo.policy.remote 0.0.3.dev3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.