@scoutflo/topology-contracts 0.4.0 → 0.5.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.
@@ -0,0 +1,173 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.topologyCorrelationApplyResponseSchema = exports.topologyCorrelationApplySummarySchema = exports.topologyCorrelationApplyUnitSchema = exports.topologyCorrelationApplyRequestSchema = exports.topologyCorrelationDryRunResponseSchema = exports.topologyCorrelationDryRunSummarySchema = exports.topologyCorrelationDryRunRequestSchema = exports.topologyCorrelationDryRunOptionsSchema = exports.topologyCorrelationDryRunUnitSchema = exports.topologyCorrelationApiUnitResultSchema = exports.topologyCorrelationApiUnitSpecSchema = exports.topologyCorrelationApiInputScopeSchema = exports.topologyCorrelationApiDiffSchema = exports.topologyCorrelationApiDiffSummarySchema = exports.topologyCorrelationApiRefreshSchema = exports.topologyCorrelationApiFindingSchema = exports.topologyCorrelationApiCandidateSchema = exports.topologyCorrelationApiEndpointSchema = exports.topologyCorrelationApiEvidenceRefSchema = exports.topologyCorrelationApiWarningSchema = exports.topologyCorrelationApiDecisionSchema = exports.topologyCorrelationSyncVersionSchema = exports.TOPOLOGY_CORRELATION_SYNC_VERSION = void 0;
4
+ const zod_1 = require("zod");
5
+ const common_1 = require("../source-sync/common");
6
+ const lifecycle_1 = require("../source-sync/lifecycle");
7
+ exports.TOPOLOGY_CORRELATION_SYNC_VERSION = 'topology.correlation_sync.v1';
8
+ exports.topologyCorrelationSyncVersionSchema = zod_1.z.literal(exports.TOPOLOGY_CORRELATION_SYNC_VERSION);
9
+ exports.topologyCorrelationApiDecisionSchema = zod_1.z.enum([
10
+ 'ready',
11
+ 'warning_only',
12
+ 'ambiguous',
13
+ 'blocked',
14
+ ]);
15
+ exports.topologyCorrelationApiWarningSchema = zod_1.z.object({
16
+ code: common_1.nonEmptyStringSchema,
17
+ message: common_1.nonEmptyStringSchema,
18
+ scope_key: common_1.nonEmptyStringSchema.optional(),
19
+ details: common_1.recordSchema.optional(),
20
+ }).passthrough();
21
+ exports.topologyCorrelationApiEvidenceRefSchema = zod_1.z.object({
22
+ type: common_1.nonEmptyStringSchema,
23
+ ref: common_1.nonEmptyStringSchema,
24
+ summary: common_1.nonEmptyStringSchema.optional(),
25
+ }).passthrough();
26
+ exports.topologyCorrelationApiEndpointSchema = zod_1.z.object({
27
+ entity_type: common_1.entityKindSchema,
28
+ id: common_1.nonEmptyStringSchema,
29
+ resource_type: common_1.nonEmptyStringSchema.optional(),
30
+ }).passthrough();
31
+ exports.topologyCorrelationApiCandidateSchema = zod_1.z.object({
32
+ candidate_key: common_1.nonEmptyStringSchema,
33
+ correlation_rule_key: common_1.nonEmptyStringSchema,
34
+ correlation_rule_version: common_1.nonEmptyStringSchema,
35
+ correlation_unit_key: common_1.nonEmptyStringSchema,
36
+ relationship_lane: common_1.nonEmptyStringSchema,
37
+ relationship_kind: common_1.nonEmptyStringSchema,
38
+ relation: common_1.nonEmptyStringSchema,
39
+ from: exports.topologyCorrelationApiEndpointSchema,
40
+ to: exports.topologyCorrelationApiEndpointSchema,
41
+ canonical_key: common_1.nonEmptyStringSchema,
42
+ semantic_key: common_1.nonEmptyStringSchema,
43
+ confidence: zod_1.z.number().min(0),
44
+ confidence_source: common_1.nonEmptyStringSchema,
45
+ assertion_type: common_1.nonEmptyStringSchema,
46
+ attributes: common_1.recordSchema,
47
+ source_attributes: common_1.recordSchema.optional(),
48
+ evidence: zod_1.z.array(exports.topologyCorrelationApiEvidenceRefSchema),
49
+ decision: exports.topologyCorrelationApiDecisionSchema,
50
+ warnings: zod_1.z.array(exports.topologyCorrelationApiWarningSchema).optional(),
51
+ }).passthrough();
52
+ exports.topologyCorrelationApiFindingSchema = zod_1.z.object({
53
+ correlation_rule_key: common_1.nonEmptyStringSchema,
54
+ correlation_unit_key: common_1.nonEmptyStringSchema,
55
+ candidate_keys: zod_1.z.array(common_1.nonEmptyStringSchema).optional(),
56
+ reason: common_1.nonEmptyStringSchema,
57
+ details: common_1.recordSchema.optional(),
58
+ }).passthrough();
59
+ exports.topologyCorrelationApiRefreshSchema = zod_1.z.object({
60
+ existing_id: common_1.nonEmptyStringSchema,
61
+ existing_document_id: common_1.nonEmptyStringSchema.optional(),
62
+ candidate: exports.topologyCorrelationApiCandidateSchema,
63
+ }).passthrough();
64
+ exports.topologyCorrelationApiDiffSummarySchema = zod_1.z.object({
65
+ relationships_to_create: zod_1.z.number().int().min(0),
66
+ relationships_to_refresh: zod_1.z.number().int().min(0),
67
+ relationship_support_to_mark_stale: zod_1.z.number().int().min(0),
68
+ relationship_support_to_retire: zod_1.z.number().int().min(0),
69
+ conflicts: zod_1.z.number().int().min(0),
70
+ ambiguous_matches: zod_1.z.number().int().min(0),
71
+ warnings: zod_1.z.number().int().min(0),
72
+ }).passthrough();
73
+ exports.topologyCorrelationApiDiffSchema = zod_1.z.object({
74
+ relationships_to_create: zod_1.z.array(exports.topologyCorrelationApiCandidateSchema),
75
+ relationships_to_refresh: zod_1.z.array(exports.topologyCorrelationApiRefreshSchema),
76
+ relationship_support_to_mark_stale: zod_1.z.array(exports.topologyCorrelationApiCandidateSchema),
77
+ relationship_support_to_retire: zod_1.z.array(exports.topologyCorrelationApiCandidateSchema),
78
+ conflicts: zod_1.z.array(exports.topologyCorrelationApiFindingSchema),
79
+ ambiguous_matches: zod_1.z.array(exports.topologyCorrelationApiFindingSchema),
80
+ warnings: zod_1.z.array(exports.topologyCorrelationApiWarningSchema),
81
+ summary: exports.topologyCorrelationApiDiffSummarySchema,
82
+ }).passthrough();
83
+ exports.topologyCorrelationApiInputScopeSchema = zod_1.z.object({
84
+ providers: zod_1.z.array(common_1.nonEmptyStringSchema).optional(),
85
+ source_run_ids: zod_1.z.array(common_1.nonEmptyStringSchema).optional(),
86
+ scan_unit_ids: zod_1.z.array(common_1.nonEmptyStringSchema).optional(),
87
+ source_ref_scope_keys: zod_1.z.array(common_1.nonEmptyStringSchema).optional(),
88
+ canonical_entity_filters: zod_1.z.array(common_1.recordSchema).optional(),
89
+ }).passthrough();
90
+ exports.topologyCorrelationApiUnitSpecSchema = zod_1.z.object({
91
+ correlation_unit_key: common_1.nonEmptyStringSchema,
92
+ correlation_rule_key: common_1.nonEmptyStringSchema,
93
+ correlation_rule_version: common_1.nonEmptyStringSchema,
94
+ relationship_lane: common_1.nonEmptyStringSchema,
95
+ input_scope: exports.topologyCorrelationApiInputScopeSchema,
96
+ lifecycle_authority_scope_key: common_1.nonEmptyStringSchema,
97
+ }).passthrough();
98
+ exports.topologyCorrelationApiUnitResultSchema = zod_1.z.object({
99
+ candidates: zod_1.z.array(exports.topologyCorrelationApiCandidateSchema),
100
+ warnings: zod_1.z.array(exports.topologyCorrelationApiWarningSchema),
101
+ ambiguous_matches: zod_1.z.array(exports.topologyCorrelationApiFindingSchema).optional(),
102
+ conflicts: zod_1.z.array(exports.topologyCorrelationApiFindingSchema).optional(),
103
+ }).passthrough();
104
+ exports.topologyCorrelationDryRunUnitSchema = zod_1.z.object({
105
+ correlation_unit_id: common_1.nonEmptyStringSchema,
106
+ plan_unit_id: common_1.nonEmptyStringSchema,
107
+ unit: exports.topologyCorrelationApiUnitSpecSchema,
108
+ result: exports.topologyCorrelationApiUnitResultSchema,
109
+ diff: exports.topologyCorrelationApiDiffSchema,
110
+ diff_hash: common_1.nonEmptyStringSchema,
111
+ warnings: zod_1.z.array(exports.topologyCorrelationApiWarningSchema),
112
+ }).passthrough();
113
+ exports.topologyCorrelationDryRunOptionsSchema = zod_1.z.object({
114
+ min_confidence: zod_1.z.number().min(0).optional(),
115
+ include_warning_only: zod_1.z.boolean().optional(),
116
+ include_partial_live: zod_1.z.boolean().optional(),
117
+ max_proposals: zod_1.z.number().int().min(0).optional(),
118
+ }).passthrough();
119
+ exports.topologyCorrelationDryRunRequestSchema = zod_1.z.object({
120
+ version: exports.topologyCorrelationSyncVersionSchema,
121
+ sync_batch_id: common_1.nonEmptyStringSchema,
122
+ profile_key: common_1.nonEmptyStringSchema.optional(),
123
+ rules: zod_1.z.array(common_1.recordSchema).optional(),
124
+ providers: zod_1.z.array(common_1.nonEmptyStringSchema).optional(),
125
+ service_ids: zod_1.z.array(common_1.nonEmptyStringSchema).optional(),
126
+ input_source_run_ids: zod_1.z.array(common_1.nonEmptyStringSchema).optional(),
127
+ input_scan_unit_ids: zod_1.z.array(common_1.nonEmptyStringSchema).optional(),
128
+ options: exports.topologyCorrelationDryRunOptionsSchema.optional(),
129
+ }).passthrough();
130
+ exports.topologyCorrelationDryRunSummarySchema = zod_1.z.object({
131
+ correlation_units: zod_1.z.number().int().min(0),
132
+ plan_units: zod_1.z.number().int().min(0),
133
+ ready_candidates: zod_1.z.number().int().min(0),
134
+ warning_only_candidates: zod_1.z.number().int().min(0),
135
+ ambiguous_candidates: zod_1.z.number().int().min(0),
136
+ blocked_candidates: zod_1.z.number().int().min(0),
137
+ warnings: zod_1.z.number().int().min(0),
138
+ }).passthrough();
139
+ exports.topologyCorrelationDryRunResponseSchema = zod_1.z.object({
140
+ status: zod_1.z.number().int(),
141
+ mode: zod_1.z.literal('dry_run'),
142
+ correlation_run_id: common_1.nonEmptyStringSchema,
143
+ sync_batch_id: common_1.nonEmptyStringSchema,
144
+ profile_key: common_1.nonEmptyStringSchema,
145
+ profile_version: common_1.nonEmptyStringSchema,
146
+ units: zod_1.z.array(exports.topologyCorrelationDryRunUnitSchema),
147
+ summary: exports.topologyCorrelationDryRunSummarySchema,
148
+ }).passthrough();
149
+ exports.topologyCorrelationApplyRequestSchema = zod_1.z.object({
150
+ version: exports.topologyCorrelationSyncVersionSchema,
151
+ correlation_run_id: common_1.nonEmptyStringSchema,
152
+ confirm_diff_hash: common_1.nonEmptyStringSchema,
153
+ selected_plan_unit_ids: zod_1.z.array(common_1.nonEmptyStringSchema),
154
+ }).passthrough();
155
+ exports.topologyCorrelationApplyUnitSchema = zod_1.z.object({
156
+ apply_unit_id: common_1.nonEmptyStringSchema,
157
+ plan_unit_id: common_1.nonEmptyStringSchema,
158
+ status: lifecycle_1.sourceSyncUnitStatusSchema,
159
+ }).passthrough();
160
+ exports.topologyCorrelationApplySummarySchema = zod_1.z.object({
161
+ plan_units: zod_1.z.number().int().min(0),
162
+ relationships_created: zod_1.z.number().int().min(0),
163
+ relationships_refreshed: zod_1.z.number().int().min(0),
164
+ audit_events: zod_1.z.number().int().min(0),
165
+ }).passthrough();
166
+ exports.topologyCorrelationApplyResponseSchema = zod_1.z.object({
167
+ status: zod_1.z.number().int(),
168
+ mode: zod_1.z.literal('apply'),
169
+ correlation_run_id: common_1.nonEmptyStringSchema,
170
+ apply_units: zod_1.z.array(exports.topologyCorrelationApplyUnitSchema),
171
+ summary: exports.topologyCorrelationApplySummarySchema,
172
+ }).passthrough();
173
+ //# sourceMappingURL=lifecycle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifecycle.js","sourceRoot":"","sources":["../../../src/correlation/lifecycle.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,kDAI+B;AAC/B,wDAAsE;AAEzD,QAAA,iCAAiC,GAAG,8BAAuC,CAAC;AAE5E,QAAA,oCAAoC,GAAG,OAAC,CAAC,OAAO,CAAC,yCAAiC,CAAC,CAAC;AAEpF,QAAA,oCAAoC,GAAG,OAAC,CAAC,IAAI,CAAC;IACzD,OAAO;IACP,cAAc;IACd,WAAW;IACX,SAAS;CACV,CAAC,CAAC;AAEU,QAAA,mCAAmC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1D,IAAI,EAAE,6BAAoB;IAC1B,OAAO,EAAE,6BAAoB;IAC7B,SAAS,EAAE,6BAAoB,CAAC,QAAQ,EAAE;IAC1C,OAAO,EAAE,qBAAY,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC,WAAW,EAAE,CAAC;AAEJ,QAAA,uCAAuC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9D,IAAI,EAAE,6BAAoB;IAC1B,GAAG,EAAE,6BAAoB;IACzB,OAAO,EAAE,6BAAo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AE,6BAAoB;IACxC,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,0CAAkC,CAAC;IACxD,OAAO,EAAE,6CAAqC;CAC/C,CAAC,CAAC,WAAW,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export { topologyProviderSchema, topologyProviderInputSchema, } from '../providers';
2
2
  export { awsTopologyFamilySchema, kubernetesTopologyFamilySchema, integrationTopologyFamilySchema, topologyFamilySchema, } from '../families';
