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.

Quick start

Choose the path that fits you:

  • Desktop: local, single-user visual analysis.
  • Web: browser-based access, locally or for a team.
  • CLI: scripting, exports, and automation.
  • MCP: use OCI policy data with an MCP client.

Easiest: download an application

Download the latest macOS or Windows application from the Releases page. If your operating system asks for approval, allow the downloaded application to run.

Install with pip

You need Python 3.12 or later. Create and activate a virtual environment:

python -m venv .venv

# macOS/Linux
source .venv/bin/activate

# Windows PowerShell
.venv\Scripts\Activate.ps1

Install only the mode you intend to use:

# Desktop application (requires a working Tkinter installation)
python -m pip install oci-policy-analysis

# Browser-based web server
python -m pip install "oci-policy-analysis[web]"

# Command-line interface
python -m pip install oci-policy-analysis

# MCP server
python -m pip install "oci-policy-analysis[mcp]"

Start the selected mode:

oci-policy-analysis-ui                 # Desktop
oci-policy-analysis-web                # Web: open http://127.0.0.1:8000
oci-policy-analysis-cli --help         # CLI
oci-policy-analysis-mcp --help         # MCP

For the desktop app, confirm Tkinter works before starting if needed - one time test:

python -m tkinter

Choose your data source

You do not have to connect this tool to a live tenancy.

  • Live OCI load: requires an OCI user/API-key profile, session token, instance principal, or resource principal and IAM permissions granted to that principal. Before loading a tenancy, complete Authentication and principals and Permissions required.

  • Offline CIS compliance import: import the directory of OCI CIS Compliance output files instead. This lets you analyze the supplied data without the tool connecting to your tenancy. In the desktop or web app, choose Load Compliance Data; from the CLI, use:

    oci-policy-analysis-cli --load-from-compliance /path/to/compliance_csv_output
    

    See the CLI guide for expected files and options.

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.

License and support

Licensed under UPL-1.0.

This is not an Oracle-supported application. It uses supported OCI Python SDK calls and is designed to request the minimum access needed to read and analyze the selected data.

Metadata

Release files for oci-policy-analysis 6.3.1

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 6.3.1
File Size Uploaded
oci_policy_analysis-6.3.1.tar.gz 786.8 kB Details

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / oci_policy_analysis-6.3.1.tar.gz

Download URL oci_policy_analysis-6.3.1.tar.gz
Size 786.8 kB
Tags Source
SHA-256 checksum
How to use checksums
87dc212d1e44a90a4a7bf62bebb334c608e1eb257bfc1d25c6032a0a6e794d53
BLAKE2b-256 checksum
How to use checksums
b3e9a415d66d685b7a73171b432b7f989fb060188deb6c40f493fc8b2d898703
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 11, 2026.

Transparency log

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

Download URL oci_policy_analysis-6.3.1-py3-none-any.whl
Size 748.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1efb1aeefcc6610519cbec925fcbbf60e21e01da9c30a70fe98923c50671dbf
BLAKE2b-256 checksum
How to use checksums
02ff47dcf85f36a128fdcc80b110c3cc13650c48bf6e2e9a81167cdadc765da0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 11, 2026.

Transparency log

Release history Release notifications | RSS feed

6.5.7

2 release files

6.5.6

2 release files

6.5.5

2 release files

6.5.4

2 release files

6.5.3

2 release files

6.5.2

2 release files

6.5.1

2 release files

6.5.0

2 release files

6.4.0

2 release files

This release

6.3.1 This release

2 release files

6.3.0

2 release files

6.2.2

2 release files

6.2.1

2 release files

6.2.0

2 release files

6.1.0

2 release files

6.0.0

2 release files

5.3.0

2 release files

5.2.1

2 release files

5.2.0

2 release files

5.1.2

2 release files

5.1.1

2 release files

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