diff --git a/manage/alerting/alert-rules.mdx b/manage/alerting/alert-rules.mdx index 007ba90..aa1e1ed 100644 --- a/manage/alerting/alert-rules.mdx +++ b/manage/alerting/alert-rules.mdx @@ -69,6 +69,8 @@ Configure what happens when the trigger runs: add one or more actions (email, we Webhook bodies are JSON. Every event includes `event`, ISO-8601 `timestamp`, and a `data` object. The event name tells you what changed; `data` always includes `orgId` and entity-specific fields. +`{{data}}` is an object and must be treated as such. If you can not support a object, you can also use the flattened fields shown in the examples below. For example `{{orgId}}`, `{{siteId}}`, and `{{siteName}}` are all available on a site alert. + ### Site events #### `site_online` diff --git a/self-host/advanced/container-cli-tool.mdx b/self-host/advanced/container-cli-tool.mdx index e4fb681..f7cf56c 100644 --- a/self-host/advanced/container-cli-tool.mdx +++ b/self-host/advanced/container-cli-tool.mdx @@ -133,6 +133,14 @@ Generate an SSH CA public/private key pair for an organization and store them in docker exec -it pangolin pangctl generate-org-ca-keys --orgId "org-123" ``` +## Clear certificates + +Clear all certificates from the database to be reinserted by the server when syncing from acme.json files or using Pangolin DNS. + +```bash +docker exec -it pangolin pangctl clear-certificates +``` + ### Options - `--orgId` (required): The organization ID