To create a Webhook:
- In the left navigation menu, click Cloud Management > Webhooks.
- Click Add New.
- In the Name field, enter a name to identify the webhook throughout the application.
- In the Description field, enter a description for the webhook.
- To send an IAM access key ID, secret, and session token that is good for one hour, select the Send Access Keys checkbox.
- If you would like to skip the SSL Validation, check the Skip SSL Validation box.
- 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.
- In the Callout URL field, enter in the URL of the service you set up that will handle the webhook call.
- Click View Supported Parameters to see a list of parameters supported by cloudtamer.io. When a webhook is triggered, cloudtamer.io 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.
- Clicking Add Supported Parameters to URL will append these supported parameters to the Callout URL.
- The Request Method field can be either ‘GET’ or ‘POST’.
- 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.
- Click Test Webhook to send a test response to the webhook to ensure it is listening.
- 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.
- Click Create Webhook.
You can now attach this webhook to a cloud rule to apply it to OUs or projects.