@scoutflo/alert-correlation 0.7.1-victorops.2 → 0.7.2-datadog.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 (42) hide show
  1. package/README.md +18 -0
  2. package/dist/src/contracts/alertEvidence.d.ts +211 -4
  3. package/dist/src/contracts/alertEvidence.js +2 -0
  4. package/dist/src/contracts/alertEvidence.js.map +1 -1
  5. package/dist/src/contracts/context.d.ts +942 -94
  6. package/dist/src/contracts/context.js +2 -1
  7. package/dist/src/contracts/context.js.map +1 -1
  8. package/dist/src/contracts/datadogGroup.d.ts +645 -0
  9. package/dist/src/contracts/datadogGroup.js +164 -0
  10. package/dist/src/contracts/datadogGroup.js.map +1 -0
  11. package/dist/src/contracts/facts.d.ts +543 -74
  12. package/dist/src/contracts/facts.js +7 -1
  13. package/dist/src/contracts/facts.js.map +1 -1
  14. package/dist/src/contracts/hyperdxCurrent.d.ts +32 -32
  15. package/dist/src/contracts/hyperdxTime.d.ts +4 -4
  16. package/dist/src/contracts/index.d.ts +1 -0
  17. package/dist/src/contracts/index.js +1 -0
  18. package/dist/src/contracts/index.js.map +1 -1
  19. package/dist/src/contracts/victoropsTime.d.ts +4 -4
  20. package/dist/src/extractors/datadogExtractor.d.ts +4 -0
  21. package/dist/src/extractors/datadogExtractor.js +47 -0
  22. package/dist/src/extractors/datadogExtractor.js.map +1 -0
  23. package/dist/src/extractors/registry.d.ts +51 -8
  24. package/dist/src/extractors/registry.js +2 -0
  25. package/dist/src/extractors/registry.js.map +1 -1
  26. package/dist/src/index.d.ts +3 -0
  27. package/dist/src/index.js +3 -0
  28. package/dist/src/index.js.map +1 -1
  29. package/dist/src/matchers/datadogGroupMatcher.d.ts +4 -0
  30. package/dist/src/matchers/datadogGroupMatcher.js +40 -0
  31. package/dist/src/matchers/datadogGroupMatcher.js.map +1 -0
  32. package/dist/src/resolveAlertCorrelation.d.ts +2 -1
  33. package/dist/src/resolveAlertCorrelation.js +5 -2
  34. package/dist/src/resolveAlertCorrelation.js.map +1 -1
  35. package/dist/src/time/normalizeAlertTime.js +12 -0
  36. package/dist/src/time/normalizeAlertTime.js.map +1 -1
  37. package/dist/test/datadog-group.test.d.ts +1 -0
  38. package/dist/test/datadog-group.test.js +125 -0
  39. package/dist/test/datadog-group.test.js.map +1 -0
  40. package/dist/test/fixtures.d.ts +28 -2
  41. package/dist/test/hyperdx-extractor.test.d.ts +28 -2
  42. package/package.json +1 -1
@@ -171,9 +171,166 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
171
171
  }>;
172
172
  rawPreview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
173
173
  rawHash: z.ZodOptional<z.ZodString>;
174
+ datadogGroup: z.ZodOptional<z.ZodEffects<z.ZodObject<{
175
+ integrationId: z.ZodString;
176
+ monitorId: z.ZodString;
177
+ scope: z.ZodObject<{
178
+ clusterName: z.ZodString;
179
+ namespace: z.ZodString;
180
+ deployment: z.ZodString;
181
+ }, "strict", z.ZodTypeAny, {
182
+ clusterName: string;
183
+ namespace: string;
184
+ deployment: string;
185
+ }, {
186
+ clusterName: string;
187
+ namespace: string;
188
+ deployment: string;
189
+ }>;
190
+ } & {
191
+ schemaVersion: z.ZodLiteral<"datadog-group-v1">;
192
+ groupFingerprint: z.ZodString;
193
+ state: z.ZodEnum<["Alert", "Warn", "OK", "No Data", "NoData", "Skipped", "Unknown"]>;
194
+ observedAt: z.ZodString;
195
+ providerLastTriggeredAt: z.ZodOptional<z.ZodString>;
196
+ providerLastResolvedAt: z.ZodOptional<z.ZodString>;
197
+ provenance: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
198
+ originalIncidentStart: z.ZodLiteral<"unknown">;
199
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
200
+ kind: z.ZodLiteral<"datadog_current_group_state">;
201
+ observedAt: z.ZodString;
202
+ }, "strict", z.ZodTypeAny, {
203
+ kind: "datadog_current_group_state";
204
+ observedAt: string;
205
+ originalIncidentStart: "unknown";
206
+ originalIncidentEnd: "unknown";
207
+ }, {
208
+ kind: "datadog_current_group_state";
209
+ observedAt: string;
210
+ originalIncidentStart: "unknown";
211
+ originalIncidentEnd: "unknown";
212
+ }>, z.ZodObject<{
213
+ originalIncidentStart: z.ZodLiteral<"unknown">;
214
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
215
+ kind: z.ZodLiteral<"datadog_received_group_notification">;
216
+ receivedAt: z.ZodString;
217
+ }, "strict", z.ZodTypeAny, {
218
+ kind: "datadog_received_group_notification";
219
+ originalIncidentStart: "unknown";
220
+ originalIncidentEnd: "unknown";
221
+ receivedAt: string;
222
+ }, {
223
+ kind: "datadog_received_group_notification";
224
+ originalIncidentStart: "unknown";
225
+ originalIncidentEnd: "unknown";
226
+ receivedAt: string;
227
+ }>]>;
228
+ }, "strict", z.ZodTypeAny, {
229
+ integrationId: string;
230
+ observedAt: string;
231
+ provenance: {
232
+ kind: "datadog_current_group_state";
233
+ observedAt: string;
234
+ originalIncidentStart: "unknown";
235
+ originalIncidentEnd: "unknown";
236
+ } | {
237
+ kind: "datadog_received_group_notification";
238
+ originalIncidentStart: "unknown";
239
+ originalIncidentEnd: "unknown";
240
+ receivedAt: string;
241
+ };
242
+ monitorId: string;
243
+ scope: {
244
+ clusterName: string;
245
+ namespace: string;
246
+ deployment: string;
247
+ };
248
+ schemaVersion: "datadog-group-v1";
249
+ groupFingerprint: string;
250
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
251
+ providerLastTriggeredAt?: string | undefined;
252
+ providerLastResolvedAt?: string | undefined;
253
+ }, {
254
+ integrationId: string;
255
+ observedAt: string;
256
+ provenance: {
257
+ kind: "datadog_current_group_state";
258
+ observedAt: string;
259
+ originalIncidentStart: "unknown";
260
+ originalIncidentEnd: "unknown";
261
+ } | {
262
+ kind: "datadog_received_group_notification";
263
+ originalIncidentStart: "unknown";
264
+ originalIncidentEnd: "unknown";
265
+ receivedAt: string;
266
+ };
267
+ monitorId: string;
268
+ scope: {
269
+ clusterName: string;
270
+ namespace: string;
271
+ deployment: string;
272
+ };
273
+ schemaVersion: "datadog-group-v1";
274
+ groupFingerprint: string;
275
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
276
+ providerLastTriggeredAt?: string | undefined;
277
+ providerLastResolvedAt?: string | undefined;
278
+ }>, {
279
+ integrationId: string;
280
+ observedAt: string;
281
+ provenance: {
282
+ kind: "datadog_current_group_state";
283
+ observedAt: string;
284
+ originalIncidentStart: "unknown";
285
+ originalIncidentEnd: "unknown";
286
+ } | {
287
+ kind: "datadog_received_group_notification";
288
+ originalIncidentStart: "unknown";
289
+ originalIncidentEnd: "unknown";
290
+ receivedAt: string;
291
+ };
292
+ monitorId: string;
293
+ scope: {
294
+ clusterName: string;
295
+ namespace: string;
296
+ deployment: string;
297
+ };
298
+ schemaVersion: "datadog-group-v1";
299
+ groupFingerprint: string;
300
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
301
+ providerLastTriggeredAt?: string | undefined;
302
+ providerLastResolvedAt?: string | undefined;
303
+ }, {
304
+ integrationId: string;
305
+ observedAt: string;
306
+ provenance: {
307
+ kind: "datadog_current_group_state";
308
+ observedAt: string;
309
+ originalIncidentStart: "unknown";
310
+ originalIncidentEnd: "unknown";
311
+ } | {
312
+ kind: "datadog_received_group_notification";
313
+ originalIncidentStart: "unknown";
314
+ originalIncidentEnd: "unknown";
315
+ receivedAt: string;
316
+ };
317
+ monitorId: string;
318
+ scope: {
319
+ clusterName: string;
320
+ namespace: string;
321
+ deployment: string;
322
+ };
323
+ schemaVersion: "datadog-group-v1";
324
+ groupFingerprint: string;
325
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
326
+ providerLastTriggeredAt?: string | undefined;
327
+ providerLastResolvedAt?: string | undefined;
328
+ }>>;
174
329
  schemaVersion: z.ZodString;
175
330
  redactionVersion: z.ZodString;
