# Changelog

What changed in the Diamwall public API.

## 24 November 2026

- **Firewall events in the events feed.** A new `firewall_event` type, with `event_action`, `event_name`, `event_rule` and two new gap reasons, `firewall_history_unverified` and `cursor_expired`. See [Firewall events](https://docs.diamwall.com/products/events/#firewall-events).
- **Firewall events can carry `null`.** Every `firewall_event` has the same 23 keys. Only `event_uid`, `timestamp` and `domain` always have a value. `status` and `asn` are an integer or `null`, and `referer`, `user_agent` and the JA4 fields are `null` instead of `""` when the request did not have them. Syslog (CEF) leaves `null` fields out. See [Firewall events](https://docs.diamwall.com/products/events/#firewall-events).
- **Firewall-only consumers.** The first pull of a consumer that asks only for firewall events can save the consumer and answer `403 SIEM_ACCESS_DENIED` while no firewall source can be read yet. Repeat the request without `start` to carry on. A permission refusal before the consumer exists saves nothing. See [Consumers](https://docs.diamwall.com/products/events/#consumers).

## 23 November 2026

- **Events feed.** A cursor feed of CDN audit events, attack starts and ends, final attack records (`attack_log`) and hourly statistics (`statistics_hour`), with an `event_id` on every event. See [Events feed](https://docs.diamwall.com/products/events/).
- **Breaking: the events feed moved to the organization.** `GET /public-api/events/` was removed. Read `GET /public-api/organizations/{org_public_id}/siem/events/` instead. Consumer names and progress are now shared by the organization, and the feed no longer has `audit_login` or `audit_account` events. See [Moving from the account feed](https://docs.diamwall.com/products/events/#moving-from-the-account-feed).
- **Breaking: event destinations moved to the organization.** `/public-api/event-destinations/` and the `bind_current_key` action were removed. Destinations now live under `/public-api/organizations/{org_public_id}/siem/event-destinations/`, up to 8 for each organization, for Microsoft Sentinel and Splunk (HEC). See [Event destinations](https://docs.diamwall.com/products/event-destinations/).
- **Delivery history.** `GET /public-api/organizations/{org_public_id}/siem/delivery-logs/` returns every attempt to send to an event destination in the last 30 days, with the outcome and the error code. See [Event destinations](https://docs.diamwall.com/products/event-destinations/#see-what-was-sent).
- **Request logs.** `GET /public-api/request-logs/` and `GET /public-api/organizations/{org_public_id}/request-logs/` return the requests made with API keys in the last 30 days: the key, the endpoint, the method, the status and the source IP. See [Request logs](https://docs.diamwall.com/products/request-logs/).
- **The key behind a change.** `audit_cdn` events now carry `api_key_public_id` when the change was made with an API key.
- **Syslog destinations.** An event destination can now use `provider: "syslog"`: Syslog over TLS with the events in CEF, on port 6514 or 5425, with an optional certificate authority of your own. Sentinel and Splunk destinations do not change. See [Event destinations](https://docs.diamwall.com/products/event-destinations/#create-a-destination).
- **New permission: `siem`.** An organization permission with the actions `view`, `create`, `edit` and `delete`. Only the owner of the organization has it by default. See [Permissions](https://docs.diamwall.com/products/events/#permissions).
- **Egress addresses.** A destination now answers `egress_ips`, `egress_status` and `egress_reason_code`, so you know which source addresses to allow at the receiver.
- **New errors.** `403 SIEM_ACCESS_DENIED` and `429 API_KEY_RATE_LIMITED`.
- **Copy settings.** `POST /public-api/domains/{domain_public_id}/copy-settings/` copies the settings and rules of one Enterprise domain to another. See [Domains](https://docs.diamwall.com/products/domains/#copy-settings-from-another-domain).
- **Register a domain.** `POST /public-api/domains/` adds an Enterprise domain to a partner account. See [Domains](https://docs.diamwall.com/products/domains/#register-a-domain).
- **Complete the setup.** `POST /public-api/domains/{domain_public_id}/complete-setup/` confirms the name servers of an Enterprise domain and makes it active.
- **Delete a domain.** `DELETE /public-api/domains/{domain_public_id}/` removes a domain. It requires the `X-Confirm-Domain` header with the exact name of the domain.

## 21 November 2026

- **API keys, preview.** The public API accepts `Authorization: Api-Key <your-key>` on the CDN operations listed in the [API reference](https://docs.diamwall.com/api/).
- **Key limits.** Standard accounts can have 1 active key. Partner accounts have no limit.
- **Domain restrictions.** A key can be limited to a set of domains. A key used outside its domains answers `403 API_KEY_ACCESS_DENIED`.
- **Editing keys.** The allowed IPs and allowed domains of an active key can now be replaced after creation.
- **New endpoint.** `GET /public-api/domains/` lists the domains a key can access, with an optional `?name=` filter.
- **Smaller schema download.** `GET /public-api/openapi.json` is served with gzip when you send `Accept-Encoding: gzip` (about 8 MB becomes 0.8 MB).
