turbot/steampipecloud
steampipe plugin install steampipecloud

Table: steampipecloud_workspace_process

Allows to track various activities performed on a workspace of an identity in Steampipe Cloud.

Important notes:

This table supports optional quals. Queries with optional quals in the where clause are optimised to use Steampipe Cloud filters.

Optional quals are supported for the following columns:

  • created_at
  • id
  • identity_handle
  • identity_id
  • pipeline_id
  • query_where - Allows use of query filters. For a list of supported columns for workspace proceses, please see Supported APIs and Columns. Please note that any query filter passed into the query_where qual will be combined with other optional quals.
  • state
  • type
  • updated_at
  • workspace_handle
  • workspace_id

Examples

Basic info

select
id,
identity_handle,
workspace_handle,
pipeline_id,
type,
state,
created_at
from
steampipecloud_workspace_process;

List processes for a pipeline

select
id,
identity_handle,
workspace_handle,
pipeline_id,
type,
state,
created_at
from
steampipecloud_workspace_process
where
pipeline_id = 'pipe_cfcgiefm1tumv1dis7lg';

List running processes for a pipeline

select
id,
identity_handle,
workspace_handle,
pipeline_id,
type,
state,
created_at
from
steampipecloud_workspace_process
where
pipeline_id = 'pipe_cfcgiefm1tumv1dis7lg'
and state = 'running';

List running processes for a pipeline using query filter

select
id,
identity_handle,
workspace_handle,
pipeline_id,
type,
state,
created_at
from
steampipecloud_workspace_process
where
query_where = 'pipeline_id = ''pipe_cfcgiefm1tumv1dis7lg'' and state = ''running''';

Schema for steampipecloud_workspace_process

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
created_attimestamp with time zone>, >=, =, <, <=The time when the process was created.
created_byjsonbInformation about the user who created the process.
created_by_idtextThe unique identifier of the user who created the process.
idtext=, !=The unique identifier for the process.
identity_handletext=The handle of the identity.
identity_idtext=The unique identifier of the identity to which the process belongs to.
identity_typetextThe type of identity, can be org/user.
pipeline_idtext=, !=The unique identifier for the pipeline if a process is for a pipeline run/execution.
query_wheretext=The query where expression to filter workspace processes.
statetext=, !=The current state of the process.
typetext=, !=The type of action executed by the process.
updated_attimestamp with time zone>, >=, =, <, <=The time when the process was last updated.
updated_byjsonbInformation about the user who last updated the process.
updated_by_idtextThe unique identifier of the user who last updated the process.
version_idbigintThe current version ID for the process.
workspace_handletext=The handle of the workspace.
workspace_idtext=The unique identifier of the workspace to which the process belongs to.