176
331
  }, "strict", z.ZodTypeAny, {
332
+ capturedAt: string;
333
+ schemaVersion: string;
177
334
  occurrenceId: string;
178
335
  alertRef: {
179
336
  integrationId: string;
@@ -182,14 +339,12 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
182
339
  };
183
340
  evidenceRef: string;
184
341
  evidenceSource: "provider_list" | "provider_detail" | "provider_webhook" | "slack_notification";
185
- capturedAt: string;
186
342
  presentation: {
187
343
  status?: string | undefined;
188
344
  title?: string | undefined;
189
345
  severity?: string | undefined;
190
346
  description?: string | undefined;
191
347
  };
192
- schemaVersion: string;
193
348
  redactionVersion: string;
194
349
  observedAt?: string | undefined;
195
350
  startsAt?: string | undefined;
@@ -202,7 +357,35 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
202
357
  sourceUrls?: Record<string, string> | undefined;
203
358
  rawPreview?: Record<string, unknown> | undefined;
204
359
  rawHash?: string | undefined;
360
+ datadogGroup?: {
361
+ integrationId: string;
362
+ observedAt: string;
363
+ provenance: {
364
+ kind: "datadog_current_group_state";
365
+ observedAt: string;
366
+ originalIncidentStart: "unknown";
367
+ originalIncidentEnd: "unknown";
368
+ } | {
369
+ kind: "datadog_received_group_notification";
370
+ originalIncidentStart: "unknown";
371
+ originalIncidentEnd: "unknown";
372
+ receivedAt: string;
373
+ };
374
+ monitorId: string;
375
+ scope: {
376
+ clusterName: string;
377
+ namespace: string;
378
+ deployment: string;
379
+ };
380
+ schemaVersion: "datadog-group-v1";
381
+ groupFingerprint: string;
382
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
383
+ providerLastTriggeredAt?: string | undefined;
384
+ providerLastResolvedAt?: string | undefined;
385
+ } | undefined;
205
386
  }, {
387
+ capturedAt: string;
388
+ schemaVersion: string;
206
389
  occurrenceId: string;
207
390
  alertRef: {
208
391
  integrationId: string;
@@ -211,14 +394,12 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
211
394
  };
212
395
  evidenceRef: string;
213
396
  evidenceSource: "provider_list" | "provider_detail" | "provider_webhook" | "slack_notification";
214
- capturedAt: string;
215
397
  presentation: {
216
398
  status?: string | undefined;
217
399
  title?: string | undefined;
218
400
  severity?: string | undefined;
219
401
  description?: string | undefined;
220
402
  };
221
- schemaVersion: string;
222
403
  redactionVersion: string;
223
404
  observedAt?: string | undefined;
224
405
  startsAt?: string | undefined;
@@ -231,6 +412,32 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
231
412
  sourceUrls?: Record<string, string> | undefined;
232
413
  rawPreview?: Record<string, unknown> | undefined;
233
414
  rawHash?: string | undefined;
415
+ datadogGroup?: {
416
+ integrationId: string;
417
+ observedAt: string;
418
+ provenance: {
419
+ kind: "datadog_current_group_state";
420
+ observedAt: string;
421
+ originalIncidentStart: "unknown";
422
+ originalIncidentEnd: "unknown";
423
+ } | {
424
+ kind: "datadog_received_group_notification";
425
+ originalIncidentStart: "unknown";
426
+ originalIncidentEnd: "unknown";
427
+ receivedAt: string;
428
+ };
429
+ monitorId: string;
430
+ scope: {
431
+ clusterName: string;
432
+ namespace: string;
433
+ deployment: string;
434
+ };
435
+ schemaVersion: "datadog-group-v1";
436
+ groupFingerprint: string;
437
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
438
+ providerLastTriggeredAt?: string | undefined;
439
+ providerLastResolvedAt?: string | undefined;
440
+ } | undefined;
234
441
  }>;
235
442
  time: z.ZodUnion<[z.ZodObject<{
236
443
  capturedAt: z.ZodString;
@@ -245,13 +452,13 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
245
452
  kind: z.ZodLiteral<"hyperdx_current_state_observation">;
246
453
  observedAt: z.ZodString;
247
454
  }, "strict", z.ZodTypeAny, {
248
- observedAt: string;
249
455
  kind: "hyperdx_current_state_observation";
456
+ observedAt: string;
250
457
  originalIncidentStart: "unknown";
251
458
  originalIncidentEnd: "unknown";
252
459
  }, {
253
- observedAt: string;
254
460
  kind: "hyperdx_current_state_observation";
461
+ observedAt: string;
255
462
  originalIncidentStart: "unknown";
256
463
  originalIncidentEnd: "unknown";
257
464
  }>, z.ZodObject<{
@@ -303,8 +510,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
303
510
  originalIncidentStart: "unknown";
304
511
  originalIncidentEnd: "unknown";
305
512
  }>]>, {
306
- observedAt: string;
307
513
  kind: "hyperdx_current_state_observation";
514
+ observedAt: string;
308
515
  originalIncidentStart: "unknown";
309
516
  originalIncidentEnd: "unknown";
310
517
  } | {
@@ -322,8 +529,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
322
529
  originalIncidentStart: "unknown";
323
530
  originalIncidentEnd: "unknown";
324
531
  }, {
325
- observedAt: string;
326
532
  kind: "hyperdx_current_state_observation";
533
+ observedAt: string;
327
534
  originalIncidentStart: "unknown";
328
535
  originalIncidentEnd: "unknown";
329
536
  } | {
@@ -348,8 +555,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
348
555
  observedAt?: string | undefined;
349
556
  endsAt?: string | undefined;
350
557
  provenance?: {
351
- observedAt: string;
352
558
  kind: "hyperdx_current_state_observation";
559
+ observedAt: string;
353
560
  originalIncidentStart: "unknown";
354
561
  originalIncidentEnd: "unknown";
355
562
  } | {
@@ -375,8 +582,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
375
582
  observedAt?: string | undefined;
376
583
  endsAt?: string | undefined;
377
584
  provenance?: {
378
- observedAt: string;
379
585
  kind: "hyperdx_current_state_observation";
586
+ observedAt: string;
380
587
  originalIncidentStart: "unknown";
381
588
  originalIncidentEnd: "unknown";
382
589
  } | {
@@ -408,12 +615,12 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
408
615
  reason: z.ZodEnum<["missing_native_start", "unverified_native_start", "invalid_native_start"]>;
409
616
  }, "strict", z.ZodTypeAny, {
410
617
  kind: "victorops_incident_time";
411
- incidentStart: "unknown";
412
618
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
619
+ incidentStart: "unknown";
413
620
  }, {
414
621
  kind: "victorops_incident_time";
415
- incidentStart: "unknown";
416
622
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
623
+ incidentStart: "unknown";
417
624
  }>;
418
625
  }, "strict", z.ZodTypeAny, {
419
626
  capturedAt: string;
@@ -421,8 +628,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
421
628
  isOpenEnded: boolean;
422
629
  provenance: {
423
630
  kind: "victorops_incident_time";
424
- incidentStart: "unknown";
425
631
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
632
+ incidentStart: "unknown";
426
633
  };
427
634
  observedAt?: string | undefined;
428
635
  endsAt?: string | undefined;
@@ -432,8 +639,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
432
639
  isOpenEnded: boolean;
433
640
  provenance: {
434
641
  kind: "victorops_incident_time";
435
- incidentStart: "unknown";
436
642
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
643
+ incidentStart: "unknown";
437
644
  };
438
645
  observedAt?: string | undefined;
439
646
  endsAt?: string | undefined;
@@ -479,7 +686,78 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
479
686
  };
480
687
  observedAt?: string | undefined;
481
688
  endsAt?: string | undefined;
482
- }>]>]>;
689
+ }>]>, z.ZodObject<{
690
+ capturedAt: z.ZodString;
691
+ observedAt: z.ZodString;
692
+ startsAt: z.ZodNull;
693
+ endsAt: z.ZodNull;
694
+ isOpenEnded: z.ZodBoolean;
695
+ provenance: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
696
+ originalIncidentStart: z.ZodLiteral<"unknown">;
697
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
698
+ kind: z.ZodLiteral<"datadog_current_group_state">;
699
+ observedAt: z.ZodString;
700
+ }, "strict", z.ZodTypeAny, {
701
+ kind: "datadog_current_group_state";
702
+ observedAt: string;
703
+ originalIncidentStart: "unknown";
704
+ originalIncidentEnd: "unknown";
705
+ }, {
706
+ kind: "datadog_current_group_state";
707
+ observedAt: string;
708
+ originalIncidentStart: "unknown";
709
+ originalIncidentEnd: "unknown";
710
+ }>, z.ZodObject<{
711
+ originalIncidentStart: z.ZodLiteral<"unknown">;
712
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
713
+ kind: z.ZodLiteral<"datadog_received_group_notification">;
714
+ receivedAt: z.ZodString;
715
+ }, "strict", z.ZodTypeAny, {
716
+ kind: "datadog_received_group_notification";
717
+ originalIncidentStart: "unknown";
718
+ originalIncidentEnd: "unknown";
719
+ receivedAt: string;
720
+ }, {
721
+ kind: "datadog_received_group_notification";
722
+ originalIncidentStart: "unknown";
723
+ originalIncidentEnd: "unknown";
724
+ receivedAt: string;
725
+ }>]>;
726
+ }, "strict", z.ZodTypeAny, {
727
+ observedAt: string;
728
+ capturedAt: string;
729
+ startsAt: null;
730
+ endsAt: null;
731
+ isOpenEnded: boolean;
732
+ provenance: {
733
+ kind: "datadog_current_group_state";
734
+ observedAt: string;
735
+ originalIncidentStart: "unknown";
736
+ originalIncidentEnd: "unknown";
737
+ } | {
738
+ kind: "datadog_received_group_notification";
739
+ originalIncidentStart: "unknown";
740
+ originalIncidentEnd: "unknown";
741
+ receivedAt: string;
742
+ };
743
+ }, {
744
+ observedAt: string;
745
+ capturedAt: string;
746
+ startsAt: null;
747
+ endsAt: null;
748
+ isOpenEnded: boolean;
749
+ provenance: {
750
+ kind: "datadog_current_group_state";
751
+ observedAt: string;
752
+ originalIncidentStart: "unknown";
753
+ originalIncidentEnd: "unknown";
754
+ } | {
755
+ kind: "datadog_received_group_notification";
756
+ originalIncidentStart: "unknown";
757
+ originalIncidentEnd: "unknown";
758
+ receivedAt: string;
759
+ };
760
+ }>]>;
483
761
  presentation: z.ZodObject<{
484
762
  title: z.ZodOptional<z.ZodString>;
485
763
  severity: z.ZodOptional<z.ZodString>;
@@ -526,13 +804,13 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
526
804
  kind: z.ZodLiteral<"hyperdx_current_state_observation">;
527
805
  observedAt: z.ZodString;
528
806
  }, "strict", z.ZodTypeAny, {
529
- observedAt: string;
530
807
  kind: "hyperdx_current_state_observation";
808
+ observedAt: string;
531
809
  originalIncidentStart: "unknown";
532
810
  originalIncidentEnd: "unknown";
533
811
  }, {
534
- observedAt: string;
535
812
  kind: "hyperdx_current_state_observation";
813
+ observedAt: string;
536
814
  originalIncidentStart: "unknown";
537
815
  originalIncidentEnd: "unknown";
538
816
  }>, z.ZodObject<{
@@ -584,8 +862,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
584
862
  originalIncidentStart: "unknown";
585
863
  originalIncidentEnd: "unknown";
586
864
  }>]>, {
587
- observedAt: string;
588
865
  kind: "hyperdx_current_state_observation";
866
+ observedAt: string;
589
867
  originalIncidentStart: "unknown";
590
868
  originalIncidentEnd: "unknown";
591
869
  } | {
@@ -603,8 +881,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
603
881
  originalIncidentStart: "unknown";
604
882
  originalIncidentEnd: "unknown";
605
883
  }, {
606
- observedAt: string;
607
884
  kind: "hyperdx_current_state_observation";
885
+ observedAt: string;
608
886
  originalIncidentStart: "unknown";
609
887
  originalIncidentEnd: "unknown";
610
888
  } | {
@@ -629,8 +907,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
629
907
  observedAt?: string | undefined;
630
908
  endsAt?: string | undefined;
631
909
  provenance?: {
632
- observedAt: string;
633
910
  kind: "hyperdx_current_state_observation";
911
+ observedAt: string;
634
912
  originalIncidentStart: "unknown";
635
913
  originalIncidentEnd: "unknown";
636
914
  } | {
@@ -656,8 +934,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
656
934
  observedAt?: string | undefined;
657
935
  endsAt?: string | undefined;
658
936
  provenance?: {
659
- observedAt: string;
660
937
  kind: "hyperdx_current_state_observation";
938
+ observedAt: string;
661
939
  originalIncidentStart: "unknown";
662
940
  originalIncidentEnd: "unknown";
663
941
  } | {
@@ -689,12 +967,12 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
689
967
  reason: z.ZodEnum<["missing_native_start", "unverified_native_start", "invalid_native_start"]>;
690
968
  }, "strict", z.ZodTypeAny, {
691
969
  kind: "victorops_incident_time";
692
- incidentStart: "unknown";
693
970
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
971
+ incidentStart: "unknown";
694
972
  }, {
695
973
  kind: "victorops_incident_time";
696
- incidentStart: "unknown";
697
974
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
975
+ incidentStart: "unknown";
698
976
  }>;
699
977
  }, "strict", z.ZodTypeAny, {
700
978
  capturedAt: string;
@@ -702,8 +980,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
702
980
  isOpenEnded: boolean;
703
981
  provenance: {
704
982
  kind: "victorops_incident_time";
705
- incidentStart: "unknown";
706
983
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
984
+ incidentStart: "unknown";
707
985
  };
708
986
  observedAt?: string | undefined;
709
987
  endsAt?: string | undefined;
@@ -713,8 +991,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
713
991
  isOpenEnded: boolean;
714
992
  provenance: {
715
993
  kind: "victorops_incident_time";
716
- incidentStart: "unknown";
717
994
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
995
+ incidentStart: "unknown";
718
996
  };
719
997
  observedAt?: string | undefined;
720
998
  endsAt?: string | undefined;
@@ -760,7 +1038,78 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
760
1038
  };
761
1039
  observedAt?: string | undefined;
762
1040
  endsAt?: string | undefined;
763
- }>]>]>;
1041
+ }>]>, z.ZodObject<{
1042
+ capturedAt: z.ZodString;
1043
+ observedAt: z.ZodString;
1044
+ startsAt: z.ZodNull;
1045
+ endsAt: z.ZodNull;
1046
+ isOpenEnded: z.ZodBoolean;
1047
+ provenance: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1048
+ originalIncidentStart: z.ZodLiteral<"unknown">;
1049
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
1050
+ kind: z.ZodLiteral<"datadog_current_group_state">;
1051
+ observedAt: z.ZodString;
1052
+ }, "strict", z.ZodTypeAny, {
1053
+ kind: "datadog_current_group_state";
1054
+ observedAt: string;
1055
+ originalIncidentStart: "unknown";
1056
+ originalIncidentEnd: "unknown";
1057
+ }, {
1058
+ kind: "datadog_current_group_state";
1059
+ observedAt: string;
1060
+ originalIncidentStart: "unknown";
1061
+ originalIncidentEnd: "unknown";
1062
+ }>, z.ZodObject<{
1063
+ originalIncidentStart: z.ZodLiteral<"unknown">;
1064
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
1065
+ kind: z.ZodLiteral<"datadog_received_group_notification">;
1066
+ receivedAt: z.ZodString;
1067
+ }, "strict", z.ZodTypeAny, {
1068
+ kind: "datadog_received_group_notification";
1069
+ originalIncidentStart: "unknown";
1070
+ originalIncidentEnd: "unknown";
1071
+ receivedAt: string;
1072
+ }, {
1073
+ kind: "datadog_received_group_notification";
1074
+ originalIncidentStart: "unknown";
1075
+ originalIncidentEnd: "unknown";
1076
+ receivedAt: string;
1077
+ }>]>;
1078
+ }, "strict", z.ZodTypeAny, {
1079
+ observedAt: string;
1080
+ capturedAt: string;
1081
+ startsAt: null;
1082
+ endsAt: null;
1083
+ isOpenEnded: boolean;
1084
+ provenance: {
1085
+ kind: "datadog_current_group_state";
1086
+ observedAt: string;
1087
+ originalIncidentStart: "unknown";
1088
+ originalIncidentEnd: "unknown";
1089
+ } | {
1090
+ kind: "datadog_received_group_notification";
1091
+ originalIncidentStart: "unknown";
1092
+ originalIncidentEnd: "unknown";
1093
+ receivedAt: string;
1094
+ };
1095
+ }, {
1096
+ observedAt: string;
1097
+ capturedAt: string;
1098
+ startsAt: null;
1099
+ endsAt: null;
1100
+ isOpenEnded: boolean;
1101
+ provenance: {
1102
+ kind: "datadog_current_group_state";
1103
+ observedAt: string;
1104
+ originalIncidentStart: "unknown";
1105
+ originalIncidentEnd: "unknown";
1106
+ } | {
1107
+ kind: "datadog_received_group_notification";
1108
+ originalIncidentStart: "unknown";
1109
+ originalIncidentEnd: "unknown";
1110
+ receivedAt: string;
1111
+ };
1112
+ }>]>;
764
1113
  labels: z.ZodArray<z.ZodObject<{
765
1114
  key: z.ZodString;
766
1115
  value: z.ZodString;
@@ -781,11 +1130,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
781
1130
  sourcePath: string;
782
1131
  confidence: number;
783
1132
  provider?: string | undefined;
1133
+ namespace?: string | undefined;
784
1134
  observedAt?: string | undefined;
785
1135
  schemaVersion?: string | undefined;
786
1136
  rawValue?: unknown;
787
1137
  normalizedValue?: string | undefined;
788
- namespace?: string | undefined;
789
1138
  }, {
790
1139
  value: string;
791
1140
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
@@ -793,11 +1142,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
793
1142
  sourcePath: string;
794
1143
  confidence: number;
795
1144
  provider?: string | undefined;
1145
+ namespace?: string | undefined;
796
1146
  observedAt?: string | undefined;
797
1147
  schemaVersion?: string | undefined;
798
1148
  rawValue?: unknown;
799
1149
  normalizedValue?: string | undefined;
800
- namespace?: string | undefined;
801
1150
  }>, "many">;
802
1151
  identifiers: z.ZodArray<z.ZodObject<{
803
1152
  key: z.ZodString;
@@ -819,11 +1168,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
819
1168
  sourcePath: string;
820
1169
  confidence: number;
821
1170
  provider?: string | undefined;
1171
+ namespace?: string | undefined;
822
1172
  observedAt?: string | undefined;
823
1173
  schemaVersion?: string | undefined;
824
1174
  rawValue?: unknown;
825
1175
  normalizedValue?: string | undefined;
826
- namespace?: string | undefined;
827
1176
  }, {
828
1177
  value: string;
829
1178
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
@@ -831,11 +1180,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
831
1180
  sourcePath: string;
832
1181
  confidence: number;
833
1182
  provider?: string | undefined;
1183
+ namespace?: string | undefined;
834
1184
  observedAt?: string | undefined;
835
1185
  schemaVersion?: string | undefined;
836
1186
  rawValue?: unknown;
837
1187
  normalizedValue?: string | undefined;
838
- namespace?: string | undefined;
839
1188
  }>, "many">;
840
1189
  resourceHints: z.ZodArray<z.ZodObject<{
841
1190
  key: z.ZodString;
@@ -857,11 +1206,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
857
1206
  sourcePath: string;
858
1207
  confidence: number;
859
1208
  provider?: string | undefined;
1209
+ namespace?: string | undefined;
860
1210
  observedAt?: string | undefined;
861
1211
  schemaVersion?: string | undefined;
862
1212
  rawValue?: unknown;
863
1213
  normalizedValue?: string | undefined;
864
- namespace?: string | undefined;
865
1214
  }, {
866
1215
  value: string;
867
1216
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
@@ -869,11 +1218,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
869
1218
  sourcePath: string;
870
1219
  confidence: number;
871
1220
  provider?: string | undefined;
1221
+ namespace?: string | undefined;
872
1222
  observedAt?: string | undefined;
873
1223
  schemaVersion?: string | undefined;
874
1224
  rawValue?: unknown;
875
1225
  normalizedValue?: string | undefined;
876
- namespace?: string | undefined;
877
1226
  }>, "many">;
