This python scripts collects all apps in a identity domain and outputs a CSV and JSON (coming soon).
- Download identity_domain_app_analyzer.py: https://raw.githubusercontent.com/Halimer/oci-scripts/refs/heads/identity-domain-oauth-collector/domain-analyzer/identity_domain_app_analyzer.py
wget https://raw.githubusercontent.com/Halimer/oci-scripts/refs/heads/identity-domain-oauth-collector/domain-analyzer/identity_domain_app_analyzer.py
- Create a Python Virtual Environment with required modules
python3 -m venv python-venv
source python-venv/bin/activate
pip3 install oci
pip3 install pytz
pip3 install requests
python identity_domain_app_analyzer.py -t my_profile
python identity_domain_app_analyzer.py -dt
python identity_domain_app_analyzer.py -ip
usage: identity_domain_app_analyzer.py [-h] [-t CONFIG_PROFILE] [-ip] [-dt]
options:
-h, --help show this help message and exit
-t CONFIG_PROFILE Config file section to use (tenancy profile)
-ip Use Instance Principals for Authentication
-dt Use Delegation Token for Authentication