OCI Policy Analysis
Project description
OCI Policy Analysis
Analyze Oracle Cloud IAM policies and identity data.
📘 Full documentation:
👉 https://agregory999.github.io/oci-policy-analysis
Quick Start (Desktop App)
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
python -m oci_policy_analysis.main
Quick Start (Web App Only)
If you want web mode only (no desktop/Tk workflow):
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[web]"
oci-policy-analysis-web --host 127.0.0.1 --port 8000
Then open: http://127.0.0.1:8000
Quick Start (Using Local Helper Scripts)
Build and run by mode:
./local-build.sh --mode web
./local-run.sh --mode web --host 127.0.0.1 --port 8000
Other supported modes:
desktopwebclimcpall(build script only)
Server / Nohup Example (Web)
nohup ./local-run.sh --mode web --host 0.0.0.0 --port 8080 > oci-policy-analysis-web.log 2>&1 &
Check process/logs:
ps -ef | grep oci-policy-analysis-web
tail -f oci-policy-analysis-web.log
Run the Web App via PyPI (no repo clone)
(Won't work until out of beta)
Install in a virtual environment and run the packaged web entrypoint:
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install "oci-policy-analysis[web]"
oci-policy-analysis-web
For server usage, you can run with explicit bind options:
oci-policy-analysis-web --host 0.0.0.0 --port 8080
Example startup script (start-oci-policy-analysis-web.sh):
#!/usr/bin/env bash
set -euo pipefail
source /opt/oci-policy-analysis/.venv/bin/activate
exec oci-policy-analysis-web --host 0.0.0.0 --port 8080
Then make executable and run:
chmod +x start-oci-policy-analysis-web.sh
./start-oci-policy-analysis-web.sh
Or run a packaged release right from your desktop:
oci-policy-analysis.exe # Windows
oci-policy-analysis.app # macOS
For the executables, disable the OS Security for the application so it can run.
- MAC: Settings -> Privacy & Security - Open Anyway
- Windows: Double-click EXE -> More Info - Run Anyway
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oci_policy_analysis-5.1.1.tar.gz.
File metadata
- Download URL: oci_policy_analysis-5.1.1.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
262ba391a31312c801eaa059d3634d3349cc1e7259b1213f1359ea5f07cc6e30
|
|
| MD5 |
00c1bad09364cf8ead2c1fdc527269bf
|
|
| BLAKE2b-256 |
0691da1c6c104d5ce1ee4ab87a9ec957cfe9906f74f2d27c582c9a75c7ad2f2d
|
Provenance
The following attestation bundles were made for oci_policy_analysis-5.1.1.tar.gz:
Publisher:
build.yml on agregory999/oci-policy-analysis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oci_policy_analysis-5.1.1.tar.gz -
Subject digest:
262ba391a31312c801eaa059d3634d3349cc1e7259b1213f1359ea5f07cc6e30 - Sigstore transparency entry: 1518691685
- Sigstore integration time:
-
Permalink:
agregory999/oci-policy-analysis@1df989deb2522c450bb7f93e7eedeb178a665213 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/agregory999
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@1df989deb2522c450bb7f93e7eedeb178a665213 -
Trigger Event:
push
-
Statement type:
File details
Details for the file oci_policy_analysis-5.1.1-py3-none-any.whl.
File metadata
- Download URL: oci_policy_analysis-5.1.1-py3-none-any.whl
- Upload date:
- Size: 759.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e297d3fa82559214ed71b01c8b08548bfb86ed6cd3f570d7d251aba09489352
|
|
| MD5 |
dbc39a3c98e9f3a1296f898b1cc8ad55
|
|
| BLAKE2b-256 |
c2c156c8d68fd1c310b204d571eaec989b045848f781cb56cb4f66abca77d51d
|
Provenance
The following attestation bundles were made for oci_policy_analysis-5.1.1-py3-none-any.whl:
Publisher:
build.yml on agregory999/oci-policy-analysis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oci_policy_analysis-5.1.1-py3-none-any.whl -
Subject digest:
5e297d3fa82559214ed71b01c8b08548bfb86ed6cd3f570d7d251aba09489352 - Sigstore transparency entry: 1518691718
- Sigstore integration time:
-
Permalink:
agregory999/oci-policy-analysis@1df989deb2522c450bb7f93e7eedeb178a665213 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/agregory999
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@1df989deb2522c450bb7f93e7eedeb178a665213 -
Trigger Event:
push
-
Statement type: