scalingo_addonscalingo_alertscalingo_appscalingo_app_eventscalingo_autoscalerscalingo_collaboratorscalingo_containerscalingo_container_typescalingo_cronscalingo_databasescalingo_database_backupscalingo_database_maintenancescalingo_database_type_versionscalingo_database_userscalingo_deploymentscalingo_domainscalingo_environmentscalingo_event_typescalingo_invoicescalingo_keyscalingo_log_drainscalingo_log_drain_addonscalingo_notification_platformscalingo_notifierscalingo_regionscalingo_scm_integrationscalingo_scm_repo_linkscalingo_stackscalingo_tokenscalingo_user_eventscalingo_user_scm_repo_link
Table: scalingo_notifier
List notifier associated to an app.
The scalingo_notifier
table can be used to query information about notifier, and you must specify which application in the where or join clause using the app_name
column.
Examples
List notifiers of an application
select name, typefrom scalingo_notifierwhere app_name = 'caresteouvert-api';
List active notifiers of an application
select name, typefrom scalingo_notifierwhere app_name = 'caresteouvert-api' and active;
List notifiers of an application posting to slack
select name, typefrom scalingo_notifierwhere app_name = 'caresteouvert-api' and type = 'slack';
List events type associated to notifiers
select n.name, e.namefrom scalingo_notifier as n, jsonb_array_elements_text(n.selected_event_ids) as event_id, scalingo_event_type as ewhere e.id = event_id and n.app_name = 'caresteouvert-api';
Schema for scalingo_notifier
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
active | boolean | Is the notifier active or not. | |
app_id | text | ID of the application which owns the notifier. | |
app_name | text | = | Name of the app. |
created_at | timestamp with time zone | Date of creation of the notifier. | |
id | text | Unique ID identifying the notifier. | |
name | text | Name of the notifier. | |
platform_id | text | Notification platform used by this notifer. | |
selected_event_ids | jsonb | List of events accepted by this notifier. | |
send_all_alerts | boolean | Should the notifier accept all alerts. | |
send_all_events | boolean | Should the notifier accept all events. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
type | text | Notifier type. | |
type_data | jsonb | Notification platform dependant additional data | |
updated_at | timestamp with time zone | When was the notifier updated. |