@automate.ax/integration-contracts 0.104.0 → 0.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/close/events.d.ts +13 -13
  2. package/dist/close/schemas.d.ts +9 -9
  3. package/dist/cloudflare/api.d.ts +93 -0
  4. package/dist/cloudflare/api.js +250 -0
  5. package/dist/cloudflare/events.d.ts +1340 -0
  6. package/dist/cloudflare/events.js +178 -0
  7. package/dist/cloudflare/index.d.ts +3 -0
  8. package/dist/cloudflare/index.js +3 -0
  9. package/dist/cloudflare/schemas.d.ts +608 -0
  10. package/dist/cloudflare/schemas.js +340 -0
  11. package/dist/linear/api.d.ts +1 -1
  12. package/dist/linear/api.js +9 -6
  13. package/dist/linear/index.d.ts +3479 -782
  14. package/dist/linear/index.js +249 -13
  15. package/dist/linear/schemas.d.ts +2721 -28
  16. package/dist/linear/schemas.js +515 -2
  17. package/dist/notion/index.js +2 -2
  18. package/dist/notion/schemas.d.ts +2140 -58
  19. package/dist/notion/schemas.js +41 -2
  20. package/dist/outlook/schemas.d.ts +2 -2
  21. package/dist/resend/action-schemas.d.ts +9 -9
  22. package/dist/resend/index.d.ts +36 -36
  23. package/dist/resend/schemas.d.ts +40 -40
  24. package/dist/slack/event-schemas.d.ts +583 -583
  25. package/dist/slack/index.d.ts +303 -303
  26. package/dist/slack/schemas.d.ts +1 -1
  27. package/dist/teams/schemas.d.ts +5 -5
  28. package/dist/triggers.d.ts +2 -1
  29. package/dist/whatsapp/index.d.ts +2 -2
  30. package/dist/whatsapp/schemas.d.ts +5 -5
  31. package/package.json +8 -2
  32. package/src/cloudflare/api.ts +340 -0
  33. package/src/cloudflare/events.ts +212 -0
  34. package/src/cloudflare/index.ts +3 -0
  35. package/src/cloudflare/schemas.ts +359 -0
  36. package/src/linear/api.ts +10 -6
  37. package/src/linear/index.ts +249 -26
  38. package/src/linear/schemas.ts +688 -2
  39. package/src/notion/index.ts +2 -2
  40. package/src/notion/schemas.ts +58 -4
  41. package/src/triggers.ts +2 -0
