Skip to main content

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

  1. From your OCI Console, create a new OCI Group in the Default Identity Domain - for example PolicyAnalysisUsers.
  2. 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
  3. 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.
  4. Update your local .oci/config with a new named profile for this key, for example POLICY-ANALYSIS.
  5. 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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oci-policy-analysis 7.0.0
File Size Uploaded Provenance Actions
oci_policy_analysis-7.0.0.tar.gz 3.3 MB With provenance Details for oci_policy_analysis-7.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oci-policy-analysis 7.0.0
File Interpreter ABI Platform Actions
oci_policy_analysis-7.0.0-py3-none-any.whl Python 3 none any Details for oci_policy_analysis-7.0.0-py3-none-any.whl

Total release size: 6.6 MB

Release files / oci_policy_analysis-7.0.0.tar.gz

Download URL oci_policy_analysis-7.0.0.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
ecb0acde421efd16a7892ccb9554191b2e3b943b7c582138a8a9b15d6b50cd33
BLAKE2b-256 checksum
How to use checksums
1239834f84a551b9090ad18744a98ffb01683914271bb2003655e90a776d8fd3
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 26, 2026.

Transparency log

Release files / oci_policy_analysis-7.0.0-py3-none-any.whl

Download URL oci_policy_analysis-7.0.0-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5a7f74e1e4f0242255de5f04d1673f4c523f9ba65eee3595c3ecc57dab61bc06
BLAKE2b-256 checksum
How to use checksums
710d070f6e5392cd47f65171ef7611c0d40dcbf91739305cfc9d6e2c669397e1
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 26, 2026.

Transparency log

Security for oci-policy-analysis 7.0.0

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.

Select from 2 files

Attestation for oci_policy_analysis-7.0.0.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 26, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page