@x12i/memorix-retrieval 1.26.0 → 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.
@@ -64,16 +64,16 @@
64
64
  "item": true,
65
65
  "valueType": "string"
66
66
  },
67
- "subnetId": {
68
- "label": "Subnet ID",
67
+ "subnetCidr": {
68
+ "label": "Subnet CIDR",
69
69
  "source": {
70
70
  "contentType": "snapshots",
71
- "path": "data.subnetId"
71
+ "path": "data.subnetCidr"
72
72
  },
73
73
  "humanReadable": true,
74
74
  "sortable": true,
75
75
  "filterable": true,
76
- "list": true,
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": "topology-subnets",
291
+ "targetEntity": "subnets",
292
292
  "type": "manyToOne",
293
293
  "source": {
294
294
  "contentType": "snapshots",
295
- "path": "data.subnetId"
295
+ "path": "data.subnetCidr"
296
296
  },
297
297
  "target": {
298
298
  "contentType": "snapshots",
299
- "path": "data.subnetId"
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": "topology-subnets-main-list",
3
- "entity": "topology-subnets",
4
- "title": "Topology Subnets",
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": "subnetId",
14
+ "property": "cidr",
16
15
  "direction": "asc"
17
16
  },
18
17
  "pagination": {
@@ -2,7 +2,7 @@
2
2
  "presetVersion": 1,
3
3
  "id": "memorix-retrieval-descriptors",
4
4
  "name": "Memorix retrieval descriptors",
5
- "description": "Entity, list, and item descriptors for @x12i/memorix-retrieval (from catalox-seeds/inputs/). assets and topology-subnets target memorix-entities; vulnerabilities target memorix-events. All items share scope.domains/network+vulnerabilities and scope.agents/neo.",
5
+ "description": "Entity, list, and item descriptors for @x12i/memorix-retrieval (from catalox-seeds/inputs/). assets and subnets target memorix-entities; vulnerabilities target memorix-events. All items share scope.domains/network+vulnerabilities and scope.agents/neo.",
6
6
  "catalogs": [
7
7
  {
8
8
  "catalogId": "memorix-object-type-descriptors",
@@ -311,16 +311,16 @@
311
311
  "item": true,
312
312
  "valueType": "string"
313
313
  },
314
- "subnetId": {
315
- "label": "Subnet ID",
314
+ "subnetCidr": {
315
+ "label": "Subnet CIDR",
316
316
  "source": {
317
317
  "contentType": "snapshots",
318
- "path": "data.subnetId"
318
+ "path": "data.subnetCidr"
319
319
  },
320
320
  "humanReadable": true,
321
321
  "sortable": true,
322
322
  "filterable": true,
323
- "list": true,
323
+ "list": false,
324
324
  "item": true,
325
325
  "valueType": "string"
326
326
  },
@@ -538,21 +538,20 @@
538
538
  "type": "manyToOne",
539
539
  "source": {
540
540
  "contentType": "snapshots",
541
- "path": "data.subnetId"
541
+ "path": "data.subnetCidr"
542
542
  },
543
543
  "target": {
544
544
  "contentType": "snapshots",
545
- "path": "data.subnetId"
545
+ "path": "data.cidr"
546
546
  },
547
547
  "defaultMode": "record",
548
548
  "targetFields": [
549
- "subnetId",
550
- "subnetIp",
551
549
  "cidr",
550
+ "subnetIp",
552
551
  "zone",
553
552
  "vr"
554
553
  ],
555
- "targetObjectType": "topology-subnets"
554
+ "targetObjectType": "subnets"
556
555
  },
557
556
  "assetVulnerabilities": {
558
557
  "type": "oneToMany",
@@ -593,11 +592,11 @@
593
592
  ]
594
593
  },
595
594
  "data": {
596
- "id": "topology-subnets",
595
+ "id": "subnets",
597
596
  "target": "entity",
598
- "defaultListDescriptorId": "topology-subnets-main-list",
599
- "defaultItemDescriptorId": "topology-subnet-detail-item",
600
- "collectionPrefix": "topology-subnets",
597
+ "defaultListDescriptorId": "subnets-main-list",
598
+ "defaultItemDescriptorId": "subnet-detail-item",
599
+ "collectionPrefix": "subnets",
601
600
  "identity": {
602
601
  "allowedIdFields": [
603
602
  "entityId",
@@ -619,8 +618,28 @@
619
618
  "contentTypes": {
620
619
  "snapshots": {
621
620
  "postfix": "snapshots",
622
- "collection": "topology-subnets-snapshots",
621
+ "collection": "subnets-snapshots",
623
622
  "isCanonical": true
623
+ },
624
+ "core": {
625
+ "postfix": "core",
626
+ "collection": "subnets-core",
627
+ "isCanonical": false
628
+ },
629
+ "inferences": {
630
+ "postfix": "inferences",
631
+ "collection": "subnets-inferences",
632
+ "isCanonical": false
633
+ },
634
+ "scoped": {
635
+ "postfix": "scoped",
636
+ "collection": "subnets-scoped",
637
+ "isCanonical": false
638
+ },
639
+ "legacy": {
640
+ "postfix": "legacy",
641
+ "collection": "subnets-legacy",
642
+ "isCanonical": false
624
643
  }
625
644
  },
626
645
  "properties": {
@@ -637,8 +656,21 @@
637
656
  "item": true,
638
657
  "valueType": "string"
639
658
  },
659
+ "cidr": {
660
+ "label": "Subnet CIDR",
661
+ "source": {
662
+ "contentType": "snapshots",
663
+ "path": "data.cidr"
664
+ },
665
+ "humanReadable": true,
666
+ "sortable": true,
667
+ "filterable": true,
668
+ "list": true,
669
+ "item": true,
670
+ "valueType": "string"
671
+ },
640
672
  "subnetIp": {
641
- "label": "Subnet",
673
+ "label": "Subnet network address",
642
674
  "source": {
643
675
  "contentType": "snapshots",
644
676
  "path": "data.subnetIp"
@@ -650,11 +682,11 @@
650
682
  "item": true,
651
683
  "valueType": "string"
652
684
  },
653
- "subnetId": {
654
- "label": "Subnet ID",
685
+ "zone": {
686
+ "label": "Zone",
655
687
  "source": {
656
688
  "contentType": "snapshots",
657
- "path": "data.subnetId"
689
+ "path": "data.zone"
658
690
  },
659
691
  "humanReadable": true,
660
692
  "sortable": true,
@@ -663,24 +695,24 @@
663
695
  "item": true,
664
696
  "valueType": "string"
665
697
  },
666
- "cidr": {
667
- "label": "Subnet CIDR",
698
+ "zoneClass": {
699
+ "label": "Zone Class",
668
700
  "source": {
669
701
  "contentType": "snapshots",
670
- "path": "data.cidr"
702
+ "path": "data.zoneClass"
671
703
  },
672
704
  "humanReadable": true,
673
705
  "sortable": true,
674
706
  "filterable": true,
675
- "list": true,
707
+ "list": false,
676
708
  "item": true,
677
709
  "valueType": "string"
678
710
  },
679
- "zone": {
680
- "label": "Zone",
711
+ "vr": {
712
+ "label": "VR",
681
713
  "source": {
682
714
  "contentType": "snapshots",
683
- "path": "data.zone"
715
+ "path": "data.vr"
684
716
  },
685
717
  "humanReadable": true,
686
718
  "sortable": true,
@@ -689,11 +721,11 @@
689
721
  "item": true,
690
722
  "valueType": "string"
691
723
  },
692
- "zoneClass": {
693
- "label": "Zone Class",
724
+ "outsideExposureClass": {
725
+ "label": "Outside Exposure",
694
726
  "source": {
695
727
  "contentType": "snapshots",
696
- "path": "data.zoneClass"
728
+ "path": "data.outsideExposureClass"
697
729
  },
698
730
  "humanReadable": true,
699
731
  "sortable": true,
@@ -702,23 +734,127 @@
702
734
  "item": true,
703
735
  "valueType": "string"
704
736
  },
705
- "vr": {
706
- "label": "VR",
737
+ "internalReachabilityClass": {
738
+ "label": "Internal Reachability",
707
739
  "source": {
708
740
  "contentType": "snapshots",
709
- "path": "data.vr"
741
+ "path": "data.internalReachabilityClass"
742
+ },
743
+ "humanReadable": true,
744
+ "sortable": true,
745
+ "filterable": true,
746
+ "list": false,
747
+ "item": true,
748
+ "valueType": "string"
749
+ },
750
+ "remoteAccessAdjacent": {
751
+ "label": "Remote Access Adjacent",
752
+ "source": {
753
+ "contentType": "snapshots",
754
+ "path": "data.remoteAccessAdjacent"
755
+ },
756
+ "humanReadable": true,
757
+ "sortable": false,
758
+ "filterable": true,
759
+ "list": false,
760
+ "item": true,
761
+ "valueType": "boolean"
762
+ },
763
+ "partnerLinkAdjacent": {
764
+ "label": "Partner Link Adjacent",
765
+ "source": {
766
+ "contentType": "snapshots",
767
+ "path": "data.partnerLinkAdjacent"
768
+ },
769
+ "humanReadable": true,
770
+ "sortable": false,
771
+ "filterable": true,
772
+ "list": false,
773
+ "item": true,
774
+ "valueType": "boolean"
775
+ },
776
+ "dmzAdjacent": {
777
+ "label": "DMZ Adjacent",
778
+ "source": {
779
+ "contentType": "snapshots",
780
+ "path": "data.dmzAdjacent"
781
+ },
782
+ "humanReadable": true,
783
+ "sortable": false,
784
+ "filterable": true,
785
+ "list": false,
786
+ "item": true,
787
+ "valueType": "boolean"
788
+ },
789
+ "reachableFromZones": {
790
+ "label": "Reachable From Zones",
791
+ "source": {
792
+ "contentType": "snapshots",
793
+ "path": "data.reachableFromZones"
794
+ },
795
+ "humanReadable": true,
796
+ "sortable": false,
797
+ "filterable": false,
798
+ "list": false,
799
+ "item": true,
800
+ "valueType": "array"
801
+ },
802
+ "zoneMappingConfidence": {
803
+ "label": "Zone Mapping Confidence",
804
+ "source": {
805
+ "contentType": "snapshots",
806
+ "path": "data.zoneMappingConfidence"
807
+ },
808
+ "humanReadable": true,
809
+ "sortable": true,
810
+ "filterable": true,
811
+ "list": false,
812
+ "item": true,
813
+ "valueType": "number"
814
+ },
815
+ "quarantineLegacy": {
816
+ "label": "Legacy (quarantined)",
817
+ "source": {
818
+ "contentType": "legacy",
819
+ "path": "_system.quarantine.legacy"
710
820
  },
711
821
  "humanReadable": true,
712
822
  "sortable": true,
713
823
  "filterable": true,
714
824
  "list": true,
715
825
  "item": true,
826
+ "valueType": "boolean"
827
+ },
828
+ "legacySubnetIp": {
829
+ "label": "Legacy Subnet IP",
830
+ "source": {
831
+ "contentType": "legacy",
832
+ "path": "data.subnetIp"
833
+ },
834
+ "humanReadable": true,
835
+ "sortable": true,
836
+ "filterable": true,
837
+ "list": true,
838
+ "item": true,
839
+ "valueType": "string"
840
+ },
841
+ "quarantineReason": {
842
+ "label": "Quarantine Reason",
843
+ "source": {
844
+ "contentType": "legacy",
845
+ "path": "_system.quarantine.reason"
846
+ },
847
+ "humanReadable": true,
848
+ "sortable": false,
849
+ "filterable": true,
850
+ "list": false,
851
+ "item": true,
716
852
  "valueType": "string"
717
853
  }
718
854
  },
719
855
  "relations": {},
720
856
  "schemaVersion": "memorix.objectTypeDescriptor.v2",
721
- "objectType": "topology-subnets"
857
+ "objectType": "subnets"
722
858
  }
723
859
  },
724
860
  {
@@ -1354,8 +1490,8 @@
1354
1490
  "filters": [],
1355
1491
  "fields": [
1356
1492
  "ipAddress",
1357
- "subnetId",
1358
1493
  "subnetIp",
1494
+ "subnetCidr",
1359
1495
  "hostName",
1360
1496
  "source",
1361
1497
  "agentType",
@@ -1371,8 +1507,8 @@
1371
1507
  "includeRelations": [],
1372
1508
  "allowedSorts": [
1373
1509
  "ipAddress",
1374
- "subnetId",
1375
1510
  "subnetIp",
1511
+ "subnetCidr",
1376
1512
  "hostName",
1377
1513
  "source",
1378
1514
  "agentType",
@@ -1404,20 +1540,19 @@
1404
1540
  ]
1405
1541
  },
1406
1542
  "data": {
1407
- "id": "topology-subnets-main-list",
1408
- "entity": "topology-subnets",
1409
- "title": "Topology Subnets",
1543
+ "id": "subnets-main-list",
1544
+ "entity": "subnets",
1545
+ "title": "Subnets",
1410
1546
  "leadingContentType": "snapshots",
1411
1547
  "fields": [
1412
- "subnetId",
1413
- "subnetIp",
1414
1548
  "cidr",
1549
+ "subnetIp",
1415
1550
  "zone",
1416
1551
  "vr",
1417
1552
  "recordId"
1418
1553
  ],
1419
1554
  "defaultSort": {
1420
- "property": "subnetId",
1555
+ "property": "cidr",
1421
1556
  "direction": "asc"
1422
1557
  },
1423
1558
  "pagination": {
@@ -1734,8 +1869,8 @@
1734
1869
  "title": "Summary",
1735
1870
  "fields": [
1736
1871
  "ipAddress",
1737
- "subnetId",
1738
1872
  "subnetIp",
1873
+ "subnetCidr",
1739
1874
  "hostName",
1740
1875
  "source",
1741
1876
  "agentType",
@@ -1779,9 +1914,8 @@
1779
1914
  "mode": "record",
1780
1915
  "limit": 1,
1781
1916
  "fields": [
1782
- "subnetId",
1783
- "subnetIp",
1784
1917
  "cidr",
1918
+ "subnetIp",
1785
1919
  "zone",
1786
1920
  "vr"
1787
1921
  ]
@@ -1818,22 +1952,34 @@
1818
1952
  ]
1819
1953
  },
1820
1954
  "data": {
1821
- "id": "topology-subnet-detail-item",
1822
- "entity": "topology-subnets",
1823
- "title": "Topology Subnet Detail",
1955
+ "id": "subnet-detail-item",
1956
+ "entity": "subnets",
1957
+ "title": "Subnet Detail",
1824
1958
  "identity": {
1825
1959
  "idField": "recordId"
1826
1960
  },
1827
1961
  "contentTypes": [
1828
1962
  {
1829
1963
  "contentType": "snapshots",
1830
- "required": true,
1964
+ "required": false,
1831
1965
  "multiMatch": {
1832
1966
  "strategy": "last",
1833
- "effectiveDatePath": "data.lastSeen",
1967
+ "effectiveDatePath": "capturedAt",
1834
1968
  "fallbackEffectiveDatePaths": [
1835
- "capturedAt",
1836
- "snapshot.capturedAt"
1969
+ "modifiedAt",
1970
+ "createdAt"
1971
+ ]
1972
+ }
1973
+ },
1974
+ {
1975
+ "contentType": "legacy",
1976
+ "required": false,
1977
+ "multiMatch": {
1978
+ "strategy": "last",
1979
+ "effectiveDatePath": "capturedAt",
1980
+ "fallbackEffectiveDatePaths": [
1981
+ "modifiedAt",
1982
+ "createdAt"
1837
1983
  ]
1838
1984
  }
1839
1985
  }
@@ -1843,14 +1989,35 @@
1843
1989
  "id": "summary",
1844
1990
  "title": "Summary",
1845
1991
  "fields": [
1846
- "subnetId",
1847
- "subnetIp",
1848
1992
  "cidr",
1993
+ "subnetIp",
1849
1994
  "zone",
1850
1995
  "zoneClass",
1851
1996
  "vr",
1852
1997
  "recordId"
1853
1998
  ]
1999
+ },
2000
+ {
2001
+ "id": "reachability",
2002
+ "title": "Reachability & Exposure",
2003
+ "fields": [
2004
+ "outsideExposureClass",
2005
+ "internalReachabilityClass",
2006
+ "remoteAccessAdjacent",
2007
+ "partnerLinkAdjacent",
2008
+ "dmzAdjacent",
2009
+ "reachableFromZones",
2010
+ "zoneMappingConfidence"
2011
+ ]
2012
+ },
2013
+ {
2014
+ "id": "legacy",
2015
+ "title": "Legacy (quarantined)",
2016
+ "fields": [
2017
+ "quarantineLegacy",
2018
+ "legacySubnetIp",
2019
+ "quarantineReason"
2020
+ ]
1854
2021
  }
1855
2022
  ],
1856
2023
  "includeRelations": [],
@@ -100,7 +100,7 @@ export async function buildMemorixRetrievalSeedManifest(options) {
100
100
  id: MEMORIX_RETRIEVAL_SEED_PRESET_ID,
101
101
  name: "Memorix retrieval descriptors",
102
102
  description: "Entity, list, and item descriptors for @x12i/memorix-retrieval (from catalox-seeds/inputs/). " +
103
- "assets and topology-subnets target memorix-entities; vulnerabilities target memorix-events. " +
103
+ "assets and subnets target memorix-entities; vulnerabilities target memorix-events. " +
104
104
  "All items share scope.domains/network+vulnerabilities and scope.agents/neo.",
105
105
  catalogs,
106
106
  descriptors,
@@ -1 +1 @@
1
- {"version":3,"file":"build-manifest.js","sourceRoot":"","sources":["../../src/seeds/build-manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,EAChC,6BAA6B,EAC7B,+BAA+B,EAC/B,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAC;AAaxF,SAAS,sBAAsB,CAAC,IAA4B;IAC1D,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAC7C,OAAO;QACL,SAAS;QACT,iBAAiB,EAAE,GAAG;QACtB,IAAI,EAAE,SAAkB;QACxB,UAAU,EAAE;YACV,SAAS;YACT,KAAK,EAAE,IAAI;YACX,UAAU,EAAE,QAAiB;YAC7B,MAAM,EAAE,QAAiB;YACzB,YAAY,EAAE;gBACZ,OAAO,EAAE,IAAI;gBACb,MAAM,EAAE,IAAI;gBACZ,SAAS,EAAE,IAAI;gBACf,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,IAAI;gBACjB,iBAAiB,EAAE,IAAI;aACxB;YACD,eAAe,EAAE,UAAU,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;gBACtD,GAAG,EAAE,CAAC,CAAC,GAAG;gBACV,KAAK,EAAE,CAAC,CAAC,KAAK;gBACd,IAAI,EAAE,QAAiB;gBACvB,OAAO,EAAE,IAAI;gBACb,UAAU,EAAE,IAAI;gBAChB,WAAW,EAAE,IAAI;gBACjB,aAAa,EAAE,IAAI;aACpB,CAAC,CAAC;YACH,QAAQ,EAAE;gBACR,cAAc,EAAE,SAAkB;gBAClC,WAAW,EAAE,UAAU,CAAC,WA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QACpC,IAAI,EAAE,+BAA+B;QACrC,WAAW,EACT,+FAA+F;YAC/F,qFAAqF;YACrF,6EAA6E;QAC/E,QAAQ;QACR,WAAW;QACX,QAAQ;QACR,KAAK;KACN,CAAC;AACJ,CAAC"}
@@ -7,7 +7,7 @@ export const MEMORIX_RETRIEVAL_DEFAULT_SCOPE = {
7
7
  /** Entity descriptor id → Memorix target database role (applied at seed build). */
8
8
  export const MEMORIX_RETRIEVAL_ENTITY_TARGETS = {
9
9
  assets: "entity",
10
- "topology-subnets": "entity",
10
+ subnets: "entity",
11
11
  vulnerabilities: "event",
12
12
  "knowledge-playbooks": "knowledge",
13
13
  "content-documents": "knowledge",
@@ -30,7 +30,7 @@ export const MEMORIX_RETRIEVAL_SEED_CATALOGS = [
30
30
  },
31
31
  inputFiles: [
32
32
  "entity-descriptors/assets.json",
33
- "entity-descriptors/topology-subnets.json",
33
+ "entity-descriptors/subnets.json",
34
34
  "entity-descriptors/vulnerabilities.json",
35
35
  "entity-descriptors/knowledge-playbooks.json",
36
36
  "entity-descriptors/content-documents.json",
@@ -53,7 +53,7 @@ export const MEMORIX_RETRIEVAL_SEED_CATALOGS = [
53
53
  },
54
54
  inputFiles: [
55
55
  "list-descriptors/assets-main-list.json",
56
- "list-descriptors/topology-subnets-main-list.json",
56
+ "list-descriptors/subnets-main-list.json",
57
57
  "list-descriptors/vulnerabilities-main-list.json",
58
58
  "list-descriptors/critical-vulnerabilities-list.json",
59
59
  "list-descriptors/critical-vulnerabilities-slice.json",
@@ -79,7 +79,7 @@ export const MEMORIX_RETRIEVAL_SEED_CATALOGS = [
79
79
  },
80
80
  inputFiles: [
81
81
  "item-descriptors/asset-detail-item.json",
82
- "item-descriptors/topology-subnet-detail-item.json",
82
+ "item-descriptors/subnet-detail-item.json",
83
83
  "item-descriptors/vulnerability-detail-item.json",
84
84
  "item-descriptors/knowledge-playbook-detail-item.json",
85
85
  "item-descriptors/content-document-detail-item.json",
@@ -1 +1 @@
1
- {"version":3,"file":"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,EAAE,KAAK,EAAE,QAAQ,EAAE;gBAClC,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;aACjC;SACF;QACD,UAAU,EAAE;YACV,yCAAyC;YACzC,0CAA0C;YAC1C,iDAAiD;YACjD,sDAAsD;YACtD,oDAAoD;SACrD;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,cAAc,CAAC;AAE5D,MAAM,UAAU,uCAAuC;IAIrD,OAAO,+BAA+B,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpD,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;YACpC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC;YAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QACtC,CAAC,CAAC;KACH,CAAC,CAAC,CAAC;AACN,CAAC"}
@@ -135,7 +135,7 @@ Types below mirror `MemorixEntityDescriptor`, `MemorixListDescriptor`, and `Memo
135
135
  | Field | Type | Rules |
136
136
  |-------|------|-------|
137
137
  | `id` | string | Stable catalog item id; usually equals `entityName` |
138
- | `entityName` | string | Kebab-case domain id (`assets`, `topology-subnets`, `vulnerabilities`) |
138
+ | `entityName` | string | Kebab-case domain id (`assets`, `subnets`, `vulnerabilities`) |
139
139
  | `defaultListDescriptorId` | string | **Option A** — id in `memorix-list-descriptors` |
140
140
  | `defaultItemDescriptorId` | string | **Option A** — id in `memorix-item-descriptors` |
141
141
  | `collectionPrefix` | string | Used with content-type `postfix` when `collection` is omitted |
@@ -427,7 +427,7 @@ Documents in Memorix target databases follow [MEMORIX-DATABASE-CONVENTIONS](./ME
427
427
  | Entity (`entityName`) | `target` | Typical collection(s) |
428
428
  |-----------------------|----------|------------------------|
429
429
  | `assets` | `entity` | `assets-snapshots` in `memorix-entities` |
430
- | `topology-subnets` | `entity` | `topology-subnets-snapshots` in `memorix-entities` |
430
+ | `subnets` | `entity` | `subnets-snapshots` (canonical, CIDR) plus `subnets-core`/`subnets-inferences`/`subnets-scoped`/`subnets-legacy` in `memorix-entities` |
431
431
  | `vulnerabilities` | `event` | `vulnerabilities-snapshots` in `memorix-events` |
432
432
 
433
433
  Ingestion and completion must populate paths referenced in entity descriptors. If a property path is missing, retrieval returns null/omits the field and may emit **`EXTENSION_MISSING`** issues for required content types.
@@ -593,11 +593,11 @@ These break cross-component sync and must not appear in new code:
593
593
 
594
594
  From `catalox-seeds/inputs/manifest.json`:
595
595
 
596
- **Entities:** `assets`, `topology-subnets`, `vulnerabilities`
596
+ **Entities:** `assets`, `subnets`, `vulnerabilities`
597
597
 
598
- **Lists:** `assets-main-list`, `topology-subnets-main-list`, `vulnerabilities-main-list`, `critical-vulnerabilities-list`, `memorix-workspace-records-list` (workspace)
598
+ **Lists:** `assets-main-list`, `subnets-main-list`, `vulnerabilities-main-list`, `critical-vulnerabilities-list`, `memorix-workspace-records-list` (workspace)
599
599
 
600
- **Items:** `asset-detail-item`, `topology-subnet-detail-item`, `vulnerability-detail-item`
600
+ **Items:** `asset-detail-item`, `subnet-detail-item`, `vulnerability-detail-item`
601
601
 
602
602
  **Scope (all seeded items):** `domains: [network, vulnerabilities]`, `agents: [neo]`
603
603
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x12i/memorix-retrieval",
3
- "version": "1.26.0",
3
+ "version": "1.27.0",
4
4
  "description": "Read-side runtime data tier for Memorix: inventory, lists, items, slices, graph, and health",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "@x12i/helpers": "^2.1.0",
39
39
  "@x12i/logxer": "^5.1.0",
40
40
  "@x12i/memorix-agents": "^1.2.1",
41
- "@x12i/memorix-descriptors": "^1.20.0",
41
+ "@x12i/memorix-descriptors": "^1.21.0",
42
42
  "@x12i/xronox": "^3.9.0"
43
43
  },
44
44
  "devDependencies": {
@@ -1,127 +0,0 @@
1
- {
2
- "id": "topology-subnets",
3
- "entityName": "topology-subnets",
4
- "target": "entity",
5
- "defaultListDescriptorId": "topology-subnets-main-list",
6
- "defaultItemDescriptorId": "topology-subnet-detail-item",
7
- "collectionPrefix": "topology-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": "topology-subnets-snapshots",
30
- "isCanonical": true
31
- }
32
- },
33
- "properties": {
34
- "recordId": {
35
- "label": "Record ID",
36
- "source": {
37
- "contentType": "snapshots",
38
- "path": "recordId"
39
- },
40
- "humanReadable": true,
41
- "sortable": true,
42
- "filterable": true,
43
- "list": true,
44
- "item": true,
45
- "valueType": "string"
46
- },
47
- "subnetIp": {
48
- "label": "Subnet",
49
- "source": {
50
- "contentType": "snapshots",
51
- "path": "data.subnetIp"
52
- },
53
- "humanReadable": true,
54
- "sortable": true,
55
- "filterable": true,
56
- "list": true,
57
- "item": true,
58
- "valueType": "string"
59
- },
60
- "subnetId": {
61
- "label": "Subnet ID",
62
- "source": {
63
- "contentType": "snapshots",
64
- "path": "data.subnetId"
65
- },
66
- "humanReadable": true,
67
- "sortable": true,
68
- "filterable": true,
69
- "list": true,
70
- "item": true,
71
- "valueType": "string"
72
- },
73
- "cidr": {
74
- "label": "Subnet CIDR",
75
- "source": {
76
- "contentType": "snapshots",
77
- "path": "data.cidr"
78
- },
79
- "humanReadable": true,
80
- "sortable": true,
81
- "filterable": true,
82
- "list": true,
83
- "item": true,
84
- "valueType": "string"
85
- },
86
- "zone": {
87
- "label": "Zone",
88
- "source": {
89
- "contentType": "snapshots",
90
- "path": "data.zone"
91
- },
92
- "humanReadable": true,
93
- "sortable": true,
94
- "filterable": true,
95
- "list": true,
96
- "item": true,
97
- "valueType": "string"
98
- },
99
- "zoneClass": {
100
- "label": "Zone Class",
101
- "source": {
102
- "contentType": "snapshots",
103
- "path": "data.zoneClass"
104
- },
105
- "humanReadable": true,
106
- "sortable": true,
107
- "filterable": true,
108
- "list": false,
109
- "item": true,
110
- "valueType": "string"
111
- },
112
- "vr": {
113
- "label": "VR",
114
- "source": {
115
- "contentType": "snapshots",
116
- "path": "data.vr"
117
- },
118
- "humanReadable": true,
119
- "sortable": true,
120
- "filterable": true,
121
- "list": true,
122
- "item": true,
123
- "valueType": "string"
124
- }
125
- },
126
- "relations": {}
127
- }
@@ -1,41 +0,0 @@
1
- {
2
- "id": "topology-subnet-detail-item",
3
- "entity": "topology-subnets",
4
- "title": "Topology Subnet Detail",
5
- "identity": {
6
- "idField": "recordId"
7
- },
8
- "contentTypes": [
9
- {
10
- "contentType": "snapshots",
11
- "required": true,
12
- "multiMatch": {
13
- "strategy": "last",
14
- "effectiveDatePath": "data.lastSeen",
15
- "fallbackEffectiveDatePaths": [
16
- "capturedAt",
17
- "snapshot.capturedAt"
18
- ]
19
- }
20
- }
21
- ],
22
- "sections": [
23
- {
24
- "id": "summary",
25
- "title": "Summary",
26
- "fields": [
27
- "subnetId",
28
- "subnetIp",
29
- "cidr",
30
- "zone",
31
- "zoneClass",
32
- "vr",
33
- "recordId"
34
- ]
35
- }
36
- ],
37
- "includeRelations": [],
38
- "content": {
39
- "allowed": false
40
- }
41
- }