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]