@scoutflo/alert-correlation 0.7.0-flat.0 → 0.7.0-flat.2

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.
@@ -240,6 +240,21 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
240
240
  lastSeen: z.ZodOptional<z.ZodString>;
241
241
  isOpenEnded: z.ZodBoolean;
242
242
  provenance: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
243
+ originalIncidentStart: z.ZodLiteral<"unknown">;
244
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
245
+ kind: z.ZodLiteral<"hyperdx_current_state_observation">;
246
+ observedAt: z.ZodString;
247
+ }, "strict", z.ZodTypeAny, {
248
+ observedAt: string;
249
+ kind: "hyperdx_current_state_observation";
250
+ originalIncidentStart: "unknown";
251
+ originalIncidentEnd: "unknown";
252
+ }, {
253
+ observedAt: string;
254
+ kind: "hyperdx_current_state_observation";
255
+ originalIncidentStart: "unknown";
256
+ originalIncidentEnd: "unknown";
257
+ }>, z.ZodObject<{
243
258
  originalIncidentStart: z.ZodLiteral<"unknown">;
244
259
  originalIncidentEnd: z.ZodLiteral<"unknown">;
245
260
  kind: z.ZodLiteral<"hyperdx_captured_evaluation">;
@@ -257,23 +272,23 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
257
272
  firstFiringObservedAt: z.ZodOptional<z.ZodString>;
258
273
  }, "strict", z.ZodTypeAny, {
259
274
  kind: "hyperdx_captured_evaluation";
275
+ originalIncidentStart: "unknown";
276
+ originalIncidentEnd: "unknown";
260
277
  evaluationWindow: {
261
278
  start: string;
262
279
  end: string;
263
280
  };
264
281
  firstObservedAt: string;
265
- originalIncidentStart: "unknown";
266
- originalIncidentEnd: "unknown";
267
282
  firstFiringObservedAt?: string | undefined;
268
283
  }, {
269
284
  kind: "hyperdx_captured_evaluation";
285
+ originalIncidentStart: "unknown";
286
+ originalIncidentEnd: "unknown";
270
287
  evaluationWindow: {
271
288
  start: string;
272
289
  end: string;
273
290
  };
274
291
  firstObservedAt: string;
275
- originalIncidentStart: "unknown";
276
- originalIncidentEnd: "unknown";
277
292
  firstFiringObservedAt?: string | undefined;
278
293
  }>, z.ZodObject<{
279
294
  originalIncidentStart: z.ZodLiteral<"unknown">;
@@ -288,28 +303,38 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
288
303
  originalIncidentStart: "unknown";
289
304
  originalIncidentEnd: "unknown";
290
305
  }>]>, {
306
+ observedAt: string;
307
+ kind: "hyperdx_current_state_observation";
308
+ originalIncidentStart: "unknown";
309
+ originalIncidentEnd: "unknown";
310
+ } | {
291
311
  kind: "hyperdx_captured_evaluation";
312
+ originalIncidentStart: "unknown";
313
+ originalIncidentEnd: "unknown";
292
314
  evaluationWindow: {
293
315
  start: string;
294
316
  end: string;
295
317
  };
296
318
  firstObservedAt: string;
297
- originalIncidentStart: "unknown";
298
- originalIncidentEnd: "unknown";
299
319
  firstFiringObservedAt?: string | undefined;
300
320
  } | {
301
321
  kind: "hyperdx_capture_unavailable";
302
322
  originalIncidentStart: "unknown";
303
323
  originalIncidentEnd: "unknown";
304
324
  }, {
325
+ observedAt: string;
326
+ kind: "hyperdx_current_state_observation";
327
+ originalIncidentStart: "unknown";
328
+ originalIncidentEnd: "unknown";
329
+ } | {
305
330
  kind: "hyperdx_captured_evaluation";
331
+ originalIncidentStart: "unknown";
332
+ originalIncidentEnd: "unknown";
306
333
  evaluationWindow: {
307
334
  start: string;
308
335
  end: string;
309
336
  };
310
337
  firstObservedAt: string;
311
- originalIncidentStart: "unknown";
312
- originalIncidentEnd: "unknown";
313
338
  firstFiringObservedAt?: string | undefined;
314
339
  } | {
315
340
  kind: "hyperdx_capture_unavailable";
@@ -324,14 +349,19 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
324
349
  endsAt?: string | undefined;
325
350
  lastSeen?: string | undefined;
326
351
  provenance?: {
352
+ observedAt: string;
353
+ kind: "hyperdx_current_state_observation";
354
+ originalIncidentStart: "unknown";
355
+ originalIncidentEnd: "unknown";
356
+ } | {
327
357
  kind: "hyperdx_captured_evaluation";
358
+ originalIncidentStart: "unknown";
359
+ originalIncidentEnd: "unknown";
328
360
  evaluationWindow: {
329
361
  start: string;
330
362
  end: string;
331
363
  };
332
364
  firstObservedAt: string;
333
- originalIncidentStart: "unknown";
334
- originalIncidentEnd: "unknown";
335
365
  firstFiringObservedAt?: string | undefined;
336
366
  } | {
337
367
  kind: "hyperdx_capture_unavailable";
@@ -346,14 +376,19 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
346
376
  endsAt?: string | undefined;
347
377
  lastSeen?: string | undefined;
348
378
  provenance?: {
379
+ observedAt: string;
380
+ kind: "hyperdx_current_state_observation";
381
+ originalIncidentStart: "unknown";
382
+ originalIncidentEnd: "unknown";
383
+ } | {
349
384
  kind: "hyperdx_captured_evaluation";
385
+ originalIncidentStart: "unknown";
386
+ originalIncidentEnd: "unknown";
350
387
  evaluationWindow: {
351
388
  start: string;
352
389
  end: string;
353
390
  };
354
391
  firstObservedAt: string;
355
- originalIncidentStart: "unknown";
356
- originalIncidentEnd: "unknown";
357
392
  firstFiringObservedAt?: string | undefined;
358
393
  } | {
359
394
  kind: "hyperdx_capture_unavailable";
@@ -402,6 +437,21 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
402
437
  lastSeen: z.ZodOptional<z.ZodString>;
403
438
  isOpenEnded: z.ZodBoolean;
404
439
  provenance: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
440
+ originalIncidentStart: z.ZodLiteral<"unknown">;
441
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
442
+ kind: z.ZodLiteral<"hyperdx_current_state_observation">;
443
+ observedAt: z.ZodString;
444
+ }, "strict", z.ZodTypeAny, {
445
+ observedAt: string;
446
+ kind: "hyperdx_current_state_observation";
447
+ originalIncidentStart: "unknown";
448
+ originalIncidentEnd: "unknown";
449
+ }, {
450
+ observedAt: string;
451
+ kind: "hyperdx_current_state_observation";
452
+ originalIncidentStart: "unknown";
453
+ originalIncidentEnd: "unknown";
454
+ }>, z.ZodObject<{
405
455
  originalIncidentStart: z.ZodLiteral<"unknown">;
406
456
  originalIncidentEnd: z.ZodLiteral<"unknown">;
407
457
  kind: z.ZodLiteral<"hyperdx_captured_evaluation">;
@@ -419,23 +469,23 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
419
469
  firstFiringObservedAt: z.ZodOptional<z.ZodString>;
420
470
  }, "strict", z.ZodTypeAny, {
421
471
  kind: "hyperdx_captured_evaluation";
472
+ originalIncidentStart: "unknown";
473
+ originalIncidentEnd: "unknown";
422
474
  evaluationWindow: {
423
475
  start: string;
424
476
  end: string;
425
477
  };
426
478
  firstObservedAt: string;
427
- originalIncidentStart: "unknown";
428
- originalIncidentEnd: "unknown";
429
479
  firstFiringObservedAt?: string | undefined;
430
480
  }, {
431
481
  kind: "hyperdx_captured_evaluation";
482
+ originalIncidentStart: "unknown";
483
+ originalIncidentEnd: "unknown";
432
484
  evaluationWindow: {
433
485
  start: string;
434
486
  end: string;
435
487
  };
436
488
  firstObservedAt: string;
437
- originalIncidentStart: "unknown";
438
- originalIncidentEnd: "unknown";
439
489
  firstFiringObservedAt?: string | undefined;
440
490
  }>, z.ZodObject<{
441
491
  originalIncidentStart: z.ZodLiteral<"unknown">;
@@ -450,28 +500,38 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
450
500
  originalIncidentStart: "unknown";
451
501
  originalIncidentEnd: "unknown";
452
502
  }>]>, {
503
+ observedAt: string;
504
+ kind: "hyperdx_current_state_observation";
505
+ originalIncidentStart: "unknown";
506
+ originalIncidentEnd: "unknown";
507
+ } | {
453
508
  kind: "hyperdx_captured_evaluation";
509
+ originalIncidentStart: "unknown";
510
+ originalIncidentEnd: "unknown";
454
511
  evaluationWindow: {
455
512
  start: string;
456
513
  end: string;
457
514
  };
458
515
  firstObservedAt: string;
459
- originalIncidentStart: "unknown";
460
- originalIncidentEnd: "unknown";
461
516
  firstFiringObservedAt?: string | undefined;
462
517
  } | {
463
518
  kind: "hyperdx_capture_unavailable";
464
519
  originalIncidentStart: "unknown";
465
520
  originalIncidentEnd: "unknown";
466
521
  }, {
522
+ observedAt: string;
523
+ kind: "hyperdx_current_state_observation";
524
+ originalIncidentStart: "unknown";
525
+ originalIncidentEnd: "unknown";
526
+ } | {
467
527
  kind: "hyperdx_captured_evaluation";
528
+ originalIncidentStart: "unknown";
529
+ originalIncidentEnd: "unknown";
468
530
  evaluationWindow: {
469
531
  start: string;
470
532
  end: string;
471
533
  };
472
534
  firstObservedAt: string;
473
- originalIncidentStart: "unknown";
474
- originalIncidentEnd: "unknown";
475
535
  firstFiringObservedAt?: string | undefined;
476
536
  } | {
477
537
  kind: "hyperdx_capture_unavailable";
@@ -486,14 +546,19 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
486
546
  endsAt?: string | undefined;
487
547
  lastSeen?: string | undefined;
488
548
  provenance?: {
549
+ observedAt: string;
550
+ kind: "hyperdx_current_state_observation";
551
+ originalIncidentStart: "unknown";
552
+ originalIncidentEnd: "unknown";
553
+ } | {
489
554
  kind: "hyperdx_captured_evaluation";
555
+ originalIncidentStart: "unknown";
556
+ originalIncidentEnd: "unknown";
490
557
  evaluationWindow: {
491
558
  start: string;
492
559
  end: string;
493
560
  };
494
561
  firstObservedAt: string;
495
- originalIncidentStart: "unknown";
496
- originalIncidentEnd: "unknown";
497
562
  firstFiringObservedAt?: string | undefined;
498
563
  } | {
499
564
  kind: "hyperdx_capture_unavailable";
@@ -508,14 +573,19 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
508
573
  endsAt?: string | undefined;
509
574
  lastSeen?: string | undefined;
510
575
  provenance?: {
576
+ observedAt: string;
577
+ kind: "hyperdx_current_state_observation";
578
+ originalIncidentStart: "unknown";
579
+ originalIncidentEnd: "unknown";
580
+ } | {
511
581
  kind: "hyperdx_captured_evaluation";
582
+ originalIncidentStart: "unknown";
583
+ originalIncidentEnd: "unknown";
512
584
  evaluationWindow: {
513
585
  start: string;
514
586
  end: string;
515
587
  };
516
588
  firstObservedAt: string;
517
- originalIncidentStart: "unknown";
518
- originalIncidentEnd: "unknown";
519
589
  firstFiringObservedAt?: string | undefined;
520
590
  } | {
521
591
  kind: "hyperdx_capture_unavailable";
@@ -779,14 +849,19 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
779
849
  endsAt?: string | undefined;
780
850
  lastSeen?: string | undefined;
781
851
  provenance?: {
852
+ observedAt: string;
853
+ kind: "hyperdx_current_state_observation";
854
+ originalIncidentStart: "unknown";
855
+ originalIncidentEnd: "unknown";
856
+ } | {
782
857
  kind: "hyperdx_captured_evaluation";
858
+ originalIncidentStart: "unknown";
859
+ originalIncidentEnd: "unknown";
783
860
  evaluationWindow: {
784
861
  start: string;
785
862
  end: string;
786
863
  };
787
864
  firstObservedAt: string;
788
- originalIncidentStart: "unknown";
789
- originalIncidentEnd: "unknown";
790
865
  firstFiringObservedAt?: string | undefined;
791
866
  } | {
792
867
  kind: "hyperdx_capture_unavailable";
@@ -891,14 +966,19 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
891
966
  endsAt?: string | undefined;
892
967
  lastSeen?: string | undefined;
893
968
  provenance?: {
969
+ observedAt: string;
970
+ kind: "hyperdx_current_state_observation";
971
+ originalIncidentStart: "unknown";
972
+ originalIncidentEnd: "unknown";
973
+ } | {
894
974
  kind: "hyperdx_captured_evaluation";
975
+ originalIncidentStart: "unknown";
976
+ originalIncidentEnd: "unknown";
895
977
  evaluationWindow: {
896
978
  start: string;
897
979
  end: string;
898
980
  };
899
981
  firstObservedAt: string;
900
- originalIncidentStart: "unknown";
901
- originalIncidentEnd: "unknown";
902
982
  firstFiringObservedAt?: string | undefined;
903
983
  } | {
904
984
  kind: "hyperdx_capture_unavailable";
@@ -5495,8 +5575,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
5495
5575
  truncated: z.ZodNullable<z.ZodBoolean>;
5496
5576
  omittedBytes: z.ZodOptional<z.ZodNumber>;
5497
5577
  }, "strict", z.ZodTypeAny, {
5498
- truncated: boolean | null;
5499
5578
  fetched: boolean;
5579
+ truncated: boolean | null;
5500
5580
  failure?: {
5501
5581
  failureClass: "unknown" | "provider_response" | "provider_transport";
5502
5582
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -5506,8 +5586,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
5506
5586
  } | undefined;
5507
5587
  omittedBytes?: number | undefined;
5508
5588
  }, {
5509
- truncated: boolean | null;
5510
5589
  fetched: boolean;
5590
+ truncated: boolean | null;
5511
5591
  failure?: {
5512
5592
  failureClass: "unknown" | "provider_response" | "provider_transport";
5513
5593
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -5574,8 +5654,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
5574
5654
  truncated: z.ZodNullable<z.ZodBoolean>;
5575
5655
  omittedBytes: z.ZodOptional<z.ZodNumber>;
5576
5656
  }, "strict", z.ZodTypeAny, {
5577
- truncated: boolean | null;
5578
5657
  fetched: boolean;
5658
+ truncated: boolean | null;
5579
5659
  failure?: {
5580
5660
  failureClass: "unknown" | "provider_response" | "provider_transport";
5581
5661
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -5585,8 +5665,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
5585
5665
  } | undefined;
5586
5666
  omittedBytes?: number | undefined;
5587
5667
  }, {
5588
- truncated: boolean | null;
5589
5668
  fetched: boolean;
5669
+ truncated: boolean | null;
5590
5670
  failure?: {
5591
5671
  failureClass: "unknown" | "provider_response" | "provider_transport";
5592
5672
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -5653,8 +5733,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
5653
5733
  truncated: z.ZodNullable<z.ZodBoolean>;
5654
5734
  omittedBytes: z.ZodOptional<z.ZodNumber>;
5655
5735
  }, "strict", z.ZodTypeAny, {
5656
- truncated: boolean | null;
5657
5736
  fetched: boolean;
5737
+ truncated: boolean | null;
5658
5738
  failure?: {
5659
5739
  failureClass: "unknown" | "provider_response" | "provider_transport";
5660
5740
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -5664,8 +5744,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
5664
5744
  } | undefined;
5665
5745
  omittedBytes?: number | undefined;
5666
5746
  }, {
5667
- truncated: boolean | null;
5668
5747
  fetched: boolean;
5748
+ truncated: boolean | null;
5669
5749
  failure?: {
5670
5750
  failureClass: "unknown" | "provider_response" | "provider_transport";
5671
5751
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -5732,8 +5812,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
5732
5812
  truncated: z.ZodNullable<z.ZodBoolean>;
5733
5813
  omittedBytes: z.ZodOptional<z.ZodNumber>;
5734
5814
  }, "strict", z.ZodTypeAny, {
5735
- truncated: boolean | null;
5736
5815
  fetched: boolean;
5816
+ truncated: boolean | null;
5737
5817
  failure?: {
5738
5818
  failureClass: "unknown" | "provider_response" | "provider_transport";
5739
5819
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -5743,8 +5823,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
5743
5823
  } | undefined;
5744
5824
  omittedBytes?: number | undefined;
5745
5825
  }, {
5746
- truncated: boolean | null;
5747
5826
  fetched: boolean;
5827
+ truncated: boolean | null;
5748
5828
  failure?: {
5749
5829
  failureClass: "unknown" | "provider_response" | "provider_transport";
5750
5830
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -5811,8 +5891,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
5811
5891
  truncated: z.ZodNullable<z.ZodBoolean>;
5812
5892
  omittedBytes: z.ZodOptional<z.ZodNumber>;
5813
5893
  }, "strict", z.ZodTypeAny, {
5814
- truncated: boolean | null;
5815
5894
  fetched: boolean;
5895
+ truncated: boolean | null;
5816
5896
  failure?: {
5817
5897
  failureClass: "unknown" | "provider_response" | "provider_transport";
5818
5898
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -5822,8 +5902,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
5822
5902
  } | undefined;
5823
5903
  omittedBytes?: number | undefined;
5824
5904
  }, {
5825
- truncated: boolean | null;
5826
5905
  fetched: boolean;
5906
+ truncated: boolean | null;
5827
5907
  failure?: {
5828
5908
  failureClass: "unknown" | "provider_response" | "provider_transport";
5829
5909
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -6322,8 +6402,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
6322
6402
  truncated: z.ZodNullable<z.ZodBoolean>;
6323
6403
  omittedBytes: z.ZodOptional<z.ZodNumber>;
6324
6404
  }, "strict", z.ZodTypeAny, {
6325
- truncated: boolean | null;
6326
6405
  fetched: boolean;
6406
+ truncated: boolean | null;
6327
6407
  failure?: {
6328
6408
  failureClass: "unknown" | "provider_response" | "provider_transport";
6329
6409
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -6333,8 +6413,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
6333
6413
  } | undefined;
6334
6414
  omittedBytes?: number | undefined;
6335
6415
  }, {
6336
- truncated: boolean | null;
6337
6416
  fetched: boolean;
6417
+ truncated: boolean | null;
6338
6418
  failure?: {
6339
6419
  failureClass: "unknown" | "provider_response" | "provider_transport";
6340
6420
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -6650,8 +6730,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
6650
6730
  truncated: z.ZodNullable<z.ZodBoolean>;
6651
6731
  omittedBytes: z.ZodOptional<z.ZodNumber>;
6652
6732
  }, "strict", z.ZodTypeAny, {
6653
- truncated: boolean | null;
6654
6733
  fetched: boolean;
6734
+ truncated: boolean | null;
6655
6735
  failure?: {
6656
6736
  failureClass: "unknown" | "provider_response" | "provider_transport";
6657
6737
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -6661,8 +6741,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
6661
6741
  } | undefined;
6662
6742
  omittedBytes?: number | undefined;
6663
6743
  }, {
6664
- truncated: boolean | null;
6665
6744
  fetched: boolean;
6745
+ truncated: boolean | null;
6666
6746
  failure?: {
6667
6747
  failureClass: "unknown" | "provider_response" | "provider_transport";
6668
6748
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -7167,8 +7247,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
7167
7247
  truncated: z.ZodNullable<z.ZodBoolean>;
7168
7248
  omittedBytes: z.ZodOptional<z.ZodNumber>;
7169
7249
  }, "strict", z.ZodTypeAny, {
7170
- truncated: boolean | null;
7171
7250
  fetched: boolean;
7251
+ truncated: boolean | null;
7172
7252
  failure?: {
7173
7253
  failureClass: "unknown" | "provider_response" | "provider_transport";
7174
7254
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -7178,8 +7258,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
7178
7258
  } | undefined;
7179
7259
  omittedBytes?: number | undefined;
7180
7260
  }, {
7181
- truncated: boolean | null;
7182
7261
  fetched: boolean;
7262
+ truncated: boolean | null;
7183
7263
  failure?: {
7184
7264
  failureClass: "unknown" | "provider_response" | "provider_transport";
7185
7265
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -7495,8 +7575,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
7495
7575
  truncated: z.ZodNullable<z.ZodBoolean>;
7496
7576
  omittedBytes: z.ZodOptional<z.ZodNumber>;
7497
7577
  }, "strict", z.ZodTypeAny, {
7498
- truncated: boolean | null;
7499
7578
  fetched: boolean;
7579
+ truncated: boolean | null;
7500
7580
  failure?: {
7501
7581
  failureClass: "unknown" | "provider_response" | "provider_transport";
7502
7582
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -7506,8 +7586,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
7506
7586
  } | undefined;
7507
7587
  omittedBytes?: number | undefined;
7508
7588
  }, {
7509
- truncated: boolean | null;
7510
7589
  fetched: boolean;
7590
+ truncated: boolean | null;
7511
7591
  failure?: {
7512
7592
  failureClass: "unknown" | "provider_response" | "provider_transport";
7513
7593
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -8012,8 +8092,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8012
8092
  truncated: z.ZodNullable<z.ZodBoolean>;
8013
8093
  omittedBytes: z.ZodOptional<z.ZodNumber>;
8014
8094
  }, "strict", z.ZodTypeAny, {
8015
- truncated: boolean | null;
8016
8095
  fetched: boolean;
8096
+ truncated: boolean | null;
8017
8097
  failure?: {
8018
8098
  failureClass: "unknown" | "provider_response" | "provider_transport";
8019
8099
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -8023,8 +8103,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8023
8103
  } | undefined;
8024
8104
  omittedBytes?: number | undefined;
8025
8105
  }, {
8026
- truncated: boolean | null;
8027
8106
  fetched: boolean;
8107
+ truncated: boolean | null;
8028
8108
  failure?: {
8029
8109
  failureClass: "unknown" | "provider_response" | "provider_transport";
8030
8110
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -8160,14 +8240,19 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8160
8240
  endsAt?: string | undefined;
8161
8241
  lastSeen?: string | undefined;
8162
8242
  provenance?: {
8243
+ observedAt: string;
8244
+ kind: "hyperdx_current_state_observation";
8245
+ originalIncidentStart: "unknown";
8246
+ originalIncidentEnd: "unknown";
8247
+ } | {
8163
8248
  kind: "hyperdx_captured_evaluation";
8249
+ originalIncidentStart: "unknown";
8250
+ originalIncidentEnd: "unknown";
8164
8251
  evaluationWindow: {
8165
8252
  start: string;
8166
8253
  end: string;
8167
8254
  };
8168
8255
  firstObservedAt: string;
8169
- originalIncidentStart: "unknown";
8170
- originalIncidentEnd: "unknown";
8171
8256
  firstFiringObservedAt?: string | undefined;
8172
8257
  } | {
8173
8258
  kind: "hyperdx_capture_unavailable";
@@ -8243,14 +8328,19 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8243
8328
  endsAt?: string | undefined;
8244
8329
  lastSeen?: string | undefined;
8245
8330
  provenance?: {
8331
+ observedAt: string;
8332
+ kind: "hyperdx_current_state_observation";
8333
+ originalIncidentStart: "unknown";
8334
+ originalIncidentEnd: "unknown";
8335
+ } | {
8246
8336
  kind: "hyperdx_captured_evaluation";
8337
+ originalIncidentStart: "unknown";
8338
+ originalIncidentEnd: "unknown";
8247
8339
  evaluationWindow: {
8248
8340
  start: string;
8249
8341
  end: string;
8250
8342
  };
8251
8343
  firstObservedAt: string;
8252
- originalIncidentStart: "unknown";
8253
- originalIncidentEnd: "unknown";
8254
8344
  firstFiringObservedAt?: string | undefined;
8255
8345
  } | {
8256
8346
  kind: "hyperdx_capture_unavailable";
@@ -8817,8 +8907,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8817
8907
  truncated: z.ZodNullable<z.ZodBoolean>;
8818
8908
  omittedBytes: z.ZodOptional<z.ZodNumber>;
8819
8909
  }, "strict", z.ZodTypeAny, {
8820
- truncated: boolean | null;
8821
8910
  fetched: boolean;
8911
+ truncated: boolean | null;
8822
8912
  failure?: {
8823
8913
  failureClass: "unknown" | "provider_response" | "provider_transport";
8824
8914
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -8828,8 +8918,8 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8828
8918
  } | undefined;
8829
8919
  omittedBytes?: number | undefined;
8830
8920
  }, {
8831
- truncated: boolean | null;
8832
8921
  fetched: boolean;
8922
+ truncated: boolean | null;
8833
8923
  failure?: {
8834
8924
  failureClass: "unknown" | "provider_response" | "provider_transport";
8835
8925
  failureKind: "unknown" | "authentication" | "rate_limited" | "capacity" | "upstream_unavailable" | "request_rejected" | "transport_unavailable" | "invalid_response";
@@ -8914,14 +9004,19 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8914
9004
  endsAt?: string | undefined;
8915
9005
  lastSeen?: string | undefined;
8916
9006
  provenance?: {
9007
+ observedAt: string;
9008
+ kind: "hyperdx_current_state_observation";
9009
+ originalIncidentStart: "unknown";
9010
+ originalIncidentEnd: "unknown";
9011
+ } | {
8917
9012
  kind: "hyperdx_captured_evaluation";
9013
+ originalIncidentStart: "unknown";
9014
+ originalIncidentEnd: "unknown";
8918
9015
  evaluationWindow: {
8919
9016
  start: string;
8920
9017
  end: string;
8921
9018
  };
8922
9019
  firstObservedAt: string;
8923
- originalIncidentStart: "unknown";
8924
- originalIncidentEnd: "unknown";
8925
9020
  firstFiringObservedAt?: string | undefined;
8926
9021
  } | {
8927
9022
  kind: "hyperdx_capture_unavailable";
@@ -8997,14 +9092,19 @@ export declare const alertInvestigationContextSchema: z.ZodObject<{
8997
9092
  endsAt?: string | undefined;
8998
9093
  lastSeen?: string | undefined;
8999
9094
  provenance?: {
9095
+ observedAt: string;
9096
+ kind: "hyperdx_current_state_observation";
9097
+ originalIncidentStart: "unknown";
9098
+ originalIncidentEnd: "unknown";
9099
+ } | {
9000
9100
  kind: "hyperdx_captured_evaluation";
9101
+ originalIncidentStart: "unknown";
9102
+ originalIncidentEnd: "unknown";
9001
9103
  evaluationWindow: {
9002
9104
  start: string;
9003
9105
  end: string;
9004
9106
  };
9005
9107
  firstObservedAt: string;
9006
- originalIncidentStart: "unknown";
9007
- originalIncidentEnd: "unknown";
9008
9108
  firstFiringObservedAt?: string | undefined;
9009
9109
  } | {
9010
9110
  kind: "hyperdx_capture_unavailable";