@scoutflo/topology-contracts 0.10.7-hyperdx.2 → 0.11.0-flat.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.
@@ -0,0 +1,378 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.flatTopologyResponseSchema = exports.flatEvidenceRouteSchema = exports.flatRouteTargetSchema = exports.flatAccessRefSchema = exports.flatRelationshipSchema = exports.flatEntitySchema = exports.flatSafeAttributesSchema = exports.flatEntityKey = exports.flatEntityRefSchema = exports.FLAT_TOPOLOGY_LIMITS = void 0;
4
+ exports.flatJsonMetrics = flatJsonMetrics;
5
+ exports.flatRouteIdentity = flatRouteIdentity;
6
+ const zod_1 = require("zod");
7
+ exports.FLAT_TOPOLOGY_LIMITS = Object.freeze({
8
+ dependency_hops: 3,
9
+ dependency_entities: 50,
10
+ dependency_edges: 75,
11
+ fanout: 25,
12
+ callers: 10,
13
+ attachment_steps: 4,
14
+ attachment_entities: 40,
15
+ attachment_edges: 65,
16
+ entities: 100,
17
+ relationships: 150,
18
+ route_subjects: 60,
19
+ route_targets: 4,
20
+ queries: 40,
21
+ timeout_ms: 5000,
22
+ metadata_depth: 6,
23
+ metadata_entries: 50,
24
+ metadata_bytes: 8192,
25
+ response_bytes: 1048576,
26
+ containers: 4000,
27
+ });
28
+ const text = zod_1.z.string().trim().min(1).max(1024);
29
+ exports.flatEntityRefSchema = zod_1.z
30
+ .object({ entity_type: zod_1.z.enum(["service", "resource"]), id: text })
31
+ .strict();
32
+ const flatEntityKey = (ref) => JSON.stringify([ref.entity_type, ref.id]);
33
+ exports.flatEntityKey = flatEntityKey;
34
+ // Iterative preflight prevents cyclic/oversized inputs from reaching Zod's recursive traversal.
35
+ function flatJsonMetrics(value) {
36
+ const stack = [
37
+ { value, depth: 0 },
38
+ ], seen = new WeakSet();
39
+ let containers = 0, depth = 0, stringBytes = 0;
40
+ while (stack.length) {
41
+ const item = stack.pop();
42
+ if (item.exit) {
43
+ seen.delete(item.value);
44
+ continue;
45
+ }
46
+ depth = Math.max(depth, item.depth);
47
+ if (depth > 32)
48
+ throw new Error("json_depth");
49
+ if (typeof item.value === "string")
50
+ stringBytes += Buffer.byteLength(item.value);
51
+ if (stringBytes > 1048576)
52
+ throw new Error("json_bytes");
53
+ if (item.value !== null && typeof item.value === "object") {
54
+ if (seen.has(item.value))
55
+ throw new Error("repeated_object");
56
+ seen.add(item.value);
57
+ stack.push({ ...item, exit: true });
58
+ containers++;
59
+ if (containers > 4000)
60
+ throw new Error("json_containers");
61
+ const entries = Object.entries(item.value);
62
+ if (entries.length > 4000)
63
+ throw new Error("json_entries");
64
+ for (const [key, child] of entries) {
65
+ stringBytes += Buffer.byteLength(key);
66
+ stack.push({ value: child, depth: item.depth + 1 });
67
+ }
68
+ }
69
+ else if (item.value !== null &&
70
+ !["string", "boolean", "number"].includes(typeof item.value))
71
+ throw new Error("non_json");
72
+ else if (typeof item.value === "number" && !Number.isFinite(item.value))
73
+ throw new Error("non_json");
74
+ }
75
+ return { bytes: Buffer.byteLength(JSON.stringify(value)), containers, depth };
76
+ }
77
+ const unsafeKey = /password|secret|token|credential|authorization|private.?key|kubeconfig|^__proto__$|^constructor$|^prototype$/i;
78
+ exports.flatSafeAttributesSchema = zod_1.z
79
+ .record(zod_1.z.unknown())
80
+ .superRefine((value, ctx) => {
81
+ const fail = () => ctx.addIssue({
82
+ code: "custom",
83
+ message: "unsafe or oversized attributes",
84
+ });
85
+ try {
86
+ const m = flatJsonMetrics(value);
87
+ if (m.depth > 6 || m.bytes > 8192)
88
+ fail();
89
+ const queue = [value];
90
+ while (queue.length) {
91
+ const item = queue.pop();
92
+ if (item && typeof item === "object") {
93
+ if (Object.keys(item).length > 50)
94
+ fail();
95
+ for (const [key, child] of Object.entries(item)) {
96
+ if (unsafeKey.test(key))
97
+ fail();
98
+ queue.push(child);
99
+ }
100
+ }
101
+ }
102
+ }
103
+ catch {
104
+ fail();
105
+ }
106
+ });
107
+ const reason = zod_1.z.enum([
108
+ "hop_limit",
109
+ "entity_limit",
110
+ "edge_limit",
111
+ "fanout_limit",
112
+ "attachment_limit",
113
+ "target_limit",
114
+ "payload_limit",
115
+ "metadata_limit",
116
+ "query_limit",
117
+ "timeout",
118
+ "source_incomplete",
119
+ "selector_conflict",
120
+ "selector_missing",
121
+ "unsupported_provider",
122
+ "invalid_access_ref",
123
+ "ambiguous_access",
124
+ "snapshot_expired",
125
+ "not_requested",
126
+ ]);
127
+ const reasons = zod_1.z.array(reason).max(20);
128
+ exports.flatEntitySchema = zod_1.z
129
+ .object({
130
+ ref: exports.flatEntityRefSchema,
131
+ name: text,
132
+ resource_type: text.optional(),
133
+ provider: text.optional(),
134
+ detail: zod_1.z.enum(["full", "reference"]),
135
+ attributes: exports.flatSafeAttributesSchema,
136
+ metadata_truncated: zod_1.z.boolean(),
137
+ })
138
+ .strict();
139
+ exports.flatRelationshipSchema = zod_1.z
140
+ .object({
141
+ id: text,
142
+ from: exports.flatEntityRefSchema,
143
+ to: exports.flatEntityRefSchema,
144
+ relation: text,
145
+ relation_class: zod_1.z.enum(["structural", "associative"]),
146
+ diagnostic_criticality: zod_1.z
147
+ .enum(["blocking", "degrading", "optional"])
148
+ .optional(),
149
+ attribute_schema_key: text.optional(),
150
+ attributes: exports.flatSafeAttributesSchema,
151
+ metadata_truncated: zod_1.z.boolean(),
152
+ })
153
+ .strict();
154
+ exports.flatAccessRefSchema = zod_1.z
155
+ .object({ provider: text, external_id: text, source_collection: text })
156
+ .strict();
157
+ exports.flatRouteTargetSchema = zod_1.z
158
+ .object({
159
+ target: exports.flatEntityRefSchema,
160
+ access_ref: exports.flatAccessRefSchema,
161
+ via_relationship_ids: zod_1.z.array(text).max(4),
162
+ mapping_source: zod_1.z.enum(["relationship_path", "root_ref", "access_ref"]),
163
+ query_context: exports.flatSafeAttributesSchema,
164
+ query_context_status: zod_1.z.enum(["complete", "incomplete", "not_required"]),
165
+ reasons,
166
+ })
167
+ .strict()
168
+ .superRefine((target, ctx) => {
169
+ if (target.query_context_status === "complete" && target.reasons.length)
170
+ ctx.addIssue({
171
+ code: "custom",
172
+ message: "complete context cannot carry rejection reasons",
173
+ });
174
+ });
175
+ const lookup = zod_1.z
176
+ .object({
177
+ status: zod_1.z.enum([
178
+ "mapped",
179
+ "unmapped",
180
+ "ambiguous",
181
+ "lookup_incomplete",
182
+ "not_applicable",
183
+ ]),
184
+ targets: zod_1.z.array(exports.flatRouteTargetSchema).max(4),
185
+ reasons,
186
+ })
187
+ .strict()
188
+ .superRefine((lane, ctx) => {
189
+ if ((lane.status === "mapped" && !lane.targets.length) ||
190
+ (["unmapped", "ambiguous", "not_applicable"].includes(lane.status) &&
191
+ lane.targets.length))
192
+ ctx.addIssue({
193
+ code: "custom",
194
+ message: "lookup status disagrees with targets",
195
+ });
196
+ if (lane.status === "lookup_incomplete" && !lane.reasons.length)
197
+ ctx.addIssue({
198
+ code: "custom",
199
+ message: "incomplete lookup requires a reason",
200
+ });
201
+ });
202
+ exports.flatEvidenceRouteSchema = zod_1.z
203
+ .object({
204
+ subject: exports.flatEntityRefSchema,
205
+ monitoring: lookup,
206
+ runtime: lookup,
207
+ deployment: lookup,
208
+ })
209
+ .strict();
210
+ const coverage = zod_1.z
211
+ .object({
212
+ complete: zod_1.z.boolean(),
213
+ reasons,
214
+ frontier: zod_1.z
215
+ .array(zod_1.z
216
+ .object({
217
+ at: exports.flatEntityRefSchema,
218
+ lane: zod_1.z.enum([
219
+ "dependency",
220
+ "caller",
221
+ "monitoring",
222
+ "runtime",
223
+ "deployment",
224
+ ]),
225
+ reason,
226
+ continuation: zod_1.z.string().min(1).max(4096).optional(),
227
+ continuation_anchor: exports.flatEntityRefSchema.optional(),
228
+ })
229
+ .strict())
230
+ .max(100),
231
+ })
232
+ .strict()
233
+ .superRefine((value, ctx) => {
234
+ if (value.complete && (value.reasons.length || value.frontier.length))
235
+ ctx.addIssue({
236
+ code: "custom",
237
+ message: "complete coverage contains omissions",
238
+ });
239
+ if (!value.complete && !value.reasons.length)
240
+ ctx.addIssue({
241
+ code: "custom",
242
+ message: "incomplete coverage requires a reason",
243
+ });
244
+ });
245
+ const appliedLimits = zod_1.z
246
+ .object(Object.fromEntries(Object.entries(exports.FLAT_TOPOLOGY_LIMITS).map(([key, max]) => [
247
+ key,
248
+ zod_1.z
249
+ .number()
250
+ .int()
251
+ .nonnegative()
252
+ .max(key === "dependency_hops" ? 8 : max),
253
+ ])))
254
+ .strict();
255
+ const base = zod_1.z
256
+ .object({
257
+ schema_version: zod_1.z.literal("topology.flat.v1"),
258
+ profile: zod_1.z.literal("troubleshoot.v1"),
259
+ topology_version_id: text,
260
+ scope: zod_1.z.object({ account_id: text, workspace_id: text }).strict(),
261
+ snapshot: zod_1.z.string().min(1).max(4096).optional(),
262
+ read_window: zod_1.z
263
+ .object({
264
+ started_at: zod_1.z.string().datetime(),
265
+ completed_at: zod_1.z.string().datetime(),
266
+ })
267
+ .strict(),
268
+ observation_coverage: zod_1.z.enum(["complete", "partial", "unknown"]),
269
+ anchor: exports.flatEntityRefSchema,
270
+ entities: zod_1.z.array(exports.flatEntitySchema).max(100),
271
+ relationships: zod_1.z.array(exports.flatRelationshipSchema).max(150),
272
+ evidence_routes: zod_1.z.array(exports.flatEvidenceRouteSchema).max(60),
273
+ coverage: zod_1.z
274
+ .object({
275
+ dependencies: coverage,
276
+ callers: coverage,
277
+ attachments: coverage,
278
+ })
279
+ .strict(),
280
+ applied_limits: appliedLimits,
281
+ })
282
+ .strict()
283
+ .superRefine((slice, ctx) => {
284
+ const issue = (message) => ctx.addIssue({ code: "custom", message });
285
+ const entities = new Set(slice.entities.map((e) => (0, exports.flatEntityKey)(e.ref))), edges = new Map(slice.relationships.map((e) => [e.id, e]));
286
+ if (entities.size !== slice.entities.length ||
287
+ edges.size !== slice.relationships.length ||
288
+ new Set(slice.evidence_routes.map((r) => (0, exports.flatEntityKey)(r.subject)))
289
+ .size !== slice.evidence_routes.length)
290
+ issue("duplicate identity");
291
+ const check = (ref) => {
292
+ if (!entities.has((0, exports.flatEntityKey)(ref)))
293
+ issue("unresolved entity");
294
+ };
295
+ check(slice.anchor);
296
+ for (const e of slice.relationships) {
297
+ check(e.from);
298
+ check(e.to);
299
+ }
300
+ for (const r of slice.evidence_routes) {
301
+ check(r.subject);
302
+ for (const lane of ["monitoring", "runtime", "deployment"]) {
303
+ const identities = new Set();
304
+ for (const t of r[lane].targets) {
305
+ check(t.target);
306
+ const identity = flatRouteIdentity(t);
307
+ if (identities.has(identity))
308
+ issue("duplicate route identity");
309
+ identities.add(identity);
310
+ let at = r.subject;
311
+ for (const id of t.via_relationship_ids) {
312
+ const edge = edges.get(id);
313
+ if (!edge) {
314
+ issue("unresolved path edge");
315
+ continue;
316
+ }
317
+ if ((0, exports.flatEntityKey)(edge.from) === (0, exports.flatEntityKey)(at))
318
+ at = edge.to;
319
+ else if (lane === "deployment" &&
320
+ edge.relation === "DEPLOYS" &&
321
+ (0, exports.flatEntityKey)(edge.to) === (0, exports.flatEntityKey)(at))
322
+ at = edge.from;
323
+ else
324
+ issue("disconnected path");
325
+ }
326
+ if (t.mapping_source === "relationship_path" &&
327
+ (0, exports.flatEntityKey)(at) !== (0, exports.flatEntityKey)(t.target))
328
+ issue("path does not reach target");
329
+ if (t.mapping_source !== "relationship_path" &&
330
+ t.via_relationship_ids.length)
331
+ issue("unexpected path for direct mapping");
332
+ }
333
+ if (r[lane].targets.length > slice.applied_limits.route_targets)
334
+ issue("target limit exceeded");
335
+ }
336
+ }
337
+ for (const c of Object.values(slice.coverage))
338
+ for (const f of c.frontier) {
339
+ check(f.at);
340
+ if (f.continuation_anchor)
341
+ check(f.continuation_anchor);
342
+ if (Boolean(f.continuation) !== Boolean(f.continuation_anchor))
343
+ issue("continuation anchor required");
344
+ }
345
+ const m = flatJsonMetrics(slice);
346
+ if (m.bytes > slice.applied_limits.response_bytes ||
347
+ m.containers > slice.applied_limits.containers ||
348
+ slice.entities.length > slice.applied_limits.entities ||
349
+ slice.relationships.length > slice.applied_limits.relationships ||
350
+ slice.evidence_routes.length > slice.applied_limits.route_subjects)
351
+ issue("slice budget exceeded");
352
+ });
353
+ exports.flatTopologyResponseSchema = zod_1.z.preprocess((value, ctx) => {
354
+ try {
355
+ const m = flatJsonMetrics(value);
356
+ if (m.bytes > 1048576)
357
+ throw new Error("json_bytes");
358
+ }
359
+ catch {
360
+ ctx.addIssue({
361
+ code: "custom",
362
+ message: "flat response preflight rejected",
363
+ });
364
+ return zod_1.z.NEVER;
365
+ }
366
+ return value;
367
+ }, base);
368
+ /** AWS credentials authorize many independent resource targets. Other providers retain connection identity. */
369
+ function flatRouteIdentity(target) {
370
+ const ref = target.access_ref;
371
+ return JSON.stringify([
372
+ ref.provider,
373
+ ref.source_collection,
374
+ ref.external_id,
375
+ ...(ref.provider === "aws" ? [(0, exports.flatEntityKey)(target.target)] : []),
376
+ ]);
377
+ }
378
+ //# sourceMappingURL=flat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flat.js","sourceRoot":"","sources":["../../../src/investigation/flat.ts"],"names":[],"mappings":";;;AAgCA,0CA4CC;AAuTD,8CAUC;AA7YD,6BAAwB;AAEX,QAAA,oBAAoB,GAAG,MAAM,CAAC,MAAM,CAAC;IAChD,eAAe,EAAE,CAAC;IAClB,mBAAmB,EAAE,EAAE;IACvB,gBAAgB,EAAE,EAAE;IACpB,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,EAAE;IACX,gBAAgB,EAAE,CAAC;IACnB,mBAAmB,EAAE,EAAE;IACvB,gBAAgB,EAAE,EAAE;IACpB,QAAQ,EAAE,GAAG;IACb,aAAa,EAAE,GAAG;IAClB,cAAc,EAAE,EAAE;IAClB,aAAa,EAAE,CAAC;IAChB,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,CAAC;IACjB,gBAAgB,EAAE,EAAE;IACpB,cAAc,EAAE,IAAI;IACpB,cAAc,EAAE,OAAO;IACvB,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Ac,CAAC,cAAc;QAElE,KAAK,CAAC,uBAAuB,CAAC,CAAC;AACnC,CAAC,CAAC,CAAC;AACQ,QAAA,0BAA0B,GAAG,OAAC,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACpE,IAAI,CAAC;QACH,MAAM,CAAC,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;QACjC,IAAI,CAAC,CAAC,KAAK,GAAG,OAAO;YAAE,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC;IACvD,CAAC;IAAC,MAAM,CAAC;QACP,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,kCAAkC;SAC5C,CAAC,CAAC;QACH,OAAO,OAAC,CAAC,KAAK,CAAC;IACjB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,EAAE,IAAI,CAAC,CAAC;AAQT,+GAA+G;AAC/G,SAAgB,iBAAiB,CAC/B,MAAsD;IAEtD,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC;IAC9B,OAAO,IAAI,CAAC,SAAS,CAAC;QACpB,GAAG,CAAC,QAAQ;QACZ,GAAG,CAAC,iBAAiB;QACrB,GAAG,CAAC,WAAW;QACf,GAAG,CAAC,GAAG,CAAC,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,IAAA,qBAAa,EAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KAClE,CAAC,CAAC;AACL,CAAC"}
@@ -1 +1,2 @@
1
- export * from './context';
1
+ export * from "./context";
2
+ export * from "./flat";
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./context"), exports);
18
+ __exportStar(require("./flat"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/investigation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/investigation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,yCAAuB"}
@@ -0,0 +1,120 @@
1
+ export declare function flatFixture(): {
2
+ schema_version: string;
3
+ profile: string;
4
+ topology_version_id: string;
5
+ scope: {
6
+ account_id: string;
7
+ workspace_id: string;
8
+ };
9
+ read_window: {
10
+ started_at: string;
11
+ completed_at: string;
12
+ };
13
+ observation_coverage: string;
14
+ anchor: {
15
+ entity_type: string;
16
+ id: string;
17
+ };
18
+ entities: {
19
+ ref: {
20
+ entity_type: string;
21
+ id: string;
22
+ };
23
+ name: string;
24
+ detail: string;
25
+ attributes: {};
26
+ metadata_truncated: boolean;
27
+ }[];
28
+ relationships: {
29
+ id: string;
30
+ from: {
31
+ entity_type: string;
32
+ id: string;
33
+ };
34
+ to: {
35
+ entity_type: string;
36
+ id: string;
37
+ };
38
+ relation: string;
39
+ relation_class: string;
40
+ attributes: {};
41
+ metadata_truncated: boolean;
42
+ }[];
43
+ evidence_routes: {
44
+ subject: {
45
+ entity_type: string;
46
+ id: string;
47
+ };
48
+ monitoring: {
49
+ status: string;
50
+ reasons: never[];
51
+ targets: {
52
+ target: {
53
+ entity_type: string;
54
+ id: string;
55
+ };
56
+ access_ref: {
57
+ provider: string;
58
+ external_id: string;
59
+ source_collection: string;
60
+ };
61
+ via_relationship_ids: string[];
62
+ mapping_source: string;
63
+ query_context: {
64
+ namespace: string;
65
+ serviceLabel: string;
66
+ };
67
+ query_context_status: string;
68
+ reasons: never[];
69
+ }[];
70
+ };
71
+ runtime: {
72
+ status: string;
73
+ targets: never[];
74
+ reasons: never[];
75
+ };
76
+ deployment: {
77
+ status: string;
78
+ targets: never[];
79
+ reasons: never[];
80
+ };
81
+ }[];
82
+ coverage: {
83
+ dependencies: {
84
+ complete: boolean;
85
+ reasons: never[];
86
+ frontier: never[];
87
+ };
88
+ callers: {
89
+ complete: boolean;
90
+ reasons: never[];
91
+ frontier: never[];
92
+ };
93
+ attachments: {
94
+ complete: boolean;
95
+ reasons: never[];
96
+ frontier: never[];
97
+ };
98
+ };
99
+ applied_limits: {
100
+ dependency_hops: number;
101
+ dependency_entities: number;
102
+ dependency_edges: number;
103
+ fanout: number;
104
+ callers: number;
105
+ attachment_steps: number;
106
+ attachment_entities: number;
107
+ attachment_edges: number;
108
+ entities: number;
109
+ relationships: number;
110
+ route_subjects: number;
111
+ route_targets: number;
112
+ queries: number;
113
+ timeout_ms: number;
114
+ metadata_depth: number;
115
+ metadata_entries: number;
116
+ metadata_bytes: number;
117
+ response_bytes: number;
118
+ containers: number;
119
+ };
120
+ };