CLI โ Command Line Interface๏
assets-guardian๏
Assets Guardian, IAM governance tool.
Usage
assets-guardian [OPTIONS] COMMAND [ARGS]...
Options
- --version๏
Show the version and exit.
- --config <config>๏
Path to the configuration file.
- --dry-run๏
Simulation mode without side effects.
- -v, --verbose๏
DEBUG logs in the console.
- -q, --quiet๏
ERROR logs only.
- --no-interaction๏
Non-interactive mode.
audit๏
Executes a comprehensive IAM compliance audit.
This command retrieves data from the Excel file and updated data to evaluate all configured compliance, comparison, and security matrix rules. It produces an audit report detailing security gaps and vulnerabilities.
Usage
assets-guardian audit [OPTIONS]
check๏
Verifies connectivity and status of external sources (Health Check).
This command tests the connection and authentication with all configured APIs and databases to ensure their proper operational function.
Usage
assets-guardian check [OPTIONS]
script๏
Executes a custom Python script from the local scripts/ directory.
This advanced command loads scripts/NAME.py (the .py suffix is optional) and calls its mandatory run(ctx) function with the full application context: configuration, logging system, and registered source clients. Scripts are arbitrary Python executed without guardrails; this power-user feature is aimed at tinkerers, not day-to-day use.
Usage
assets-guardian script [OPTIONS] NAME
Arguments
- NAME๏
Required argument
sync๏
Synchronizes the permissions Excel repository.
This command connects to the configured data sources to extract current permissions information, then updates the reference Excel file while preserving manual changes and specific tabs.
Usage
assets-guardian sync [OPTIONS]