@scoutflo/alert-correlation 0.4.2 → 0.4.3
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.
- package/dist/src/contracts/context.d.ts +1512 -0
- package/dist/src/contracts/context.js +96 -0
- package/dist/src/contracts/context.js.map +1 -1
- package/dist/src/contracts/decision.d.ts +244 -18
- package/dist/src/contracts/decision.js +33 -0
- package/dist/src/contracts/decision.js.map +1 -1
- package/dist/src/contracts/facts.d.ts +517 -18
- package/dist/src/contracts/facts.js +42 -0
- package/dist/src/contracts/facts.js.map +1 -1
- package/dist/src/extractors/registry.d.ts +98 -1
- package/dist/test/contracts.test.js +115 -0
- package/dist/test/contracts.test.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,101 @@
|
|
|
1
1
|
import type { ProviderExtractor, ProviderExtractorInput } from './types';
|
|
2
2
|
export declare function registerProviderExtractor(extractor: ProviderExtractor): void;
|
|
3
3
|
export declare function getProviderExtractor(provider: string): ProviderExtractor;
|
|
4
|
-
export declare function extractAlertFacts(input: ProviderExtractorInput):
|
|
4
|
+
export declare function extractAlertFacts(input: ProviderExtractorInput): {
|
|
5
|
+
integrationId: string;
|
|
6
|
+
provider: string;
|
|
7
|
+
alertKey: string;
|
|
8
|
+
occurrenceId: string;
|
|
9
|
+
evidenceRef: string;
|
|
10
|
+
evidenceSource: string;
|
|
11
|
+
labels: {
|
|
12
|
+
value: string;
|
|
13
|
+
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
|
|
14
|
+
key: string;
|
|
15
|
+
sourcePath: string;
|
|
16
|
+
confidence: number;
|
|
17
|
+
provider?: string | undefined;
|
|
18
|
+
observedAt?: string | undefined;
|
|
19
|
+
schemaVersion?: string | undefined;
|
|
20
|
+
rawValue?: unknown;
|
|
21
|
+
normalizedValue?: string | undefined;
|
|
22
|
+
namespace?: string | undefined;
|
|
23
|
+
}[];
|
|
24
|
+
time: {
|
|
25
|
+
capturedAt: string;
|
|
26
|
+
startsAt: string;
|
|
27
|
+
isOpenEnded: boolean;
|
|
28
|
+
observedAt?: string | undefined;
|
|
29
|
+
endsAt?: string | undefined;
|
|
30
|
+
lastSeen?: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
extractor: {
|
|
33
|
+
name: string;
|
|
34
|
+
version: string;
|
|
35
|
+
};
|
|
36
|
+
identifiers: {
|
|
37
|
+
value: string;
|
|
38
|
+
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
|
|
39
|
+
key: string;
|
|
40
|
+
sourcePath: string;
|
|
41
|
+
confidence: number;
|
|
42
|
+
provider?: string | undefined;
|
|
43
|
+
observedAt?: string | undefined;
|
|
44
|
+
schemaVersion?: string | undefined;
|
|
45
|
+
rawValue?: unknown;
|
|
46
|
+
normalizedValue?: string | undefined;
|
|
47
|
+
namespace?: string | undefined;
|
|
48
|
+
}[];
|
|
49
|
+
resourceHints: {
|
|
50
|
+
value: string;
|
|
51
|
+
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
|
|
52
|
+
key: string;
|
|
53
|
+
sourcePath: string;
|
|
54
|
+
confidence: number;
|
|
55
|
+
provider?: string | undefined;
|
|
56
|
+
observedAt?: string | undefined;
|
|
57
|
+
schemaVersion?: string | undefined;
|
|
58
|
+
rawValue?: unknown;
|
|
59
|
+
normalizedValue?: string | undefined;
|
|
60
|
+
namespace?: string | undefined;
|
|
61
|
+
}[];
|
|
62
|
+
textHints: {
|
|
63
|
+
value: string;
|
|
64
|
+
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
|
|
65
|
+
key: string;
|
|
66
|
+
sourcePath: string;
|
|
67
|
+
confidence: number;
|
|
68
|
+
provider?: string | undefined;
|
|
69
|
+
observedAt?: string | undefined;
|
|
70
|
+
schemaVersion?: string | undefined;
|
|
71
|
+
rawValue?: unknown;
|
|
72
|
+
normalizedValue?: string | undefined;
|
|
73
|
+
namespace?: string | undefined;
|
|
74
|
+
}[];
|
|
75
|
+
title?: {
|
|
76
|
+
value: string;
|
|
77
|
+
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
|
|
78
|
+
key: string;
|
|
79
|
+
sourcePath: string;
|
|
80
|
+
confidence: number;
|
|
81
|
+
provider?: string | undefined;
|
|
82
|
+
observedAt?: string | undefined;
|
|
83
|
+
schemaVersion?: string | undefined;
|
|
84
|
+
rawValue?: unknown;
|
|
85
|
+
normalizedValue?: string | undefined;
|
|
86
|
+
namespace?: string | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
severity?: {
|
|
89
|
+
value: string;
|
|
90
|
+
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time";
|
|
91
|
+
key: string;
|
|
92
|
+
sourcePath: string;
|
|
93
|
+
confidence: number;
|
|
94
|
+
provider?: string | undefined;
|
|
95
|
+
observedAt?: string | undefined;
|
|
96
|
+
schemaVersion?: string | undefined;
|
|
97
|
+
rawValue?: unknown;
|
|
98
|
+
normalizedValue?: string | undefined;
|
|
99
|
+
namespace?: string | undefined;
|
|
100
|
+
} | undefined;
|
|
101
|
+
};
|
|
@@ -87,6 +87,121 @@ const src_1 = require("../src");
|
|
|
87
87
|
};
|
|
88
88
|
strict_1.default.equal(decision.status, 'evidence_available_topology_missing');
|
|
89
89
|
});
|
|
90
|
+
(0, node_test_1.default)('alertCorrelationDecisionSchema validates shared alert decisions', () => {
|
|
91
|
+
const parsed = src_1.alertCorrelationDecisionSchema.parse({
|
|
92
|
+
status: 'resolved',
|
|
93
|
+
target: { type: 'resource', id: 'resource-1' },
|
|
94
|
+
candidates: [
|
|
95
|
+
{
|
|
96
|
+
target: { type: 'resource', id: 'resource-1' },
|
|
97
|
+
confidence: 9,
|
|
98
|
+
evidence: [
|
|
99
|
+
{
|
|
100
|
+
kind: 'relationship_attribute',
|
|
101
|
+
factKey: 'namespace',
|
|
102
|
+
factValue: 'payments',
|
|
103
|
+
relationshipId: 'rel-1',
|
|
104
|
+
reason: 'Matched namespace on monitored-by relationship',
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
reasonCodes: ['relationship_attribute_match'],
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
evidence: [
|
|
111
|
+
{
|
|
112
|
+
kind: 'relationship_attribute',
|
|
113
|
+
relationshipId: 'rel-1',
|
|
114
|
+
reason: 'Matched namespace on monitored-by relationship',
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
confidence: 9,
|
|
118
|
+
reasonCodes: ['resolved_deterministic'],
|
|
119
|
+
});
|
|
120
|
+
strict_1.default.equal(parsed.target?.id, 'resource-1');
|
|
121
|
+
});
|
|
122
|
+
(0, node_test_1.default)('alertCorrelationFactsSchema validates extracted alert facts', () => {
|
|
123
|
+
const parsed = src_1.alertCorrelationFactsSchema.parse({
|
|
124
|
+
provider: 'prometheus',
|
|
125
|
+
integrationId: 'int-prom',
|
|
126
|
+
alertKey: 'prometheus:abc',
|
|
127
|
+
occurrenceId: 'occ-prom-1',
|
|
128
|
+
evidenceRef: 'ev-prom-1',
|
|
129
|
+
evidenceSource: 'provider_detail',
|
|
130
|
+
extractor: { name: 'prometheus-extractor', version: '0.2.0' },
|
|
131
|
+
time: {
|
|
132
|
+
capturedAt: '2026-06-14T10:00:00.000Z',
|
|
133
|
+
startsAt: '2026-06-14T09:55:00.000Z',
|
|
134
|
+
isOpenEnded: true,
|
|
135
|
+
},
|
|
136
|
+
labels: [
|
|
137
|
+
{
|
|
138
|
+
key: 'namespace',
|
|
139
|
+
value: 'payments',
|
|
140
|
+
sourcePath: 'evidence.labels.namespace',
|
|
141
|
+
confidence: 0.9,
|
|
142
|
+
kind: 'label',
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
identifiers: [],
|
|
146
|
+
resourceHints: [],
|
|
147
|
+
textHints: [],
|
|
148
|
+
});
|
|
149
|
+
strict_1.default.equal(parsed.labels[0]?.kind, 'label');
|
|
150
|
+
});
|
|
151
|
+
(0, node_test_1.default)('gateway alert context and observation envelopes parse shared boundaries', () => {
|
|
152
|
+
const alertRef = {
|
|
153
|
+
integrationId: 'int-prom',
|
|
154
|
+
provider: 'prometheus',
|
|
155
|
+
alertKey: 'prometheus:abc',
|
|
156
|
+
};
|
|
157
|
+
const alertOccurrenceRef = {
|
|
158
|
+
occurrenceId: 'occ-prom-1',
|
|
159
|
+
alertRef,
|
|
160
|
+
evidenceRef: 'ev-prom-1',
|
|
161
|
+
};
|
|
162
|
+
const evidence = {
|
|
163
|
+
evidenceRef: 'ev-prom-1',
|
|
164
|
+
occurrenceId: 'occ-prom-1',
|
|
165
|
+
alertRef,
|
|
166
|
+
evidenceSource: 'provider_detail',
|
|
167
|
+
capturedAt: '2026-06-14T10:00:00.000Z',
|
|
168
|
+
presentation: { title: 'HighLatency' },
|
|
169
|
+
schemaVersion: 'alert-evidence/v1',
|
|
170
|
+
redactionVersion: 'redaction/v1',
|
|
171
|
+
};
|
|
172
|
+
const observationRequest = src_1.gatewayAlertObservationResolveRequestSchema.parse({
|
|
173
|
+
alertRef,
|
|
174
|
+
evidence: {
|
|
175
|
+
observedAt: '2026-06-14T09:55:00.000Z',
|
|
176
|
+
labels: { namespace: 'payments' },
|
|
177
|
+
presentation: { title: 'HighLatency' },
|
|
178
|
+
},
|
|
179
|
+
});
|
|
180
|
+
const observationResponse = src_1.gatewayAlertObservationResolveResponseSchema.parse({
|
|
181
|
+
alertOccurrenceRef,
|
|
182
|
+
evidence,
|
|
183
|
+
});
|
|
184
|
+
const contextEnvelope = src_1.gatewayAlertInvestigationContextEnvelopeSchema.parse({
|
|
185
|
+
alertContext: {
|
|
186
|
+
alertOccurrenceRef,
|
|
187
|
+
evidence,
|
|
188
|
+
presentation: evidence.presentation,
|
|
189
|
+
resolution: {
|
|
190
|
+
status: 'degraded',
|
|
191
|
+
target: null,
|
|
192
|
+
confidence: 0,
|
|
193
|
+
reasonCodes: ['topology_temporarily_unavailable'],
|
|
194
|
+
},
|
|
195
|
+
diagnostics: {
|
|
196
|
+
providerDetailFetched: false,
|
|
197
|
+
},
|
|
198
|
+
reasonCodes: ['topology_temporarily_unavailable'],
|
|
199
|
+
},
|
|
200
|
+
});
|
|
201
|
+
strict_1.default.equal(observationRequest.alertRef.alertKey, 'prometheus:abc');
|
|
202
|
+
strict_1.default.equal(observationResponse.evidence.evidenceRef, 'ev-prom-1');
|
|
203
|
+
strict_1.default.equal(contextEnvelope.alertContext.resolution.status, 'degraded');
|
|
204
|
+
});
|
|
90
205
|
(0, node_test_1.default)('AlertRef type is stable across observations', () => {
|
|
91
206
|
const ref = {
|
|
92
207
|
integrationId: 'int-sentry',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.test.js","sourceRoot":"","sources":["../../test/contracts.test.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,0DAA6B;AAC7B,
|
|
1
|
+
{"version":3,"file":"contracts.test.js","sourceRoot":"","sources":["../../test/contracts.test.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,0DAA6B;AAC7B,gCAWgB;AAEhB,IAAA,mBAAI,EAAC,6DAA6D,EAAE,GAAG,EAAE;IACvE,MAAM,MAAM,GAAG,oBAAc,CAAC,SAAS,CAAC;QACtC,aAAa,EAAE,UAAU;QACzB,QAAQ,EAAE,YAAY;QACtB,QAAQ,EAAE,gBAAgB;KAC3B,CAAC,CAAC;IAEH,gBAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACnC,gBAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE;QAC5B,aAAa,EAAE,UAAU;QACzB,QAAQ,EAAE,YAAY;QACtB,QAAQ,EAAE,gBAAgB;KAC3B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,mBAAI,EAAC,gEAAgE,EAAE,GAAG,EAAE;IAC1E,MAAM,MAAM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C,CAAC;IACpE,gBAAM,CAAC,KAAK,CAAC,eAAe,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AAC3E,CAAC,CAAC,CAAC;AAEH,IAAA,mBAAI,EAAC,6CAA6C,EAAE,GAAG,EAAE;IACvD,MAAM,GAAG,GAAa;QACpB,aAAa,EAAE,YAAY;QAC3B,QAAQ,EAAE,QAAQ;QAClB,QAAQ,EAAE,gBAAgB;KAC3B,CAAC;IAEF,gBAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,UAAU,EAAE,eAAe,EAAE,UAAU,CAAC,CAAC,CAAC;AACvF,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scoutflo/alert-correlation",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Pure alert-to-topology correlation contracts and policies for Scoutflo alert investigation workflows.",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@scoutflo/correlation-core": "0.2.0",
|
|
23
|
-
"@scoutflo/topology-contracts": "0.7.
|
|
23
|
+
"@scoutflo/topology-contracts": "0.7.9",
|
|
24
24
|
"zod": "^3.23.8"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|