Command: control
The turbot control set of commands is used to manage controls in a Turbot Guardrails workspace.
Usage
Usage: turbot control <subcommand> [options]
Supported Sub-commands
| Command | Description |
|---|---|
turbot control get <id> | Get control details |
turbot control run <id> | Trigger a control to run |
turbot control list | List controls |
turbot control logs <id> | Get process logs for a control's last run |
turbot control health | Show control health summary |
turbot control diagnose [id] | Diagnose control errors and suggest fixes |
turbot control get <id>
Get details for a specific control by its ID.
turbot control run <id>
Trigger a control to run. This will re-evaluate the control for the specified resource.
turbot control list
List controls matching a filter. Returns control ID, type, state, reason, and resource.
The supported options are:
--control-type, -t: Filter by control type URI.--resource, -r: Filter by resource ID.--state, -s: Filter by control state. Values:ok,alarm,error,invalid,tbd,skipped. Multiple values can be comma-separated (e.g.,error,alarm,invalid).--filter, -f: Additional Turbot filter syntax for advanced filtering.--limit, -l: Maximum number of controls to return (1-1000). Default:100.--format: Output format (yamlorjson). Default:yaml.
turbot control logs <id>
Get process logs for a control's last run.
turbot control health
Show a health summary of controls in the workspace.
turbot control diagnose [id]
Diagnose control errors and suggest fixes. If an ID is provided, diagnoses that specific control. Otherwise, diagnoses controls in error state.
Authentication Options
All sub-commands support:
--profile: Credentials profile name. Default:default.--workspace: Workspace URL (overrides profile).--access-key: Access key (overrides profile).--secret-key: Secret key (overrides profile).