Inviare notifiche in tempo reale a servizi esterni con i webhook
I webhook le permettono di inviare notifiche in tempo reale a servizi esterni ogni volta che si verificano determinati eventi nel suo Devolutions Cloud. Si noti che i webhook sono disponibili anche in Devolutions Server.
Vada in Amministrazione – Webhook.
Clicchi su Aggiungi.
Inserisca un nome descrittivo.
Fornisca l'URL dell'endpoint a cui Devolutions Cloud invierà le richieste HTTP POST.
Scelga gli eventi che attiveranno il webhook.
Facoltativamente, può definire un payload personalizzato da inviare con il webhook. Ad esempio, se desidera inviare un messaggio in Slack per ogni nuova voce creata, il Corpo HTTP personalizzato (JSON) avrebbe questo aspetto:

Clicchi su Aggiungi per salvare il webhook.
Elenco degli handlebars per i webhook
Di seguito è riportato l'elenco dei segnaposto handlebars disponibili. Questi segnaposto vengono automaticamente sostituiti con i dati reali dell'evento ogni volta che viene attivato un webhook.
Campi aggiuntivi disponibili in ogni trigger
VaultName
TriggerType (enum)
TriggerTypeName
Nuova richiesta di check-out
EntryId
EntryName
RequesterMessage
Requester.DisplayName
Requester.Email
Approvers (Array di {DisplayName: "name", Email: "email@example.com"})
RequestedMinutes
Richiesta di check-out approvata e negata
EntryId
EntryName
RequesterMessage
Requester.DisplayName
Requester.Email
Approvers (Array di {DisplayName: "name", Email: "email@example.com"})
ApproverMessage
RequestedMinutes
Approved (bool)
Voce creata
EntryId
EntryName
CreatedBy.DisplayName
CreatedBy.Email
Richiesta di accesso temporaneo
EntryId
EntryName
RequesterMessage
Requester.DisplayName
Requester.Email
Approvers (Array di {DisplayName: "name", Email: "email@example.com"})
RequestedMinutes
Richiesta di accesso temporaneo approvata e negata
EntryId
EntryName
RequesterMessage
Requester.DisplayName
Requester.Email
Approver.DisplayName
Approver.Email
ApproverMessage
RequestedMinutes
Approved (bool)
Ultimo aggiornamento
È stato utile?