3
3
  export { sourceSyncCapabilitySchema, sourceSyncPartialScopeApplySchema, topologySourceIntentIncludeSchema, topologySourceIntentSchema, topologySyncIntentOptionsSchema, topologySyncIntentSchema, topologySyncScopeSchema, topologySyncCompletenessStatusSchema, topologySyncCompletenessSchema, topologySyncWarningSeveritySchema, topologySyncWarningSchema, topologySourceRefStatusSchema, topologyEntitySourceRefCandidateSchema, topologyAccessRefCandidateSchema, topologySourceNodeCandidateSchema, topologyExistingEntityRefSchema, topologySourceRelationshipCandidateSchema, sourceSyncUnitStatusSchema, sourceSyncCapabilitiesResponseSchema, sourceSyncRecordSchema, sourceSyncJobSchema, sourceSyncSourceSummarySchema, sourceSyncDryRunSourceResultSchema, sourceSyncErrorSchema, sourceSyncDuplicateSchema, sourceSyncDryRunResponseSchema, sourceSyncApplySelectionSchema, sourceSyncApplyRequestSchema, sourceSyncApplyResponseSchema, sourceSyncBatchResponseSchema, sourceSyncBatchUnitsResponseSchema, } from '../source-sync';
4
- export { topologyCorrelationApplyPolicySchema, topologyCorrelationRequiredEndpointSchema, topologyCorrelationRuleMetadataSchema, topologyCorrelationDecisionSchema, topologyCorrelationCandidateSchema, } from '../correlation';
4
+ export { topologyCorrelationApplyPolicySchema, topologyCorrelationRequiredEndpointSchema, topologyCorrelationRuleMetadataSchema, topologyCorrelationDecisionSchema, topologyCorrelationCandidateSchema, topologyCorrelationSyncVersionSchema, topologyCorrelationApiDecisionSchema, topologyCorrelationApiWarningSchema, topologyCorrelationApiEvidenceRefSchema, topologyCorrelationApiEndpointSchema, topologyCorrelationApiCandidateSchema, topologyCorrelationApiFindingSchema, topologyCorrelationApiRefreshSchema, topologyCorrelationApiDiffSummarySchema, topologyCorrelationApiDiffSchema, topologyCorrelationApiInputScopeSchema, topologyCorrelationApiUnitSpecSchema, topologyCorrelationApiUnitResultSchema, topologyCorrelationDryRunUnitSchema, topologyCorrelationDryRunOptionsSchema, topologyCorrelationDryRunRequestSchema, topologyCorrelationDryRunSummarySchema, topologyCorrelationDryRunResponseSchema, topologyCorrelationApplyRequestSchema, topologyCorrelationApplyUnitSchema, topologyCorrelationApplySummarySchema, topologyCorrelationApplyResponseSchema, } from '../correlation';
5
5
  export { topologyResourceTypeSchema, topologyRelationTypeSchema, } from '../topology';
6
6
  export { credentialSourceEntityTypeSchema, credentialResolutionModeSchema, credentialSourceExternalRefSchema, credentialSourceResultItemSchema, credentialSourceSingleResponseSchema, credentialSourceBulkRequestSchema, credentialSourceBulkResponseSchema, topologyApiErrorCodeSchema, topologyApiErrorEnvelopeSchema, } from '../credential-source';
7
7
  export { diagnosticCriticalitySchema, nestedTopologyRelationshipSchema, nestedTopologyNodeSchema, nestedTopologyChildSchema, nestedTopologyResponseSchema, topologyReasonCodeSchema, topologyCandidateTargetSchema, topologyPrimaryAnchorSchema, topologyInitializationStateSchema, targetServiceInfoSchema, investigationResourceSchema, relatedServiceInfoSchema, topologyInvestigationContextSchema, topologyBindingHintSchema, topologyBindingHintsSchema, gatewayTopologyContextSchema, } from '../investigation';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.credentialSourceBulkRequestSchema = exports.credentialSourceSingleResponseSchema = exports.credentialSourceResultItemSchema = exports.credentialSourceExternalRefSchema = exports.credentialResolutionModeSchema = exports.credentialSourceEntityTypeSchema = exports.topologyRelationTypeSchema = exports.topologyResourceTypeSchema = exports.topologyCorrelationCandidateSchema = exports.topologyCorrelationDecisionSchema = exports.topologyCorrelationRuleMetadataSchema = exports.topologyCorrelationRequiredEndpointSchema = exports.topologyCorrelationApplyPolicySchema = exports.sourceSyncBatchUnitsResponseSchema = exports.sourceSyncBatchResponseSchema = exports.sourceSyncApplyResponseSchema = exports.sourceSyncApplyRequestSchema = exports.sourceSyncApplySelectionSchema = exports.sourceSyncDryRunResponseSchema = exports.sourceSyncDuplicateSchema = exports.sourceSyncErrorSchema = exports.sourceSyncDryRunSourceResultSchema = exports.sourceSyncSourceSummarySchema = exports.sourceSyncJobSchema = exports.sourceSyncRecordSchema = exports.sourceSyncCapabilitiesResponseSchema = exports.sourceSyncUnitStatusSchema = exports.topologySourceRelationshipCandidateSchema = exports.topologyExistingEntityRefSchema = exports.topologySourceNodeCandidateSchema = exports.topologyAccessRefCandidateSchema = exports.topologyEntitySourceRefCandidateSchema = exports.topologySourceRefStatusSchema = exports.topologySyncWarningSchema = exports.topologySyncWarningSeveritySchema = exports.topologySyncCompletenessSchema = exports.topologySyncCompletenessStatusSchema = exports.topologySyncScopeSchema = exports.topologySyncIntentSchema = exports.topologySyncIntentOptionsSchema = exports.topologySourceIntentSchema = exports.topologySourceIntentIncludeSchema = exports.sourceSyncPartialScopeApplySchema = exports.sourceSyncCapabilitySchema = exports.topologyFamilySchema = exports.integrationTopologyFamilySchema = exports.kubernetesTopologyFamilySchema = exports.awsTopologyFamilySchema = exports.topologyProviderInputSchema = exports.topologyProviderSchema = void 0;