878
1227
  textHints: z.ZodArray<z.ZodObject<{
879
1228
  key: z.ZodString;
@@ -895,11 +1244,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
895
1244
  sourcePath: string;
896
1245
  confidence: number;
897
1246
  provider?: string | undefined;
1247
+ namespace?: string | undefined;
898
1248
  observedAt?: string | undefined;
899
1249
  schemaVersion?: string | undefined;
900
1250
  rawValue?: unknown;
901
1251
  normalizedValue?: string | undefined;
902
- namespace?: string | undefined;
903
1252
  }, {
904
1253
  value: string;
905
1254
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
@@ -907,12 +1256,167 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
907
1256
  sourcePath: string;
908
1257
  confidence: number;
909
1258
  provider?: string | undefined;
1259
+ namespace?: string | undefined;
910
1260
  observedAt?: string | undefined;
911
1261
  schemaVersion?: string | undefined;
912
1262
  rawValue?: unknown;
913
1263
  normalizedValue?: string | undefined;
914
- namespace?: string | undefined;
915
1264
  }>, "many">;
1265
+ datadogGroup: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1266
+ integrationId: z.ZodString;
1267
+ monitorId: z.ZodString;
1268
+ scope: z.ZodObject<{
1269
+ clusterName: z.ZodString;
1270
+ namespace: z.ZodString;
1271
+ deployment: z.ZodString;
1272
+ }, "strict", z.ZodTypeAny, {
1273
+ clusterName: string;
1274
+ namespace: string;
1275
+ deployment: string;
1276
+ }, {
1277
+ clusterName: string;
1278
+ namespace: string;
1279
+ deployment: string;
1280
+ }>;
1281
+ } & {
1282
+ schemaVersion: z.ZodLiteral<"datadog-group-v1">;
1283
+ groupFingerprint: z.ZodString;
1284
+ state: z.ZodEnum<["Alert", "Warn", "OK", "No Data", "NoData", "Skipped", "Unknown"]>;
1285
+ observedAt: z.ZodString;
1286
+ providerLastTriggeredAt: z.ZodOptional<z.ZodString>;
1287
+ providerLastResolvedAt: z.ZodOptional<z.ZodString>;
1288
+ provenance: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1289
+ originalIncidentStart: z.ZodLiteral<"unknown">;
1290
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
1291
+ kind: z.ZodLiteral<"datadog_current_group_state">;
1292
+ observedAt: z.ZodString;
1293
+ }, "strict", z.ZodTypeAny, {
1294
+ kind: "datadog_current_group_state";
1295
+ observedAt: string;
1296
+ originalIncidentStart: "unknown";
1297
+ originalIncidentEnd: "unknown";
1298
+ }, {
1299
+ kind: "datadog_current_group_state";
1300
+ observedAt: string;
1301
+ originalIncidentStart: "unknown";
1302
+ originalIncidentEnd: "unknown";
1303
+ }>, z.ZodObject<{
1304
+ originalIncidentStart: z.ZodLiteral<"unknown">;
1305
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
1306
+ kind: z.ZodLiteral<"datadog_received_group_notification">;
1307
+ receivedAt: z.ZodString;
1308
+ }, "strict", z.ZodTypeAny, {
1309
+ kind: "datadog_received_group_notification";
1310
+ originalIncidentStart: "unknown";
1311
+ originalIncidentEnd: "unknown";
1312
+ receivedAt: string;
1313
+ }, {
1314
+ kind: "datadog_received_group_notification";
1315
+ originalIncidentStart: "unknown";
1316
+ originalIncidentEnd: "unknown";
1317
+ receivedAt: string;
1318
+ }>]>;
1319
+ }, "strict", z.ZodTypeAny, {
1320
+ integrationId: string;
1321
+ observedAt: string;
1322
+ provenance: {
1323
+ kind: "datadog_current_group_state";
1324
+ observedAt: string;
1325
+ originalIncidentStart: "unknown";
1326
+ originalIncidentEnd: "unknown";
1327
+ } | {
1328
+ kind: "datadog_received_group_notification";
1329
+ originalIncidentStart: "unknown";
1330
+ originalIncidentEnd: "unknown";
1331
+ receivedAt: string;
1332
+ };
1333
+ monitorId: string;
1334
+ scope: {
1335
+ clusterName: string;
1336
+ namespace: string;
1337
+ deployment: string;
1338
+ };
1339
+ schemaVersion: "datadog-group-v1";
1340
+ groupFingerprint: string;
1341
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
1342
+ providerLastTriggeredAt?: string | undefined;
1343
+ providerLastResolvedAt?: string | undefined;
1344
+ }, {
1345
+ integrationId: string;
1346
+ observedAt: string;
1347
+ provenance: {
1348
+ kind: "datadog_current_group_state";
1349
+ observedAt: string;
1350
+ originalIncidentStart: "unknown";
1351
+ originalIncidentEnd: "unknown";
1352
+ } | {
1353
+ kind: "datadog_received_group_notification";
1354
+ originalIncidentStart: "unknown";
1355
+ originalIncidentEnd: "unknown";
1356
+ receivedAt: string;
1357
+ };
1358
+ monitorId: string;
1359
+ scope: {
1360
+ clusterName: string;
1361
+ namespace: string;
1362
+ deployment: string;
1363
+ };
1364
+ schemaVersion: "datadog-group-v1";
1365
+ groupFingerprint: string;
1366
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
1367
+ providerLastTriggeredAt?: string | undefined;
1368
+ providerLastResolvedAt?: string | undefined;
1369
+ }>, {
1370
+ integrationId: string;
1371
+ observedAt: string;
1372
+ provenance: {
1373
+ kind: "datadog_current_group_state";
1374
+ observedAt: string;
1375
+ originalIncidentStart: "unknown";
1376
+ originalIncidentEnd: "unknown";
1377
+ } | {
1378
+ kind: "datadog_received_group_notification";
1379
+ originalIncidentStart: "unknown";
1380
+ originalIncidentEnd: "unknown";
1381
+ receivedAt: string;
1382
+ };
1383
+ monitorId: string;
1384
+ scope: {
1385
+ clusterName: string;
1386
+ namespace: string;
1387
+ deployment: string;
1388
+ };
1389
+ schemaVersion: "datadog-group-v1";
1390
+ groupFingerprint: string;
1391
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
1392
+ providerLastTriggeredAt?: string | undefined;
1393
+ providerLastResolvedAt?: string | undefined;
1394
+ }, {
1395
+ integrationId: string;
1396
+ observedAt: string;
1397
+ provenance: {
1398
+ kind: "datadog_current_group_state";
1399
+ observedAt: string;
1400
+ originalIncidentStart: "unknown";
1401
+ originalIncidentEnd: "unknown";
1402
+ } | {
1403
+ kind: "datadog_received_group_notification";
1404
+ originalIncidentStart: "unknown";
1405
+ originalIncidentEnd: "unknown";
1406
+ receivedAt: string;
1407
+ };
1408
+ monitorId: string;
1409
+ scope: {
1410
+ clusterName: string;
1411
+ namespace: string;
1412
+ deployment: string;
1413
+ };
1414
+ schemaVersion: "datadog-group-v1";
1415
+ groupFingerprint: string;
1416
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
1417
+ providerLastTriggeredAt?: string | undefined;
1418
+ providerLastResolvedAt?: string | undefined;
1419
+ }>>;
916
1420
  severity: z.ZodOptional<z.ZodObject<{
917
1421
  key: z.ZodString;
918
1422
  value: z.ZodString;
@@ -933,11 +1437,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
933
1437
  sourcePath: string;
934
1438
  confidence: number;
935
1439
  provider?: string | undefined;
1440
+ namespace?: string | undefined;
936
1441
  observedAt?: string | undefined;
937
1442
  schemaVersion?: string | undefined;
938
1443
  rawValue?: unknown;
939
1444
  normalizedValue?: string | undefined;
940
- namespace?: string | undefined;
941
1445
  }, {
942
1446
  value: string;
943
1447
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
@@ -945,11 +1449,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
945
1449
  sourcePath: string;
946
1450
  confidence: number;
947
1451
  provider?: string | undefined;
1452
+ namespace?: string | undefined;
948
1453
  observedAt?: string | undefined;
949
1454
  schemaVersion?: string | undefined;
950
1455
  rawValue?: unknown;
951
1456
  normalizedValue?: string | undefined;
952
- namespace?: string | undefined;
953
1457
  }>>;
954
1458
  title: z.ZodOptional<z.ZodObject<{
955
1459
  key: z.ZodString;
@@ -971,11 +1475,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
971
1475
  sourcePath: string;
972
1476
  confidence: number;
973
1477
  provider?: string | undefined;
1478
+ namespace?: string | undefined;
974
1479
  observedAt?: string | undefined;
975
1480
  schemaVersion?: string | undefined;
976
1481
  rawValue?: unknown;
977
1482
  normalizedValue?: string | undefined;
978
- namespace?: string | undefined;
979
1483
  }, {
980
1484
  value: string;
981
1485
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
@@ -983,11 +1487,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
983
1487
  sourcePath: string;
984
1488
  confidence: number;
985
1489
  provider?: string | undefined;
1490
+ namespace?: string | undefined;
986
1491
  observedAt?: string | undefined;
987
1492
  schemaVersion?: string | undefined;
988
1493
  rawValue?: unknown;
989
1494
  normalizedValue?: string | undefined;
990
- namespace?: string | undefined;
991
1495
  }>>;
992
1496
  }, "strict", z.ZodTypeAny, {
993
1497
  integrationId: string;
@@ -1003,20 +1507,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1003
1507
  sourcePath: string;
1004
1508
  confidence: number;
1005
1509
  provider?: string | undefined;
1510
+ namespace?: string | undefined;
1006
1511
  observedAt?: string | undefined;
1007
1512
  schemaVersion?: string | undefined;
1008
1513
  rawValue?: unknown;
1009
1514
  normalizedValue?: string | undefined;
1010
- namespace?: string | undefined;
1011
1515
  }[];
