turbot/steampipecloud
steampipe plugin install steampipecloud

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_handle
from
steampipecloud_workspace;

List user workspaces

select
id,
state,
handle,
identity_handle
from
steampipecloud_workspace
where
identity_type = 'user';

List organization workspaces

select
id,
state,
handle,
identity_handle
from
steampipecloud_workspace
where
identity_type = 'org';

List workspaces which are not running

select
id,
state,
handle,
identity_handle
from
steampipecloud_workspace
where
state <> 'running';

Schema for steampipecloud_workspace

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
api_versiontextThe API version for the workspace.
cli_versiontextThe CLI version for the workspace.
created_attimestamp with time zoneThe time when the workspace was created.
created_byjsonbInformation about the user who created the workspace.
created_by_idtextThe unique identifier of the user who created the workspace.
database_nametextThe database name for the workspace.
handletext=The handle name for the workspace.
hivetextThe database hive for this workspace.
hosttextThe host for this workspace.
idtextThe unique identifier for the workspace.
identity_handletext=The handle name for an identity where the workspace has been created.
identity_idtext=The unique identifier for an identity where the workspace has been created.
identity_typetextThe type of identity, which can be 'user' or 'org'.
statetextThe current workspace state.
updated_attimestamp with time zoneThe time when the workspace was last updated.
updated_byjsonbInformation about the user who last updated the workspace.
updated_by_idtextThe unique identifier of the user who last updated the workspace.
version_idbigintThe current version ID of the workspace record.