Welcome to the new DOCS.vastdata.com. We've added new menus and a version selector, plus new persona and resource pages to help customers get started. Looking for a previous article? Use the docs search.

webhook show

Prev

This command displays a webhook.

Usage

webhook show --id 2

Required Parameters

--id ID

The ID of the webhook you want to display.

Example

vcli: admin> webhook show --id 2
+----------------+-------------------------------------------------------------------------------------------------------------------------+
| Id             | 2                                                                                                                       |
| Name           | slack-events                                                                                                            |
| Url            | https://example.com                                                                                                     |
| Data           | {"cluster_name": "$vastdata_cluster_name", "event_name": "$vastdata_event_name", "event_type": "$vastdata_event_type",  |
|                | "event_origin": "$vastdata_event_origin", "severity": "$vastdata_severity", "mapped_severity":                          |
|                | "$vastdata_mapped_severity", "object_id": "$vastdata_object_id", "object_type": "$vastdata_object_type", "object_name": |
|                | "$vastdata_object_name", "property": "$vastdata_property", "timestamp": "$vastdata_timestamp"}                          |
| Method         | POST                                                                                                                    |
| Headers        | {'Content-Type': 'application/json'}                                                                                    |
| Enabled        | True                                                                                                                    |
| Certificate-id | None                                                                                                                    |
+----------------+-------------------------------------------------------------------------------------------------------------------------+