1012
1516
  time: {
1517
+ observedAt: string;
1518
+ capturedAt: string;
1519
+ startsAt: null;
1520
+ endsAt: null;
1521
+ isOpenEnded: boolean;
1522
+ provenance: {
1523
+ kind: "datadog_current_group_state";
1524
+ observedAt: string;
1525
+ originalIncidentStart: "unknown";
1526
+ originalIncidentEnd: "unknown";
1527
+ } | {
1528
+ kind: "datadog_received_group_notification";
1529
+ originalIncidentStart: "unknown";
1530
+ originalIncidentEnd: "unknown";
1531
+ receivedAt: string;
1532
+ };
1533
+ } | {
1013
1534
  capturedAt: string;
1014
1535
  startsAt: null;
1015
1536
  isOpenEnded: boolean;
1016
1537
  provenance: {
1017
1538
  kind: "victorops_incident_time";
1018
- incidentStart: "unknown";
1019
1539
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
1540
+ incidentStart: "unknown";
1020
1541
  };
1021
1542
  observedAt?: string | undefined;
1022
1543
  endsAt?: string | undefined;
@@ -1038,8 +1559,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1038
1559
  observedAt?: string | undefined;
1039
1560
  endsAt?: string | undefined;
1040
1561
  provenance?: {
1041
- observedAt: string;
1042
1562
  kind: "hyperdx_current_state_observation";
1563
+ observedAt: string;
1043
1564
  originalIncidentStart: "unknown";
1044
1565
  originalIncidentEnd: "unknown";
1045
1566
  } | {
@@ -1070,11 +1591,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1070
1591
  sourcePath: string;
1071
1592
  confidence: number;
1072
1593
  provider?: string | undefined;
1594
+ namespace?: string | undefined;
1073
1595
  observedAt?: string | undefined;
1074
1596
  schemaVersion?: string | undefined;
1075
1597
  rawValue?: unknown;
1076
1598
  normalizedValue?: string | undefined;
1077
- namespace?: string | undefined;
1078
1599
  }[];
1079
1600
  resourceHints: {
1080
1601
  value: string;
@@ -1083,11 +1604,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1083
1604
  sourcePath: string;
1084
1605
  confidence: number;
1085
1606
  provider?: string | undefined;
1607
+ namespace?: string | undefined;
1086
1608
  observedAt?: string | undefined;
1087
1609
  schemaVersion?: string | undefined;
1088
1610
  rawValue?: unknown;
1089
1611
  normalizedValue?: string | undefined;
1090
- namespace?: string | undefined;
1091
1612
  }[];
1092
1613
  textHints: {
1093
1614
  value: string;
@@ -1096,11 +1617,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1096
1617
  sourcePath: string;
1097
1618
  confidence: number;
1098
1619
  provider?: string | undefined;
1620
+ namespace?: string | undefined;
1099
1621
  observedAt?: string | undefined;
1100
1622
  schemaVersion?: string | undefined;
1101
1623
  rawValue?: unknown;
1102
1624
  normalizedValue?: string | undefined;
1103
- namespace?: string | undefined;
1104
1625
  }[];
1105
1626
  title?: {
1106
1627
  value: string;
@@ -1109,11 +1630,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1109
1630
  sourcePath: string;
1110
1631
  confidence: number;
1111
1632
  provider?: string | undefined;
1633
+ namespace?: string | undefined;
1112
1634
  observedAt?: string | undefined;
1113
1635
  schemaVersion?: string | undefined;
1114
1636
  rawValue?: unknown;
1115
1637
  normalizedValue?: string | undefined;
1116
- namespace?: string | undefined;
1117
1638
  } | undefined;
1118
1639
  severity?: {
1119
1640
  value: string;
@@ -1122,11 +1643,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1122
1643
  sourcePath: string;
1123
1644
  confidence: number;
1124
1645
  provider?: string | undefined;
1646
+ namespace?: string | undefined;
1125
1647
  observedAt?: string | undefined;
1126
1648
  schemaVersion?: string | undefined;
1127
1649
  rawValue?: unknown;
1128
1650
  normalizedValue?: string | undefined;
1129
- namespace?: string | undefined;
1651
+ } | undefined;
1652
+ datadogGroup?: {
1653
+ integrationId: string;
1654
+ observedAt: string;
1655
+ provenance: {
1656
+ kind: "datadog_current_group_state";
1657
+ observedAt: string;
1658
+ originalIncidentStart: "unknown";
1659
+ originalIncidentEnd: "unknown";
1660
+ } | {
1661
+ kind: "datadog_received_group_notification";
1662
+ originalIncidentStart: "unknown";
1663
+ originalIncidentEnd: "unknown";
1664
+ receivedAt: string;
1665
+ };
1666
+ monitorId: string;
1667
+ scope: {
1668
+ clusterName: string;
1669
+ namespace: string;
1670
+ deployment: string;
1671
+ };
1672
+ schemaVersion: "datadog-group-v1";
1673
+ groupFingerprint: string;
1674
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
1675
+ providerLastTriggeredAt?: string | undefined;
1676
+ providerLastResolvedAt?: string | undefined;
1130
1677
  } | undefined;
1131
1678
  }, {
1132
1679
  integrationId: string;
@@ -1142,20 +1689,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1142
1689
  sourcePath: string;
1143
1690
  confidence: number;
1144
1691
  provider?: string | undefined;
1692
+ namespace?: string | undefined;
1145
1693
  observedAt?: string | undefined;
1146
1694
  schemaVersion?: string | undefined;
1147
1695
  rawValue?: unknown;
1148
1696
  normalizedValue?: string | undefined;
1149
- namespace?: string | undefined;
1150
1697
  }[];
1151
1698
  time: {
1699
+ observedAt: string;
1700
+ capturedAt: string;
1701
+ startsAt: null;
1702
+ endsAt: null;
1703
+ isOpenEnded: boolean;
1704
+ provenance: {
1705
+ kind: "datadog_current_group_state";
1706
+ observedAt: string;
1707
+ originalIncidentStart: "unknown";
1708
+ originalIncidentEnd: "unknown";
1709
+ } | {
1710
+ kind: "datadog_received_group_notification";
1711
+ originalIncidentStart: "unknown";
1712
+ originalIncidentEnd: "unknown";
1713
+ receivedAt: string;
1714
+ };
1715
+ } | {
1152
1716
  capturedAt: string;
1153
1717
  startsAt: null;
1154
1718
  isOpenEnded: boolean;
1155
1719
  provenance: {
1156
1720
  kind: "victorops_incident_time";
1157
- incidentStart: "unknown";
1158
1721
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
1722
+ incidentStart: "unknown";
1159
1723
  };
1160
1724
  observedAt?: string | undefined;
1161
1725
  endsAt?: string | undefined;
@@ -1177,8 +1741,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1177
1741
  observedAt?: string | undefined;
1178
1742
  endsAt?: string | undefined;
1179
1743
  provenance?: {
1180
- observedAt: string;
1181
1744
  kind: "hyperdx_current_state_observation";
1745
+ observedAt: string;
1182
1746
  originalIncidentStart: "unknown";
1183
1747
  originalIncidentEnd: "unknown";
1184
1748
  } | {
@@ -1209,11 +1773,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1209
1773
  sourcePath: string;
1210
1774
  confidence: number;
1211
1775
  provider?: string | undefined;
1776
+ namespace?: string | undefined;
1212
1777
  observedAt?: string | undefined;
1213
1778
  schemaVersion?: string | undefined;
1214
1779
  rawValue?: unknown;
1215
1780
  normalizedValue?: string | undefined;
1216
- namespace?: string | undefined;
1217
1781
  }[];
1218
1782
  resourceHints: {
1219
1783
  value: string;
@@ -1222,11 +1786,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1222
1786
  sourcePath: string;
1223
1787
  confidence: number;
1224
1788
  provider?: string | undefined;
1789
+ namespace?: string | undefined;
1225
1790
  observedAt?: string | undefined;
1226
1791
  schemaVersion?: string | undefined;
1227
1792
  rawValue?: unknown;
1228
1793
  normalizedValue?: string | undefined;
1229
- namespace?: string | undefined;
1230
1794
  }[];
1231
1795
  textHints: {
1232
1796
  value: string;
@@ -1235,11 +1799,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1235
1799
  sourcePath: string;
1236
1800
  confidence: number;
1237
1801
  provider?: string | undefined;
1802
+ namespace?: string | undefined;
1238
1803
  observedAt?: string | undefined;
1239
1804
  schemaVersion?: string | undefined;
1240
1805
  rawValue?: unknown;
1241
1806
  normalizedValue?: string | undefined;
1242
- namespace?: string | undefined;
1243
1807
  }[];
1244
1808
  title?: {
1245
1809
  value: string;
@@ -1248,11 +1812,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1248
1812
  sourcePath: string;
1249
1813
  confidence: number;
1250
1814
  provider?: string | undefined;
1815
+ namespace?: string | undefined;
1251
1816
  observedAt?: string | undefined;
1252
1817
  schemaVersion?: string | undefined;
1253
1818
  rawValue?: unknown;
1254
1819
  normalizedValue?: string | undefined;
1255
- namespace?: string | undefined;
1256
1820
  } | undefined;
1257
1821
  severity?: {
1258
1822
  value: string;
@@ -1261,11 +1825,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1261
1825
  sourcePath: string;
1262
1826
  confidence: number;
1263
1827
  provider?: string | undefined;
1828
+ namespace?: string | undefined;
1264
1829
  observedAt?: string | undefined;
1265
1830
  schemaVersion?: string | undefined;
1266
1831
  rawValue?: unknown;
1267
1832
  normalizedValue?: string | undefined;
1268
- namespace?: string | undefined;
1833
+ } | undefined;
1834
+ datadogGroup?: {
1835
+ integrationId: string;
1836
+ observedAt: string;
1837
+ provenance: {
1838
+ kind: "datadog_current_group_state";
1839
+ observedAt: string;
1840
+ originalIncidentStart: "unknown";
1841
+ originalIncidentEnd: "unknown";
1842
+ } | {
1843
+ kind: "datadog_received_group_notification";
1844
+ originalIncidentStart: "unknown";
1845
+ originalIncidentEnd: "unknown";
1846
+ receivedAt: string;
1847
+ };
1848
+ monitorId: string;
1849
+ scope: {
1850
+ clusterName: string;
1851
+ namespace: string;
1852
+ deployment: string;
1853
+ };
1854
+ schemaVersion: "datadog-group-v1";
1855
+ groupFingerprint: string;
1856
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
1857
+ providerLastTriggeredAt?: string | undefined;
1858
+ providerLastResolvedAt?: string | undefined;
1269
1859
  } | undefined;
1270
1860
  }>, {
1271
1861
  integrationId: string;
@@ -1281,20 +1871,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1281
1871
  sourcePath: string;
1282
1872
  confidence: number;
1283
1873
  provider?: string | undefined;
1874
+ namespace?: string | undefined;
1284
1875
  observedAt?: string | undefined;
1285
1876
  schemaVersion?: string | undefined;
1286
1877
  rawValue?: unknown;
1287
1878
  normalizedValue?: string | undefined;
1288
- namespace?: string | undefined;
1289
1879
  }[];
