steampipe plugin install marekjalovec/make

Table: make_scenario

Scenarios allow you to create and run automation tasks. A scenario consists of a series of modules that indicate how data should be transferred and transformed between apps or services.

Key columns

  • Provide a numeric id if you want to query for a specific Scenario.

Examples

List of all Scenarios

select
*
from
make_scenario;

List all Scenarios using Webhooks as an entry-point

select
*
from
make_scenario
where
hook_id is not null;

List all Scenarios using Airtable

select
*
from
make_scenario
where
used_packages :: jsonb ? 'airtable';

List of all Scenarios edited today

select
*
from
make_scenario
where
last_edit > now() - interval '1 days';

List of all Scenarios created by a specific user

select
*
from
make_scenario
where
created_by_user ->> 'email' = 'marty@mcfly.family';

List of all Scenarios paused due to an error

select
*
from
make_scenario
where
is_waiting = true;

List of all Scenarios with incomplete executions

select
*
from
make_scenario
where
dlq_count > 0;

Schema for make_scenario

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
conceptbooleanIs the Scenario a concept?
created_by_userjsonbAuthor of this Scenario.
descriptiontextThe Scenario description.
device_idbigintThe device ID.
device_scopetextThe device scope.
dlq_countbigintNumber of incomplete executions.
folder_idbigintThe folder id, if Scenario is in a folder.
hook_idbigintThe Webhook ID, if used to trigger the Scenario.
idbigint=The Scenario ID.
is_enabledbooleanIs the Scenario enabled?
is_invalidbooleanIs the Scenario invalid?
is_lockedbooleanIs the Scenario locked?
is_pausedbooleanIs the Scenario paused?
is_waitingbooleanIs the Scenario paused due to an error?
last_edittimestamp with time zoneDate and time of when was this Scenario edited the last time.
module_sequence_idbigintThe module sequence ID.
nametextThe name of the Scenario.
next_exectimestamp with time zoneDate and time of the next scheduled execution.
organization_idbigintVirtual column, used to map the entity to another object.
scenario_versionbigintThe version of the Scenario.
schedulingjsonbScheduling details
team_idbigintVirtual column, used to map the entity to another object.
titletextThe display name for the resource.
updated_by_userjsonbLast editor of this Scenario.
used_packagesjsonbThe list of used Apps in this Scenario.