@scoutflo/alert-correlation 0.7.0-flat.2 → 0.7.1-victorops.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 (58) hide show
  1. package/dist/src/contracts/context.d.ts +631 -53
  2. package/dist/src/contracts/context.js +5 -4
  3. package/dist/src/contracts/context.js.map +1 -1
  4. package/dist/src/contracts/facts.d.ts +792 -138
  5. package/dist/src/contracts/facts.js +10 -3
  6. package/dist/src/contracts/facts.js.map +1 -1
  7. package/dist/src/contracts/hyperdxCurrent.d.ts +406 -2
  8. package/dist/src/contracts/hyperdxCurrent.js +66 -3
  9. package/dist/src/contracts/hyperdxCurrent.js.map +1 -1
  10. package/dist/src/contracts/index.d.ts +1 -0
  11. package/dist/src/contracts/index.js +1 -0
  12. package/dist/src/contracts/index.js.map +1 -1
  13. package/dist/src/contracts/victoropsTime.d.ts +87 -0
  14. package/dist/src/contracts/victoropsTime.js +29 -0
  15. package/dist/src/contracts/victoropsTime.js.map +1 -0
  16. package/dist/src/extractors/hyperdxExtractor.d.ts +1 -1
  17. package/dist/src/extractors/hyperdxExtractor.js +27 -3
  18. package/dist/src/extractors/hyperdxExtractor.js.map +1 -1
  19. package/dist/src/extractors/registry.d.ts +23 -1
  20. package/dist/src/extractors/registry.js +2 -0
  21. package/dist/src/extractors/registry.js.map +1 -1
  22. package/dist/src/extractors/types.d.ts +2 -1
  23. package/dist/src/extractors/victoropsExtractor.d.ts +3 -0
  24. package/dist/src/extractors/victoropsExtractor.js +25 -0
  25. package/dist/src/extractors/victoropsExtractor.js.map +1 -0
  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/hyperdxCurrentMatcher.d.ts +6 -0
  30. package/dist/src/matchers/hyperdxCurrentMatcher.js +85 -0
  31. package/dist/src/matchers/hyperdxCurrentMatcher.js.map +1 -0
  32. package/dist/src/matchers/providerRelationshipMatcher.js +3 -0
  33. package/dist/src/matchers/providerRelationshipMatcher.js.map +1 -1
  34. package/dist/src/resolveAlertCorrelation.d.ts +2 -1
  35. package/dist/src/resolveAlertCorrelation.js +1 -0
  36. package/dist/src/resolveAlertCorrelation.js.map +1 -1
  37. package/dist/src/time/deriveVictorOpsDiagnosticWindow.d.ts +29 -0
  38. package/dist/src/time/deriveVictorOpsDiagnosticWindow.js +41 -0
  39. package/dist/src/time/deriveVictorOpsDiagnosticWindow.js.map +1 -0
  40. package/dist/src/time/normalizeAlertTime.js +3 -0
  41. package/dist/src/time/normalizeAlertTime.js.map +1 -1
  42. package/dist/src/time/normalizeVictorOpsTime.d.ts +4 -0
  43. package/dist/src/time/normalizeVictorOpsTime.js +30 -0
  44. package/dist/src/time/normalizeVictorOpsTime.js.map +1 -0
  45. package/dist/test/hyperdx-current-extractor.test.js +2 -0
  46. package/dist/test/hyperdx-current-extractor.test.js.map +1 -1
  47. package/dist/test/hyperdx-selector-correlation.test.d.ts +1 -0
  48. package/dist/test/hyperdx-selector-correlation.test.js +220 -0
  49. package/dist/test/hyperdx-selector-correlation.test.js.map +1 -0
  50. package/dist/test/time.test.js +2 -2
  51. package/dist/test/time.test.js.map +1 -1
  52. package/dist/test/victorops-window.test.d.ts +1 -0
  53. package/dist/test/victorops-window.test.js +99 -0
  54. package/dist/test/victorops-window.test.js.map +1 -0
  55. package/dist/test/victorops.test.d.ts +1 -0
  56. package/dist/test/victorops.test.js +46 -0
  57. package/dist/test/victorops.test.js.map +1 -0
  58. package/package.json +2 -2