1290
1880
  time: {
1881
+ observedAt: string;
1882
+ capturedAt: string;
1883
+ startsAt: null;
1884
+ endsAt: null;
1885
+ isOpenEnded: boolean;
1886
+ provenance: {
1887
+ kind: "datadog_current_group_state";
1888
+ observedAt: string;
1889
+ originalIncidentStart: "unknown";
1890
+ originalIncidentEnd: "unknown";
1891
+ } | {
1892
+ kind: "datadog_received_group_notification";
1893
+ originalIncidentStart: "unknown";
1894
+ originalIncidentEnd: "unknown";
1895
+ receivedAt: string;
1896
+ };
1897
+ } | {
1291
1898
  capturedAt: string;
1292
1899
  startsAt: null;
1293
1900
  isOpenEnded: boolean;
1294
1901
  provenance: {
1295
1902
  kind: "victorops_incident_time";
1296
- incidentStart: "unknown";
1297
1903
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
1904
+ incidentStart: "unknown";
1298
1905
  };
1299
1906
  observedAt?: string | undefined;
1300
1907
  endsAt?: string | undefined;
@@ -1316,8 +1923,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1316
1923
  observedAt?: string | undefined;
1317
1924
  endsAt?: string | undefined;
1318
1925
  provenance?: {
1319
- observedAt: string;
1320
1926
  kind: "hyperdx_current_state_observation";
1927
+ observedAt: string;
1321
1928
  originalIncidentStart: "unknown";
1322
1929
  originalIncidentEnd: "unknown";
1323
1930
  } | {
@@ -1348,11 +1955,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1348
1955
  sourcePath: string;
1349
1956
  confidence: number;
1350
1957
  provider?: string | undefined;
1958
+ namespace?: string | undefined;
1351
1959
  observedAt?: string | undefined;
1352
1960
  schemaVersion?: string | undefined;
1353
1961
  rawValue?: unknown;
1354
1962
  normalizedValue?: string | undefined;
1355
- namespace?: string | undefined;
1356
1963
  }[];
1357
1964
  resourceHints: {
1358
1965
  value: string;
@@ -1361,11 +1968,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1361
1968
  sourcePath: string;
1362
1969
  confidence: number;
1363
1970
  provider?: string | undefined;
1971
+ namespace?: string | undefined;
1364
1972
  observedAt?: string | undefined;
1365
1973
  schemaVersion?: string | undefined;
1366
1974
  rawValue?: unknown;
1367
1975
  normalizedValue?: string | undefined;
1368
- namespace?: string | undefined;
1369
1976
  }[];
1370
1977
  textHints: {
1371
1978
  value: string;
@@ -1374,11 +1981,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1374
1981
  sourcePath: string;
1375
1982
  confidence: number;
1376
1983
  provider?: string | undefined;
1984
+ namespace?: string | undefined;
1377
1985
  observedAt?: string | undefined;
1378
1986
  schemaVersion?: string | undefined;
1379
1987
  rawValue?: unknown;
1380
1988
  normalizedValue?: string | undefined;
1381
- namespace?: string | undefined;
1382
1989
  }[];
1383
1990
  title?: {
1384
1991
  value: string;
@@ -1387,11 +1994,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1387
1994
  sourcePath: string;
1388
1995
  confidence: number;
1389
1996
  provider?: string | undefined;
1997
+ namespace?: string | undefined;
1390
1998
  observedAt?: string | undefined;
1391
1999
  schemaVersion?: string | undefined;
1392
2000
  rawValue?: unknown;
1393
2001
  normalizedValue?: string | undefined;
1394
- namespace?: string | undefined;
1395
2002
  } | undefined;
1396
2003
  severity?: {
1397
2004
  value: string;
@@ -1400,11 +2007,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1400
2007
  sourcePath: string;
1401
2008
  confidence: number;
1402
2009
  provider?: string | undefined;
2010
+ namespace?: string | undefined;
1403
2011
  observedAt?: string | undefined;
1404
2012
  schemaVersion?: string | undefined;
1405
2013
  rawValue?: unknown;
1406
2014
  normalizedValue?: string | undefined;
1407
- namespace?: string | undefined;
2015
+ } | undefined;
2016
+ datadogGroup?: {
2017
+ integrationId: string;
2018
+ observedAt: string;
2019
+ provenance: {
2020
+ kind: "datadog_current_group_state";
2021
+ observedAt: string;
2022
+ originalIncidentStart: "unknown";
2023
+ originalIncidentEnd: "unknown";
2024
+ } | {
2025
+ kind: "datadog_received_group_notification";
2026
+ originalIncidentStart: "unknown";
2027
+ originalIncidentEnd: "unknown";
2028
+ receivedAt: string;
2029
+ };
2030
+ monitorId: string;
2031
+ scope: {
2032
+ clusterName: string;
2033
+ namespace: string;
2034
+ deployment: string;
2035
+ };
2036
+ schemaVersion: "datadog-group-v1";
2037
+ groupFingerprint: string;
2038
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
2039
+ providerLastTriggeredAt?: string | undefined;
2040
+ providerLastResolvedAt?: string | undefined;
1408
2041
  } | undefined;
1409
2042
  }, {
1410
2043
  integrationId: string;
@@ -1420,20 +2053,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1420
2053
  sourcePath: string;
1421
2054
  confidence: number;
1422
2055
  provider?: string | undefined;
2056
+ namespace?: string | undefined;
1423
2057
  observedAt?: string | undefined;
1424
2058
  schemaVersion?: string | undefined;
1425
2059
  rawValue?: unknown;
1426
2060
  normalizedValue?: string | undefined;
1427
- namespace?: string | undefined;
1428
2061
  }[];
1429
2062
  time: {
2063
+ observedAt: string;
2064
+ capturedAt: string;
2065
+ startsAt: null;
2066
+ endsAt: null;
2067
+ isOpenEnded: boolean;
2068
+ provenance: {
2069
+ kind: "datadog_current_group_state";
2070
+ observedAt: string;
2071
+ originalIncidentStart: "unknown";
2072
+ originalIncidentEnd: "unknown";
2073
+ } | {
2074
+ kind: "datadog_received_group_notification";
2075
+ originalIncidentStart: "unknown";
2076
+ originalIncidentEnd: "unknown";
2077
+ receivedAt: string;
2078
+ };
2079
+ } | {
1430
2080
  capturedAt: string;
1431
2081
  startsAt: null;
1432
2082
  isOpenEnded: boolean;
1433
2083
  provenance: {
1434
2084
  kind: "victorops_incident_time";
1435
- incidentStart: "unknown";
1436
2085
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
2086
+ incidentStart: "unknown";
1437
2087
  };
1438
2088
  observedAt?: string | undefined;
1439
2089
  endsAt?: string | undefined;
@@ -1455,8 +2105,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1455
2105
  observedAt?: string | undefined;
1456
2106
  endsAt?: string | undefined;
1457
2107
  provenance?: {
1458
- observedAt: string;
1459
2108
  kind: "hyperdx_current_state_observation";
2109
+ observedAt: string;
1460
2110
  originalIncidentStart: "unknown";
1461
2111
  originalIncidentEnd: "unknown";
1462
2112
  } | {
@@ -1487,11 +2137,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1487
2137
  sourcePath: string;
1488
2138
  confidence: number;
1489
2139
  provider?: string | undefined;
2140
+ namespace?: string | undefined;
1490
2141
  observedAt?: string | undefined;
1491
2142
  schemaVersion?: string | undefined;
1492
2143
  rawValue?: unknown;
1493
2144
  normalizedValue?: string | undefined;
1494
- namespace?: string | undefined;
1495
2145
  }[];
1496
2146
  resourceHints: {
1497
2147
  value: string;
@@ -1500,11 +2150,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1500
2150
  sourcePath: string;
1501
2151
  confidence: number;
1502
2152
  provider?: string | undefined;
2153
+ namespace?: string | undefined;
1503
2154
  observedAt?: string | undefined;
1504
2155
  schemaVersion?: string | undefined;
1505
2156
  rawValue?: unknown;
1506
2157
  normalizedValue?: string | undefined;
1507
- namespace?: string | undefined;
1508
2158
  }[];
1509
2159
  textHints: {
1510
2160
  value: string;
@@ -1513,11 +2163,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1513
2163
  sourcePath: string;
1514
2164
  confidence: number;
1515
2165
  provider?: string | undefined;
2166
+ namespace?: string | undefined;
1516
2167
  observedAt?: string | undefined;
1517
2168
  schemaVersion?: string | undefined;
1518
2169
  rawValue?: unknown;
1519
2170
  normalizedValue?: string | undefined;
1520
- namespace?: string | undefined;
1521
2171
  }[];
1522
2172
  title?: {
1523
2173
  value: string;
@@ -1526,11 +2176,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1526
2176
  sourcePath: string;
1527
2177
  confidence: number;
1528
2178
  provider?: string | undefined;
2179
+ namespace?: string | undefined;
1529
2180
  observedAt?: string | undefined;
1530
2181
  schemaVersion?: string | undefined;
1531
2182
  rawValue?: unknown;
1532
2183
  normalizedValue?: string | undefined;
1533
- namespace?: string | undefined;
1534
2184
  } | undefined;
1535
2185
  severity?: {
1536
2186
  value: string;
@@ -1539,11 +2189,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
1539
2189
  sourcePath: string;
1540
2190
  confidence: number;
1541
2191
  provider?: string | undefined;
2192
+ namespace?: string | undefined;
1542
2193
  observedAt?: string | undefined;
1543
2194
  schemaVersion?: string | undefined;
1544
2195
  rawValue?: unknown;
1545
2196
  normalizedValue?: string | undefined;
1546
- namespace?: string | undefined;
2197
+ } | undefined;
2198
+ datadogGroup?: {
2199
+ integrationId: string;
2200
+ observedAt: string;
2201
+ provenance: {
2202
+ kind: "datadog_current_group_state";
2203
+ observedAt: string;
2204
+ originalIncidentStart: "unknown";
2205
+ originalIncidentEnd: "unknown";
2206
+ } | {
2207
+ kind: "datadog_received_group_notification";
2208
+ originalIncidentStart: "unknown";
2209
+ originalIncidentEnd: "unknown";
2210
+ receivedAt: string;
2211
+ };
2212
+ monitorId: string;
2213
+ scope: {
2214
+ clusterName: string;
2215
+ namespace: string;
2216
+ deployment: string;
2217
+ };
2218
+ schemaVersion: "datadog-group-v1";
2219
+ groupFingerprint: string;
2220
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
2221
+ providerLastTriggeredAt?: string | undefined;
2222
+ providerLastResolvedAt?: string | undefined;
1547
2223
  } | undefined;
1548
2224
  }>;
