Function | webhook_modified | Update the date_last_modified property when a Webhook is modified. |
Class | Webhook | See IWebhook . |
Class | WebhookSet | See IWebhookSet . |
Class | WebhookTargetMixin | Undocumented |
Class | WebhookJobType | Values that IWebhookJob.job_type can take. |
Class | WebhookJob | See IWebhookJob . |
Class | WebhookJobDerived | No class docstring; 1/1 class methods, 0/2 methods documented |
Class | WebhookDeliveryJob | A job that delivers an event to a webhook endpoint. |
Function | _redact_payload | Redact a webhook payload for logging. |
This method is registered as a subscriber to IObjectModifiedEvent
events on Webhooks.
Webhook payloads don't generally contain anything that's particularly sensitive for the purposes of logging (i.e. no credentials), although they may contain information that's private to their target. However, we still don't want logs to be clogged up with excessive detail from long user-supplied text fields, so redact some fields that are known to be boring, and truncate any multi-line strings that may slip through.