steampipecloud_audit_logsteampipecloud_connectionsteampipecloud_organizationsteampipecloud_organization_membersteampipecloud_organization_workspace_membersteampipecloud_processsteampipecloud_tokensteampipecloud_usersteampipecloud_user_emailsteampipecloud_user_preferencessteampipecloud_workspacesteampipecloud_workspace_aggregatorsteampipecloud_workspace_connectionsteampipecloud_workspace_db_logsteampipecloud_workspace_modsteampipecloud_workspace_mod_variablesteampipecloud_workspace_pipelinesteampipecloud_workspace_processsteampipecloud_workspace_snapshot
Table: steampipecloud_workspace
Workspaces provide a bounded context for managing, operating, and securing Steampipe resources. A workspace comprises a single Steampipe database instance as well as a directory of mod resources such as queries, benchmarks, and controls. Workspaces allow you to separate your Steampipe instances for security, operational, or organizational purposes.
Examples
Basic info
select id, state, handle, identity_handlefrom steampipecloud_workspace;
List user workspaces
select id, state, handle, identity_handlefrom steampipecloud_workspacewhere identity_type = 'user';
List organization workspaces
select id, state, handle, identity_handlefrom steampipecloud_workspacewhere identity_type = 'org';
List workspaces which are not running
select id, state, handle, identity_handlefrom steampipecloud_workspacewhere state <> 'running';
Schema for steampipecloud_workspace
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. | |
api_version | text | The API version for the workspace. | |
cli_version | text | The CLI version for the workspace. | |
created_at | timestamp with time zone | The time when the workspace was created. | |
created_by | jsonb | Information about the user who created the workspace. | |
created_by_id | text | The unique identifier of the user who created the workspace. | |
database_name | text | The database name for the workspace. | |
handle | text | = | The handle name for the workspace. |
hive | text | The database hive for this workspace. | |
host | text | The host for this workspace. | |
id | text | The unique identifier for the workspace. | |
identity_handle | text | = | The handle name for an identity where the workspace has been created. |
identity_id | text | = | The unique identifier for an identity where the workspace has been created. |
identity_type | text | The type of identity, which can be 'user' or 'org'. | |
state | text | The current workspace state. | |
updated_at | timestamp with time zone | The time when the workspace was last updated. | |
updated_by | jsonb | Information about the user who last updated the workspace. | |
updated_by_id | text | The unique identifier of the user who last updated the workspace. | |
version_id | bigint | The current version ID of the workspace record. |