@x12i/memorix-retrieval 1.25.1 → 1.27.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.
- package/catalox-seeds/inputs/entity-descriptors/assets.json +8 -9
- package/catalox-seeds/inputs/entity-descriptors/subnets.json +264 -0
- package/catalox-seeds/inputs/item-descriptors/asset-detail-item.json +2 -3
- package/catalox-seeds/inputs/item-descriptors/subnet-detail-item.json +74 -0
- package/catalox-seeds/inputs/list-descriptors/assets-main-list.json +2 -2
- package/catalox-seeds/inputs/list-descriptors/{topology-subnets-main-list.json → subnets-main-list.json} +5 -6
- package/catalox-seeds/memorix-retrieval-descriptors.manifest.json +220 -53
- package/dist/client/catalox-descriptor-provision.d.ts.map +1 -1
- package/dist/client/catalox-descriptor-provision.js +8 -6
- package/dist/client/catalox-descriptor-provision.js.map +1 -1
- package/dist/seeds/build-manifest.js +1 -1
- package/dist/seeds/build-manifest.js.map +1 -1
- package/dist/seeds/default-seed-spec.js +4 -4
- package/dist/seeds/default-seed-spec.js.map +1 -1
- package/dist/tests/catalox-descriptor-provision.test.js +7 -2
- package/dist/tests/catalox-descriptor-provision.test.js.map +1 -1
- package/docs/MEMORIX-CATALOX-CONTRACTS.md +5 -5
- package/package.json +2 -2
- package/catalox-seeds/inputs/entity-descriptors/topology-subnets.json +0 -127
- package/catalox-seeds/inputs/item-descriptors/topology-subnet-detail-item.json +0 -41
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
"item": true,
|
|
65
65
|
"valueType": "string"
|
|
66
66
|
},
|
|
67
|
-
"
|
|
68
|
-
"label": "Subnet
|
|
67
|
+
"subnetCidr": {
|
|
68
|
+
"label": "Subnet CIDR",
|
|
69
69
|
"source": {
|
|
70
70
|
"contentType": "snapshots",
|
|
71
|
-
"path": "data.
|
|
71
|
+
"path": "data.subnetCidr"
|
|
72
72
|
},
|
|
73
73
|
"humanReadable": true,
|
|
74
74
|
"sortable": true,
|
|
75
75
|
"filterable": true,
|
|
76
|
-
"list":
|
|
76
|
+
"list": false,
|
|
77
77
|
"item": true,
|
|
78
78
|
"valueType": "string"
|
|
79
79
|
},
|
|
@@ -288,21 +288,20 @@
|
|
|
288
288
|
},
|
|
289
289
|
"relations": {
|
|
290
290
|
"assetSubnet": {
|
|
291
|
-
"targetEntity": "
|
|
291
|
+
"targetEntity": "subnets",
|
|
292
292
|
"type": "manyToOne",
|
|
293
293
|
"source": {
|
|
294
294
|
"contentType": "snapshots",
|
|
295
|
-
"path": "data.
|
|
295
|
+
"path": "data.subnetCidr"
|
|
296
296
|
},
|
|
297
297
|
"target": {
|
|
298
298
|
"contentType": "snapshots",
|
|
299
|
-
"path": "data.
|
|
299
|
+
"path": "data.cidr"
|
|
300
300
|
},
|
|
301
301
|
"defaultMode": "record",
|
|
302
302
|
"targetFields": [
|
|
303
|
-
"subnetId",
|
|
304
|
-
"subnetIp",
|
|
305
303
|
"cidr",
|
|
304
|
+
"subnetIp",
|
|
306
305
|
"zone",
|
|
307
306
|
"vr"
|
|
308
307
|
]
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "subnets",
|
|
3
|
+
"entityName": "subnets",
|
|
4
|
+
"target": "entity",
|
|
5
|
+
"defaultListDescriptorId": "subnets-main-list",
|
|
6
|
+
"defaultItemDescriptorId": "subnet-detail-item",
|
|
7
|
+
"collectionPrefix": "subnets",
|
|
8
|
+
"identity": {
|
|
9
|
+
"allowedIdFields": [
|
|
10
|
+
"entityId",
|
|
11
|
+
"recordId",
|
|
12
|
+
"_id"
|
|
13
|
+
],
|
|
14
|
+
"requiredExactlyOne": false,
|
|
15
|
+
"defaultIdField": "entityId"
|
|
16
|
+
},
|
|
17
|
+
"defaults": {
|
|
18
|
+
"canonicalContentType": "snapshots",
|
|
19
|
+
"dataRoot": "data",
|
|
20
|
+
"effectiveDatePath": "capturedAt",
|
|
21
|
+
"fallbackEffectiveDatePaths": [
|
|
22
|
+
"modifiedAt",
|
|
23
|
+
"createdAt"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"contentTypes": {
|
|
27
|
+
"snapshots": {
|
|
28
|
+
"postfix": "snapshots",
|
|
29
|
+
"collection": "subnets-snapshots",
|
|
30
|
+
"isCanonical": true
|
|
31
|
+
},
|
|
32
|
+
"core": {
|
|
33
|
+
"postfix": "core",
|
|
34
|
+
"collection": "subnets-core",
|
|
35
|
+
"isCanonical": false
|
|
36
|
+
},
|
|
37
|
+
"inferences": {
|
|
38
|
+
"postfix": "inferences",
|
|
39
|
+
"collection": "subnets-inferences",
|
|
40
|
+
"isCanonical": false
|
|
41
|
+
},
|
|
42
|
+
"scoped": {
|
|
43
|
+
"postfix": "scoped",
|
|
44
|
+
"collection": "subnets-scoped",
|
|
45
|
+
"isCanonical": false
|
|
46
|
+
},
|
|
47
|
+
"legacy": {
|
|
48
|
+
"postfix": "legacy",
|
|
49
|
+
"collection": "subnets-legacy",
|
|
50
|
+
"isCanonical": false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"properties": {
|
|
54
|
+
"recordId": {
|
|
55
|
+
"label": "Record ID",
|
|
56
|
+
"source": {
|
|
57
|
+
"contentType": "snapshots",
|
|
58
|
+
"path": "recordId"
|
|
59
|
+
},
|
|
60
|
+
"humanReadable": true,
|
|
61
|
+
"sortable": true,
|
|
62
|
+
"filterable": true,
|
|
63
|
+
"list": true,
|
|
64
|
+
"item": true,
|
|
65
|
+
"valueType": "string"
|
|
66
|
+
},
|
|
67
|
+
"cidr": {
|
|
68
|
+
"label": "Subnet CIDR",
|
|
69
|
+
"source": {
|
|
70
|
+
"contentType": "snapshots",
|
|
71
|
+
"path": "data.cidr"
|
|
72
|
+
},
|
|
73
|
+
"humanReadable": true,
|
|
74
|
+
"sortable": true,
|
|
75
|
+
"filterable": true,
|
|
76
|
+
"list": true,
|
|
77
|
+
"item": true,
|
|
78
|
+
"valueType": "string"
|
|
79
|
+
},
|
|
80
|
+
"subnetIp": {
|
|
81
|
+
"label": "Subnet network address",
|
|
82
|
+
"source": {
|
|
83
|
+
"contentType": "snapshots",
|
|
84
|
+
"path": "data.subnetIp"
|
|
85
|
+
},
|
|
86
|
+
"humanReadable": true,
|
|
87
|
+
"sortable": true,
|
|
88
|
+
"filterable": true,
|
|
89
|
+
"list": true,
|
|
90
|
+
"item": true,
|
|
91
|
+
"valueType": "string"
|
|
92
|
+
},
|
|
93
|
+
"zone": {
|
|
94
|
+
"label": "Zone",
|
|
95
|
+
"source": {
|
|
96
|
+
"contentType": "snapshots",
|
|
97
|
+
"path": "data.zone"
|
|
98
|
+
},
|
|
99
|
+
"humanReadable": true,
|
|
100
|
+
"sortable": true,
|
|
101
|
+
"filterable": true,
|
|
102
|
+
"list": true,
|
|
103
|
+
"item": true,
|
|
104
|
+
"valueType": "string"
|
|
105
|
+
},
|
|
106
|
+
"zoneClass": {
|
|
107
|
+
"label": "Zone Class",
|
|
108
|
+
"source": {
|
|
109
|
+
"contentType": "snapshots",
|
|
110
|
+
"path": "data.zoneClass"
|
|
111
|
+
},
|
|
112
|
+
"humanReadable": true,
|
|
113
|
+
"sortable": true,
|
|
114
|
+
"filterable": true,
|
|
115
|
+
"list": false,
|
|
116
|
+
"item": true,
|
|
117
|
+
"valueType": "string"
|
|
118
|
+
},
|
|
119
|
+
"vr": {
|
|
120
|
+
"label": "VR",
|
|
121
|
+
"source": {
|
|
122
|
+
"contentType": "snapshots",
|
|
123
|
+
"path": "data.vr"
|
|
124
|
+
},
|
|
125
|
+
"humanReadable": true,
|
|
126
|
+
"sortable": true,
|
|
127
|
+
"filterable": true,
|
|
128
|
+
"list": true,
|
|
129
|
+
"item": true,
|
|
130
|
+
"valueType": "string"
|
|
131
|
+
},
|
|
132
|
+
"outsideExposureClass": {
|
|
133
|
+
"label": "Outside Exposure",
|
|
134
|
+
"source": {
|
|
135
|
+
"contentType": "snapshots",
|
|
136
|
+
"path": "data.outsideExposureClass"
|
|
137
|
+
},
|
|
138
|
+
"humanReadable": true,
|
|
139
|
+
"sortable": true,
|
|
140
|
+
"filterable": true,
|
|
141
|
+
"list": false,
|
|
142
|
+
"item": true,
|
|
143
|
+
"valueType": "string"
|
|
144
|
+
},
|
|
145
|
+
"internalReachabilityClass": {
|
|
146
|
+
"label": "Internal Reachability",
|
|
147
|
+
"source": {
|
|
148
|
+
"contentType": "snapshots",
|
|
149
|
+
"path": "data.internalReachabilityClass"
|
|
150
|
+
},
|
|
151
|
+
"humanReadable": true,
|
|
152
|
+
"sortable": true,
|
|
153
|
+
"filterable": true,
|
|
154
|
+
"list": false,
|
|
155
|
+
"item": true,
|
|
156
|
+
"valueType": "string"
|
|
157
|
+
},
|
|
158
|
+
"remoteAccessAdjacent": {
|
|
159
|
+
"label": "Remote Access Adjacent",
|
|
160
|
+
"source": {
|
|
161
|
+
"contentType": "snapshots",
|
|
162
|
+
"path": "data.remoteAccessAdjacent"
|
|
163
|
+
},
|
|
164
|
+
"humanReadable": true,
|
|
165
|
+
"sortable": false,
|
|
166
|
+
"filterable": true,
|
|
167
|
+
"list": false,
|
|
168
|
+
"item": true,
|
|
169
|
+
"valueType": "boolean"
|
|
170
|
+
},
|
|
171
|
+
"partnerLinkAdjacent": {
|
|
172
|
+
"label": "Partner Link Adjacent",
|
|
173
|
+
"source": {
|
|
174
|
+
"contentType": "snapshots",
|
|
175
|
+
"path": "data.partnerLinkAdjacent"
|
|
176
|
+
},
|
|
177
|
+
"humanReadable": true,
|
|
178
|
+
"sortable": false,
|
|
179
|
+
"filterable": true,
|
|
180
|
+
"list": false,
|
|
181
|
+
"item": true,
|
|
182
|
+
"valueType": "boolean"
|
|
183
|
+
},
|
|
184
|
+
"dmzAdjacent": {
|
|
185
|
+
"label": "DMZ Adjacent",
|
|
186
|
+
"source": {
|
|
187
|
+
"contentType": "snapshots",
|
|
188
|
+
"path": "data.dmzAdjacent"
|
|
189
|
+
},
|
|
190
|
+
"humanReadable": true,
|
|
191
|
+
"sortable": false,
|
|
192
|
+
"filterable": true,
|
|
193
|
+
"list": false,
|
|
194
|
+
"item": true,
|
|
195
|
+
"valueType": "boolean"
|
|
196
|
+
},
|
|
197
|
+
"reachableFromZones": {
|
|
198
|
+
"label": "Reachable From Zones",
|
|
199
|
+
"source": {
|
|
200
|
+
"contentType": "snapshots",
|
|
201
|
+
"path": "data.reachableFromZones"
|
|
202
|
+
},
|
|
203
|
+
"humanReadable": true,
|
|
204
|
+
"sortable": false,
|
|
205
|
+
"filterable": false,
|
|
206
|
+
"list": false,
|
|
207
|
+
"item": true,
|
|
208
|
+
"valueType": "array"
|
|
209
|
+
},
|
|
210
|
+
"zoneMappingConfidence": {
|
|
211
|
+
"label": "Zone Mapping Confidence",
|
|
212
|
+
"source": {
|
|
213
|
+
"contentType": "snapshots",
|
|
214
|
+
"path": "data.zoneMappingConfidence"
|
|
215
|
+
},
|
|
216
|
+
"humanReadable": true,
|
|
217
|
+
"sortable": true,
|
|
218
|
+
"filterable": true,
|
|
219
|
+
"list": false,
|
|
220
|
+
"item": true,
|
|
221
|
+
"valueType": "number"
|
|
222
|
+
},
|
|
223
|
+
"quarantineLegacy": {
|
|
224
|
+
"label": "Legacy (quarantined)",
|
|
225
|
+
"source": {
|
|
226
|
+
"contentType": "legacy",
|
|
227
|
+
"path": "_system.quarantine.legacy"
|
|
228
|
+
},
|
|
229
|
+
"humanReadable": true,
|
|
230
|
+
"sortable": true,
|
|
231
|
+
"filterable": true,
|
|
232
|
+
"list": true,
|
|
233
|
+
"item": true,
|
|
234
|
+
"valueType": "boolean"
|
|
235
|
+
},
|
|
236
|
+
"legacySubnetIp": {
|
|
237
|
+
"label": "Legacy Subnet IP",
|
|
238
|
+
"source": {
|
|
239
|
+
"contentType": "legacy",
|
|
240
|
+
"path": "data.subnetIp"
|
|
241
|
+
},
|
|
242
|
+
"humanReadable": true,
|
|
243
|
+
"sortable": true,
|
|
244
|
+
"filterable": true,
|
|
245
|
+
"list": true,
|
|
246
|
+
"item": true,
|
|
247
|
+
"valueType": "string"
|
|
248
|
+
},
|
|
249
|
+
"quarantineReason": {
|
|
250
|
+
"label": "Quarantine Reason",
|
|
251
|
+
"source": {
|
|
252
|
+
"contentType": "legacy",
|
|
253
|
+
"path": "_system.quarantine.reason"
|
|
254
|
+
},
|
|
255
|
+
"humanReadable": true,
|
|
256
|
+
"sortable": false,
|
|
257
|
+
"filterable": true,
|
|
258
|
+
"list": false,
|
|
259
|
+
"item": true,
|
|
260
|
+
"valueType": "string"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"relations": {}
|
|
264
|
+
}
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"title": "Summary",
|
|
27
27
|
"fields": [
|
|
28
28
|
"ipAddress",
|
|
29
|
-
"subnetId",
|
|
30
29
|
"subnetIp",
|
|
30
|
+
"subnetCidr",
|
|
31
31
|
"hostName",
|
|
32
32
|
"source",
|
|
33
33
|
"agentType",
|
|
@@ -71,9 +71,8 @@
|
|
|
71
71
|
"mode": "record",
|
|
72
72
|
"limit": 1,
|
|
73
73
|
"fields": [
|
|
74
|
-
"subnetId",
|
|
75
|
-
"subnetIp",
|
|
76
74
|
"cidr",
|
|
75
|
+
"subnetIp",
|
|
77
76
|
"zone",
|
|
78
77
|
"vr"
|
|
79
78
|
]
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "subnet-detail-item",
|
|
3
|
+
"entity": "subnets",
|
|
4
|
+
"title": "Subnet Detail",
|
|
5
|
+
"identity": {
|
|
6
|
+
"idField": "recordId"
|
|
7
|
+
},
|
|
8
|
+
"contentTypes": [
|
|
9
|
+
{
|
|
10
|
+
"contentType": "snapshots",
|
|
11
|
+
"required": false,
|
|
12
|
+
"multiMatch": {
|
|
13
|
+
"strategy": "last",
|
|
14
|
+
"effectiveDatePath": "capturedAt",
|
|
15
|
+
"fallbackEffectiveDatePaths": [
|
|
16
|
+
"modifiedAt",
|
|
17
|
+
"createdAt"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"contentType": "legacy",
|
|
23
|
+
"required": false,
|
|
24
|
+
"multiMatch": {
|
|
25
|
+
"strategy": "last",
|
|
26
|
+
"effectiveDatePath": "capturedAt",
|
|
27
|
+
"fallbackEffectiveDatePaths": [
|
|
28
|
+
"modifiedAt",
|
|
29
|
+
"createdAt"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"sections": [
|
|
35
|
+
{
|
|
36
|
+
"id": "summary",
|
|
37
|
+
"title": "Summary",
|
|
38
|
+
"fields": [
|
|
39
|
+
"cidr",
|
|
40
|
+
"subnetIp",
|
|
41
|
+
"zone",
|
|
42
|
+
"zoneClass",
|
|
43
|
+
"vr",
|
|
44
|
+
"recordId"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "reachability",
|
|
49
|
+
"title": "Reachability & Exposure",
|
|
50
|
+
"fields": [
|
|
51
|
+
"outsideExposureClass",
|
|
52
|
+
"internalReachabilityClass",
|
|
53
|
+
"remoteAccessAdjacent",
|
|
54
|
+
"partnerLinkAdjacent",
|
|
55
|
+
"dmzAdjacent",
|
|
56
|
+
"reachableFromZones",
|
|
57
|
+
"zoneMappingConfidence"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "legacy",
|
|
62
|
+
"title": "Legacy (quarantined)",
|
|
63
|
+
"fields": [
|
|
64
|
+
"quarantineLegacy",
|
|
65
|
+
"legacySubnetIp",
|
|
66
|
+
"quarantineReason"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"includeRelations": [],
|
|
71
|
+
"content": {
|
|
72
|
+
"allowed": false
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"filters": [],
|
|
12
12
|
"fields": [
|
|
13
13
|
"ipAddress",
|
|
14
|
-
"subnetId",
|
|
15
14
|
"subnetIp",
|
|
15
|
+
"subnetCidr",
|
|
16
16
|
"hostName",
|
|
17
17
|
"source",
|
|
18
18
|
"agentType",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"includeRelations": [],
|
|
29
29
|
"allowedSorts": [
|
|
30
30
|
"ipAddress",
|
|
31
|
-
"subnetId",
|
|
32
31
|
"subnetIp",
|
|
32
|
+
"subnetCidr",
|
|
33
33
|
"hostName",
|
|
34
34
|
"source",
|
|
35
35
|
"agentType",
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "
|
|
3
|
-
"entity": "
|
|
4
|
-
"title": "
|
|
2
|
+
"id": "subnets-main-list",
|
|
3
|
+
"entity": "subnets",
|
|
4
|
+
"title": "Subnets",
|
|
5
5
|
"leadingContentType": "snapshots",
|
|
6
6
|
"fields": [
|
|
7
|
-
"subnetId",
|
|
8
|
-
"subnetIp",
|
|
9
7
|
"cidr",
|
|
8
|
+
"subnetIp",
|
|
10
9
|
"zone",
|
|
11
10
|
"vr",
|
|
12
11
|
"recordId"
|
|
13
12
|
],
|
|
14
13
|
"defaultSort": {
|
|
15
|
-
"property": "
|
|
14
|
+
"property": "cidr",
|
|
16
15
|
"direction": "asc"
|
|
17
16
|
},
|
|
18
17
|
"pagination": {
|