@@ -0,0 +1,1340 @@
1
+ import * as z from "zod";
2
+ import { CLOUDFLARE_ALERT_TYPE_SCHEMA } from "./schemas.js";
3
+ export declare const CLOUDFLARE_EVENT_SCHEMA: z.ZodObject<{
4
+ accountId: z.ZodOptional<z.ZodString>;
5
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
6
+ alertEvent: z.ZodOptional<z.ZodString>;
7
+ alertType: z.ZodEnum<{
8
+ abuse_report_alert: "abuse_report_alert";
9
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
10
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
11
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
12
+ advanced_http_alert_error: "advanced_http_alert_error";
13
+ bgp_hijack_notification: "bgp_hijack_notification";
14
+ billing_usage_alert: "billing_usage_alert";
15
+ block_notification_block_removed: "block_notification_block_removed";
16
+ block_notification_new_block: "block_notification_new_block";
17
+ block_notification_review_rejected: "block_notification_review_rejected";
18
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
19
+ brand_protection_alert: "brand_protection_alert";
20
+ brand_protection_digest: "brand_protection_digest";
21
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
22
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
23
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
24
+ cni_maintenance_notification: "cni_maintenance_notification";
25
+ custom_analytics: "custom_analytics";
26
+ custom_bot_detection_alert: "custom_bot_detection_alert";
27
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
28
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
29
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
30
+ dos_attack_l4: "dos_attack_l4";
31
+ dos_attack_l7: "dos_attack_l7";
32
+ expiring_service_token_alert: "expiring_service_token_alert";
33
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
34
+ fbm_auto_advertisement: "fbm_auto_advertisement";
35
+ fbm_dosd_attack: "fbm_dosd_attack";
36
+ fbm_volumetric_attack: "fbm_volumetric_attack";
37
+ health_check_status_notification: "health_check_status_notification";
38
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
39
+ http_alert_edge_error: "http_alert_edge_error";
40
+ http_alert_origin_error: "http_alert_origin_error";
41
+ image_notification: "image_notification";
42
+ image_resizing_notification: "image_resizing_notification";
43
+ incident_alert: "incident_alert";
44
+ load_balancing_health_alert: "load_balancing_health_alert";
45
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
46
+ logo_match_alert: "logo_match_alert";
47
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
48
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
49
+ maintenance_event_notification: "maintenance_event_notification";
50
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
51
+ pages_event_alert: "pages_event_alert";
52
+ radar_notification: "radar_notification";
53
+ real_origin_monitoring: "real_origin_monitoring";
54
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
55
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
56
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
57
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
58
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
59
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
60
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
61
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
62
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
63
+ secondary_dns_warning: "secondary_dns_warning";
64
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
65
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
66
+ security_insights_alert: "security_insights_alert";
67
+ sentinel_alert: "sentinel_alert";
68
+ stream_live_notifications: "stream_live_notifications";
69
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
70
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
71
+ traffic_anomalies_alert: "traffic_anomalies_alert";
72
+ tunnel_health_event: "tunnel_health_event";
73
+ tunnel_update_event: "tunnel_update_event";
74
+ universal_ssl_event_type: "universal_ssl_event_type";
75
+ web_analytics_metrics_update: "web_analytics_metrics_update";
76
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
77
+ }>;
78
+ data: z.ZodPrefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
79
+ name: z.ZodOptional<z.ZodString>;
80
+ policyId: z.ZodOptional<z.ZodString>;
81
+ policyName: z.ZodOptional<z.ZodString>;
82
+ text: z.ZodOptional<z.ZodString>;
83
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
84
+ }, z.core.$strip>;
85
+ export declare const CLOUDFLARE_LAYER_4_DDOS_EVENT_SCHEMA: z.ZodObject<{
86
+ accountId: z.ZodOptional<z.ZodString>;
87
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
88
+ alertEvent: z.ZodOptional<z.ZodString>;
89
+ name: z.ZodOptional<z.ZodString>;
90
+ policyId: z.ZodOptional<z.ZodString>;
91
+ policyName: z.ZodOptional<z.ZodString>;
92
+ text: z.ZodOptional<z.ZodString>;
93
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
94
+ alertType: z.ZodLiteral<"advanced_ddos_attack_l4_alert">;
95
+ data: z.ZodObject<{
96
+ accountName: z.ZodOptional<z.ZodString>;
97
+ accountTag: z.ZodOptional<z.ZodString>;
98
+ action: z.ZodOptional<z.ZodString>;
99
+ attackId: z.ZodOptional<z.ZodString>;
100
+ attackVector: z.ZodOptional<z.ZodString>;
101
+ dashboardLink: z.ZodOptional<z.ZodString>;
102
+ maxRate: z.ZodOptional<z.ZodString>;
103
+ megabitsPerSecond: z.ZodOptional<z.ZodNumber>;
104
+ mitigation: z.ZodOptional<z.ZodString>;
105
+ packetsPerSecond: z.ZodOptional<z.ZodNumber>;
106
+ protocol: z.ZodOptional<z.ZodString>;
107
+ ruleDescription: z.ZodOptional<z.ZodString>;
108
+ ruleId: z.ZodOptional<z.ZodString>;
109
+ ruleName: z.ZodOptional<z.ZodString>;
110
+ rulesetId: z.ZodOptional<z.ZodString>;
111
+ rulesetOverrideId: z.ZodOptional<z.ZodString>;
112
+ startTime: z.ZodOptional<z.ZodString>;
113
+ targetId: z.ZodOptional<z.ZodString>;
114
+ targetIp: z.ZodOptional<z.ZodString>;
115
+ targetPort: z.ZodOptional<z.ZodNumber>;
116
+ }, z.core.$strip>;
117
+ }, z.core.$strip>;
118
+ export declare const CLOUDFLARE_LAYER_7_DDOS_EVENT_SCHEMA: z.ZodObject<{
119
+ accountId: z.ZodOptional<z.ZodString>;
120
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
121
+ alertEvent: z.ZodOptional<z.ZodString>;
122
+ name: z.ZodOptional<z.ZodString>;
123
+ policyId: z.ZodOptional<z.ZodString>;
124
+ policyName: z.ZodOptional<z.ZodString>;
125
+ text: z.ZodOptional<z.ZodString>;
126
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
127
+ alertType: z.ZodLiteral<"advanced_ddos_attack_l7_alert">;
128
+ data: z.ZodObject<{
129
+ accountName: z.ZodOptional<z.ZodString>;
130
+ accountTag: z.ZodOptional<z.ZodString>;
131
+ action: z.ZodOptional<z.ZodString>;
132
+ attackId: z.ZodOptional<z.ZodString>;
133
+ attackType: z.ZodOptional<z.ZodString>;
134
+ dashboardLink: z.ZodOptional<z.ZodString>;
135
+ maxRate: z.ZodOptional<z.ZodString>;
136
+ mitigation: z.ZodOptional<z.ZodString>;
137
+ requestsPerSecond: z.ZodOptional<z.ZodNumber>;
138
+ ruleDescription: z.ZodOptional<z.ZodString>;
139
+ ruleId: z.ZodOptional<z.ZodString>;
140
+ ruleLink: z.ZodOptional<z.ZodString>;
141
+ rulesetId: z.ZodOptional<z.ZodString>;
142
+ rulesetOverrideId: z.ZodOptional<z.ZodString>;
143
+ startTime: z.ZodOptional<z.ZodString>;
144
+ targetHostname: z.ZodOptional<z.ZodString>;
145
+ zoneName: z.ZodOptional<z.ZodString>;
146
+ zoneTag: z.ZodOptional<z.ZodString>;
147
+ }, z.core.$strip>;
148
+ }, z.core.$strip>;
149
+ export declare const CLOUDFLARE_SSL_CERTIFICATE_EVENT_SCHEMA: z.ZodObject<{
150
+ accountId: z.ZodOptional<z.ZodString>;
151
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
152
+ alertEvent: z.ZodOptional<z.ZodString>;
153
+ name: z.ZodOptional<z.ZodString>;
154
+ policyId: z.ZodOptional<z.ZodString>;
155
+ policyName: z.ZodOptional<z.ZodString>;
156
+ text: z.ZodOptional<z.ZodString>;
157
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
158
+ alertType: z.ZodLiteral<"dedicated_ssl_certificate_event_type">;
159
+ data: z.ZodObject<{
160
+ accountName: z.ZodOptional<z.ZodString>;
161
+ accountTag: z.ZodOptional<z.ZodString>;
162
+ certificateId: z.ZodOptional<z.ZodString>;
163
+ certificatePackId: z.ZodOptional<z.ZodString>;
164
+ certificateStatus: z.ZodOptional<z.ZodString>;
165
+ eventType: z.ZodOptional<z.ZodString>;
166
+ hostnames: z.ZodOptional<z.ZodString>;
167
+ packCa: z.ZodOptional<z.ZodString>;
168
+ packId: z.ZodOptional<z.ZodString>;
169
+ packStatus: z.ZodOptional<z.ZodString>;
170
+ packValidation: z.ZodOptional<z.ZodString>;
171
+ zoneName: z.ZodOptional<z.ZodString>;
172
+ zoneTag: z.ZodOptional<z.ZodString>;
173
+ }, z.core.$strip>;
174
+ }, z.core.$strip>;
175
+ export declare const CLOUDFLARE_ORIGIN_HEALTH_CHECK_EVENT_SCHEMA: z.ZodObject<{
176
+ accountId: z.ZodOptional<z.ZodString>;
177
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
178
+ alertEvent: z.ZodOptional<z.ZodString>;
179
+ name: z.ZodOptional<z.ZodString>;
180
+ policyId: z.ZodOptional<z.ZodString>;
181
+ policyName: z.ZodOptional<z.ZodString>;
182
+ text: z.ZodOptional<z.ZodString>;
183
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
184
+ alertType: z.ZodLiteral<"health_check_status_notification">;
185
+ data: z.ZodObject<{
186
+ accountName: z.ZodOptional<z.ZodString>;
187
+ accountTag: z.ZodOptional<z.ZodString>;
188
+ failingRegions: z.ZodOptional<z.ZodString>;
189
+ healthCheckId: z.ZodOptional<z.ZodString>;
190
+ healthCheckName: z.ZodOptional<z.ZodString>;
191
+ newHealthStatus: z.ZodOptional<z.ZodString>;
192
+ newStatus: z.ZodOptional<z.ZodString>;
193
+ oldStatus: z.ZodOptional<z.ZodString>;
194
+ originIp: z.ZodOptional<z.ZodString>;
195
+ reason: z.ZodOptional<z.ZodString>;
196
+ statusChangeTime: z.ZodOptional<z.ZodString>;
197
+ timeSinceLastFailure: z.ZodOptional<z.ZodString>;
198
+ zoneName: z.ZodOptional<z.ZodString>;
199
+ zoneTag: z.ZodOptional<z.ZodString>;
200
+ }, z.core.$strip>;
201
+ }, z.core.$strip>;
202
+ export declare const CLOUDFLARE_ACCESS_CERTIFICATE_EVENT_SCHEMA: z.ZodObject<{
203
+ accountId: z.ZodOptional<z.ZodString>;
204
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
205
+ alertEvent: z.ZodOptional<z.ZodString>;
206
+ name: z.ZodOptional<z.ZodString>;
207
+ policyId: z.ZodOptional<z.ZodString>;
208
+ policyName: z.ZodOptional<z.ZodString>;
209
+ text: z.ZodOptional<z.ZodString>;
210
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
211
+ alertType: z.ZodLiteral<"access_custom_certificate_expiration_type">;
212
+ data: z.ZodObject<{
213
+ accountName: z.ZodOptional<z.ZodString>;
214
+ accountTag: z.ZodOptional<z.ZodString>;
215
+ certificateId: z.ZodOptional<z.ZodString>;
216
+ daysTilExpiration: z.ZodOptional<z.ZodNumber>;
217
+ hostnames: z.ZodOptional<z.ZodString>;
218
+ zoneName: z.ZodOptional<z.ZodString>;
219
+ zoneTag: z.ZodOptional<z.ZodString>;
220
+ }, z.core.$strip>;
221
+ }, z.core.$strip>;
222
+ export declare const CLOUDFLARE_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
223
+ accountId: z.ZodString;
224
+ alertTypes: z.ZodArray<z.ZodEnum<{
225
+ abuse_report_alert: "abuse_report_alert";
226
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
227
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
228
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
229
+ advanced_http_alert_error: "advanced_http_alert_error";
230
+ bgp_hijack_notification: "bgp_hijack_notification";
231
+ billing_usage_alert: "billing_usage_alert";
232
+ block_notification_block_removed: "block_notification_block_removed";
233
+ block_notification_new_block: "block_notification_new_block";
234
+ block_notification_review_rejected: "block_notification_review_rejected";
235
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
236
+ brand_protection_alert: "brand_protection_alert";
237
+ brand_protection_digest: "brand_protection_digest";
238
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
239
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
240
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
241
+ cni_maintenance_notification: "cni_maintenance_notification";
242
+ custom_analytics: "custom_analytics";
243
+ custom_bot_detection_alert: "custom_bot_detection_alert";
244
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
245
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
246
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
247
+ dos_attack_l4: "dos_attack_l4";
248
+ dos_attack_l7: "dos_attack_l7";
249
+ expiring_service_token_alert: "expiring_service_token_alert";
250
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
251
+ fbm_auto_advertisement: "fbm_auto_advertisement";
252
+ fbm_dosd_attack: "fbm_dosd_attack";
253
+ fbm_volumetric_attack: "fbm_volumetric_attack";
254
+ health_check_status_notification: "health_check_status_notification";
255
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
256
+ http_alert_edge_error: "http_alert_edge_error";
257
+ http_alert_origin_error: "http_alert_origin_error";
258
+ image_notification: "image_notification";
259
+ image_resizing_notification: "image_resizing_notification";
260
+ incident_alert: "incident_alert";
261
+ load_balancing_health_alert: "load_balancing_health_alert";
262
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
263
+ logo_match_alert: "logo_match_alert";
264
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
265
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
266
+ maintenance_event_notification: "maintenance_event_notification";
267
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
268
+ pages_event_alert: "pages_event_alert";
269
+ radar_notification: "radar_notification";
270
+ real_origin_monitoring: "real_origin_monitoring";
271
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
272
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
273
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
274
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
275
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
276
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
277
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
278
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
279
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
280
+ secondary_dns_warning: "secondary_dns_warning";
281
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
282
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
283
+ security_insights_alert: "security_insights_alert";
284
+ sentinel_alert: "sentinel_alert";
285
+ stream_live_notifications: "stream_live_notifications";
286
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
287
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
288
+ traffic_anomalies_alert: "traffic_anomalies_alert";
289
+ tunnel_health_event: "tunnel_health_event";
290
+ tunnel_update_event: "tunnel_update_event";
291
+ universal_ssl_event_type: "universal_ssl_event_type";
292
+ web_analytics_metrics_update: "web_analytics_metrics_update";
293
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
294
+ }>>;
295
+ filters: z.ZodOptional<z.ZodObject<{
296
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
297
+ affectedAsns: z.ZodOptional<z.ZodArray<z.ZodString>>;
298
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
299
+ affectedLocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
300
+ airportCode: z.ZodOptional<z.ZodArray<z.ZodString>>;
301
+ alertTriggerPreferences: z.ZodOptional<z.ZodArray<z.ZodString>>;
302
+ alertTriggerPreferencesValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
303
+ enabled: z.ZodOptional<z.ZodArray<z.ZodString>>;
304
+ environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
305
+ event: z.ZodOptional<z.ZodArray<z.ZodString>>;
306
+ eventSource: z.ZodOptional<z.ZodArray<z.ZodString>>;
307
+ eventType: z.ZodOptional<z.ZodArray<z.ZodString>>;
308
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
309
+ healthCheckId: z.ZodOptional<z.ZodArray<z.ZodString>>;
310
+ incidentImpact: z.ZodOptional<z.ZodArray<z.ZodEnum<{
311
+ INCIDENT_IMPACT_CRITICAL: "INCIDENT_IMPACT_CRITICAL";
312
+ INCIDENT_IMPACT_MAJOR: "INCIDENT_IMPACT_MAJOR";
313
+ INCIDENT_IMPACT_MINOR: "INCIDENT_IMPACT_MINOR";
314
+ INCIDENT_IMPACT_NONE: "INCIDENT_IMPACT_NONE";
315
+ }>>>;
316
+ inputId: z.ZodOptional<z.ZodArray<z.ZodString>>;
317
+ insightClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
318
+ limit: z.ZodOptional<z.ZodArray<z.ZodString>>;
319
+ logoTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
320
+ megabitsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
321
+ newHealth: z.ZodOptional<z.ZodArray<z.ZodString>>;
322
+ newStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
323
+ packetsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
324
+ poolId: z.ZodOptional<z.ZodArray<z.ZodString>>;
325
+ popNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
326
+ product: z.ZodOptional<z.ZodArray<z.ZodString>>;
327
+ projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
328
+ protocol: z.ZodOptional<z.ZodArray<z.ZodString>>;
329
+ queryTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
330
+ requestsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
331
+ selectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
332
+ services: z.ZodOptional<z.ZodArray<z.ZodString>>;
333
+ slo: z.ZodOptional<z.ZodArray<z.ZodString>>;
334
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
335
+ targetHostname: z.ZodOptional<z.ZodArray<z.ZodString>>;
336
+ targetIp: z.ZodOptional<z.ZodArray<z.ZodString>>;
337
+ targetZoneName: z.ZodOptional<z.ZodArray<z.ZodString>>;
338
+ trafficExclusions: z.ZodOptional<z.ZodArray<z.ZodLiteral<"security_events">>>;
339
+ tunnelId: z.ZodOptional<z.ZodArray<z.ZodString>>;
340
+ tunnelName: z.ZodOptional<z.ZodArray<z.ZodString>>;
341
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
342
+ where: z.ZodOptional<z.ZodArray<z.ZodString>>;
343
+ zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
344
+ }, z.core.$strip>>;
345
+ }, z.core.$strip>;
346
+ export declare const cloudflareTriggerContracts: {
347
+ readonly "cloudflare.accessCertificate.expiring": {
348
+ readonly configSchema: z.ZodObject<{
349
+ accountId: z.ZodString;
350
+ alertTypes: z.ZodArray<z.ZodEnum<{
351
+ abuse_report_alert: "abuse_report_alert";
352
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
353
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
354
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
355
+ advanced_http_alert_error: "advanced_http_alert_error";
356
+ bgp_hijack_notification: "bgp_hijack_notification";
357
+ billing_usage_alert: "billing_usage_alert";
358
+ block_notification_block_removed: "block_notification_block_removed";
359
+ block_notification_new_block: "block_notification_new_block";
360
+ block_notification_review_rejected: "block_notification_review_rejected";
361
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
362
+ brand_protection_alert: "brand_protection_alert";
363
+ brand_protection_digest: "brand_protection_digest";
364
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
365
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
366
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
367
+ cni_maintenance_notification: "cni_maintenance_notification";
368
+ custom_analytics: "custom_analytics";
369
+ custom_bot_detection_alert: "custom_bot_detection_alert";
370
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
371
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
372
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
373
+ dos_attack_l4: "dos_attack_l4";
374
+ dos_attack_l7: "dos_attack_l7";
375
+ expiring_service_token_alert: "expiring_service_token_alert";
376
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
377
+ fbm_auto_advertisement: "fbm_auto_advertisement";
378
+ fbm_dosd_attack: "fbm_dosd_attack";
379
+ fbm_volumetric_attack: "fbm_volumetric_attack";
380
+ health_check_status_notification: "health_check_status_notification";
381
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
382
+ http_alert_edge_error: "http_alert_edge_error";
383
+ http_alert_origin_error: "http_alert_origin_error";
384
+ image_notification: "image_notification";
385
+ image_resizing_notification: "image_resizing_notification";
386
+ incident_alert: "incident_alert";
387
+ load_balancing_health_alert: "load_balancing_health_alert";
388
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
389
+ logo_match_alert: "logo_match_alert";
390
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
391
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
392
+ maintenance_event_notification: "maintenance_event_notification";
393
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
394
+ pages_event_alert: "pages_event_alert";
395
+ radar_notification: "radar_notification";
396
+ real_origin_monitoring: "real_origin_monitoring";
397
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
398
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
399
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
400
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
401
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
402
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
403
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
404
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
405
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
406
+ secondary_dns_warning: "secondary_dns_warning";
407
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
408
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
409
+ security_insights_alert: "security_insights_alert";
410
+ sentinel_alert: "sentinel_alert";
411
+ stream_live_notifications: "stream_live_notifications";
412
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
413
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
414
+ traffic_anomalies_alert: "traffic_anomalies_alert";
415
+ tunnel_health_event: "tunnel_health_event";
416
+ tunnel_update_event: "tunnel_update_event";
417
+ universal_ssl_event_type: "universal_ssl_event_type";
418
+ web_analytics_metrics_update: "web_analytics_metrics_update";
419
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
420
+ }>>;
421
+ filters: z.ZodOptional<z.ZodObject<{
422
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
423
+ affectedAsns: z.ZodOptional<z.ZodArray<z.ZodString>>;
424
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
425
+ affectedLocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
426
+ airportCode: z.ZodOptional<z.ZodArray<z.ZodString>>;
427
+ alertTriggerPreferences: z.ZodOptional<z.ZodArray<z.ZodString>>;
428
+ alertTriggerPreferencesValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
429
+ enabled: z.ZodOptional<z.ZodArray<z.ZodString>>;
430
+ environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
431
+ event: z.ZodOptional<z.ZodArray<z.ZodString>>;
432
+ eventSource: z.ZodOptional<z.ZodArray<z.ZodString>>;
433
+ eventType: z.ZodOptional<z.ZodArray<z.ZodString>>;
434
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
435
+ healthCheckId: z.ZodOptional<z.ZodArray<z.ZodString>>;
436
+ incidentImpact: z.ZodOptional<z.ZodArray<z.ZodEnum<{
437
+ INCIDENT_IMPACT_CRITICAL: "INCIDENT_IMPACT_CRITICAL";
438
+ INCIDENT_IMPACT_MAJOR: "INCIDENT_IMPACT_MAJOR";
439
+ INCIDENT_IMPACT_MINOR: "INCIDENT_IMPACT_MINOR";
440
+ INCIDENT_IMPACT_NONE: "INCIDENT_IMPACT_NONE";
441
+ }>>>;
442
+ inputId: z.ZodOptional<z.ZodArray<z.ZodString>>;
443
+ insightClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
444
+ limit: z.ZodOptional<z.ZodArray<z.ZodString>>;
445
+ logoTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
446
+ megabitsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
447
+ newHealth: z.ZodOptional<z.ZodArray<z.ZodString>>;
448
+ newStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
449
+ packetsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
450
+ poolId: z.ZodOptional<z.ZodArray<z.ZodString>>;
451
+ popNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
452
+ product: z.ZodOptional<z.ZodArray<z.ZodString>>;
453
+ projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
454
+ protocol: z.ZodOptional<z.ZodArray<z.ZodString>>;
455
+ queryTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
456
+ requestsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
457
+ selectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
458
+ services: z.ZodOptional<z.ZodArray<z.ZodString>>;
459
+ slo: z.ZodOptional<z.ZodArray<z.ZodString>>;
460
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
461
+ targetHostname: z.ZodOptional<z.ZodArray<z.ZodString>>;
462
+ targetIp: z.ZodOptional<z.ZodArray<z.ZodString>>;
463
+ targetZoneName: z.ZodOptional<z.ZodArray<z.ZodString>>;
464
+ trafficExclusions: z.ZodOptional<z.ZodArray<z.ZodLiteral<"security_events">>>;
465
+ tunnelId: z.ZodOptional<z.ZodArray<z.ZodString>>;
466
+ tunnelName: z.ZodOptional<z.ZodArray<z.ZodString>>;
467
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
468
+ where: z.ZodOptional<z.ZodArray<z.ZodString>>;
469
+ zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
470
+ }, z.core.$strip>>;
471
+ }, z.core.$strip>;
472
+ readonly eventSchema: z.ZodObject<{
473
+ accountId: z.ZodOptional<z.ZodString>;
474
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
475
+ alertEvent: z.ZodOptional<z.ZodString>;
476
+ name: z.ZodOptional<z.ZodString>;
477
+ policyId: z.ZodOptional<z.ZodString>;
478
+ policyName: z.ZodOptional<z.ZodString>;
479
+ text: z.ZodOptional<z.ZodString>;
480
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
481
+ alertType: z.ZodLiteral<"access_custom_certificate_expiration_type">;
482
+ data: z.ZodObject<{
483
+ accountName: z.ZodOptional<z.ZodString>;
484
+ accountTag: z.ZodOptional<z.ZodString>;
485
+ certificateId: z.ZodOptional<z.ZodString>;
486
+ daysTilExpiration: z.ZodOptional<z.ZodNumber>;
487
+ hostnames: z.ZodOptional<z.ZodString>;
488
+ zoneName: z.ZodOptional<z.ZodString>;
489
+ zoneTag: z.ZodOptional<z.ZodString>;
490
+ }, z.core.$strip>;
491
+ }, z.core.$strip>;
492
+ };
493
+ readonly "cloudflare.layer4DdosAttack": {
494
+ readonly configSchema: z.ZodObject<{
495
+ accountId: z.ZodString;
496
+ alertTypes: z.ZodArray<z.ZodEnum<{
497
+ abuse_report_alert: "abuse_report_alert";
498
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
499
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
500
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
501
+ advanced_http_alert_error: "advanced_http_alert_error";
502
+ bgp_hijack_notification: "bgp_hijack_notification";
503
+ billing_usage_alert: "billing_usage_alert";
504
+ block_notification_block_removed: "block_notification_block_removed";
505
+ block_notification_new_block: "block_notification_new_block";
506
+ block_notification_review_rejected: "block_notification_review_rejected";
507
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
508
+ brand_protection_alert: "brand_protection_alert";
509
+ brand_protection_digest: "brand_protection_digest";
510
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
511
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
512
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
513
+ cni_maintenance_notification: "cni_maintenance_notification";
514
+ custom_analytics: "custom_analytics";
515
+ custom_bot_detection_alert: "custom_bot_detection_alert";
516
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
517
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
518
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
519
+ dos_attack_l4: "dos_attack_l4";
520
+ dos_attack_l7: "dos_attack_l7";
521
+ expiring_service_token_alert: "expiring_service_token_alert";
522
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
523
+ fbm_auto_advertisement: "fbm_auto_advertisement";
524
+ fbm_dosd_attack: "fbm_dosd_attack";
525
+ fbm_volumetric_attack: "fbm_volumetric_attack";
526
+ health_check_status_notification: "health_check_status_notification";
527
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
528
+ http_alert_edge_error: "http_alert_edge_error";
529
+ http_alert_origin_error: "http_alert_origin_error";
530
+ image_notification: "image_notification";
531
+ image_resizing_notification: "image_resizing_notification";
532
+ incident_alert: "incident_alert";
533
+ load_balancing_health_alert: "load_balancing_health_alert";
534
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
535
+ logo_match_alert: "logo_match_alert";
536
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
537
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
538
+ maintenance_event_notification: "maintenance_event_notification";
539
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
540
+ pages_event_alert: "pages_event_alert";
541
+ radar_notification: "radar_notification";
542
+ real_origin_monitoring: "real_origin_monitoring";
543
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
544
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
545
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
546
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
547
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
548
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
549
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
550
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
551
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
552
+ secondary_dns_warning: "secondary_dns_warning";
553
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
554
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
555
+ security_insights_alert: "security_insights_alert";
556
+ sentinel_alert: "sentinel_alert";
557
+ stream_live_notifications: "stream_live_notifications";
558
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
559
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
560
+ traffic_anomalies_alert: "traffic_anomalies_alert";
561
+ tunnel_health_event: "tunnel_health_event";
562
+ tunnel_update_event: "tunnel_update_event";
563
+ universal_ssl_event_type: "universal_ssl_event_type";
564
+ web_analytics_metrics_update: "web_analytics_metrics_update";
565
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
566
+ }>>;
567
+ filters: z.ZodOptional<z.ZodObject<{
568
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
569
+ affectedAsns: z.ZodOptional<z.ZodArray<z.ZodString>>;
570
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
571
+ affectedLocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
572
+ airportCode: z.ZodOptional<z.ZodArray<z.ZodString>>;
573
+ alertTriggerPreferences: z.ZodOptional<z.ZodArray<z.ZodString>>;
574
+ alertTriggerPreferencesValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
575
+ enabled: z.ZodOptional<z.ZodArray<z.ZodString>>;
576
+ environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
577
+ event: z.ZodOptional<z.ZodArray<z.ZodString>>;
578
+ eventSource: z.ZodOptional<z.ZodArray<z.ZodString>>;
579
+ eventType: z.ZodOptional<z.ZodArray<z.ZodString>>;
580
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
581
+ healthCheckId: z.ZodOptional<z.ZodArray<z.ZodString>>;
582
+ incidentImpact: z.ZodOptional<z.ZodArray<z.ZodEnum<{
583
+ INCIDENT_IMPACT_CRITICAL: "INCIDENT_IMPACT_CRITICAL";
584
+ INCIDENT_IMPACT_MAJOR: "INCIDENT_IMPACT_MAJOR";
585
+ INCIDENT_IMPACT_MINOR: "INCIDENT_IMPACT_MINOR";
586
+ INCIDENT_IMPACT_NONE: "INCIDENT_IMPACT_NONE";
587
+ }>>>;
588
+ inputId: z.ZodOptional<z.ZodArray<z.ZodString>>;
589
+ insightClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
590
+ limit: z.ZodOptional<z.ZodArray<z.ZodString>>;
591
+ logoTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
592
+ megabitsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
593
+ newHealth: z.ZodOptional<z.ZodArray<z.ZodString>>;
594
+ newStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
595
+ packetsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
596
+ poolId: z.ZodOptional<z.ZodArray<z.ZodString>>;
597
+ popNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
598
+ product: z.ZodOptional<z.ZodArray<z.ZodString>>;
599
+ projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
600
+ protocol: z.ZodOptional<z.ZodArray<z.ZodString>>;
601
+ queryTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
602
+ requestsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
603
+ selectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
604
+ services: z.ZodOptional<z.ZodArray<z.ZodString>>;
605
+ slo: z.ZodOptional<z.ZodArray<z.ZodString>>;
606
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
607
+ targetHostname: z.ZodOptional<z.ZodArray<z.ZodString>>;
608
+ targetIp: z.ZodOptional<z.ZodArray<z.ZodString>>;
609
+ targetZoneName: z.ZodOptional<z.ZodArray<z.ZodString>>;
610
+ trafficExclusions: z.ZodOptional<z.ZodArray<z.ZodLiteral<"security_events">>>;
611
+ tunnelId: z.ZodOptional<z.ZodArray<z.ZodString>>;
612
+ tunnelName: z.ZodOptional<z.ZodArray<z.ZodString>>;
613
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
614
+ where: z.ZodOptional<z.ZodArray<z.ZodString>>;
615
+ zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
616
+ }, z.core.$strip>>;
617
+ }, z.core.$strip>;
618
+ readonly eventSchema: z.ZodObject<{
619
+ accountId: z.ZodOptional<z.ZodString>;
620
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
621
+ alertEvent: z.ZodOptional<z.ZodString>;
622
+ name: z.ZodOptional<z.ZodString>;
623
+ policyId: z.ZodOptional<z.ZodString>;
624
+ policyName: z.ZodOptional<z.ZodString>;
625
+ text: z.ZodOptional<z.ZodString>;
626
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
627
+ alertType: z.ZodLiteral<"advanced_ddos_attack_l4_alert">;
628
+ data: z.ZodObject<{
629
+ accountName: z.ZodOptional<z.ZodString>;
630
+ accountTag: z.ZodOptional<z.ZodString>;
631
+ action: z.ZodOptional<z.ZodString>;
632
+ attackId: z.ZodOptional<z.ZodString>;
633
+ attackVector: z.ZodOptional<z.ZodString>;
634
+ dashboardLink: z.ZodOptional<z.ZodString>;
635
+ maxRate: z.ZodOptional<z.ZodString>;
636
+ megabitsPerSecond: z.ZodOptional<z.ZodNumber>;
637
+ mitigation: z.ZodOptional<z.ZodString>;
638
+ packetsPerSecond: z.ZodOptional<z.ZodNumber>;
639
+ protocol: z.ZodOptional<z.ZodString>;
640
+ ruleDescription: z.ZodOptional<z.ZodString>;
641
+ ruleId: z.ZodOptional<z.ZodString>;
642
+ ruleName: z.ZodOptional<z.ZodString>;
643
+ rulesetId: z.ZodOptional<z.ZodString>;
644
+ rulesetOverrideId: z.ZodOptional<z.ZodString>;
645
+ startTime: z.ZodOptional<z.ZodString>;
646
+ targetId: z.ZodOptional<z.ZodString>;
647
+ targetIp: z.ZodOptional<z.ZodString>;
648
+ targetPort: z.ZodOptional<z.ZodNumber>;
649
+ }, z.core.$strip>;
650
+ }, z.core.$strip>;
651
+ };
652
+ readonly "cloudflare.layer7DdosAttack": {
653
+ readonly configSchema: z.ZodObject<{
654
+ accountId: z.ZodString;
655
+ alertTypes: z.ZodArray<z.ZodEnum<{
656
+ abuse_report_alert: "abuse_report_alert";
657
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
658
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
659
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
660
+ advanced_http_alert_error: "advanced_http_alert_error";
661
+ bgp_hijack_notification: "bgp_hijack_notification";
662
+ billing_usage_alert: "billing_usage_alert";
663
+ block_notification_block_removed: "block_notification_block_removed";
664
+ block_notification_new_block: "block_notification_new_block";
665
+ block_notification_review_rejected: "block_notification_review_rejected";
666
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
667
+ brand_protection_alert: "brand_protection_alert";
668
+ brand_protection_digest: "brand_protection_digest";
669
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
670
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
671
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
672
+ cni_maintenance_notification: "cni_maintenance_notification";
673
+ custom_analytics: "custom_analytics";
674
+ custom_bot_detection_alert: "custom_bot_detection_alert";
675
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
676
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
677
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
678
+ dos_attack_l4: "dos_attack_l4";
679
+ dos_attack_l7: "dos_attack_l7";
680
+ expiring_service_token_alert: "expiring_service_token_alert";
681
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
682
+ fbm_auto_advertisement: "fbm_auto_advertisement";
683
+ fbm_dosd_attack: "fbm_dosd_attack";
684
+ fbm_volumetric_attack: "fbm_volumetric_attack";
685
+ health_check_status_notification: "health_check_status_notification";
686
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
687
+ http_alert_edge_error: "http_alert_edge_error";
688
+ http_alert_origin_error: "http_alert_origin_error";
689
+ image_notification: "image_notification";
690
+ image_resizing_notification: "image_resizing_notification";
691
+ incident_alert: "incident_alert";
692
+ load_balancing_health_alert: "load_balancing_health_alert";
693
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
694
+ logo_match_alert: "logo_match_alert";
695
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
696
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
697
+ maintenance_event_notification: "maintenance_event_notification";
698
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
699
+ pages_event_alert: "pages_event_alert";
700
+ radar_notification: "radar_notification";
701
+ real_origin_monitoring: "real_origin_monitoring";
702
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
703
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
704
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
705
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
706
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
707
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
708
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
709
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
710
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
711
+ secondary_dns_warning: "secondary_dns_warning";
712
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
713
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
714
+ security_insights_alert: "security_insights_alert";
715
+ sentinel_alert: "sentinel_alert";
716
+ stream_live_notifications: "stream_live_notifications";
717
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
718
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
719
+ traffic_anomalies_alert: "traffic_anomalies_alert";
720
+ tunnel_health_event: "tunnel_health_event";
721
+ tunnel_update_event: "tunnel_update_event";
722
+ universal_ssl_event_type: "universal_ssl_event_type";
723
+ web_analytics_metrics_update: "web_analytics_metrics_update";
724
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
725
+ }>>;
726
+ filters: z.ZodOptional<z.ZodObject<{
727
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
728
+ affectedAsns: z.ZodOptional<z.ZodArray<z.ZodString>>;
729
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
730
+ affectedLocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
731
+ airportCode: z.ZodOptional<z.ZodArray<z.ZodString>>;
732
+ alertTriggerPreferences: z.ZodOptional<z.ZodArray<z.ZodString>>;
733
+ alertTriggerPreferencesValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
734
+ enabled: z.ZodOptional<z.ZodArray<z.ZodString>>;
735
+ environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
736
+ event: z.ZodOptional<z.ZodArray<z.ZodString>>;
737
+ eventSource: z.ZodOptional<z.ZodArray<z.ZodString>>;
738
+ eventType: z.ZodOptional<z.ZodArray<z.ZodString>>;
739
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
740
+ healthCheckId: z.ZodOptional<z.ZodArray<z.ZodString>>;
741
+ incidentImpact: z.ZodOptional<z.ZodArray<z.ZodEnum<{
742
+ INCIDENT_IMPACT_CRITICAL: "INCIDENT_IMPACT_CRITICAL";
743
+ INCIDENT_IMPACT_MAJOR: "INCIDENT_IMPACT_MAJOR";
744
+ INCIDENT_IMPACT_MINOR: "INCIDENT_IMPACT_MINOR";
745
+ INCIDENT_IMPACT_NONE: "INCIDENT_IMPACT_NONE";
746
+ }>>>;
747
+ inputId: z.ZodOptional<z.ZodArray<z.ZodString>>;
748
+ insightClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
749
+ limit: z.ZodOptional<z.ZodArray<z.ZodString>>;
750
+ logoTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
751
+ megabitsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
752
+ newHealth: z.ZodOptional<z.ZodArray<z.ZodString>>;
753
+ newStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
754
+ packetsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
755
+ poolId: z.ZodOptional<z.ZodArray<z.ZodString>>;
756
+ popNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
757
+ product: z.ZodOptional<z.ZodArray<z.ZodString>>;
758
+ projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
759
+ protocol: z.ZodOptional<z.ZodArray<z.ZodString>>;
760
+ queryTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
761
+ requestsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
762
+ selectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
763
+ services: z.ZodOptional<z.ZodArray<z.ZodString>>;
764
+ slo: z.ZodOptional<z.ZodArray<z.ZodString>>;
765
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
766
+ targetHostname: z.ZodOptional<z.ZodArray<z.ZodString>>;
767
+ targetIp: z.ZodOptional<z.ZodArray<z.ZodString>>;
768
+ targetZoneName: z.ZodOptional<z.ZodArray<z.ZodString>>;
769
+ trafficExclusions: z.ZodOptional<z.ZodArray<z.ZodLiteral<"security_events">>>;
770
+ tunnelId: z.ZodOptional<z.ZodArray<z.ZodString>>;
771
+ tunnelName: z.ZodOptional<z.ZodArray<z.ZodString>>;
772
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
773
+ where: z.ZodOptional<z.ZodArray<z.ZodString>>;
774
+ zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
775
+ }, z.core.$strip>>;
776
+ }, z.core.$strip>;
777
+ readonly eventSchema: z.ZodObject<{
778
+ accountId: z.ZodOptional<z.ZodString>;
779
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
780
+ alertEvent: z.ZodOptional<z.ZodString>;
781
+ name: z.ZodOptional<z.ZodString>;
782
+ policyId: z.ZodOptional<z.ZodString>;
783
+ policyName: z.ZodOptional<z.ZodString>;
784
+ text: z.ZodOptional<z.ZodString>;
785
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
786
+ alertType: z.ZodLiteral<"advanced_ddos_attack_l7_alert">;
787
+ data: z.ZodObject<{
788
+ accountName: z.ZodOptional<z.ZodString>;
789
+ accountTag: z.ZodOptional<z.ZodString>;
790
+ action: z.ZodOptional<z.ZodString>;
791
+ attackId: z.ZodOptional<z.ZodString>;
792
+ attackType: z.ZodOptional<z.ZodString>;
793
+ dashboardLink: z.ZodOptional<z.ZodString>;
794
+ maxRate: z.ZodOptional<z.ZodString>;
795
+ mitigation: z.ZodOptional<z.ZodString>;
796
+ requestsPerSecond: z.ZodOptional<z.ZodNumber>;
797
+ ruleDescription: z.ZodOptional<z.ZodString>;
798
+ ruleId: z.ZodOptional<z.ZodString>;
799
+ ruleLink: z.ZodOptional<z.ZodString>;
800
+ rulesetId: z.ZodOptional<z.ZodString>;
801
+ rulesetOverrideId: z.ZodOptional<z.ZodString>;
802
+ startTime: z.ZodOptional<z.ZodString>;
803
+ targetHostname: z.ZodOptional<z.ZodString>;
804
+ zoneName: z.ZodOptional<z.ZodString>;
805
+ zoneTag: z.ZodOptional<z.ZodString>;
806
+ }, z.core.$strip>;
807
+ }, z.core.$strip>;
808
+ };
809
+ readonly "cloudflare.notification": {
810
+ readonly configSchema: z.ZodObject<{
811
+ accountId: z.ZodString;
812
+ alertTypes: z.ZodArray<z.ZodEnum<{
813
+ abuse_report_alert: "abuse_report_alert";
814
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
815
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
816
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
817
+ advanced_http_alert_error: "advanced_http_alert_error";
818
+ bgp_hijack_notification: "bgp_hijack_notification";
819
+ billing_usage_alert: "billing_usage_alert";
820
+ block_notification_block_removed: "block_notification_block_removed";
821
+ block_notification_new_block: "block_notification_new_block";
822
+ block_notification_review_rejected: "block_notification_review_rejected";
823
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
824
+ brand_protection_alert: "brand_protection_alert";
825
+ brand_protection_digest: "brand_protection_digest";
826
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
827
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
828
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
829
+ cni_maintenance_notification: "cni_maintenance_notification";
830
+ custom_analytics: "custom_analytics";
831
+ custom_bot_detection_alert: "custom_bot_detection_alert";
832
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
833
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
834
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
835
+ dos_attack_l4: "dos_attack_l4";
836
+ dos_attack_l7: "dos_attack_l7";
837
+ expiring_service_token_alert: "expiring_service_token_alert";
838
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
839
+ fbm_auto_advertisement: "fbm_auto_advertisement";
840
+ fbm_dosd_attack: "fbm_dosd_attack";
841
+ fbm_volumetric_attack: "fbm_volumetric_attack";
842
+ health_check_status_notification: "health_check_status_notification";
843
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
844
+ http_alert_edge_error: "http_alert_edge_error";
845
+ http_alert_origin_error: "http_alert_origin_error";
846
+ image_notification: "image_notification";
847
+ image_resizing_notification: "image_resizing_notification";
848
+ incident_alert: "incident_alert";
849
+ load_balancing_health_alert: "load_balancing_health_alert";
850
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
851
+ logo_match_alert: "logo_match_alert";
852
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
853
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
854
+ maintenance_event_notification: "maintenance_event_notification";
855
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
856
+ pages_event_alert: "pages_event_alert";
857
+ radar_notification: "radar_notification";
858
+ real_origin_monitoring: "real_origin_monitoring";
859
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
860
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
861
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
862
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
863
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
864
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
865
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
866
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
867
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
868
+ secondary_dns_warning: "secondary_dns_warning";
869
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
870
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
871
+ security_insights_alert: "security_insights_alert";
872
+ sentinel_alert: "sentinel_alert";
873
+ stream_live_notifications: "stream_live_notifications";
874
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
875
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
876
+ traffic_anomalies_alert: "traffic_anomalies_alert";
877
+ tunnel_health_event: "tunnel_health_event";
878
+ tunnel_update_event: "tunnel_update_event";
879
+ universal_ssl_event_type: "universal_ssl_event_type";
880
+ web_analytics_metrics_update: "web_analytics_metrics_update";
881
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
882
+ }>>;
883
+ filters: z.ZodOptional<z.ZodObject<{
884
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
885
+ affectedAsns: z.ZodOptional<z.ZodArray<z.ZodString>>;
886
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
887
+ affectedLocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
888
+ airportCode: z.ZodOptional<z.ZodArray<z.ZodString>>;
889
+ alertTriggerPreferences: z.ZodOptional<z.ZodArray<z.ZodString>>;
890
+ alertTriggerPreferencesValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
891
+ enabled: z.ZodOptional<z.ZodArray<z.ZodString>>;
892
+ environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
893
+ event: z.ZodOptional<z.ZodArray<z.ZodString>>;
894
+ eventSource: z.ZodOptional<z.ZodArray<z.ZodString>>;
895
+ eventType: z.ZodOptional<z.ZodArray<z.ZodString>>;
896
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
897
+ healthCheckId: z.ZodOptional<z.ZodArray<z.ZodString>>;
898
+ incidentImpact: z.ZodOptional<z.ZodArray<z.ZodEnum<{
899
+ INCIDENT_IMPACT_CRITICAL: "INCIDENT_IMPACT_CRITICAL";
900
+ INCIDENT_IMPACT_MAJOR: "INCIDENT_IMPACT_MAJOR";
901
+ INCIDENT_IMPACT_MINOR: "INCIDENT_IMPACT_MINOR";
902
+ INCIDENT_IMPACT_NONE: "INCIDENT_IMPACT_NONE";
903
+ }>>>;
904
+ inputId: z.ZodOptional<z.ZodArray<z.ZodString>>;
905
+ insightClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
906
+ limit: z.ZodOptional<z.ZodArray<z.ZodString>>;
907
+ logoTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
908
+ megabitsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
909
+ newHealth: z.ZodOptional<z.ZodArray<z.ZodString>>;
910
+ newStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
911
+ packetsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
912
+ poolId: z.ZodOptional<z.ZodArray<z.ZodString>>;
913
+ popNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
914
+ product: z.ZodOptional<z.ZodArray<z.ZodString>>;
915
+ projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
916
+ protocol: z.ZodOptional<z.ZodArray<z.ZodString>>;
917
+ queryTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
918
+ requestsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
919
+ selectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
920
+ services: z.ZodOptional<z.ZodArray<z.ZodString>>;
921
+ slo: z.ZodOptional<z.ZodArray<z.ZodString>>;
922
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
923
+ targetHostname: z.ZodOptional<z.ZodArray<z.ZodString>>;
924
+ targetIp: z.ZodOptional<z.ZodArray<z.ZodString>>;
925
+ targetZoneName: z.ZodOptional<z.ZodArray<z.ZodString>>;
926
+ trafficExclusions: z.ZodOptional<z.ZodArray<z.ZodLiteral<"security_events">>>;
927
+ tunnelId: z.ZodOptional<z.ZodArray<z.ZodString>>;
928
+ tunnelName: z.ZodOptional<z.ZodArray<z.ZodString>>;
929
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
930
+ where: z.ZodOptional<z.ZodArray<z.ZodString>>;
931
+ zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
932
+ }, z.core.$strip>>;
933
+ }, z.core.$strip>;
934
+ readonly eventSchema: z.ZodObject<{
935
+ accountId: z.ZodOptional<z.ZodString>;
936
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
937
+ alertEvent: z.ZodOptional<z.ZodString>;
938
+ alertType: z.ZodEnum<{
939
+ abuse_report_alert: "abuse_report_alert";
940
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
941
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
942
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
943
+ advanced_http_alert_error: "advanced_http_alert_error";
944
+ bgp_hijack_notification: "bgp_hijack_notification";
945
+ billing_usage_alert: "billing_usage_alert";
946
+ block_notification_block_removed: "block_notification_block_removed";
947
+ block_notification_new_block: "block_notification_new_block";
948
+ block_notification_review_rejected: "block_notification_review_rejected";
949
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
950
+ brand_protection_alert: "brand_protection_alert";
951
+ brand_protection_digest: "brand_protection_digest";
952
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
953
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
954
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
955
+ cni_maintenance_notification: "cni_maintenance_notification";
956
+ custom_analytics: "custom_analytics";
957
+ custom_bot_detection_alert: "custom_bot_detection_alert";
958
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
959
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
960
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
961
+ dos_attack_l4: "dos_attack_l4";
962
+ dos_attack_l7: "dos_attack_l7";
963
+ expiring_service_token_alert: "expiring_service_token_alert";
964
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
965
+ fbm_auto_advertisement: "fbm_auto_advertisement";
966
+ fbm_dosd_attack: "fbm_dosd_attack";
967
+ fbm_volumetric_attack: "fbm_volumetric_attack";
968
+ health_check_status_notification: "health_check_status_notification";
969
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
970
+ http_alert_edge_error: "http_alert_edge_error";
971
+ http_alert_origin_error: "http_alert_origin_error";
972
+ image_notification: "image_notification";
973
+ image_resizing_notification: "image_resizing_notification";
974
+ incident_alert: "incident_alert";
975
+ load_balancing_health_alert: "load_balancing_health_alert";
976
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
977
+ logo_match_alert: "logo_match_alert";
978
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
979
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
980
+ maintenance_event_notification: "maintenance_event_notification";
981
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
982
+ pages_event_alert: "pages_event_alert";
983
+ radar_notification: "radar_notification";
984
+ real_origin_monitoring: "real_origin_monitoring";
985
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
986
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
987
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
988
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
989
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
990
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
991
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
992
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
993
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
994
+ secondary_dns_warning: "secondary_dns_warning";
995
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
996
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
997
+ security_insights_alert: "security_insights_alert";
998
+ sentinel_alert: "sentinel_alert";
999
+ stream_live_notifications: "stream_live_notifications";
1000
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
1001
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
1002
+ traffic_anomalies_alert: "traffic_anomalies_alert";
1003
+ tunnel_health_event: "tunnel_health_event";
1004
+ tunnel_update_event: "tunnel_update_event";
1005
+ universal_ssl_event_type: "universal_ssl_event_type";
1006
+ web_analytics_metrics_update: "web_analytics_metrics_update";
1007
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
1008
+ }>;
1009
+ data: z.ZodPrefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
1010
+ name: z.ZodOptional<z.ZodString>;
1011
+ policyId: z.ZodOptional<z.ZodString>;
1012
+ policyName: z.ZodOptional<z.ZodString>;
1013
+ text: z.ZodOptional<z.ZodString>;
1014
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1015
+ }, z.core.$strip>;
1016
+ };
1017
+ readonly "cloudflare.originHealthCheckStatusChanged": {
1018
+ readonly configSchema: z.ZodObject<{
1019
+ accountId: z.ZodString;
1020
+ alertTypes: z.ZodArray<z.ZodEnum<{
1021
+ abuse_report_alert: "abuse_report_alert";
1022
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
1023
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
1024
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
1025
+ advanced_http_alert_error: "advanced_http_alert_error";
1026
+ bgp_hijack_notification: "bgp_hijack_notification";
1027
+ billing_usage_alert: "billing_usage_alert";
1028
+ block_notification_block_removed: "block_notification_block_removed";
1029
+ block_notification_new_block: "block_notification_new_block";
1030
+ block_notification_review_rejected: "block_notification_review_rejected";
1031
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
1032
+ brand_protection_alert: "brand_protection_alert";
1033
+ brand_protection_digest: "brand_protection_digest";
1034
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
1035
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
1036
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
1037
+ cni_maintenance_notification: "cni_maintenance_notification";
1038
+ custom_analytics: "custom_analytics";
1039
+ custom_bot_detection_alert: "custom_bot_detection_alert";
1040
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
1041
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
1042
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
1043
+ dos_attack_l4: "dos_attack_l4";
1044
+ dos_attack_l7: "dos_attack_l7";
1045
+ expiring_service_token_alert: "expiring_service_token_alert";
1046
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
1047
+ fbm_auto_advertisement: "fbm_auto_advertisement";
1048
+ fbm_dosd_attack: "fbm_dosd_attack";
1049
+ fbm_volumetric_attack: "fbm_volumetric_attack";
1050
+ health_check_status_notification: "health_check_status_notification";
1051
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
1052
+ http_alert_edge_error: "http_alert_edge_error";
1053
+ http_alert_origin_error: "http_alert_origin_error";
1054
+ image_notification: "image_notification";
1055
+ image_resizing_notification: "image_resizing_notification";
1056
+ incident_alert: "incident_alert";
1057
+ load_balancing_health_alert: "load_balancing_health_alert";
1058
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
1059
+ logo_match_alert: "logo_match_alert";
1060
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
1061
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
1062
+ maintenance_event_notification: "maintenance_event_notification";
1063
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
1064
+ pages_event_alert: "pages_event_alert";
1065
+ radar_notification: "radar_notification";
1066
+ real_origin_monitoring: "real_origin_monitoring";
1067
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
1068
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
1069
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
1070
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
1071
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
1072
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
1073
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
1074
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
1075
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
1076
+ secondary_dns_warning: "secondary_dns_warning";
1077
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
1078
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
1079
+ security_insights_alert: "security_insights_alert";
1080
+ sentinel_alert: "sentinel_alert";
1081
+ stream_live_notifications: "stream_live_notifications";
1082
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
1083
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
1084
+ traffic_anomalies_alert: "traffic_anomalies_alert";
1085
+ tunnel_health_event: "tunnel_health_event";
1086
+ tunnel_update_event: "tunnel_update_event";
1087
+ universal_ssl_event_type: "universal_ssl_event_type";
1088
+ web_analytics_metrics_update: "web_analytics_metrics_update";
1089
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
1090
+ }>>;
1091
+ filters: z.ZodOptional<z.ZodObject<{
1092
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1093
+ affectedAsns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1094
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
1095
+ affectedLocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
1096
+ airportCode: z.ZodOptional<z.ZodArray<z.ZodString>>;
1097
+ alertTriggerPreferences: z.ZodOptional<z.ZodArray<z.ZodString>>;
1098
+ alertTriggerPreferencesValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
1099
+ enabled: z.ZodOptional<z.ZodArray<z.ZodString>>;
1100
+ environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
1101
+ event: z.ZodOptional<z.ZodArray<z.ZodString>>;
1102
+ eventSource: z.ZodOptional<z.ZodArray<z.ZodString>>;
1103
+ eventType: z.ZodOptional<z.ZodArray<z.ZodString>>;
1104
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1105
+ healthCheckId: z.ZodOptional<z.ZodArray<z.ZodString>>;
1106
+ incidentImpact: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1107
+ INCIDENT_IMPACT_CRITICAL: "INCIDENT_IMPACT_CRITICAL";
1108
+ INCIDENT_IMPACT_MAJOR: "INCIDENT_IMPACT_MAJOR";
1109
+ INCIDENT_IMPACT_MINOR: "INCIDENT_IMPACT_MINOR";
1110
+ INCIDENT_IMPACT_NONE: "INCIDENT_IMPACT_NONE";
1111
+ }>>>;
1112
+ inputId: z.ZodOptional<z.ZodArray<z.ZodString>>;
1113
+ insightClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
1114
+ limit: z.ZodOptional<z.ZodArray<z.ZodString>>;
1115
+ logoTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
1116
+ megabitsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
1117
+ newHealth: z.ZodOptional<z.ZodArray<z.ZodString>>;
1118
+ newStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
1119
+ packetsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
1120
+ poolId: z.ZodOptional<z.ZodArray<z.ZodString>>;
1121
+ popNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
1122
+ product: z.ZodOptional<z.ZodArray<z.ZodString>>;
1123
+ projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
1124
+ protocol: z.ZodOptional<z.ZodArray<z.ZodString>>;
1125
+ queryTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
1126
+ requestsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
1127
+ selectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
1128
+ services: z.ZodOptional<z.ZodArray<z.ZodString>>;
1129
+ slo: z.ZodOptional<z.ZodArray<z.ZodString>>;
1130
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
1131
+ targetHostname: z.ZodOptional<z.ZodArray<z.ZodString>>;
1132
+ targetIp: z.ZodOptional<z.ZodArray<z.ZodString>>;
1133
+ targetZoneName: z.ZodOptional<z.ZodArray<z.ZodString>>;
1134
+ trafficExclusions: z.ZodOptional<z.ZodArray<z.ZodLiteral<"security_events">>>;
1135
+ tunnelId: z.ZodOptional<z.ZodArray<z.ZodString>>;
1136
+ tunnelName: z.ZodOptional<z.ZodArray<z.ZodString>>;
1137
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
1138
+ where: z.ZodOptional<z.ZodArray<z.ZodString>>;
1139
+ zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
1140
+ }, z.core.$strip>>;
1141
+ }, z.core.$strip>;
1142
+ readonly eventSchema: z.ZodObject<{
1143
+ accountId: z.ZodOptional<z.ZodString>;
1144
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
1145
+ alertEvent: z.ZodOptional<z.ZodString>;
1146
+ name: z.ZodOptional<z.ZodString>;
1147
+ policyId: z.ZodOptional<z.ZodString>;
1148
+ policyName: z.ZodOptional<z.ZodString>;
1149
+ text: z.ZodOptional<z.ZodString>;
1150
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1151
+ alertType: z.ZodLiteral<"health_check_status_notification">;
1152
+ data: z.ZodObject<{
1153
+ accountName: z.ZodOptional<z.ZodString>;
1154
+ accountTag: z.ZodOptional<z.ZodString>;
1155
+ failingRegions: z.ZodOptional<z.ZodString>;
1156
+ healthCheckId: z.ZodOptional<z.ZodString>;
1157
+ healthCheckName: z.ZodOptional<z.ZodString>;
1158
+ newHealthStatus: z.ZodOptional<z.ZodString>;
1159
+ newStatus: z.ZodOptional<z.ZodString>;
1160
+ oldStatus: z.ZodOptional<z.ZodString>;
1161
+ originIp: z.ZodOptional<z.ZodString>;
1162
+ reason: z.ZodOptional<z.ZodString>;
1163
+ statusChangeTime: z.ZodOptional<z.ZodString>;
1164
+ timeSinceLastFailure: z.ZodOptional<z.ZodString>;
1165
+ zoneName: z.ZodOptional<z.ZodString>;
1166
+ zoneTag: z.ZodOptional<z.ZodString>;
1167
+ }, z.core.$strip>;
1168
+ }, z.core.$strip>;
1169
+ };
1170
+ readonly "cloudflare.sslCertificate.event": {
1171
+ readonly configSchema: z.ZodObject<{
1172
+ accountId: z.ZodString;
1173
+ alertTypes: z.ZodArray<z.ZodEnum<{
1174
+ abuse_report_alert: "abuse_report_alert";
1175
+ access_custom_certificate_expiration_type: "access_custom_certificate_expiration_type";
1176
+ advanced_ddos_attack_l4_alert: "advanced_ddos_attack_l4_alert";
1177
+ advanced_ddos_attack_l7_alert: "advanced_ddos_attack_l7_alert";
1178
+ advanced_http_alert_error: "advanced_http_alert_error";
1179
+ bgp_hijack_notification: "bgp_hijack_notification";
1180
+ billing_usage_alert: "billing_usage_alert";
1181
+ block_notification_block_removed: "block_notification_block_removed";
1182
+ block_notification_new_block: "block_notification_new_block";
1183
+ block_notification_review_rejected: "block_notification_review_rejected";
1184
+ bot_traffic_basic_alert: "bot_traffic_basic_alert";
1185
+ brand_protection_alert: "brand_protection_alert";
1186
+ brand_protection_digest: "brand_protection_digest";
1187
+ clickhouse_alert_fw_anomaly: "clickhouse_alert_fw_anomaly";
1188
+ clickhouse_alert_fw_ent_anomaly: "clickhouse_alert_fw_ent_anomaly";
1189
+ cloudforce_one_request_notification: "cloudforce_one_request_notification";
1190
+ cni_maintenance_notification: "cni_maintenance_notification";
1191
+ custom_analytics: "custom_analytics";
1192
+ custom_bot_detection_alert: "custom_bot_detection_alert";
1193
+ custom_ssl_certificate_event_type: "custom_ssl_certificate_event_type";
1194
+ dedicated_ssl_certificate_event_type: "dedicated_ssl_certificate_event_type";
1195
+ device_connectivity_anomaly_alert: "device_connectivity_anomaly_alert";
1196
+ dos_attack_l4: "dos_attack_l4";
1197
+ dos_attack_l7: "dos_attack_l7";
1198
+ expiring_service_token_alert: "expiring_service_token_alert";
1199
+ failing_logpush_job_disabled_alert: "failing_logpush_job_disabled_alert";
1200
+ fbm_auto_advertisement: "fbm_auto_advertisement";
1201
+ fbm_dosd_attack: "fbm_dosd_attack";
1202
+ fbm_volumetric_attack: "fbm_volumetric_attack";
1203
+ health_check_status_notification: "health_check_status_notification";
1204
+ hostname_aop_custom_certificate_expiration_type: "hostname_aop_custom_certificate_expiration_type";
1205
+ http_alert_edge_error: "http_alert_edge_error";
1206
+ http_alert_origin_error: "http_alert_origin_error";
1207
+ image_notification: "image_notification";
1208
+ image_resizing_notification: "image_resizing_notification";
1209
+ incident_alert: "incident_alert";
1210
+ load_balancing_health_alert: "load_balancing_health_alert";
1211
+ load_balancing_pool_enablement_alert: "load_balancing_pool_enablement_alert";
1212
+ logo_match_alert: "logo_match_alert";
1213
+ magic_tunnel_health_check_event: "magic_tunnel_health_check_event";
1214
+ magic_wan_tunnel_health: "magic_wan_tunnel_health";
1215
+ maintenance_event_notification: "maintenance_event_notification";
1216
+ mtls_certificate_store_certificate_expiration_type: "mtls_certificate_store_certificate_expiration_type";
1217
+ pages_event_alert: "pages_event_alert";
1218
+ radar_notification: "radar_notification";
1219
+ real_origin_monitoring: "real_origin_monitoring";
1220
+ scriptmonitor_alert_new_code_change_detections: "scriptmonitor_alert_new_code_change_detections";
1221
+ scriptmonitor_alert_new_hosts: "scriptmonitor_alert_new_hosts";
1222
+ scriptmonitor_alert_new_malicious_hosts: "scriptmonitor_alert_new_malicious_hosts";
1223
+ scriptmonitor_alert_new_malicious_scripts: "scriptmonitor_alert_new_malicious_scripts";
1224
+ scriptmonitor_alert_new_malicious_url: "scriptmonitor_alert_new_malicious_url";
1225
+ scriptmonitor_alert_new_max_length_resource_url: "scriptmonitor_alert_new_max_length_resource_url";
1226
+ scriptmonitor_alert_new_resources: "scriptmonitor_alert_new_resources";
1227
+ secondary_dns_all_primaries_failing: "secondary_dns_all_primaries_failing";
1228
+ secondary_dns_primaries_failing: "secondary_dns_primaries_failing";
1229
+ secondary_dns_warning: "secondary_dns_warning";
1230
+ secondary_dns_zone_successfully_updated: "secondary_dns_zone_successfully_updated";
1231
+ secondary_dns_zone_validation_warning: "secondary_dns_zone_validation_warning";
1232
+ security_insights_alert: "security_insights_alert";
1233
+ sentinel_alert: "sentinel_alert";
1234
+ stream_live_notifications: "stream_live_notifications";
1235
+ synthetic_test_latency_alert: "synthetic_test_latency_alert";
1236
+ synthetic_test_low_availability_alert: "synthetic_test_low_availability_alert";
1237
+ traffic_anomalies_alert: "traffic_anomalies_alert";
1238
+ tunnel_health_event: "tunnel_health_event";
1239
+ tunnel_update_event: "tunnel_update_event";
1240
+ universal_ssl_event_type: "universal_ssl_event_type";
1241
+ web_analytics_metrics_update: "web_analytics_metrics_update";
1242
+ zone_aop_custom_certificate_expiration_type: "zone_aop_custom_certificate_expiration_type";
1243
+ }>>;
1244
+ filters: z.ZodOptional<z.ZodObject<{
1245
+ actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1246
+ affectedAsns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1247
+ affectedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
1248
+ affectedLocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
1249
+ airportCode: z.ZodOptional<z.ZodArray<z.ZodString>>;
1250
+ alertTriggerPreferences: z.ZodOptional<z.ZodArray<z.ZodString>>;
1251
+ alertTriggerPreferencesValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
1252
+ enabled: z.ZodOptional<z.ZodArray<z.ZodString>>;
1253
+ environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
1254
+ event: z.ZodOptional<z.ZodArray<z.ZodString>>;
1255
+ eventSource: z.ZodOptional<z.ZodArray<z.ZodString>>;
1256
+ eventType: z.ZodOptional<z.ZodArray<z.ZodString>>;
1257
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1258
+ healthCheckId: z.ZodOptional<z.ZodArray<z.ZodString>>;
1259
+ incidentImpact: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1260
+ INCIDENT_IMPACT_CRITICAL: "INCIDENT_IMPACT_CRITICAL";
1261
+ INCIDENT_IMPACT_MAJOR: "INCIDENT_IMPACT_MAJOR";
1262
+ INCIDENT_IMPACT_MINOR: "INCIDENT_IMPACT_MINOR";
1263
+ INCIDENT_IMPACT_NONE: "INCIDENT_IMPACT_NONE";
1264
+ }>>>;
1265
+ inputId: z.ZodOptional<z.ZodArray<z.ZodString>>;
1266
+ insightClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
1267
+ limit: z.ZodOptional<z.ZodArray<z.ZodString>>;
1268
+ logoTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
1269
+ megabitsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
1270
+ newHealth: z.ZodOptional<z.ZodArray<z.ZodString>>;
1271
+ newStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
1272
+ packetsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
1273
+ poolId: z.ZodOptional<z.ZodArray<z.ZodString>>;
1274
+ popNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
1275
+ product: z.ZodOptional<z.ZodArray<z.ZodString>>;
1276
+ projectId: z.ZodOptional<z.ZodArray<z.ZodString>>;
1277
+ protocol: z.ZodOptional<z.ZodArray<z.ZodString>>;
1278
+ queryTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
1279
+ requestsPerSecond: z.ZodOptional<z.ZodArray<z.ZodString>>;
1280
+ selectors: z.ZodOptional<z.ZodArray<z.ZodString>>;
1281
+ services: z.ZodOptional<z.ZodArray<z.ZodString>>;
1282
+ slo: z.ZodOptional<z.ZodArray<z.ZodString>>;
1283
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
1284
+ targetHostname: z.ZodOptional<z.ZodArray<z.ZodString>>;
1285
+ targetIp: z.ZodOptional<z.ZodArray<z.ZodString>>;
1286
+ targetZoneName: z.ZodOptional<z.ZodArray<z.ZodString>>;
1287
+ trafficExclusions: z.ZodOptional<z.ZodArray<z.ZodLiteral<"security_events">>>;
1288
+ tunnelId: z.ZodOptional<z.ZodArray<z.ZodString>>;
1289
+ tunnelName: z.ZodOptional<z.ZodArray<z.ZodString>>;
1290
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
1291
+ where: z.ZodOptional<z.ZodArray<z.ZodString>>;
1292
+ zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
1293
+ }, z.core.$strip>>;
1294
+ }, z.core.$strip>;
1295
+ readonly eventSchema: z.ZodObject<{
1296
+ accountId: z.ZodOptional<z.ZodString>;
1297
+ alertCorrelationId: z.ZodOptional<z.ZodString>;
1298
+ alertEvent: z.ZodOptional<z.ZodString>;
1299
+ name: z.ZodOptional<z.ZodString>;
1300
+ policyId: z.ZodOptional<z.ZodString>;
1301
+ policyName: z.ZodOptional<z.ZodString>;
1302
+ text: z.ZodOptional<z.ZodString>;
1303
+ timestamp: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1304
+ alertType: z.ZodLiteral<"dedicated_ssl_certificate_event_type">;
1305
+ data: z.ZodObject<{
1306
+ accountName: z.ZodOptional<z.ZodString>;
1307
+ accountTag: z.ZodOptional<z.ZodString>;
1308
+ certificateId: z.ZodOptional<z.ZodString>;
1309
+ certificatePackId: z.ZodOptional<z.ZodString>;
1310
+ certificateStatus: z.ZodOptional<z.ZodString>;
1311
+ eventType: z.ZodOptional<z.ZodString>;
1312
+ hostnames: z.ZodOptional<z.ZodString>;
1313
+ packCa: z.ZodOptional<z.ZodString>;
1314
+ packId: z.ZodOptional<z.ZodString>;
1315
+ packStatus: z.ZodOptional<z.ZodString>;
1316
+ packValidation: z.ZodOptional<z.ZodString>;
1317
+ zoneName: z.ZodOptional<z.ZodString>;
1318
+ zoneTag: z.ZodOptional<z.ZodString>;
1319
+ }, z.core.$strip>;
1320
+ }, z.core.$strip>;
1321
+ };
1322
+ };
1323
+ /**
1324
+ * Normalizes an authenticated Cloudflare notification webhook.
1325
+ *
1326
+ * @param value - Untrusted provider webhook payload.
1327
+ * @param expectedAlertType - Alert type owned by the authenticated source.
1328
+ */
1329
+ export declare function normalizeCloudflareEvent(value: unknown, expectedAlertType?: z.output<typeof CLOUDFLARE_ALERT_TYPE_SCHEMA>): {
1330
+ alertType: "abuse_report_alert" | "access_custom_certificate_expiration_type" | "advanced_ddos_attack_l4_alert" | "advanced_ddos_attack_l7_alert" | "advanced_http_alert_error" | "bgp_hijack_notification" | "billing_usage_alert" | "block_notification_block_removed" | "block_notification_new_block" | "block_notification_review_rejected" | "bot_traffic_basic_alert" | "brand_protection_alert" | "brand_protection_digest" | "clickhouse_alert_fw_anomaly" | "clickhouse_alert_fw_ent_anomaly" | "cloudforce_one_request_notification" | "cni_maintenance_notification" | "custom_analytics" | "custom_bot_detection_alert" | "custom_ssl_certificate_event_type" | "dedicated_ssl_certificate_event_type" | "device_connectivity_anomaly_alert" | "dos_attack_l4" | "dos_attack_l7" | "expiring_service_token_alert" | "failing_logpush_job_disabled_alert" | "fbm_auto_advertisement" | "fbm_dosd_attack" | "fbm_volumetric_attack" | "health_check_status_notification" | "hostname_aop_custom_certificate_expiration_type" | "http_alert_edge_error" | "http_alert_origin_error" | "image_notification" | "image_resizing_notification" | "incident_alert" | "load_balancing_health_alert" | "load_balancing_pool_enablement_alert" | "logo_match_alert" | "magic_tunnel_health_check_event" | "magic_wan_tunnel_health" | "maintenance_event_notification" | "mtls_certificate_store_certificate_expiration_type" | "pages_event_alert" | "radar_notification" | "real_origin_monitoring" | "scriptmonitor_alert_new_code_change_detections" | "scriptmonitor_alert_new_hosts" | "scriptmonitor_alert_new_malicious_hosts" | "scriptmonitor_alert_new_malicious_scripts" | "scriptmonitor_alert_new_malicious_url" | "scriptmonitor_alert_new_max_length_resource_url" | "scriptmonitor_alert_new_resources" | "secondary_dns_all_primaries_failing" | "secondary_dns_primaries_failing" | "secondary_dns_warning" | "secondary_dns_zone_successfully_updated" | "secondary_dns_zone_validation_warning" | "security_insights_alert" | "sentinel_alert" | "stream_live_notifications" | "synthetic_test_latency_alert" | "synthetic_test_low_availability_alert" | "traffic_anomalies_alert" | "tunnel_health_event" | "tunnel_update_event" | "universal_ssl_event_type" | "web_analytics_metrics_update" | "zone_aop_custom_certificate_expiration_type";
1331
+ data: Record<string, import("@automate.ax/codec").Encodable>;
1332
+ accountId?: string | undefined;
1333
+ alertCorrelationId?: string | undefined;
1334
+ alertEvent?: string | undefined;
1335
+ name?: string | undefined;
1336
+ policyId?: string | undefined;
1337
+ policyName?: string | undefined;
1338
+ text?: string | undefined;
1339
+ timestamp?: string | number | undefined;
1340
+ };