Add a Webhook


To create a Webhook:

  1. In the left navigation menu, click Cloud Management > Webhooks.
  2. Click Add New.
  3. In the Name field, enter a name to identify the webhook throughout the application.
  4. In the Description field, enter a description for the webhook.
  5. To send an IAM access key ID, secret, and session token that is good for one hour, select the Send Access Keys checkbox.
  6. If you would like to skip the SSL Validation, check the Skip SSL Validation box.
  7. In the Timeout in Seconds field, enter how long the application should wait in seconds before timing out and continuing execution. If this webhook is assigned to a pre-rule webhook in a cloud rule, the CloudFormations will wait for either a success callback from the webhook or for the timeout to be reached. If the timeout in seconds is zero, the webhook will not wait for a callback.
  8. In the Callout URL field, enter in the URL of the service you set up that will handle the webhook call.
  9. Click View Supported Parameters to see a list of parameters supported by When a webhook is triggered, will generate values for these parameters and replace them automatically. You may specify your own value in place of any parameter, or remove any parameter you don’t want to send. Click Hide Supported Parameters to hide this list.
  10. Clicking Add Supported Parameters to URL will append these supported parameters to the Callout URL.
  11. The Request Method field can be either ‘GET’ or ‘POST’.
  12. If ‘POST’ is selected, the Request Body field becomes available. This is a JSON-formatted HTTP payload that contains the Supported Parameters by default. You can replace parameters with your own values, delete parameters, and add your own JSON fields. You can use the Reset button to reset the Request Body to its default state.
  13. Click Test Webhook to send a test response to the webhook to ensure it is listening.
  14. In the Owners drop-down menus, select any users and user groups that will have access to modify this webhook once it is created. They will also receive any error notifications when a webhook fails to run.
  15. Click Create Webhook.

You can now attach this webhook to a cloud rule to apply it to OUs or projects.



Was this article helpful?
0 out of 0 found this helpful