job command group manages scheduled automation jobs. Jobs run InfraAudit operations — such as drift detection, resource syncs, and compliance checks — on a cron schedule or on demand.
job list
List all configured jobs:
job create
Create a new scheduled job. The CLI prompts interactively if flags are not provided.
Synopsis:
| Flag | Description |
|---|---|
--name | Display name for the job |
--type | Job type (see supported types below) |
--schedule | Cron expression defining when the job runs |
| Type | Description |
|---|---|
drift_detection | Run drift detection across all resources |
resource_sync | Sync resource inventory from all providers |
vulnerability_scan | Run a vulnerability scan |
cost_sync | Pull billing data from all providers |
compliance_check | Run all enabled compliance framework assessments |
job get
Show details for a specific job, including its schedule, type, and last execution result:
Synopsis:
job run
Trigger an immediate execution of a job, regardless of its schedule:
Synopsis:
job history
Show the execution history for a job, including start time, duration, and result for each run:
Synopsis:
job executions
Alias for job history. Lists execution records for a specific job: