@x12i/memorix-retrieval 1.20.0 → 1.22.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.
Files changed (78) hide show
  1. package/README.md +56 -0
  2. package/catalox-seeds/inputs/entity-descriptors/vulnerabilities.json +0 -21
  3. package/catalox-seeds/inputs/manifest.json +8 -15
  4. package/catalox-seeds/memorix-retrieval-descriptors.manifest.json +1 -492
  5. package/dist/client/types.d.ts +6 -1
  6. package/dist/client/types.d.ts.map +1 -1
  7. package/dist/data/record-display-name.d.ts +4 -0
  8. package/dist/data/record-display-name.d.ts.map +1 -0
  9. package/dist/data/record-display-name.js +44 -0
  10. package/dist/data/record-display-name.js.map +1 -0
  11. package/dist/data/record-display-name.test.d.ts +2 -0
  12. package/dist/data/record-display-name.test.d.ts.map +1 -0
  13. package/dist/data/record-display-name.test.js +49 -0
  14. package/dist/data/record-display-name.test.js.map +1 -0
  15. package/dist/data/record-id.d.ts.map +1 -1
  16. package/dist/data/record-id.js +1 -1
  17. package/dist/data/record-id.js.map +1 -1
  18. package/dist/data/record-info.d.ts +30 -0
  19. package/dist/data/record-info.d.ts.map +1 -0
  20. package/dist/data/record-info.js +80 -0
  21. package/dist/data/record-info.js.map +1 -0
  22. package/dist/data/record-info.test.d.ts +2 -0
  23. package/dist/data/record-info.test.d.ts.map +1 -0
  24. package/dist/data/record-info.test.js +61 -0
  25. package/dist/data/record-info.test.js.map +1 -0
  26. package/dist/explorer/raw-collection-records.d.ts +2 -0
  27. package/dist/explorer/raw-collection-records.d.ts.map +1 -1
  28. package/dist/explorer/raw-collection-records.js +19 -14
  29. package/dist/explorer/raw-collection-records.js.map +1 -1
  30. package/dist/explorer/raw-reads.d.ts +2 -2
  31. package/dist/explorer/raw-reads.d.ts.map +1 -1
  32. package/dist/explorer/raw-reads.js +15 -2
  33. package/dist/explorer/raw-reads.js.map +1 -1
  34. package/dist/index.d.ts +2 -0
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +2 -0
  37. package/dist/index.js.map +1 -1
  38. package/dist/retrieval/compose-row.d.ts.map +1 -1
  39. package/dist/retrieval/compose-row.js +10 -0
  40. package/dist/retrieval/compose-row.js.map +1 -1
  41. package/dist/retrieval/fetch-item.d.ts.map +1 -1
  42. package/dist/retrieval/fetch-item.js +11 -0
  43. package/dist/retrieval/fetch-item.js.map +1 -1
  44. package/dist/retrieval/fetch-narratives.d.ts.map +1 -1
  45. package/dist/retrieval/fetch-narratives.js +2 -9
  46. package/dist/retrieval/fetch-narratives.js.map +1 -1
  47. package/dist/retrieval/fetch-record-info.d.ts +33 -0
  48. package/dist/retrieval/fetch-record-info.d.ts.map +1 -0
  49. package/dist/retrieval/fetch-record-info.js +39 -0
  50. package/dist/retrieval/fetch-record-info.js.map +1 -0
  51. package/dist/seeds/build-manifest.js +1 -1
  52. package/dist/seeds/build-manifest.js.map +1 -1
  53. package/dist/seeds/default-seed-spec.d.ts.map +1 -1
  54. package/dist/seeds/default-seed-spec.js +0 -4
  55. package/dist/seeds/default-seed-spec.js.map +1 -1
  56. package/dist/tests/fetch-item.test.js +39 -0
  57. package/dist/tests/fetch-item.test.js.map +1 -1
  58. package/dist/tests/fetch-list.test.js +81 -0
  59. package/dist/tests/fetch-list.test.js.map +1 -1
  60. package/dist/tests/fetch-narratives.test.js +1 -1
  61. package/dist/tests/fetch-narratives.test.js.map +1 -1
  62. package/dist/tests/fetch-record-info.test.d.ts +2 -0
  63. package/dist/tests/fetch-record-info.test.d.ts.map +1 -0
  64. package/dist/tests/fetch-record-info.test.js +67 -0
  65. package/dist/tests/fetch-record-info.test.js.map +1 -0
  66. package/docs/MEMORIX-CATALOX-CONTRACTS.md +5 -5
  67. package/docs/MEMORIX-DATABASE-CONVENTIONS.md +0 -3
  68. package/package.json +1 -1
  69. package/catalox-seeds/inputs/entity-descriptors/variabilities-groups.json +0 -303
  70. package/catalox-seeds/inputs/item-descriptors/variabilities-group-detail-item.json +0 -87
  71. package/catalox-seeds/inputs/list-descriptors/variabilities-groups-main-list.json +0 -43
  72. package/catalox-seeds/inputs/memorix-descriptors.bundle.json +0 -1500
  73. package/catalox-seeds/inputs/memorix-item-descriptors.catalog.json +0 -283
  74. package/catalox-seeds/inputs/memorix-item-descriptors.items.json +0 -280
  75. package/catalox-seeds/inputs/memorix-list-descriptors.catalog.json +0 -207
  76. package/catalox-seeds/inputs/memorix-list-descriptors.items.json +0 -234
  77. package/catalox-seeds/inputs/memorix-object-type-descriptors.catalog.json +0 -1005
  78. package/catalox-seeds/inputs/memorix-object-type-descriptors.items.json +0 -1002