1549
2225
  resolution: z.ZodObject<{
@@ -8723,13 +9399,30 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8723
9399
  description?: string | undefined;
8724
9400
  };
8725
9401
  time: {
9402
+ observedAt: string;
9403
+ capturedAt: string;
9404
+ startsAt: null;
9405
+ endsAt: null;
9406
+ isOpenEnded: boolean;
9407
+ provenance: {
9408
+ kind: "datadog_current_group_state";
9409
+ observedAt: string;
9410
+ originalIncidentStart: "unknown";
9411
+ originalIncidentEnd: "unknown";
9412
+ } | {
9413
+ kind: "datadog_received_group_notification";
9414
+ originalIncidentStart: "unknown";
9415
+ originalIncidentEnd: "unknown";
9416
+ receivedAt: string;
9417
+ };
9418
+ } | {
8726
9419
  capturedAt: string;
8727
9420
  startsAt: null;
8728
9421
  isOpenEnded: boolean;
8729
9422
  provenance: {
8730
9423
  kind: "victorops_incident_time";
8731
- incidentStart: "unknown";
8732
9424
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
9425
+ incidentStart: "unknown";
8733
9426
  };
8734
9427
  observedAt?: string | undefined;
8735
9428
  endsAt?: string | undefined;
@@ -8751,8 +9444,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8751
9444
  observedAt?: string | undefined;
8752
9445
  endsAt?: string | undefined;
8753
9446
  provenance?: {
8754
- observedAt: string;
8755
9447
  kind: "hyperdx_current_state_observation";
9448
+ observedAt: string;
8756
9449
  originalIncidentStart: "unknown";
8757
9450
  originalIncidentEnd: "unknown";
8758
9451
  } | {
@@ -8773,6 +9466,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8773
9466
  lastSeen?: string | undefined;
8774
9467
  };
8775
9468
  evidence: {
9469
+ capturedAt: string;
9470
+ schemaVersion: string;
8776
9471
  occurrenceId: string;
8777
9472
  alertRef: {
8778
9473
  integrationId: string;
@@ -8781,14 +9476,12 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8781
9476
  };
8782
9477
  evidenceRef: string;
8783
9478
  evidenceSource: "provider_list" | "provider_detail" | "provider_webhook" | "slack_notification";
8784
- capturedAt: string;
8785
9479
  presentation: {
8786
9480
  status?: string | undefined;
8787
9481
  title?: string | undefined;
8788
9482
  severity?: string | undefined;
8789
9483
  description?: string | undefined;
8790
9484
  };
8791
- schemaVersion: string;
8792
9485
  redactionVersion: string;
8793
9486
  observedAt?: string | undefined;
8794
9487
  startsAt?: string | undefined;
@@ -8801,6 +9494,32 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8801
9494
  sourceUrls?: Record<string, string> | undefined;
8802
9495
  rawPreview?: Record<string, unknown> | undefined;
8803
9496
  rawHash?: string | undefined;
9497
+ datadogGroup?: {
9498
+ integrationId: string;
9499
+ observedAt: string;
9500
+ provenance: {
9501
+ kind: "datadog_current_group_state";
9502
+ observedAt: string;
9503
+ originalIncidentStart: "unknown";
9504
+ originalIncidentEnd: "unknown";
9505
+ } | {
9506
+ kind: "datadog_received_group_notification";
9507
+ originalIncidentStart: "unknown";
9508
+ originalIncidentEnd: "unknown";
9509
+ receivedAt: string;
9510
+ };
9511
+ monitorId: string;
9512
+ scope: {
9513
+ clusterName: string;
9514
+ namespace: string;
9515
+ deployment: string;
9516
+ };
9517
+ schemaVersion: "datadog-group-v1";
9518
+ groupFingerprint: string;
9519
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
9520
+ providerLastTriggeredAt?: string | undefined;
9521
+ providerLastResolvedAt?: string | undefined;
9522
+ } | undefined;
8804
9523
  };
8805
9524
  reasonCodes: string[];
8806
9525
  request: {
@@ -8826,20 +9545,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8826
9545
  sourcePath: string;
8827
9546
  confidence: number;
8828
9547
  provider?: string | undefined;
9548
+ namespace?: string | undefined;
8829
9549
  observedAt?: string | undefined;
8830
9550
  schemaVersion?: string | undefined;
8831
9551
  rawValue?: unknown;
8832
9552
  normalizedValue?: string | undefined;
8833
- namespace?: string | undefined;
8834
9553
  }[];
8835
9554
  time: {
9555
+ observedAt: string;
9556
+ capturedAt: string;
9557
+ startsAt: null;
9558
+ endsAt: null;
9559
+ isOpenEnded: boolean;
9560
+ provenance: {
9561
+ kind: "datadog_current_group_state";
9562
+ observedAt: string;
9563
+ originalIncidentStart: "unknown";
9564
+ originalIncidentEnd: "unknown";
9565
+ } | {
9566
+ kind: "datadog_received_group_notification";
9567
+ originalIncidentStart: "unknown";
9568
+ originalIncidentEnd: "unknown";
9569
+ receivedAt: string;
9570
+ };
9571
+ } | {
8836
9572
  capturedAt: string;
8837
9573
  startsAt: null;
8838
9574
  isOpenEnded: boolean;
8839
9575
  provenance: {
8840
9576
  kind: "victorops_incident_time";
8841
- incidentStart: "unknown";
8842
9577
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
9578
+ incidentStart: "unknown";
8843
9579
  };
8844
9580
  observedAt?: string | undefined;
8845
9581
  endsAt?: string | undefined;
@@ -8861,8 +9597,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8861
9597
  observedAt?: string | undefined;
8862
9598
  endsAt?: string | undefined;
8863
9599
  provenance?: {
8864
- observedAt: string;
8865
9600
  kind: "hyperdx_current_state_observation";
9601
+ observedAt: string;
8866
9602
  originalIncidentStart: "unknown";
8867
9603
  originalIncidentEnd: "unknown";
8868
9604
  } | {
@@ -8893,11 +9629,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8893
9629
  sourcePath: string;
8894
9630
  confidence: number;
8895
9631
  provider?: string | undefined;
9632
+ namespace?: string | undefined;
8896
9633
  observedAt?: string | undefined;
8897
9634
  schemaVersion?: string | undefined;
8898
9635
  rawValue?: unknown;
8899
9636
  normalizedValue?: string | undefined;
8900
- namespace?: string | undefined;
8901
9637
  }[];
8902
9638
  resourceHints: {
8903
9639
  value: string;
@@ -8906,11 +9642,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8906
9642
  sourcePath: string;
8907
9643
  confidence: number;
8908
9644
  provider?: string | undefined;
9645
+ namespace?: string | undefined;
8909
9646
  observedAt?: string | undefined;
8910
9647
  schemaVersion?: string | undefined;
8911
9648
  rawValue?: unknown;
8912
9649
  normalizedValue?: string | undefined;
8913
- namespace?: string | undefined;
8914
9650
  }[];
8915
9651
  textHints: {
8916
9652
  value: string;
@@ -8919,11 +9655,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8919
9655
  sourcePath: string;
8920
9656
  confidence: number;
8921
9657
  provider?: string | undefined;
9658
+ namespace?: string | undefined;
8922
9659
  observedAt?: string | undefined;
8923
9660
  schemaVersion?: string | undefined;
8924
9661
  rawValue?: unknown;
8925
9662
  normalizedValue?: string | undefined;
8926
- namespace?: string | undefined;
8927
9663
  }[];
8928
9664
  title?: {
8929
9665
  value: string;
@@ -8932,11 +9668,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8932
9668
  sourcePath: string;
8933
9669
  confidence: number;
8934
9670
  provider?: string | undefined;
9671
+ namespace?: string | undefined;
8935
9672
  observedAt?: string | undefined;
8936
9673
  schemaVersion?: string | undefined;
8937
9674
  rawValue?: unknown;
8938
9675
  normalizedValue?: string | undefined;
8939
- namespace?: string | undefined;
8940
9676
  } | undefined;
8941
9677
  severity?: {
8942
9678
  value: string;
@@ -8945,11 +9681,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8945
9681
  sourcePath: string;
8946
9682
  confidence: number;
8947
9683
  provider?: string | undefined;
9684
+ namespace?: string | undefined;
8948
9685
  observedAt?: string | undefined;
8949
9686
  schemaVersion?: string | undefined;
8950
9687
  rawValue?: unknown;
8951
9688
  normalizedValue?: string | undefined;
8952
- namespace?: string | undefined;
9689
+ } | undefined;
9690
+ datadogGroup?: {
9691
+ integrationId: string;
9692
+ observedAt: string;
9693
+ provenance: {
9694
+ kind: "datadog_current_group_state";
9695
+ observedAt: string;
9696
+ originalIncidentStart: "unknown";
9697
+ originalIncidentEnd: "unknown";
9698
+ } | {
9699
+ kind: "datadog_received_group_notification";
9700
+ originalIncidentStart: "unknown";
9701
+ originalIncidentEnd: "unknown";
9702
+ receivedAt: string;
9703
+ };
9704
+ monitorId: string;
9705
+ scope: {
9706
+ clusterName: string;
9707
+ namespace: string;
9708
+ deployment: string;
9709
+ };
9710
+ schemaVersion: "datadog-group-v1";
9711
+ groupFingerprint: string;
9712
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
9713
+ providerLastTriggeredAt?: string | undefined;
9714
+ providerLastResolvedAt?: string | undefined;
8953
9715
  } | undefined;
8954
9716
  };
8955
9717
  resolution: {
@@ -9531,13 +10293,30 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9531
10293
  description?: string | undefined;
9532
10294
  };
9533
10295
  time: {
10296
+ observedAt: string;
10297
+ capturedAt: string;
10298
+ startsAt: null;
10299
+ endsAt: null;
10300
+ isOpenEnded: boolean;
10301
+ provenance: {
10302
+ kind: "datadog_current_group_state";
10303
+ observedAt: string;
10304
+ originalIncidentStart: "unknown";
10305
+ originalIncidentEnd: "unknown";
10306
+ } | {
10307
+ kind: "datadog_received_group_notification";
10308
+ originalIncidentStart: "unknown";
10309
+ originalIncidentEnd: "unknown";
10310
+ receivedAt: string;
10311
+ };
10312
+ } | {
9534
10313
  capturedAt: string;
9535
10314
  startsAt: null;
9536
10315
  isOpenEnded: boolean;
9537
10316
  provenance: {
9538
10317
  kind: "victorops_incident_time";
9539
- incidentStart: "unknown";
9540
10318
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
10319
+ incidentStart: "unknown";
9541
10320
  };
9542
10321
  observedAt?: string | undefined;
9543
10322
  endsAt?: string | undefined;
@@ -9559,8 +10338,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9559
10338
  observedAt?: string | undefined;
9560
10339
  endsAt?: string | undefined;
9561
10340
  provenance?: {
9562
- observedAt: string;
9563
10341
  kind: "hyperdx_current_state_observation";
10342
+ observedAt: string;
9564
10343
  originalIncidentStart: "unknown";
9565
10344
  originalIncidentEnd: "unknown";
9566
10345
  } | {
@@ -9581,6 +10360,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9581
10360
  lastSeen?: string | undefined;
9582
10361
  };
9583
10362
  evidence: {
10363
+ capturedAt: string;
10364
+ schemaVersion: string;
9584
10365
  occurrenceId: string;
9585
10366
  alertRef: {
9586
10367
  integrationId: string;
@@ -9589,14 +10370,12 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9589
10370
  };
9590
10371
  evidenceRef: string;
9591
10372
  evidenceSource: "provider_list" | "provider_detail" | "provider_webhook" | "slack_notification";
9592
- capturedAt: string;
9593
10373
  presentation: {
9594
10374
  status?: string | undefined;
9595
10375
  title?: string | undefined;
9596
10376
  severity?: string | undefined;
9597
10377
  description?: string | undefined;
9598
10378
  };
9599
- schemaVersion: string;
9600
10379
  redactionVersion: string;
9601
10380
  observedAt?: string | undefined;
9602
10381
  startsAt?: string | undefined;
@@ -9609,6 +10388,32 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9609
10388
  sourceUrls?: Record<string, string> | undefined;
9610
10389
  rawPreview?: Record<string, unknown> | undefined;
9611
10390
  rawHash?: string | undefined;
10391
+ datadogGroup?: {
10392
+ integrationId: string;
10393
+ observedAt: string;
10394
+ provenance: {
10395
+ kind: "datadog_current_group_state";
10396
+ observedAt: string;
10397
+ originalIncidentStart: "unknown";
10398
+ originalIncidentEnd: "unknown";
10399
+ } | {
10400
+ kind: "datadog_received_group_notification";
10401
+ originalIncidentStart: "unknown";
10402
+ originalIncidentEnd: "unknown";
10403
+ receivedAt: string;
10404
+ };
10405
+ monitorId: string;
10406
+ scope: {
10407
+ clusterName: string;
10408
+ namespace: string;
10409
+ deployment: string;
10410
+ };
10411
+ schemaVersion: "datadog-group-v1";
10412
+ groupFingerprint: string;
10413
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
10414
+ providerLastTriggeredAt?: string | undefined;
10415
+ providerLastResolvedAt?: string | undefined;
10416
+ } | undefined;
9612
10417
  };
9613
10418
  reasonCodes: string[];
9614
10419
  request: {
@@ -9634,20 +10439,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9634
10439
  sourcePath: string;
9635
10440
  confidence: number;
9636
10441
  provider?: string | undefined;
10442
+ namespace?: string | undefined;
9637
10443
  observedAt?: string | undefined;
9638
10444
  schemaVersion?: string | undefined;
9639
10445
  rawValue?: unknown;
9640
10446
  normalizedValue?: string | undefined;
9641
- namespace?: string | undefined;
9642
10447
  }[];
9643
10448
  time: {
10449
+ observedAt: string;
10450
+ capturedAt: string;
10451
+ startsAt: null;
10452
+ endsAt: null;
10453
+ isOpenEnded: boolean;
10454
+ provenance: {
10455
+ kind: "datadog_current_group_state";
10456
+ observedAt: string;
10457
+ originalIncidentStart: "unknown";
10458
+ originalIncidentEnd: "unknown";
10459
+ } | {
10460
+ kind: "datadog_received_group_notification";
10461
+ originalIncidentStart: "unknown";
10462
+ originalIncidentEnd: "unknown";
10463
+ receivedAt: string;
10464
+ };
10465
+ } | {
9644
10466
  capturedAt: string;
9645
10467
  startsAt: null;
9646
10468
  isOpenEnded: boolean;
9647
10469
  provenance: {
9648
10470
  kind: "victorops_incident_time";
9649
- incidentStart: "unknown";
9650
10471
  reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
10472
+ incidentStart: "unknown";
9651
10473
  };
9652
10474
  observedAt?: string | undefined;
9653
10475
  endsAt?: string | undefined;
@@ -9669,8 +10491,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9669
10491
  observedAt?: string | undefined;
9670
10492
  endsAt?: string | undefined;
9671
10493
  provenance?: {
9672
- observedAt: string;
9673
10494
  kind: "hyperdx_current_state_observation";
10495
+ observedAt: string;
9674
10496
  originalIncidentStart: "unknown";
9675
10497
  originalIncidentEnd: "unknown";
9676
10498
  } | {
@@ -9701,11 +10523,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9701
10523
  sourcePath: string;
9702
10524
  confidence: number;
9703
10525
  provider?: string | undefined;
10526
+ namespace?: string | undefined;
9704
10527
  observedAt?: string | undefined;
9705
10528
  schemaVersion?: string | undefined;
9706
10529
  rawValue?: unknown;
9707
10530
  normalizedValue?: string | undefined;
9708
- namespace?: string | undefined;
9709
10531
  }[];
9710
10532
  resourceHints: {
9711
10533
  value: string;
@@ -9714,11 +10536,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9714
10536
  sourcePath: string;
9715
10537
  confidence: number;
9716
10538
  provider?: string | undefined;
10539
+ namespace?: string | undefined;
9717
10540
  observedAt?: string | undefined;
9718
10541
  schemaVersion?: string | undefined;
9719
10542
  rawValue?: unknown;
9720
10543
  normalizedValue?: string | undefined;
9721
- namespace?: string | undefined;
9722
10544
  }[];
9723
10545
  textHints: {
9724
10546
  value: string;
@@ -9727,11 +10549,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9727
10549
  sourcePath: string;
9728
10550
  confidence: number;
9729
10551
  provider?: string | undefined;
10552
+ namespace?: string | undefined;
9730
10553
  observedAt?: string | undefined;
9731
10554
  schemaVersion?: string | undefined;
9732
10555
  rawValue?: unknown;
9733
10556
  normalizedValue?: string | undefined;
9734
- namespace?: string | undefined;
9735
10557
  }[];
9736
10558
  title?: {
9737
10559
  value: string;
@@ -9740,11 +10562,11 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9740
10562
  sourcePath: string;
9741
10563
  confidence: number;
9742
10564
  provider?: string | undefined;
10565
+ namespace?: string | undefined;
9743
10566
  observedAt?: string | undefined;
9744
10567
  schemaVersion?: string | undefined;
9745
10568
  rawValue?: unknown;
9746
10569
  normalizedValue?: string | undefined;
9747
- namespace?: string | undefined;
9748
10570
  } | undefined;
9749
10571
  severity?: {
9750
10572
  value: string;
@@ -9753,11 +10575,37 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
9753
10575
  sourcePath: string;
9754
10576
  confidence: number;
9755
10577
  provider?: string | undefined;
10578
+ namespace?: string | undefined;
9756
10579
  observedAt?: string | undefined;
9757
10580
  schemaVersion?: string | undefined;
9758
10581
  rawValue?: unknown;
9759
10582
  normalizedValue?: string | undefined;
9760
- namespace?: string | undefined;
10583
+ } | undefined;
10584
+ datadogGroup?: {
10585
+ integrationId: string;
10586
+ observedAt: string;
10587
+ provenance: {
10588
+ kind: "datadog_current_group_state";
10589
+ observedAt: string;
10590
+ originalIncidentStart: "unknown";
10591
+ originalIncidentEnd: "unknown";
10592
+ } | {
10593
+ kind: "datadog_received_group_notification";
10594
+ originalIncidentStart: "unknown";
10595
+ originalIncidentEnd: "unknown";
10596
+ receivedAt: string;
10597
+ };
10598
+ monitorId: string;
10599
+ scope: {
10600
+ clusterName: string;
10601
+ namespace: string;
10602
+ deployment: string;
10603
+ };
10604
+ schemaVersion: "datadog-group-v1";
10605
+ groupFingerprint: string;
10606
+ state: "Alert" | "Warn" | "OK" | "No Data" | "NoData" | "Skipped" | "Unknown";
10607
+ providerLastTriggeredAt?: string | undefined;
10608
+ providerLastResolvedAt?: string | undefined;
9761
10609
  } | undefined;
9762
10610
  };
9763
10611
  resolution: {