OCI Policy Analysis
Analyze OCI IAM policies, compartments, identity domains, groups, users, and dynamic groups from a desktop app, web app, CLI, or MCP server. The tool is read-only: it analyzes data but does not change your tenancy.
The full documentation covers setup, OCI access, sample and saved data, web hosting, command-line use, troubleshooting, and embedding.
For 7.0 highlights and a getting-started guide, see What's new in 7.0. The original desktop app remains available; the new desktop app is the recommended experience going forward.
Quick Start: Download a desktop app
Download either maintained desktop app for macOS or Windows from the Releases page. The modern app is the recommended experience going forward; the original app remains available and works as before. No Python setup is needed to run a downloaded app.
Quick Start: Choose your data source
You do not have to connect this tool to a live tenancy. Choose from:
- Sample data: choose Sample in the modern app to explore fictional data without credentials.
- Live OCI load: requires an OCI user/API-key profile and IAM permissions granted to that principal. Before loading a tenancy, complete tenancy access.
- Offline CIS Compliance import: import the directory of OCI CIS Compliance output files without connecting to the tenancy.
Quick Start: Begin Analysis
Once data has been loaded, it will be available for access later via a local cache. At this point you can navigate the application and start looking at policy data.
REQUIRED for Live Tenancy: Obtain tenancy access
Using a downloaded executable from your desktop will enable you direct access to your OCI tenancy. In order gain access, you will require an API Key for a tenancy. It is recommended to limit this tool's access to the tenancy to a read-only set of operations.
Admin API Keys with your DEFAULT profile will work, but it is easy to set up a limited access key specifically for this tool.
OCI Limited User
- From your OCI Console, create a new OCI Group in the Default Identity Domain - for example
PolicyAnalysisUsers. - Next, create a new OCI User in the Default Identity Domain called
policy-analysis-user- place this user in the group from the previous step - Create an (API Key)[https://docs.oracle.com/en-us/iaas/Content/Identity/access/to_upload_an_API_signing_key.htm] for the user that was just created.
- Update your local
.oci/configwith a new named profile for this key, for examplePOLICY-ANALYSIS. - Create a new IAM Policy in the tenancy root, for example
PolicyAnalysisPolicy. The following statement is all that is needed:
allow group <your_group> to {POLICY_READ, COMPARTMENT_INSPECT, DOMAIN_INSPECT, DYNAMIC_GROUP_INSPECT, GROUP_INSPECT, USER_INSPECT, LIMITS_VIEW_INSPECT} in tenancy
Once completed, the tool's profile selection dropdown should show POLICY-ANALYSIS and can be used to safely run the tool with limited permissions within the tenancy.
REQUIRED for CIS COMPLIANCE scripts
Assuming you have access to an OCI tenancy already, you can run the supported (CIS Compliance scripts)[https://github.com/oci-landing-zones/oci-cis-landingzone-quickstart] with the --raw option. This will produce a directory - if you were sent a zipped archive, simply unzip it locally. Then in the Policy Analysis tool, point the CIS Compliance load directory to the unzipped location.
More help
The full documentation covers mode-specific setup, OCI authentication and permissions, CIS compliance imports, web hosting, CLI and MCP usage, troubleshooting, architecture, and API reference.
Metadata
Release files for oci-policy-analysis 7.0.2
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 |
|---|---|---|---|---|
| oci_policy_analysis-7.0.2.tar.gz | 3.3 MB | With provenance | Details for oci_policy_analysis-7.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oci_policy_analysis-7.0.2-py3-none-any.whl | Python 3 | none | any | Details for oci_policy_analysis-7.0.2-py3-none-any.whl |
Total release size: 6.6 MB
Release files / oci_policy_analysis-7.0.2.tar.gz
| Download URL | oci_policy_analysis-7.0.2.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b941d5fc6c13885593f58e5fcb7e0cdd301f23a055f3fe505cf830ab03e9d0c5
|
|
BLAKE2b-256 checksum How to use checksums |
c8d69acda1e3b729cb291835993abac4590630f156bc3a364df2a16a24765e6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logRelease files / oci_policy_analysis-7.0.2-py3-none-any.whl
| Download URL | oci_policy_analysis-7.0.2-py3-none-any.whl |
|---|---|
| Size | 3.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b23acb979bacb8c4cdfbce7e516f2ccbc4c61cbbd8a697d0c7a72769772ed8ee
|
|
BLAKE2b-256 checksum How to use checksums |
07d29fc36c372d00365a4a37121e99250246689ef2039eb60e2ea38522bec843
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logSecurity for oci-policy-analysis 7.0.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for oci_policy_analysis-7.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logA 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.