@@ -43,7 +43,7 @@ export declare const alertFactSchema: z.ZodObject<{
43
43
  export type Fact = Omit<CorrelationFact, 'kind'> & {
44
44
  kind: FactKind;
45
45
  };
46
- export declare const alertTimeWindowSchema: z.ZodObject<{
46
+ export declare const legacyAlertTimeWindowSchema: z.ZodObject<{
47
47
  capturedAt: z.ZodString;
48
48
  observedAt: z.ZodOptional<z.ZodString>;
49
49
  startsAt: z.ZodString;
@@ -158,7 +158,6 @@ export declare const alertTimeWindowSchema: z.ZodObject<{
158
158
  isOpenEnded: boolean;
159
159
  observedAt?: string | undefined;
160
160
  endsAt?: string | undefined;
161
- lastSeen?: string | undefined;
162
161
  provenance?: {
163
162
  observedAt: string;
164
163
  kind: "hyperdx_current_state_observation";
@@ -179,13 +178,13 @@ export declare const alertTimeWindowSchema: z.ZodObject<{
179
178
  originalIncidentStart: "unknown";
180
179
  originalIncidentEnd: "unknown";
181
180
  } | undefined;
181
+ lastSeen?: string | undefined;
182
182
  }, {
183
183
  capturedAt: string;
184
184
  startsAt: string;
185
185
  isOpenEnded: boolean;
186
186
  observedAt?: string | undefined;
187
187
  endsAt?: string | undefined;
188
- lastSeen?: string | undefined;
189
188
  provenance?: {
190
189
  observedAt: string;
191
190
  kind: "hyperdx_current_state_observation";
@@ -206,9 +205,258 @@ export declare const alertTimeWindowSchema: z.ZodObject<{
206
205
  originalIncidentStart: "unknown";
207
206
  originalIncidentEnd: "unknown";
208
207
  } | undefined;
208
+ lastSeen?: string | undefined;
209
209
  }>;
210
+ export declare const alertTimeWindowSchema: z.ZodUnion<[z.ZodObject<{
211
+ capturedAt: z.ZodString;
212
+ observedAt: z.ZodOptional<z.ZodString>;
213
+ startsAt: z.ZodString;
214
+ endsAt: z.ZodOptional<z.ZodString>;
215
+ lastSeen: z.ZodOptional<z.ZodString>;
216
+ isOpenEnded: z.ZodBoolean;
217
+ provenance: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
218
+ originalIncidentStart: z.ZodLiteral<"unknown">;
219
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
220
+ kind: z.ZodLiteral<"hyperdx_current_state_observation">;
221
+ observedAt: z.ZodString;
222
+ }, "strict", z.ZodTypeAny, {
223
+ observedAt: string;
224
+ kind: "hyperdx_current_state_observation";
225
+ originalIncidentStart: "unknown";
226
+ originalIncidentEnd: "unknown";
227
+ }, {
228
+ observedAt: string;
229
+ kind: "hyperdx_current_state_observation";
230
+ originalIncidentStart: "unknown";
231
+ originalIncidentEnd: "unknown";
232
+ }>, z.ZodObject<{
233
+ originalIncidentStart: z.ZodLiteral<"unknown">;
234
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
235
+ kind: z.ZodLiteral<"hyperdx_captured_evaluation">;
236
+ evaluationWindow: z.ZodObject<{
237
+ start: z.ZodString;
238
+ end: z.ZodString;
239
+ }, "strict", z.ZodTypeAny, {
240
+ start: string;
241
+ end: string;
242
+ }, {
243
+ start: string;
244
+ end: string;
245
+ }>;
246
+ firstObservedAt: z.ZodString;
247
+ firstFiringObservedAt: z.ZodOptional<z.ZodString>;
248
+ }, "strict", z.ZodTypeAny, {
249
+ kind: "hyperdx_captured_evaluation";
250
+ originalIncidentStart: "unknown";
251
+ originalIncidentEnd: "unknown";
252
+ evaluationWindow: {
253
+ start: string;
254
+ end: string;
255
+ };
256
+ firstObservedAt: string;
257
+ firstFiringObservedAt?: string | undefined;
258
+ }, {
259
+ kind: "hyperdx_captured_evaluation";
260
+ originalIncidentStart: "unknown";
261
+ originalIncidentEnd: "unknown";
262
+ evaluationWindow: {
263
+ start: string;
264
+ end: string;
265
+ };
266
+ firstObservedAt: string;
267
+ firstFiringObservedAt?: string | undefined;
268
+ }>, z.ZodObject<{
269
+ originalIncidentStart: z.ZodLiteral<"unknown">;
270
+ originalIncidentEnd: z.ZodLiteral<"unknown">;
271
+ kind: z.ZodLiteral<"hyperdx_capture_unavailable">;
272
+ }, "strict", z.ZodTypeAny, {
273
+ kind: "hyperdx_capture_unavailable";
274
+ originalIncidentStart: "unknown";
275
+ originalIncidentEnd: "unknown";
276
+ }, {
277
+ kind: "hyperdx_capture_unavailable";
278
+ originalIncidentStart: "unknown";
279
+ originalIncidentEnd: "unknown";
280
+ }>]>, {
281
+ observedAt: string;
282
+ kind: "hyperdx_current_state_observation";
283
+ originalIncidentStart: "unknown";
284
+ originalIncidentEnd: "unknown";
285
+ } | {
286
+ kind: "hyperdx_captured_evaluation";
287
+ originalIncidentStart: "unknown";
288
+ originalIncidentEnd: "unknown";
289
+ evaluationWindow: {
290
+ start: string;
291
+ end: string;
292
+ };
293
+ firstObservedAt: string;
294
+ firstFiringObservedAt?: string | undefined;
295
+ } | {
296
+ kind: "hyperdx_capture_unavailable";
297
+ originalIncidentStart: "unknown";
298
+ originalIncidentEnd: "unknown";
299
+ }, {
300
+ observedAt: string;
301
+ kind: "hyperdx_current_state_observation";
302
+ originalIncidentStart: "unknown";
303
+ originalIncidentEnd: "unknown";
304
+ } | {
305
+ kind: "hyperdx_captured_evaluation";
306
+ originalIncidentStart: "unknown";
307
+ originalIncidentEnd: "unknown";
308
+ evaluationWindow: {
309
+ start: string;
310
+ end: string;
311
+ };
312
+ firstObservedAt: string;
313
+ firstFiringObservedAt?: string | undefined;
314
+ } | {
315
+ kind: "hyperdx_capture_unavailable";
316
+ originalIncidentStart: "unknown";
317
+ originalIncidentEnd: "unknown";
318
+ }>>;
319
+ }, "strict", z.ZodTypeAny, {
320
+ capturedAt: string;
321
+ startsAt: string;
322
+ isOpenEnded: boolean;
323
+ observedAt?: string | undefined;
324
+ endsAt?: string | undefined;
325
+ provenance?: {
326
+ observedAt: string;
327
+ kind: "hyperdx_current_state_observation";
328
+ originalIncidentStart: "unknown";
329
+ originalIncidentEnd: "unknown";
330
+ } | {
331
+ kind: "hyperdx_captured_evaluation";
332
+ originalIncidentStart: "unknown";
333
+ originalIncidentEnd: "unknown";
334
+ evaluationWindow: {
335
+ start: string;
336
+ end: string;
337
+ };
338
+ firstObservedAt: string;
339
+ firstFiringObservedAt?: string | undefined;
340
+ } | {
341
+ kind: "hyperdx_capture_unavailable";
342
+ originalIncidentStart: "unknown";
343
+ originalIncidentEnd: "unknown";
344
+ } | undefined;
345
+ lastSeen?: string | undefined;
346
+ }, {
347
+ capturedAt: string;
348
+ startsAt: string;
349
+ isOpenEnded: boolean;
350
+ observedAt?: string | undefined;
351
+ endsAt?: string | undefined;
352
+ provenance?: {
353
+ observedAt: string;
354
+ kind: "hyperdx_current_state_observation";
355
+ originalIncidentStart: "unknown";
356
+ originalIncidentEnd: "unknown";
357
+ } | {
358
+ kind: "hyperdx_captured_evaluation";
359
+ originalIncidentStart: "unknown";
360
+ originalIncidentEnd: "unknown";
361
+ evaluationWindow: {
362
+ start: string;
363
+ end: string;
364
+ };
365
+ firstObservedAt: string;
366
+ firstFiringObservedAt?: string | undefined;
367
+ } | {
368
+ kind: "hyperdx_capture_unavailable";
369
+ originalIncidentStart: "unknown";
370
+ originalIncidentEnd: "unknown";
371
+ } | undefined;
372
+ lastSeen?: string | undefined;
373
+ }>, z.ZodUnion<[z.ZodObject<{
374
+ capturedAt: z.ZodString;
375
+ observedAt: z.ZodOptional<z.ZodString>;
376
+ endsAt: z.ZodOptional<z.ZodString>;
377
+ isOpenEnded: z.ZodBoolean;
378
+ } & {
379
+ startsAt: z.ZodNull;
380
+ provenance: z.ZodObject<{
381
+ kind: z.ZodLiteral<"victorops_incident_time">;
382
+ incidentStart: z.ZodLiteral<"unknown">;
383
+ reason: z.ZodEnum<["missing_native_start", "unverified_native_start", "invalid_native_start"]>;
384
+ }, "strict", z.ZodTypeAny, {
385
+ kind: "victorops_incident_time";
386
+ incidentStart: "unknown";
387
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
388
+ }, {
389
+ kind: "victorops_incident_time";
390
+ incidentStart: "unknown";
391
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
392
+ }>;
393
+ }, "strict", z.ZodTypeAny, {
394
+ capturedAt: string;
395
+ startsAt: null;
396
+ isOpenEnded: boolean;
397
+ provenance: {
398
+ kind: "victorops_incident_time";
399
+ incidentStart: "unknown";
400
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
401
+ };
402
+ observedAt?: string | undefined;
403
+ endsAt?: string | undefined;
404
+ }, {
405
+ capturedAt: string;
406
+ startsAt: null;
407
+ isOpenEnded: boolean;
408
+ provenance: {
409
+ kind: "victorops_incident_time";
410
+ incidentStart: "unknown";
411
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
412
+ };
413
+ observedAt?: string | undefined;
414
+ endsAt?: string | undefined;
415
+ }>, z.ZodObject<{
416
+ capturedAt: z.ZodString;
417
+ observedAt: z.ZodOptional<z.ZodString>;
418
+ endsAt: z.ZodOptional<z.ZodString>;
419
+ isOpenEnded: z.ZodBoolean;
420
+ } & {
421
+ startsAt: z.ZodString;
422
+ provenance: z.ZodObject<{
423
+ kind: z.ZodLiteral<"victorops_incident_time">;
424
+ incidentStart: z.ZodLiteral<"verified">;
425
+ startEvidenceRef: z.ZodString;
426
+ }, "strict", z.ZodTypeAny, {
427
+ kind: "victorops_incident_time";
428
+ incidentStart: "verified";
429
+ startEvidenceRef: string;
430
+ }, {
431
+ kind: "victorops_incident_time";
432
+ incidentStart: "verified";
433
+ startEvidenceRef: string;
434
+ }>;
435
+ }, "strict", z.ZodTypeAny, {
436
+ capturedAt: string;
437
+ startsAt: string;
438
+ isOpenEnded: boolean;
439
+ provenance: {
440
+ kind: "victorops_incident_time";
441
+ incidentStart: "verified";
442
+ startEvidenceRef: string;
443
+ };
444
+ observedAt?: string | undefined;
445
+ endsAt?: string | undefined;
446
+ }, {
447
+ capturedAt: string;
448
+ startsAt: string;
449
+ isOpenEnded: boolean;
450
+ provenance: {
451
+ kind: "victorops_incident_time";
452
+ incidentStart: "verified";
453
+ startEvidenceRef: string;
454
+ };
455
+ observedAt?: string | undefined;
456
+ endsAt?: string | undefined;
457
+ }>]>]>;
210
458
  export type AlertTimeWindow = z.infer<typeof alertTimeWindowSchema>;
211
- export declare const alertCorrelationFactsSchema: z.ZodObject<{
459
+ export declare const alertCorrelationFactsSchema: z.ZodEffects<z.ZodObject<{
212
460
  provider: z.ZodString;
213
461
  integrationId: z.ZodString;
214
462
  alertKey: z.ZodString;
@@ -225,7 +473,7 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
225
473
  name: string;
226
474
  version: string;
227
475
  }>;
228
- time: z.ZodObject<{
476
+ time: z.ZodUnion<[z.ZodObject<{
229
477
  capturedAt: z.ZodString;
230
478
  observedAt: z.ZodOptional<z.ZodString>;
231
479
  startsAt: z.ZodString;
@@ -340,34 +588,415 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
340
588
  isOpenEnded: boolean;
341
589
  observedAt?: string | undefined;
342
590
  endsAt?: string | undefined;
343
- lastSeen?: string | undefined;
344
- provenance?: {
345
- observedAt: string;
346
- kind: "hyperdx_current_state_observation";
347
- originalIncidentStart: "unknown";
348
- originalIncidentEnd: "unknown";
349
- } | {
350
- kind: "hyperdx_captured_evaluation";
351
- originalIncidentStart: "unknown";
352
- originalIncidentEnd: "unknown";
353
- evaluationWindow: {
354
- start: string;
355
- end: string;
356
- };
357
- firstObservedAt: string;
358
- firstFiringObservedAt?: string | undefined;
359
- } | {
360
- kind: "hyperdx_capture_unavailable";
361
- originalIncidentStart: "unknown";
362
- originalIncidentEnd: "unknown";
363
- } | undefined;
364
- }, {
591
+ provenance?: {
592
+ observedAt: string;
593
+ kind: "hyperdx_current_state_observation";
594
+ originalIncidentStart: "unknown";
595
+ originalIncidentEnd: "unknown";
596
+ } | {
597
+ kind: "hyperdx_captured_evaluation";
598
+ originalIncidentStart: "unknown";
599
+ originalIncidentEnd: "unknown";
600
+ evaluationWindow: {
601
+ start: string;
602
+ end: string;
603
+ };
604
+ firstObservedAt: string;
605
+ firstFiringObservedAt?: string | undefined;
606
+ } | {
607
+ kind: "hyperdx_capture_unavailable";
608
+ originalIncidentStart: "unknown";
609
+ originalIncidentEnd: "unknown";
610
+ } | undefined;
611
+ lastSeen?: string | undefined;
612
+ }, {
613
+ capturedAt: string;
614
+ startsAt: string;
615
+ isOpenEnded: boolean;
616
+ observedAt?: string | undefined;
617
+ endsAt?: string | undefined;
618
+ provenance?: {
619
+ observedAt: string;
620
+ kind: "hyperdx_current_state_observation";
621
+ originalIncidentStart: "unknown";
622
+ originalIncidentEnd: "unknown";
623
+ } | {
624
+ kind: "hyperdx_captured_evaluation";
625
+ originalIncidentStart: "unknown";
626
+ originalIncidentEnd: "unknown";
627
+ evaluationWindow: {
628
+ start: string;
629
+ end: string;
630
+ };
631
+ firstObservedAt: string;
632
+ firstFiringObservedAt?: string | undefined;
633
+ } | {
634
+ kind: "hyperdx_capture_unavailable";
635
+ originalIncidentStart: "unknown";
636
+ originalIncidentEnd: "unknown";
637
+ } | undefined;
638
+ lastSeen?: string | undefined;
639
+ }>, z.ZodUnion<[z.ZodObject<{
640
+ capturedAt: z.ZodString;
641
+ observedAt: z.ZodOptional<z.ZodString>;
642
+ endsAt: z.ZodOptional<z.ZodString>;
643
+ isOpenEnded: z.ZodBoolean;
644
+ } & {
645
+ startsAt: z.ZodNull;
646
+ provenance: z.ZodObject<{
647
+ kind: z.ZodLiteral<"victorops_incident_time">;
648
+ incidentStart: z.ZodLiteral<"unknown">;
649
+ reason: z.ZodEnum<["missing_native_start", "unverified_native_start", "invalid_native_start"]>;
650
+ }, "strict", z.ZodTypeAny, {
651
+ kind: "victorops_incident_time";
652
+ incidentStart: "unknown";
653
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
654
+ }, {
655
+ kind: "victorops_incident_time";
656
+ incidentStart: "unknown";
657
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
658
+ }>;
659
+ }, "strict", z.ZodTypeAny, {
660
+ capturedAt: string;
661
+ startsAt: null;
662
+ isOpenEnded: boolean;
663
+ provenance: {
664
+ kind: "victorops_incident_time";
665
+ incidentStart: "unknown";
666
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
667
+ };
668
+ observedAt?: string | undefined;
669
+ endsAt?: string | undefined;
670
+ }, {
671
+ capturedAt: string;
672
+ startsAt: null;
673
+ isOpenEnded: boolean;
674
+ provenance: {
675
+ kind: "victorops_incident_time";
676
+ incidentStart: "unknown";
677
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
678
+ };
679
+ observedAt?: string | undefined;
680
+ endsAt?: string | undefined;
681
+ }>, z.ZodObject<{
682
+ capturedAt: z.ZodString;
683
+ observedAt: z.ZodOptional<z.ZodString>;
684
+ endsAt: z.ZodOptional<z.ZodString>;
685
+ isOpenEnded: z.ZodBoolean;
686
+ } & {
687
+ startsAt: z.ZodString;
688
+ provenance: z.ZodObject<{
689
+ kind: z.ZodLiteral<"victorops_incident_time">;
690
+ incidentStart: z.ZodLiteral<"verified">;
691
+ startEvidenceRef: z.ZodString;
692
+ }, "strict", z.ZodTypeAny, {
693
+ kind: "victorops_incident_time";
694
+ incidentStart: "verified";
695
+ startEvidenceRef: string;
696
+ }, {
697
+ kind: "victorops_incident_time";
698
+ incidentStart: "verified";
699
+ startEvidenceRef: string;
700
+ }>;
701
+ }, "strict", z.ZodTypeAny, {
702
+ capturedAt: string;
703
+ startsAt: string;
704
+ isOpenEnded: boolean;
705
+ provenance: {
706
+ kind: "victorops_incident_time";
707
+ incidentStart: "verified";
708
+ startEvidenceRef: string;
709
+ };
710
+ observedAt?: string | undefined;
711
+ endsAt?: string | undefined;
712
+ }, {
713
+ capturedAt: string;
714
+ startsAt: string;
715
+ isOpenEnded: boolean;
716
+ provenance: {
717
+ kind: "victorops_incident_time";
718
+ incidentStart: "verified";
719
+ startEvidenceRef: string;
720
+ };
721
+ observedAt?: string | undefined;
722
+ endsAt?: string | undefined;
723
+ }>]>]>;
724
+ labels: z.ZodArray<z.ZodObject<{
725
+ key: z.ZodString;
726
+ value: z.ZodString;
727
+ sourcePath: z.ZodString;
728
+ confidence: z.ZodNumber;
729
+ rawValue: z.ZodOptional<z.ZodUnknown>;
730
+ normalizedValue: z.ZodOptional<z.ZodString>;
731
+ namespace: z.ZodOptional<z.ZodString>;
732
+ provider: z.ZodOptional<z.ZodString>;
733
+ observedAt: z.ZodOptional<z.ZodString>;
734
+ schemaVersion: z.ZodOptional<z.ZodString>;
735
+ } & {
736
+ kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
737
+ }, "strip", z.ZodTypeAny, {
738
+ value: string;
739
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
740
+ key: string;
741
+ sourcePath: string;
742
+ confidence: number;
743
+ provider?: string | undefined;
744
+ observedAt?: string | undefined;
745
+ schemaVersion?: string | undefined;
746
+ rawValue?: unknown;
747
+ normalizedValue?: string | undefined;
748
+ namespace?: string | undefined;
749
+ }, {
750
+ value: string;
751
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
752
+ key: string;
753
+ sourcePath: string;
754
+ confidence: number;
755
+ provider?: string | undefined;
756
+ observedAt?: string | undefined;
757
+ schemaVersion?: string | undefined;
758
+ rawValue?: unknown;
759
+ normalizedValue?: string | undefined;
760
+ namespace?: string | undefined;
761
+ }>, "many">;
762
+ identifiers: z.ZodArray<z.ZodObject<{
763
+ key: z.ZodString;
764
+ value: z.ZodString;
765
+ sourcePath: z.ZodString;
766
+ confidence: z.ZodNumber;
767
+ rawValue: z.ZodOptional<z.ZodUnknown>;
768
+ normalizedValue: z.ZodOptional<z.ZodString>;
769
+ namespace: z.ZodOptional<z.ZodString>;
770
+ provider: z.ZodOptional<z.ZodString>;
771
+ observedAt: z.ZodOptional<z.ZodString>;
772
+ schemaVersion: z.ZodOptional<z.ZodString>;
773
+ } & {
774
+ kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
775
+ }, "strip", z.ZodTypeAny, {
776
+ value: string;
777
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
778
+ key: string;
779
+ sourcePath: string;
780
+ confidence: number;
781
+ provider?: string | undefined;
782
+ observedAt?: string | undefined;
783
+ schemaVersion?: string | undefined;
784
+ rawValue?: unknown;
785
+ normalizedValue?: string | undefined;
786
+ namespace?: string | undefined;
787
+ }, {
788
+ value: string;
789
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
790
+ key: string;
791
+ sourcePath: string;
792
+ confidence: number;
793
+ provider?: string | undefined;
794
+ observedAt?: string | undefined;
795
+ schemaVersion?: string | undefined;
796
+ rawValue?: unknown;
797
+ normalizedValue?: string | undefined;
798
+ namespace?: string | undefined;
799
+ }>, "many">;
800
+ resourceHints: z.ZodArray<z.ZodObject<{
801
+ key: z.ZodString;
802
+ value: z.ZodString;
803
+ sourcePath: z.ZodString;
804
+ confidence: z.ZodNumber;
805
+ rawValue: z.ZodOptional<z.ZodUnknown>;
806
+ normalizedValue: z.ZodOptional<z.ZodString>;
807
+ namespace: z.ZodOptional<z.ZodString>;
808
+ provider: z.ZodOptional<z.ZodString>;
809
+ observedAt: z.ZodOptional<z.ZodString>;
810
+ schemaVersion: z.ZodOptional<z.ZodString>;
811
+ } & {
812
+ kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
813
+ }, "strip", z.ZodTypeAny, {
814
+ value: string;
815
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
816
+ key: string;
817
+ sourcePath: string;
818
+ confidence: number;
819
+ provider?: string | undefined;
820
+ observedAt?: string | undefined;
821
+ schemaVersion?: string | undefined;
822
+ rawValue?: unknown;
823
+ normalizedValue?: string | undefined;
824
+ namespace?: string | undefined;
825
+ }, {
826
+ value: string;
827
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
828
+ key: string;
829
+ sourcePath: string;
830
+ confidence: number;
831
+ provider?: string | undefined;
832
+ observedAt?: string | undefined;
833
+ schemaVersion?: string | undefined;
834
+ rawValue?: unknown;
835
+ normalizedValue?: string | undefined;
836
+ namespace?: string | undefined;
837
+ }>, "many">;
838
+ textHints: z.ZodArray<z.ZodObject<{
839
+ key: z.ZodString;
840
+ value: z.ZodString;
841
+ sourcePath: z.ZodString;
842
+ confidence: z.ZodNumber;
843
+ rawValue: z.ZodOptional<z.ZodUnknown>;
844
+ normalizedValue: z.ZodOptional<z.ZodString>;
845
+ namespace: z.ZodOptional<z.ZodString>;
846
+ provider: z.ZodOptional<z.ZodString>;
847
+ observedAt: z.ZodOptional<z.ZodString>;
848
+ schemaVersion: z.ZodOptional<z.ZodString>;
849
+ } & {
850
+ kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
851
+ }, "strip", z.ZodTypeAny, {
852
+ value: string;
853
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
854
+ key: string;
855
+ sourcePath: string;
856
+ confidence: number;
857
+ provider?: string | undefined;
858
+ observedAt?: string | undefined;
859
+ schemaVersion?: string | undefined;
860
+ rawValue?: unknown;
861
+ normalizedValue?: string | undefined;
862
+ namespace?: string | undefined;
863
+ }, {
864
+ value: string;
865
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
866
+ key: string;
867
+ sourcePath: string;
868
+ confidence: number;
869
+ provider?: string | undefined;
870
+ observedAt?: string | undefined;
871
+ schemaVersion?: string | undefined;
872
+ rawValue?: unknown;
873
+ normalizedValue?: string | undefined;
874
+ namespace?: string | undefined;
875
+ }>, "many">;
876
+ severity: z.ZodOptional<z.ZodObject<{
877
+ key: z.ZodString;
878
+ value: z.ZodString;
879
+ sourcePath: z.ZodString;
880
+ confidence: z.ZodNumber;
881
+ rawValue: z.ZodOptional<z.ZodUnknown>;
882
+ normalizedValue: z.ZodOptional<z.ZodString>;
883
+ namespace: z.ZodOptional<z.ZodString>;
884
+ provider: z.ZodOptional<z.ZodString>;
885
+ observedAt: z.ZodOptional<z.ZodString>;
886
+ schemaVersion: z.ZodOptional<z.ZodString>;
887
+ } & {
888
+ kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
889
+ }, "strip", z.ZodTypeAny, {
890
+ value: string;
891
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
892
+ key: string;
893
+ sourcePath: string;
894
+ confidence: number;
895
+ provider?: string | undefined;
896
+ observedAt?: string | undefined;
897
+ schemaVersion?: string | undefined;
898
+ rawValue?: unknown;
899
+ normalizedValue?: string | undefined;
900
+ namespace?: string | undefined;
901
+ }, {
902
+ value: string;
903
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
904
+ key: string;
905
+ sourcePath: string;
906
+ confidence: number;
907
+ provider?: string | undefined;
908
+ observedAt?: string | undefined;
909
+ schemaVersion?: string | undefined;
910
+ rawValue?: unknown;
911
+ normalizedValue?: string | undefined;
912
+ namespace?: string | undefined;
913
+ }>>;
914
+ title: z.ZodOptional<z.ZodObject<{
915
+ key: z.ZodString;
916
+ value: z.ZodString;
917
+ sourcePath: z.ZodString;
918
+ confidence: z.ZodNumber;
919
+ rawValue: z.ZodOptional<z.ZodUnknown>;
920
+ normalizedValue: z.ZodOptional<z.ZodString>;
921
+ namespace: z.ZodOptional<z.ZodString>;
922
+ provider: z.ZodOptional<z.ZodString>;
923
+ observedAt: z.ZodOptional<z.ZodString>;
924
+ schemaVersion: z.ZodOptional<z.ZodString>;
925
+ } & {
926
+ kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
927
+ }, "strip", z.ZodTypeAny, {
928
+ value: string;
929
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
930
+ key: string;
931
+ sourcePath: string;
932
+ confidence: number;
933
+ provider?: string | undefined;
934
+ observedAt?: string | undefined;
935
+ schemaVersion?: string | undefined;
936
+ rawValue?: unknown;
937
+ normalizedValue?: string | undefined;
938
+ namespace?: string | undefined;
939
+ }, {
940
+ value: string;
941
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
942
+ key: string;
943
+ sourcePath: string;
944
+ confidence: number;
945
+ provider?: string | undefined;
946
+ observedAt?: string | undefined;
947
+ schemaVersion?: string | undefined;
948
+ rawValue?: unknown;
949
+ normalizedValue?: string | undefined;
950
+ namespace?: string | undefined;
951
+ }>>;
952
+ }, "strict", z.ZodTypeAny, {
953
+ integrationId: string;
954
+ provider: string;
955
+ alertKey: string;
956
+ occurrenceId: string;
957
+ evidenceRef: string;
958
+ evidenceSource: string;
959
+ labels: {
960
+ value: string;
961
+ kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
962
+ key: string;
963
+ sourcePath: string;
964
+ confidence: number;
965
+ provider?: string | undefined;
966
+ observedAt?: string | undefined;
967
+ schemaVersion?: string | undefined;
968
+ rawValue?: unknown;
969
+ normalizedValue?: string | undefined;
970
+ namespace?: string | undefined;
971
+ }[];
972
+ time: {
973
+ capturedAt: string;
974
+ startsAt: null;
975
+ isOpenEnded: boolean;
976
+ provenance: {
977
+ kind: "victorops_incident_time";
978
+ incidentStart: "unknown";
979
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
980
+ };
981
+ observedAt?: string | undefined;
982
+ endsAt?: string | undefined;
983
+ } | {
984
+ capturedAt: string;
985
+ startsAt: string;
986
+ isOpenEnded: boolean;
987
+ provenance: {
988
+ kind: "victorops_incident_time";
989
+ incidentStart: "verified";
990
+ startEvidenceRef: string;
991
+ };
992
+ observedAt?: string | undefined;
993
+ endsAt?: string | undefined;
994
+ } | {
365
995
  capturedAt: string;
366
996
  startsAt: string;
367
997
  isOpenEnded: boolean;
368
998
  observedAt?: string | undefined;
369
999
  endsAt?: string | undefined;
370
- lastSeen?: string | undefined;
371
1000
  provenance?: {
372
1001
  observedAt: string;
373
1002
  kind: "hyperdx_current_state_observation";
@@ -388,21 +1017,13 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
388
1017
  originalIncidentStart: "unknown";
389
1018
  originalIncidentEnd: "unknown";
390
1019
  } | undefined;
391
- }>;
392
- labels: z.ZodArray<z.ZodObject<{
393
- key: z.ZodString;
394
- value: z.ZodString;
395
- sourcePath: z.ZodString;
396
- confidence: z.ZodNumber;
397
- rawValue: z.ZodOptional<z.ZodUnknown>;
398
- normalizedValue: z.ZodOptional<z.ZodString>;
399
- namespace: z.ZodOptional<z.ZodString>;
400
- provider: z.ZodOptional<z.ZodString>;
401
- observedAt: z.ZodOptional<z.ZodString>;
402
- schemaVersion: z.ZodOptional<z.ZodString>;
403
- } & {
404
- kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
405
- }, "strip", z.ZodTypeAny, {
1020
+ lastSeen?: string | undefined;
1021
+ };
1022
+ extractor: {
1023
+ name: string;
1024
+ version: string;
1025
+ };
1026
+ identifiers: {
406
1027
  value: string;
407
1028
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
408
1029
  key: string;
@@ -414,7 +1035,8 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
414
1035
  rawValue?: unknown;
415
1036
  normalizedValue?: string | undefined;
416
1037
  namespace?: string | undefined;
417
- }, {
1038
+ }[];
1039
+ resourceHints: {
418
1040
  value: string;
419
1041
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
420
1042
  key: string;
@@ -426,21 +1048,8 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
426
1048
  rawValue?: unknown;
427
1049
  normalizedValue?: string | undefined;
428
1050
  namespace?: string | undefined;
429
- }>, "many">;
430
- identifiers: z.ZodArray<z.ZodObject<{
431
- key: z.ZodString;
432
- value: z.ZodString;
433
- sourcePath: z.ZodString;
434
- confidence: z.ZodNumber;
435
- rawValue: z.ZodOptional<z.ZodUnknown>;
436
- normalizedValue: z.ZodOptional<z.ZodString>;
437
- namespace: z.ZodOptional<z.ZodString>;
438
- provider: z.ZodOptional<z.ZodString>;
439
- observedAt: z.ZodOptional<z.ZodString>;
440
- schemaVersion: z.ZodOptional<z.ZodString>;
441
- } & {
442
- kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
443
- }, "strip", z.ZodTypeAny, {
1051
+ }[];
1052
+ textHints: {
444
1053
  value: string;
445
1054
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
446
1055
  key: string;
@@ -452,7 +1061,8 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
452
1061
  rawValue?: unknown;
453
1062
  normalizedValue?: string | undefined;
454
1063
  namespace?: string | undefined;
455
- }, {
1064
+ }[];
1065
+ title?: {
456
1066
  value: string;
457
1067
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
458
1068
  key: string;
@@ -464,21 +1074,8 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
464
1074
  rawValue?: unknown;
465
1075
  normalizedValue?: string | undefined;
466
1076
  namespace?: string | undefined;
467
- }>, "many">;
468
- resourceHints: z.ZodArray<z.ZodObject<{
469
- key: z.ZodString;
470
- value: z.ZodString;
471
- sourcePath: z.ZodString;
472
- confidence: z.ZodNumber;
473
- rawValue: z.ZodOptional<z.ZodUnknown>;
474
- normalizedValue: z.ZodOptional<z.ZodString>;
475
- namespace: z.ZodOptional<z.ZodString>;
476
- provider: z.ZodOptional<z.ZodString>;
477
- observedAt: z.ZodOptional<z.ZodString>;
478
- schemaVersion: z.ZodOptional<z.ZodString>;
479
- } & {
480
- kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
481
- }, "strip", z.ZodTypeAny, {
1077
+ } | undefined;
1078
+ severity?: {
482
1079
  value: string;
483
1080
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
484
1081
  key: string;
@@ -490,7 +1087,15 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
490
1087
  rawValue?: unknown;
491
1088
  normalizedValue?: string | undefined;
492
1089
  namespace?: string | undefined;
493
- }, {
1090
+ } | undefined;
1091
+ }, {
1092
+ integrationId: string;
1093
+ provider: string;
1094
+ alertKey: string;
1095
+ occurrenceId: string;
1096
+ evidenceRef: string;
1097
+ evidenceSource: string;
1098
+ labels: {
494
1099
  value: string;
495
1100
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
496
1101
  key: string;
@@ -502,33 +1107,62 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
502
1107
  rawValue?: unknown;
503
1108
  normalizedValue?: string | undefined;
504
1109
  namespace?: string | undefined;
505
- }>, "many">;
506
- textHints: z.ZodArray<z.ZodObject<{
507
- key: z.ZodString;
508
- value: z.ZodString;
509
- sourcePath: z.ZodString;
510
- confidence: z.ZodNumber;
511
- rawValue: z.ZodOptional<z.ZodUnknown>;
512
- normalizedValue: z.ZodOptional<z.ZodString>;
513
- namespace: z.ZodOptional<z.ZodString>;
514
- provider: z.ZodOptional<z.ZodString>;
515
- observedAt: z.ZodOptional<z.ZodString>;
516
- schemaVersion: z.ZodOptional<z.ZodString>;
517
- } & {
518
- kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
519
- }, "strip", z.ZodTypeAny, {
520
- value: string;
521
- kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
522
- key: string;
523
- sourcePath: string;
524
- confidence: number;
525
- provider?: string | undefined;
1110
+ }[];
1111
+ time: {
1112
+ capturedAt: string;
1113
+ startsAt: null;
1114
+ isOpenEnded: boolean;
1115
+ provenance: {
1116
+ kind: "victorops_incident_time";
1117
+ incidentStart: "unknown";
1118
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
1119
+ };
526
1120
  observedAt?: string | undefined;
527
- schemaVersion?: string | undefined;
528
- rawValue?: unknown;
529
- normalizedValue?: string | undefined;
530
- namespace?: string | undefined;
531
- }, {
1121
+ endsAt?: string | undefined;
1122
+ } | {
1123
+ capturedAt: string;
1124
+ startsAt: string;
1125
+ isOpenEnded: boolean;
1126
+ provenance: {
1127
+ kind: "victorops_incident_time";
1128
+ incidentStart: "verified";
1129
+ startEvidenceRef: string;
1130
+ };
1131
+ observedAt?: string | undefined;
1132
+ endsAt?: string | undefined;
1133
+ } | {
1134
+ capturedAt: string;
1135
+ startsAt: string;
1136
+ isOpenEnded: boolean;
1137
+ observedAt?: string | undefined;
1138
+ endsAt?: string | undefined;
1139
+ provenance?: {
1140
+ observedAt: string;
1141
+ kind: "hyperdx_current_state_observation";
1142
+ originalIncidentStart: "unknown";
1143
+ originalIncidentEnd: "unknown";
1144
+ } | {
1145
+ kind: "hyperdx_captured_evaluation";
1146
+ originalIncidentStart: "unknown";
1147
+ originalIncidentEnd: "unknown";
1148
+ evaluationWindow: {
1149
+ start: string;
1150
+ end: string;
1151
+ };
1152
+ firstObservedAt: string;
1153
+ firstFiringObservedAt?: string | undefined;
1154
+ } | {
1155
+ kind: "hyperdx_capture_unavailable";
1156
+ originalIncidentStart: "unknown";
1157
+ originalIncidentEnd: "unknown";
1158
+ } | undefined;
1159
+ lastSeen?: string | undefined;
1160
+ };
1161
+ extractor: {
1162
+ name: string;
1163
+ version: string;
1164
+ };
1165
+ identifiers: {
532
1166
  value: string;
533
1167
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
534
1168
  key: string;
@@ -540,21 +1174,8 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
540
1174
  rawValue?: unknown;
541
1175
  normalizedValue?: string | undefined;
542
1176
  namespace?: string | undefined;
543
- }>, "many">;
544
- severity: z.ZodOptional<z.ZodObject<{
545
- key: z.ZodString;
546
- value: z.ZodString;
547
- sourcePath: z.ZodString;
548
- confidence: z.ZodNumber;
549
- rawValue: z.ZodOptional<z.ZodUnknown>;
550
- normalizedValue: z.ZodOptional<z.ZodString>;
551
- namespace: z.ZodOptional<z.ZodString>;
552
- provider: z.ZodOptional<z.ZodString>;
553
- observedAt: z.ZodOptional<z.ZodString>;
554
- schemaVersion: z.ZodOptional<z.ZodString>;
555
- } & {
556
- kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
557
- }, "strip", z.ZodTypeAny, {
1177
+ }[];
1178
+ resourceHints: {
558
1179
  value: string;
559
1180
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
560
1181
  key: string;
@@ -566,7 +1187,8 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
566
1187
  rawValue?: unknown;
567
1188
  normalizedValue?: string | undefined;
568
1189
  namespace?: string | undefined;
569
- }, {
1190
+ }[];
1191
+ textHints: {
570
1192
  value: string;
571
1193
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
572
1194
  key: string;
@@ -578,21 +1200,8 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
578
1200
  rawValue?: unknown;
579
1201
  normalizedValue?: string | undefined;
580
1202
  namespace?: string | undefined;
581
- }>>;
582
- title: z.ZodOptional<z.ZodObject<{
583
- key: z.ZodString;
584
- value: z.ZodString;
585
- sourcePath: z.ZodString;
586
- confidence: z.ZodNumber;
587
- rawValue: z.ZodOptional<z.ZodUnknown>;
588
- normalizedValue: z.ZodOptional<z.ZodString>;
589
- namespace: z.ZodOptional<z.ZodString>;
590
- provider: z.ZodOptional<z.ZodString>;
591
- observedAt: z.ZodOptional<z.ZodString>;
592
- schemaVersion: z.ZodOptional<z.ZodString>;
593
- } & {
594
- kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time"]>;
595
- }, "strip", z.ZodTypeAny, {
1203
+ }[];
1204
+ title?: {
596
1205
  value: string;
597
1206
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
598
1207
  key: string;
@@ -604,7 +1213,8 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
604
1213
  rawValue?: unknown;
605
1214
  normalizedValue?: string | undefined;
606
1215
  namespace?: string | undefined;
607
- }, {
1216
+ } | undefined;
1217
+ severity?: {
608
1218
  value: string;
609
1219
  kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
610
1220
  key: string;
@@ -616,8 +1226,8 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
616
1226
  rawValue?: unknown;
617
1227
  normalizedValue?: string | undefined;
618
1228
  namespace?: string | undefined;
619
- }>>;
620
- }, "strict", z.ZodTypeAny, {
1229
+ } | undefined;
1230
+ }>, {
621
1231
  integrationId: string;
622
1232
  provider: string;
623
1233
  alertKey: string;
@@ -638,12 +1248,33 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
638
1248
  namespace?: string | undefined;
639
1249
  }[];
640
1250
  time: {
1251
+ capturedAt: string;
1252
+ startsAt: null;
1253
+ isOpenEnded: boolean;
1254
+ provenance: {
1255
+ kind: "victorops_incident_time";
1256
+ incidentStart: "unknown";
1257
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
1258
+ };
1259
+ observedAt?: string | undefined;
1260
+ endsAt?: string | undefined;
1261
+ } | {
1262
+ capturedAt: string;
1263
+ startsAt: string;
1264
+ isOpenEnded: boolean;
1265
+ provenance: {
1266
+ kind: "victorops_incident_time";
1267
+ incidentStart: "verified";
1268
+ startEvidenceRef: string;
1269
+ };
1270
+ observedAt?: string | undefined;
1271
+ endsAt?: string | undefined;
1272
+ } | {
641
1273
  capturedAt: string;
642
1274
  startsAt: string;
643
1275
  isOpenEnded: boolean;
644
1276
  observedAt?: string | undefined;
645
1277
  endsAt?: string | undefined;
646
- lastSeen?: string | undefined;
647
1278
  provenance?: {
648
1279
  observedAt: string;
649
1280
  kind: "hyperdx_current_state_observation";
@@ -664,6 +1295,7 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
664
1295
  originalIncidentStart: "unknown";
665
1296
  originalIncidentEnd: "unknown";
666
1297
  } | undefined;
1298
+ lastSeen?: string | undefined;
667
1299
  };
668
1300
  extractor: {
669
1301
  name: string;
@@ -755,12 +1387,33 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
755
1387
  namespace?: string | undefined;
756
1388
  }[];
757
1389
  time: {
1390
+ capturedAt: string;
1391
+ startsAt: null;
1392
+ isOpenEnded: boolean;
1393
+ provenance: {
1394
+ kind: "victorops_incident_time";
1395
+ incidentStart: "unknown";
1396
+ reason: "missing_native_start" | "unverified_native_start" | "invalid_native_start";
1397
+ };
1398
+ observedAt?: string | undefined;
1399
+ endsAt?: string | undefined;
1400
+ } | {
1401
+ capturedAt: string;
1402
+ startsAt: string;
1403
+ isOpenEnded: boolean;
1404
+ provenance: {
1405
+ kind: "victorops_incident_time";
1406
+ incidentStart: "verified";
1407
+ startEvidenceRef: string;
1408
+ };
1409
+ observedAt?: string | undefined;
1410
+ endsAt?: string | undefined;
1411
+ } | {
758
1412
  capturedAt: string;
759
1413
  startsAt: string;
760
1414
  isOpenEnded: boolean;
761
1415
  observedAt?: string | undefined;
762
1416
  endsAt?: string | undefined;
763
- lastSeen?: string | undefined;
764
1417
  provenance?: {
765
1418
  observedAt: string;
766
1419
  kind: "hyperdx_current_state_observation";
@@ -781,6 +1434,7 @@ export declare const alertCorrelationFactsSchema: z.ZodObject<{
781
1434
  originalIncidentStart: "unknown";
782
1435
  originalIncidentEnd: "unknown";
783
1436
  } | undefined;
1437
+ lastSeen?: string | undefined;
784
1438
  };
785
1439
  extractor: {
786
1440
  name: string;