@@ -1,283 +0,0 @@
1
- {
2
- "catalogId": "memorix-item-descriptors",
3
- "items": [
4
- {
5
- "id": "asset-detail-item",
6
- "entity": "assets",
7
- "title": "Asset Detail",
8
- "identity": {
9
- "idField": "identity.recordId"
10
- },
11
- "contentTypes": [
12
- {
13
- "contentType": "snapshots",
14
- "required": true,
15
- "multiMatch": {
16
- "strategy": "last",
17
- "effectiveDatePath": "lifecycle.capturedAt",
18
- "fallbackEffectiveDatePaths": [
19
- "capturedAt",
20
- "snapshot.capturedAt",
21
- "data.lastSeen"
22
- ]
23
- }
24
- }
25
- ],
26
- "sections": [
27
- {
28
- "id": "summary",
29
- "title": "Summary",
30
- "fields": [
31
- "ipAddress",
32
- "hostName",
33
- "source",
34
- "agentType",
35
- "xdrOperationalStatus",
36
- "xdrAgentStatus",
37
- "lastSeen",
38
- "pathsCount"
39
- ]
40
- },
41
- {
42
- "id": "vulnerabilitySummary",
43
- "title": "Vulnerability Summary",
44
- "fields": [
45
- "hasVulnerabilities",
46
- "criticalVulnerabilities",
47
- "highVulnerabilities",
48
- "mediumVulnerabilities",
49
- "lowVulnerabilities"
50
- ]
51
- },
52
- {
53
- "id": "impact",
54
- "title": "Potential Impact",
55
- "fields": [
56
- "potentialImpactLevel",
57
- "potentialImpactConfidence",
58
- "potentialImpactStory"
59
- ]
60
- },
61
- {
62
- "id": "xdr",
63
- "title": "XDR",
64
- "fields": [
65
- "rawXdr"
66
- ]
67
- }
68
- ],
69
- "includeRelations": [
70
- {
71
- "relation": "assetVulnerabilities",
72
- "mode": "array",
73
- "arrayProperty": "vulnerabilities",
74
- "limit": 100,
75
- "fields": [
76
- "vulnerabilityId",
77
- "pluginName",
78
- "severity",
79
- "riskLevel",
80
- "priorityScore",
81
- "cveId"
82
- ]
83
- }
84
- ],
85
- "content": {
86
- "allowed": false
87
- }
88
- },
89
- {
90
- "id": "vulnerability-detail-item",
91
- "entity": "vulnerabilities",
92
- "title": "Vulnerability Detail",
93
- "identity": {
94
- "idField": "identity.recordId"
95
- },
96
- "contentTypes": [
97
- {
98
- "contentType": "snapshots",
99
- "required": true,
100
- "multiMatch": {
101
- "strategy": "last",
102
- "effectiveDatePath": "lifecycle.capturedAt",
103
- "fallbackEffectiveDatePaths": [
104
- "capturedAt",
105
- "snapshot.capturedAt",
106
- "data.enrichment.enrichedAt"
107
- ]
108
- }
109
- }
110
- ],
111
- "sections": [
112
- {
113
- "id": "summary",
114
- "title": "Summary",
115
- "fields": [
116
- "vulnerabilityId",
117
- "pluginName",
118
- "pluginFamily",
119
- "severity",
120
- "cveId"
121
- ]
122
- },
123
- {
124
- "id": "asset",
125
- "title": "Affected Asset",
126
- "fields": [
127
- "assetIp",
128
- "assetType",
129
- "assetZone",
130
- "assetHostname",
131
- "assetMatched"
132
- ]
133
- },
134
- {
135
- "id": "risk",
136
- "title": "Risk",
137
- "fields": [
138
- "riskLevel",
139
- "priorityScore",
140
- "compositeScore",
141
- "exploitabilityScore",
142
- "exploitabilityLevel"
143
- ]
144
- },
145
- {
146
- "id": "threatIntelligence",
147
- "title": "Threat Intelligence",
148
- "fields": [
149
- "epss",
150
- "epssPercentile",
151
- "knownExploited",
152
- "cvssBaseScore",
153
- "cvssVector"
154
- ]
155
- },
156
- {
157
- "id": "networkAndMitre",
158
- "title": "Network & MITRE",
159
- "fields": [
160
- "networkExposure",
161
- "mitreTechniques",
162
- "mitreAnalysis"
163
- ]
164
- }
165
- ],
166
- "includeRelations": [
167
- {
168
- "relation": "affectedAsset",
169
- "mode": "extendFields",
170
- "fields": [
171
- "ipAddress",
172
- "hostName",
173
- "xdrOperationalStatus",
174
- "xdrAgentStatus",
175
- "potentialImpactLevel"
176
- ]
177
- },
178
- {
179
- "relation": "vulnerabilityGroup",
180
- "mode": "extendFields",
181
- "fields": [
182
- "groupId",
183
- "pluginName",
184
- "severity",
185
- "affectedEntitiesCount",
186
- "riskLevel",
187
- "priorityScore"
188
- ]
189
- }
190
- ],
191
- "content": {
192
- "allowed": false
193
- }
194
- },
195
- {
196
- "id": "variabilities-group-detail-item",
197
- "entity": "variabilities-groups",
198
- "title": "Vulnerability Group Detail",
199
- "identity": {
200
- "idField": "identity.recordId"
201
- },
202
- "contentTypes": [
203
- {
204
- "contentType": "snapshots",
205
- "required": true,
206
- "multiMatch": {
207
- "strategy": "last",
208
- "effectiveDatePath": "lifecycle.capturedAt",
209
- "fallbackEffectiveDatePaths": [
210
- "capturedAt",
211
- "snapshot.capturedAt",
212
- "data.enrichedAt",
213
- "data.enrichment.enrichedAt"
214
- ]
215
- }
216
- }
217
- ],
218
- "sections": [
219
- {
220
- "id": "summary",
221
- "title": "Summary",
222
- "fields": [
223
- "groupId",
224
- "type",
225
- "pluginId",
226
- "pluginName",
227
- "pluginFamily",
228
- "severity",
229
- "cveId",
230
- "source"
231
- ]
232
- },
233
- {
234
- "id": "affectedEntities",
235
- "title": "Affected Entities",
236
- "fields": [
237
- "affectedEntities",
238
- "affectedEntitiesCount"
239
- ]
240
- },
241
- {
242
- "id": "risk",
243
- "title": "Risk",
244
- "fields": [
245
- "riskLevel",
246
- "priorityScore",
247
- "compositeScore"
248
- ]
249
- },
250
- {
251
- "id": "threatIntelligence",
252
- "title": "Threat Intelligence",
253
- "fields": [
254
- "epss",
255
- "knownExploited",
256
- "cvssBaseScore",
257
- "cvssVector",
258
- "enrichedAt"
259
- ]
260
- }
261
- ],
262
- "includeRelations": [
263
- {
264
- "relation": "groupVulnerabilities",
265
- "mode": "array",
266
- "arrayProperty": "vulnerabilities",
267
- "limit": 200,
268
- "fields": [
269
- "vulnerabilityId",
270
- "assetIp",
271
- "pluginName",
272
- "severity",
273
- "riskLevel",
274
- "priorityScore"
275
- ]
276
- }
277
- ],
278
- "content": {
279
- "allowed": false
280
- }
281
- }
282
- ]
283
- }
@@ -1,280 +0,0 @@
1
- [
2
- {
3
- "id": "asset-detail-item",
4
- "entity": "assets",
5
- "title": "Asset Detail",
6
- "identity": {
7
- "idField": "identity.recordId"
8
- },
9
- "contentTypes": [
10
- {
11
- "contentType": "snapshots",
12
- "required": true,
13
- "multiMatch": {
14
- "strategy": "last",
15
- "effectiveDatePath": "lifecycle.capturedAt",
16
- "fallbackEffectiveDatePaths": [
17
- "capturedAt",
18
- "snapshot.capturedAt",
19
- "data.lastSeen"
20
- ]
21
- }
22
- }
23
- ],
24
- "sections": [
25
- {
26
- "id": "summary",
27
- "title": "Summary",
28
- "fields": [
29
- "ipAddress",
30
- "hostName",
31
- "source",
32
- "agentType",
33
- "xdrOperationalStatus",
34
- "xdrAgentStatus",
35
- "lastSeen",
36
- "pathsCount"
37
- ]
38
- },
39
- {
40
- "id": "vulnerabilitySummary",
41
- "title": "Vulnerability Summary",
42
- "fields": [
43
- "hasVulnerabilities",
44
- "criticalVulnerabilities",
45
- "highVulnerabilities",
46
- "mediumVulnerabilities",
47
- "lowVulnerabilities"
48
- ]
49
- },
50
- {
51
- "id": "impact",
52
- "title": "Potential Impact",
53
- "fields": [
54
- "potentialImpactLevel",
55
- "potentialImpactConfidence",
56
- "potentialImpactStory"
57
- ]
58
- },
59
- {
60
- "id": "xdr",
61
- "title": "XDR",
62
- "fields": [
63
- "rawXdr"
64
- ]
65
- }
66
- ],
67
- "includeRelations": [
68
- {
69
- "relation": "assetVulnerabilities",
70
- "mode": "array",
71
- "arrayProperty": "vulnerabilities",
72
- "limit": 100,
73
- "fields": [
74
- "vulnerabilityId",
75
- "pluginName",
76
- "severity",
77
- "riskLevel",
78
- "priorityScore",
79
- "cveId"
80
- ]
81
- }
82
- ],
83
- "content": {
84
- "allowed": false
85
- }
86
- },
87
- {
88
- "id": "vulnerability-detail-item",
89
- "entity": "vulnerabilities",
90
- "title": "Vulnerability Detail",
91
- "identity": {
92
- "idField": "identity.recordId"
93
- },
94
- "contentTypes": [
95
- {
96
- "contentType": "snapshots",
97
- "required": true,
98
- "multiMatch": {
99
- "strategy": "last",
100
- "effectiveDatePath": "lifecycle.capturedAt",
101
- "fallbackEffectiveDatePaths": [
102
- "capturedAt",
103
- "snapshot.capturedAt",
104
- "data.enrichment.enrichedAt"
105
- ]
106
- }
107
- }
108
- ],
109
- "sections": [
110
- {
111
- "id": "summary",
112
- "title": "Summary",
113
- "fields": [
114
- "vulnerabilityId",
115
- "pluginName",
116
- "pluginFamily",
117
- "severity",
118
- "cveId"
119
- ]
120
- },
121
- {
122
- "id": "asset",
123
- "title": "Affected Asset",
124
- "fields": [
125
- "assetIp",
126
- "assetType",
127
- "assetZone",
128
- "assetHostname",
129
- "assetMatched"
130
- ]
131
- },
132
- {
133
- "id": "risk",
134
- "title": "Risk",
135
- "fields": [
136
- "riskLevel",
137
- "priorityScore",
138
- "compositeScore",
139
- "exploitabilityScore",
140
- "exploitabilityLevel"
141
- ]
142
- },
143
- {
144
- "id": "threatIntelligence",
145
- "title": "Threat Intelligence",
146
- "fields": [
147
- "epss",
148
- "epssPercentile",
149
- "knownExploited",
150
- "cvssBaseScore",
151
- "cvssVector"
152
- ]
153
- },
154
- {
155
- "id": "networkAndMitre",
156
- "title": "Network & MITRE",
157
- "fields": [
158
- "networkExposure",
159
- "mitreTechniques",
160
- "mitreAnalysis"
161
- ]
162
- }
163
- ],
164
- "includeRelations": [
165
- {
166
- "relation": "affectedAsset",
167
- "mode": "extendFields",
168
- "fields": [
169
- "ipAddress",
170
- "hostName",
171
- "xdrOperationalStatus",
172
- "xdrAgentStatus",
173
- "potentialImpactLevel"
174
- ]
175
- },
176
- {
177
- "relation": "vulnerabilityGroup",
178
- "mode": "extendFields",
179
- "fields": [
180
- "groupId",
181
- "pluginName",
182
- "severity",
183
- "affectedEntitiesCount",
184
- "riskLevel",
185
- "priorityScore"
186
- ]
187
- }
188
- ],
189
- "content": {
190
- "allowed": false
191
- }
192
- },
193
- {
194
- "id": "variabilities-group-detail-item",
195
- "entity": "variabilities-groups",
196
- "title": "Vulnerability Group Detail",
197
- "identity": {
198
- "idField": "identity.recordId"
199
- },
200
- "contentTypes": [
201
- {
202
- "contentType": "snapshots",
203
- "required": true,
204
- "multiMatch": {
205
- "strategy": "last",
206
- "effectiveDatePath": "lifecycle.capturedAt",
207
- "fallbackEffectiveDatePaths": [
208
- "capturedAt",
209
- "snapshot.capturedAt",
210
- "data.enrichedAt",
211
- "data.enrichment.enrichedAt"
212
- ]
213
- }
214
- }
215
- ],
216
- "sections": [
217
- {
218
- "id": "summary",
219
- "title": "Summary",
220
- "fields": [
221
- "groupId",
222
- "type",
223
- "pluginId",
224
- "pluginName",
225
- "pluginFamily",
226
- "severity",
227
- "cveId",
228
- "source"
229
- ]
230
- },
231
- {
232
- "id": "affectedEntities",
233
- "title": "Affected Entities",
234
- "fields": [
235
- "affectedEntities",
236
- "affectedEntitiesCount"
237
- ]
238
- },
239
- {
240
- "id": "risk",
241
- "title": "Risk",
242
- "fields": [
243
- "riskLevel",
244
- "priorityScore",
245
- "compositeScore"
246
- ]
247
- },
248
- {
249
- "id": "threatIntelligence",
250
- "title": "Threat Intelligence",
251
- "fields": [
252
- "epss",
253
- "knownExploited",
254
- "cvssBaseScore",
255
- "cvssVector",
256
- "enrichedAt"
257
- ]
258
- }
259
- ],
260
- "includeRelations": [
261
- {
262
- "relation": "groupVulnerabilities",
263
- "mode": "array",
264
- "arrayProperty": "vulnerabilities",
265
- "limit": 200,
266
- "fields": [
267
- "vulnerabilityId",
268
- "assetIp",
269
- "pluginName",
270
- "severity",
271
- "riskLevel",
272
- "priorityScore"
273
- ]
274
- }
275
- ],
276
- "content": {
277
- "allowed": false
278
- }
279
- }
280
- ]