- OUTSCALE API documentation: https://docs.outscale.com/en/
- UAR GitHub repository: https://github.com/outscale/uar
- UAR (User Access-Rights Review)
UAR (User Access-Rights Review) is a command-line tool that provides an access rights assessment for users and resources in an OUTSCALE account.
It performs read operations using the OUTSCALE API (oAPI) to:
- Build an inventory of all resources
- Evaluate access policies for each user, including group-based permissions
- Output a detailed report in CSV, JSON, and Cypher formats
- Rust (stable)
- Git (to clone the repository)
- Internet access (to reach the OUTSCALE public API)
If Rust is not already installed:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://github.com/outscale/uar
cd uar
cargo update
cargo build --release
cargo install --path .
Alternatively, you may find pre-compiled binaries to download on the releases page.
UAR requires three mandatory parameters for authentication and region:
--osc-access-key
or environment variableOSC_ACCESS_KEY
--osc-secret-key
or environment variableOSC_SECRET_KEY
--osc-region
or environment variableOSC_REGION
uar
Filter by user ID and/or resource ID:
uar --osc-user-id Alice --osc-resource-id vol-493d8cd0
Customize the output path and file name (default: uar_report
):
uar --report-path /reports/my_custom_report
Limit the number of resources shown in CLI (default: 10):
uar --max-resources-display-on-cli 5
By default, reports are saved in the current directory with the following files:
uar_report.csv
uar_report.json
uar_report.cypher
These can be renamed or redirected with the --report-path
option.
To ensure accurate and complete results, use credentials from:
- An OUTSCALE account or
- An EIM user with wide read access (e.g.,
Allow api::Read*
)
⚠️ If insufficient permissions are used, the report may be incomplete or empty.
- Implicit Deny: Any action not explicitly allowed is denied.
- Explicit Deny: If both
Allow
andDeny
exist, the Deny always overrides the Allow.
We welcome contributions! See CONTRIBUTING.md for guidelines.