steampipe plugin install marekjalovec/make

Table: make_hook

Webhooks allow you to send data to Make over HTTP. Webhooks create a URL that you can call from an external app or service, or from another Make scenario. Use webhooks to trigger the execution of scenarios.

Key columns

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

Examples

List of all Hooks

select
*
from
make_hook;

List all Hooks not attached to a Scenario

select
*
from
make_hook
where
scenario_id is null;

List all Hooks with queued executions

select
*
from
make_hook
where
queue_count > 0;

List all Hooks tied to active scenarios and with dangerously full queues

select
h.id,
h.name,
h.queue_count,
h.queue_limit,
h.team_id,
s.id as scenario_id,
s.name as scenario_name
from
make_hook h
join make_scenario s on s.id = h.scenario_id
where
s.is_enabled = true
and ((100.0 / h.queue_limit) * h.queue_count) > 80;

Schema for make_hook

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
datajsonbAdditional metadata of the Hook.
flagsjsonbAdditional flags of the Hook.
idbigint=The Hook ID.
is_editablebooleanIs the Hook editable?
is_enabledbooleanIs the Hook enabled?
is_gonebooleanIs the Hook gone?
nametextThe name of the Hook.
package_nametextPackage name.
queue_countbigintQueue size for this Hook.
queue_limitbigintQueue limit for this Hook.
scenario_idbigintThe ID of the Scenario linked to this Hook.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
team_idbigintThe Team ID.
themetextThe color theme of the Hook.
titletextThe display name for the resource.
typetextThe type of the Hook (web/mail).
type_nametextFull name of the Hook type.
udidtextThe unique ID of the Hook.
urltextFull Hook address (URL, or email address).