4
- exports.gatewayTopologyContextSchema = exports.topologyBindingHintsSchema = exports.topologyBindingHintSchema = exports.topologyInvestigationContextSchema = exports.relatedServiceInfoSchema = exports.investigationResourceSchema = exports.targetServiceInfoSchema = exports.topologyInitializationStateSchema = exports.topologyPrimaryAnchorSchema = exports.topologyCandidateTargetSchema = exports.topologyReasonCodeSchema = exports.nestedTopologyResponseSchema = exports.nestedTopologyChildSchema = exports.nestedTopologyNodeSchema = exports.nestedTopologyRelationshipSchema = exports.diagnosticCriticalitySchema = exports.topologyApiErrorEnvelopeSchema = exports.topologyApiErrorCodeSchema = exports.credentialSourceBulkResponseSchema = void 0;
3
+ exports.topologyCorrelationApiRefreshSchema = exports.topologyCorrelationApiFindingSchema = exports.topologyCorrelationApiCandidateSchema = exports.topologyCorrelationApiEndpointSchema = exports.topologyCorrelationApiEvidenceRefSchema = exports.topologyCorrelationApiWarningSchema = exports.topologyCorrelationApiDecisionSchema = exports.topologyCorrelationSyncVersionSchema = exports.topologyCorrelationCandidateSchema = exports.topologyCorrelationDecisionSchema = exports.topologyCorrelationRuleMetadataSchema = exports.topologyCorrelationRequiredEndpointSchema = exports.topologyCorrelationApplyPolicySchema = exports.sourceSyncBatchUnitsResponseSchema = exports.sourceSyncBatchResponseSchema = exports.sourceSyncApplyResponseSchema = exports.sourceSyncApplyRequestSchema = exports.sourceSyncApplySelectionSchema = exports.sourceSyncDryRunResponseSchema = exports.sourceSyncDuplicateSchema = exports.sourceSyncErrorSchema = exports.sourceSyncDryRunSourceResultSchema = exports.sourceSyncSourceSummarySchema = exports.sourceSyncJobSchema = exports.sourceSyncRecordSchema = exports.sourceSyncCapabilitiesResponseSchema = exports.sourceSyncUnitStatusSchema = exports.topologySourceRelationshipCandidateSchema = exports.topologyExistingEntityRefSchema = exports.topologySourceNodeCandidateSchema = exports.topologyAccessRefCandidateSchema = exports.topologyEntitySourceRefCandidateSchema = exports.topologySourceRefStatusSchema = exports.topologySyncWarningSchema = exports.topologySyncWarningSeveritySchema = exports.topologySyncCompletenessSchema = exports.topologySyncCompletenessStatusSchema = exports.topologySyncScopeSchema = exports.topologySyncIntentSchema = exports.topologySyncIntentOptionsSchema = exports.topologySourceIntentSchema = exports.topologySourceIntentIncludeSchema = exports.sourceSyncPartialScopeApplySchema = exports.sourceSyncCapabilitySchema = exports.topologyFamilySchema = exports.integrationTopologyFamilySchema = exports.kubernetesTopologyFamilySchema = exports.awsTopologyFamilySchema = exports.topologyProviderInputSchema = exports.topologyProviderSchema = void 0;
4
+ exports.gatewayTopologyContextSchema = exports.topologyBindingHintsSchema = exports.topologyBindingHintSchema = exports.topologyInvestigationContextSchema = exports.relatedServiceInfoSchema = exports.investigationResourceSchema = exports.targetServiceInfoSchema = exports.topologyInitializationStateSchema = exports.topologyPrimaryAnchorSchema = exports.topologyCandidateTargetSchema = exports.topologyReasonCodeSchema = exports.nestedTopologyResponseSchema = exports.nestedTopologyChildSchema = exports.nestedTopologyNodeSchema = exports.nestedTopologyRelationshipSchema = exports.diagnosticCriticalitySchema = exports.topologyApiErrorEnvelopeSchema = exports.topologyApiErrorCodeSchema = exports.credentialSourceBulkResponseSchema = exports.credentialSourceBulkRequestSchema = exports.credentialSourceSingleResponseSchema = exports.credentialSourceResultItemSchema = exports.credentialSourceExternalRefSchema = exports.credentialResolutionModeSchema = exports.credentialSourceEntityTypeSchema = exports.topologyRelationTypeSchema = exports.topologyResourceTypeSchema = exports.topologyCorrelationApplyResponseSchema = exports.topologyCorrelationApplySummarySchema = exports.topologyCorrelationApplyUnitSchema = exports.topologyCorrelationApplyRequestSchema = exports.topologyCorrelationDryRunResponseSchema = exports.topologyCorrelationDryRunSummarySchema = exports.topologyCorrelationDryRunRequestSchema = exports.topologyCorrelationDryRunOptionsSchema = exports.topologyCorrelationDryRunUnitSchema = exports.topologyCorrelationApiUnitResultSchema = exports.topologyCorrelationApiUnitSpecSchema = exports.topologyCorrelationApiInputScopeSchema = exports.topologyCorrelationApiDiffSchema = exports.topologyCorrelationApiDiffSummarySchema = void 0;
5
5
  var providers_1 = require("../providers");
6
6
  Object.defineProperty(exports, "topologyProviderSchema", { enumerable: true, get: function () { return providers_1.topologyProviderSchema; } });
7
7
  Object.defineProperty(exports, "topologyProviderInputSchema", { enumerable: true, get: function () { return providers_1.topologyProviderInputSchema; } });
@@ -48,6 +48,28 @@ Object.defineProperty(exports, "topologyCorrelationRequiredEndpointSchema", { en
48
48
  Object.defineProperty(exports, "topologyCorrelationRuleMetadataSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationRuleMetadataSchema; } });
49
49
  Object.defineProperty(exports, "topologyCorrelationDecisionSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationDecisionSchema; } });
50
50
  Object.defineProperty(exports, "topologyCorrelationCandidateSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationCandidateSchema; } });
51
+ Object.defineProperty(exports, "topologyCorrelationSyncVersionSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationSyncVersionSchema; } });
52
+ Object.defineProperty(exports, "topologyCorrelationApiDecisionSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiDecisionSchema; } });
53
+ Object.defineProperty(exports, "topologyCorrelationApiWarningSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiWarningSchema; } });
54
+ Object.defineProperty(exports, "topologyCorrelationApiEvidenceRefSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiEvidenceRefSchema; } });
55
+ Object.defineProperty(exports, "topologyCorrelationApiEndpointSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiEndpointSchema; } });
56
+ Object.defineProperty(exports, "topologyCorrelationApiCandidateSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiCandidateSchema; } });
57
+ Object.defineProperty(exports, "topologyCorrelationApiFindingSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiFindingSchema; } });
58
+ Object.defineProperty(exports, "topologyCorrelationApiRefreshSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiRefreshSchema; } });
59
+ Object.defineProperty(exports, "topologyCorrelationApiDiffSummarySchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiDiffSummarySchema; } });
60
+ Object.defineProperty(exports, "topologyCorrelationApiDiffSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiDiffSchema; } });
61
+ Object.defineProperty(exports, "topologyCorrelationApiInputScopeSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiInputScopeSchema; } });
62
+ Object.defineProperty(exports, "topologyCorrelationApiUnitSpecSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiUnitSpecSchema; } });
63
+ Object.defineProperty(exports, "topologyCorrelationApiUnitResultSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApiUnitResultSchema; } });
64
+ Object.defineProperty(exports, "topologyCorrelationDryRunUnitSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationDryRunUnitSchema; } });
65
+ Object.defineProperty(exports, "topologyCorrelationDryRunOptionsSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationDryRunOptionsSchema; } });
66
+ Object.defineProperty(exports, "topologyCorrelationDryRunRequestSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationDryRunRequestSchema; } });
67
+ Object.defineProperty(exports, "topologyCorrelationDryRunSummarySchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationDryRunSummarySchema; } });
68
+ Object.defineProperty(exports, "topologyCorrelationDryRunResponseSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationDryRunResponseSchema; } });
69
+ Object.defineProperty(exports, "topologyCorrelationApplyRequestSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApplyRequestSchema; } });
70
+ Object.defineProperty(exports, "topologyCorrelationApplyUnitSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApplyUnitSchema; } });
71
+ Object.defineProperty(exports, "topologyCorrelationApplySummarySchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApplySummarySchema; } });
72
+ Object.defineProperty(exports, "topologyCorrelationApplyResponseSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApplyResponseSchema; } });
51
73
  var topology_1 = require("../topology");
52
74
  Object.defineProperty(exports, "topologyResourceTypeSchema", { enumerable: true, get: function () { return topology_1.topologyResourceTypeSchema; } });
53
75
  Object.defineProperty(exports, "topologyRelationTypeSchema", { enumerable: true, get: function () { return topology_1.topologyRelationTypeSchema; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/index.ts"],"names":[],"mappings":";;;;AAAA,0CAGsB;AAFpB,mHAAA,sBA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,sCAAsC,OAAA;AACtC,kIAAA,mCAAmC,OAAA;AACnC,qIAAA,sCAAsC,OAAA;AACtC,qIAAA,sCAAsC,OAAA;AACtC,qIAAA,sCAAsC,OAAA;AACtC,sIAAA,uCAAuC,OAAA;AACvC,oIAAA,qCAAqC,OAAA;AACrC,iIAAA,kCAAkC,OAAA;AAClC,oIAAA,qCAAqC,OAAA;AACrC,qIAAA,sCAAsC,OAAA;AAGxC,wCAGqB;AAFnB,sHAAA,0BAA0B,OAAA;AAC1B,sHAAA,0BAA0B,OAAA;AAG5B,0DAU8B;AAT5B,qIAAA,gCAAgC,OAAA;AAChC,mIAAA,8BAA8B,OAAA;AAC9B,sIAAA,iCAAiC,OAAA;AACjC,qIAAA,gCAAgC,OAAA;AAChC,yIAAA,oCAAoC,OAAA;AACpC,sIAAA,iCAAiC,OAAA;AACjC,uIAAA,kCAAkC,OAAA;AAClC,+HAAA,0BAA0B,OAAA;AAC1B,mIAAA,8BAA8B,OAAA;AAGhC,kDAiB0B;AAhBxB,4HAAA,2BAA2B,OAAA;AAC3B,iIAAA,gCAAgC,OAAA;AAChC,yHAAA,wBAAwB,OAAA;AACxB,0HAAA,yBAAyB,OAAA;AACzB,6HAAA,4BAA4B,OAAA;AAC5B,yHAAA,wBAAwB,OAAA;AACxB,8HAAA,6BAA6B,OAAA;AAC7B,4HAAA,2BAA2B,OAAA;AAC3B,kIAAA,iCAAiC,OAAA;AACjC,wHAAA,uBAAuB,OAAA;AACvB,4HAAA,2BAA2B,OAAA;AAC3B,yHAAA,wBAAwB,OAAA;AACxB,mIAAA,kCAAkC,OAAA;AAClC,0HAAA,yBAAyB,OAAA;AACzB,2HAAA,0BAA0B,OAAA;AAC1B,6HAAA,4BAA4B,OAAA"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,206 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const strict_1 = __importDefault(require("node:assert/strict"));
7
+ const node_test_1 = __importDefault(require("node:test"));
8
+ const src_1 = require("../src");
9
+ const warning = {
10
+ code: 'partial_scope',
11
+ message: 'Namespace filter limited the dry run',
12
+ scope_key: 'namespace:payments',
13
+ details: { namespace: 'payments' },
14
+ };
15
+ const candidate = {
16
+ candidate_key: 'candidate_123',
17
+ correlation_rule_key: 'k8s-workload-owned-by-service',
18
+ correlation_rule_version: '2026-06-17',
19
+ correlation_unit_key: 'unit:k8s:payments',
20
+ relationship_lane: 'service-resource',
21
+ relationship_kind: 'ownership',
22
+ relation: 'OWNS',
23
+ from: {
24
+ entity_type: 'service',
25
+ id: 'service:payments-api',
26
+ },
27
+ to: {
28
+ entity_type: 'resource',
29
+ id: 'resource:k8s:deployment:payments-api',
30
+ resource_type: 'kubernetes_deployment',
31
+ },
32
+ canonical_key: 'service:payments-api:owns:resource:k8s:deployment:payments-api',
33
+ semantic_key: 'payments-api owns deployment/payments-api',
34
+ confidence: 0.92,
35
+ confidence_source: 'rule',
36
+ assertion_type: 'inferred',
37
+ attributes: { namespace: 'payments' },
38
+ source_attributes: { provider: 'k8s', cluster: 'prod' },
39
+ evidence: [
40
+ {
41
+ type: 'source_ref',
42
+ ref: 'scan_unit_123',
43
+ summary: 'Service and deployment share namespace and labels',
44
+ },
45
+ ],
46
+ decision: 'ready',
47
+ warnings: [warning],
48
+ gateway_extension: 'allowed',
49
+ };
50
+ const diff = {
51
+ relationships_to_create: [candidate],
52
+ relationships_to_refresh: [
53
+ {
54
+ existing_id: 'relationship_123',
55
+ existing_document_id: 'mongo_doc_123',
56
+ candidate,
57
+ },
58
+ ],
59
+ relationship_support_to_mark_stale: [],
60
+ relationship_support_to_retire: [],
61
+ conflicts: [
62
+ {
63
+ correlation_rule_key: 'k8s-workload-owned-by-service',
64
+ correlation_unit_key: 'unit:k8s:payments',
65
+ reason: 'existing_relationship_conflict',
66
+ details: { existing_id: 'relationship_456' },
67
+ },
68
+ ],
69
+ ambiguous_matches: [
70
+ {
71
+ correlation_rule_key: 'k8s-workload-owned-by-service',
72
+ correlation_unit_key: 'unit:k8s:payments',
73
+ candidate_keys: ['candidate_ambiguous_a', 'candidate_ambiguous_b'],
74
+ reason: 'multiple_services_match',
75
+ details: { label: 'app=payments' },
76
+ },
77
+ ],
78
+ warnings: [warning],
79
+ summary: {
80
+ relationships_to_create: 1,
81
+ relationships_to_refresh: 1,
82
+ relationship_support_to_mark_stale: 0,
83
+ relationship_support_to_retire: 0,
84
+ conflicts: 1,
85
+ ambiguous_matches: 1,
86
+ warnings: 1,
87
+ },
88
+ };
89
+ const unit = {
90
+ correlation_unit_id: 'correlation_unit_123',
91
+ plan_unit_id: 'plan_unit_123',
92
+ unit: {
93
+ correlation_unit_key: 'unit:k8s:payments',
94
+ correlation_rule_key: 'k8s-workload-owned-by-service',
95
+ correlation_rule_version: '2026-06-17',
96
+ relationship_lane: 'service-resource',
97
+ input_scope: {
98
+ providers: ['k8s'],
99
+ scan_unit_ids: ['scan_unit_123'],
100
+ source_ref_scope_keys: ['namespace:payments'],
101
+ canonical_entity_filters: [{ entity_type: 'service', id: 'service:payments-api' }],
102
+ },
103
+ lifecycle_authority_scope_key: 'k8s:cluster:prod',
104
+ },
105
+ result: {
106
+ candidates: [candidate],
107
+ warnings: [warning],
108
+ ambiguous_matches: diff.ambiguous_matches,
109
+ conflicts: diff.conflicts,
110
+ },
111
+ diff,
112
+ diff_hash: 'diff_hash_123',
113
+ warnings: [warning],
114
+ };
115
+ (0, node_test_1.default)('parses source-neutral topology correlation dry-run request used by Client', () => {
116
+ const parsed = src_1.topologyCorrelationDryRunRequestSchema.parse({
117
+ version: src_1.TOPOLOGY_CORRELATION_SYNC_VERSION,
118
+ sync_batch_id: 'sync_batch_123',
119
+ profile_key: 'default',
120
+ providers: ['k8s'],
121
+ service_ids: ['service:payments-api'],
122
+ input_source_run_ids: ['source_run_123'],
123
+ input_scan_unit_ids: ['scan_unit_123'],
124
+ rules: [{ correlation_rule_key: 'k8s-workload-owned-by-service' }],
125
+ options: {
126
+ min_confidence: 0.8,
127
+ include_warning_only: true,
128
+ include_partial_live: true,
129
+ max_proposals: 25,
130
+ },
131
+ });
132
+ strict_1.default.equal(parsed.version, src_1.TOPOLOGY_CORRELATION_SYNC_VERSION);
133
+ strict_1.default.equal(parsed.sync_batch_id, 'sync_batch_123');
134
+ strict_1.default.equal(parsed.options?.include_warning_only, true);
135
+ });
136
+ (0, node_test_1.default)('requires sync_batch_id for the shared source-neutral correlation dry-run request', () => {
137
+ const parsed = src_1.topologyCorrelationDryRunRequestSchema.safeParse({
138
+ version: src_1.TOPOLOGY_CORRELATION_SYNC_VERSION,
139
+ providers: ['k8s'],
140
+ });
141
+ strict_1.default.equal(parsed.success, false);
142
+ });
143
+ (0, node_test_1.default)('parses topology correlation dry-run response envelope used by Gateway and Client', () => {
144
+ const parsed = src_1.topologyCorrelationDryRunResponseSchema.parse({
145
+ status: 200,
146
+ mode: 'dry_run',
147
+ correlation_run_id: 'correlation_run_123',
148
+ sync_batch_id: 'sync_batch_123',
149
+ profile_key: 'default',
150
+ profile_version: '2026-06-17',
151
+ units: [unit],
152
+ summary: {
153
+ correlation_units: 1,
154
+ plan_units: 1,
155
+ ready_candidates: 1,
156
+ warning_only_candidates: 0,
157
+ ambiguous_candidates: 1,
158
+ blocked_candidates: 0,
159
+ warnings: 1,
160
+ },
161
+ });
162
+ strict_1.default.equal(parsed.mode, 'dry_run');
163
+ strict_1.default.equal(parsed.units[0]?.diff.summary.relationships_to_create, 1);
164
+ strict_1.default.equal(parsed.units[0]?.result.candidates[0]?.correlation_rule_key, 'k8s-workload-owned-by-service');
165
+ });
166
+ (0, node_test_1.default)('keeps lifecycle API candidate wire shape separate from lower-level rule metadata shape', () => {
167
+ const parsed = src_1.topologyCorrelationApiCandidateSchema.parse(candidate);
168
+ strict_1.default.equal(parsed.correlation_rule_key, 'k8s-workload-owned-by-service');
169
+ const { correlation_rule_key, correlation_rule_version, ...rest } = candidate;
170
+ const lowLevelRuleNamedCandidate = {
171
+ ...rest,
172
+ rule_key: correlation_rule_key,
173
+ rule_version: correlation_rule_version,
174
+ };
175
+ strict_1.default.equal(src_1.topologyCorrelationApiCandidateSchema.safeParse(lowLevelRuleNamedCandidate).success, false);
176
+ });
177
+ (0, node_test_1.default)('parses topology correlation apply request and response envelopes used by Client', () => {
178
+ const request = src_1.topologyCorrelationApplyRequestSchema.parse({
179
+ version: src_1.TOPOLOGY_CORRELATION_SYNC_VERSION,
180
+ correlation_run_id: 'correlation_run_123',
181
+ confirm_diff_hash: 'diff_hash_123',
182
+ selected_plan_unit_ids: ['plan_unit_123'],
183
+ });
184
+ const response = src_1.topologyCorrelationApplyResponseSchema.parse({
185
+ status: 200,
186
+ mode: 'apply',
187
+ correlation_run_id: 'correlation_run_123',
188
+ apply_units: [
189
+ {
190
+ apply_unit_id: 'apply_unit_123',
191
+ plan_unit_id: 'plan_unit_123',
192
+ status: 'applied',
193
+ },
194
+ ],
195
+ summary: {
196
+ plan_units: 1,
197
+ relationships_created: 1,
198
+ relationships_refreshed: 0,
199
+ audit_events: 1,
200
+ },
201
+ });
202
+ strict_1.default.equal(request.selected_plan_unit_ids[0], 'plan_unit_123');
203
+ strict_1.default.equal(response.apply_units[0]?.status, 'applied');
204
+ strict_1.default.equal(response.summary.relationships_created, 1);
205
+ });
206
+ //# sourceMappingURL=correlation-lifecycle.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"correlation-lifecycle.test.js","sourceRoot":"","sources":["../../test/correlation-lifecycle.test.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,0DAA6B;AAC7B,gCAOgB;AAEhB,MAAM,OAAO,GAAG;IACd,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,sCAAsC;IAC/C,SAAS,EAAE,oBAAoB;IAC/B,OAAO,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;CACnC,CAAC;AAEF,MAAM,SAAS,GAAG;I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AEH,IAAA,mBAAI,EAAC,iFAAiF,EAAE,GAAG,EAAE;IAC3F,MAAM,OAAO,GAAG,2CAAqC,CAAC,KAAK,CAAC;QAC1D,OAAO,EAAE,uCAAiC;QAC1C,kBAAkB,EAAE,qBAAqB;QACzC,iBAAiB,EAAE,eAAe;QAClC,sBAAsB,EAAE,CAAC,eAAe,CAAC;KAC1C,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,4CAAsC,CAAC,KAAK,CAAC;QAC5D,MAAM,EAAE,GAAG;QACX,IAAI,EAAE,OAAO;QACb,kBAAkB,EAAE,qBAAqB;QACzC,WAAW,EAAE;YACX;gBACE,aAAa,EAAE,gBAAgB;gBAC/B,YAAY,EAAE,eAAe;gBAC7B,MAAM,EAAE,SAAS;aAClB;SACF;QACD,OAAO,EAAE;YACP,UAAU,EAAE,CAAC;YACb,qBAAqB,EAAE,CAAC;YACxB,uBAAuB,EAAE,CAAC;YAC1B,YAAY,EAAE,CAAC;SAChB;KACF,CAAC,CAAC;IAEH,gBAAM,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,eAAe,CAAC,CAAC;IACjE,gBAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC;IACzD,gBAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC;AAC1D,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scoutflo/topology-contracts",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Pure shared topology vocabulary and Zod schemas for Scoutflo topology workflows.",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",