@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,207 +0,0 @@
1
- {
2
- "catalogId": "memorix-list-descriptors",
3
- "items": [
4
- {
5
- "id": "assets-main-list",
6
- "entity": "assets",
7
- "title": "Assets",
8
- "leadingContentType": "snapshots",
9
- "pagination": {
10
- "enabled": true,
11
- "defaultLimit": 50,
12
- "maxLimit": 200
13
- },
14
- "filters": [],
15
- "fields": [
16
- "ipAddress",
17
- "hostName",
18
- "source",
19
- "agentType",
20
- "xdrOperationalStatus",
21
- "xdrAgentStatus",
22
- "hasVulnerabilities",
23
- "criticalVulnerabilities",
24
- "highVulnerabilities",
25
- "potentialImpactLevel",
26
- "pathsCount"
27
- ],
28
- "extensions": [],
29
- "includeRelations": [],
30
- "allowedSorts": [
31
- "ipAddress",
32
- "hostName",
33
- "source",
34
- "agentType",
35
- "xdrOperationalStatus",
36
- "xdrAgentStatus",
37
- "hasVulnerabilities",
38
- "criticalVulnerabilities",
39
- "highVulnerabilities",
40
- "potentialImpactLevel",
41
- "pathsCount",
42
- "lastSeen"
43
- ],
44
- "defaultSort": {
45
- "property": "ipAddress",
46
- "direction": "asc"
47
- },
48
- "allowSortDrivenLeadingOverride": false
49
- },
50
- {
51
- "id": "vulnerabilities-main-list",
52
- "entity": "vulnerabilities",
53
- "title": "Vulnerabilities",
54
- "leadingContentType": "snapshots",
55
- "pagination": {
56
- "enabled": true,
57
- "defaultLimit": 50,
58
- "maxLimit": 200
59
- },
60
- "filters": [],
61
- "fields": [
62
- "vulnerabilityId",
63
- "assetIp",
64
- "pluginName",
65
- "pluginFamily",
66
- "severity",
67
- "cveId",
68
- "riskLevel",
69
- "priorityScore",
70
- "epss",
71
- "knownExploited",
72
- "exploitabilityLevel",
73
- "networkExposure"
74
- ],
75
- "extensions": [],
76
- "includeRelations": [],
77
- "allowedSorts": [
78
- "vulnerabilityId",
79
- "assetIp",
80
- "pluginName",
81
- "pluginFamily",
82
- "severity",
83
- "riskLevel",
84
- "priorityScore",
85
- "epss",
86
- "knownExploited",
87
- "exploitabilityScore",
88
- "exploitabilityLevel",
89
- "networkExposure"
90
- ],
91
- "defaultSort": {
92
- "property": "priorityScore",
93
- "direction": "desc"
94
- },
95
- "allowSortDrivenLeadingOverride": false
96
- },
97
- {
98
- "id": "critical-vulnerabilities-list",
99
- "entity": "vulnerabilities",
100
- "title": "Critical Vulnerabilities",
101
- "leadingContentType": "snapshots",
102
- "pagination": {
103
- "enabled": true,
104
- "defaultLimit": 50,
105
- "maxLimit": 200
106
- },
107
- "filters": [
108
- {
109
- "property": "severity",
110
- "operator": "eq",
111
- "value": "critical"
112
- }
113
- ],
114
- "fields": [
115
- "vulnerabilityId",
116
- "assetIp",
117
- "pluginName",
118
- "severity",
119
- "riskLevel",
120
- "priorityScore",
121
- "epss",
122
- "knownExploited",
123
- "exploitabilityLevel"
124
- ],
125
- "extensions": [],
126
- "includeRelations": [],
127
- "allowedSorts": [
128
- "severity",
129
- "riskLevel",
130
- "priorityScore",
131
- "epss",
132
- "knownExploited",
133
- "exploitabilityScore"
134
- ],
135
- "defaultSort": {
136
- "property": "priorityScore",
137
- "direction": "desc"
138
- },
139
- "allowSortDrivenLeadingOverride": false
140
- },
141
- {
142
- "id": "variabilities-groups-main-list",
143
- "entity": "variabilities-groups",
144
- "title": "Vulnerability Groups",
145
- "leadingContentType": "snapshots",
146
- "pagination": {
147
- "enabled": true,
148
- "defaultLimit": 50,
149
- "maxLimit": 200
150
- },
151
- "filters": [],
152
- "fields": [
153
- "groupId",
154
- "pluginName",
155
- "pluginFamily",
156
- "severity",
157
- "affectedEntitiesCount",
158
- "cveId",
159
- "riskLevel",
160
- "priorityScore",
161
- "epss",
162
- "knownExploited"
163
- ],
164
- "extensions": [],
165
- "includeRelations": [],
166
- "allowedSorts": [
167
- "groupId",
168
- "pluginId",
169
- "pluginName",
170
- "pluginFamily",
171
- "severity",
172
- "riskLevel",
173
- "priorityScore",
174
- "epss",
175
- "knownExploited",
176
- "cvssBaseScore"
177
- ],
178
- "defaultSort": {
179
- "property": "priorityScore",
180
- "direction": "desc"
181
- },
182
- "allowSortDrivenLeadingOverride": false
183
- },
184
- {
185
- "id": "memorix-workspace-records-list",
186
- "kind": "workspace",
187
- "title": "Workspace records",
188
- "fields": [
189
- "entityName",
190
- "recordTitle",
191
- "recordId",
192
- "source",
193
- "lastUpdated",
194
- "status"
195
- ],
196
- "pagination": {
197
- "enabled": true,
198
- "defaultLimit": 50,
199
- "maxLimit": 200
200
- },
201
- "defaultSort": {
202
- "property": "lastUpdated",
203
- "direction": "desc"
204
- }
205
- }
206
- ]
207
- }
@@ -1,234 +0,0 @@
1
- [
2
- {
3
- "id": "assets-main-list",
4
- "entity": "assets",
5
- "title": "Assets",
6
- "leadingContentType": "snapshots",
7
- "pagination": {
8
- "enabled": true,
9
- "defaultLimit": 50,
10
- "maxLimit": 200
11
- },
12
- "filters": [],
13
- "fields": [
14
- "ipAddress",
15
- "hostName",
16
- "source",
17
- "agentType",
18
- "xdrOperationalStatus",
19
- "xdrAgentStatus",
20
- "hasVulnerabilities",
21
- "criticalVulnerabilities",
22
- "highVulnerabilities",
23
- "potentialImpactLevel",
24
- "pathsCount"
25
- ],
26
- "extensions": [],
27
- "includeRelations": [],
28
- "allowedSorts": [
29
- "ipAddress",
30
- "hostName",
31
- "source",
32
- "agentType",
33
- "xdrOperationalStatus",
34
- "xdrAgentStatus",
35
- "hasVulnerabilities",
36
- "criticalVulnerabilities",
37
- "highVulnerabilities",
38
- "potentialImpactLevel",
39
- "pathsCount",
40
- "lastSeen"
41
- ],
42
- "defaultSort": {
43
- "property": "ipAddress",
44
- "direction": "asc"
45
- },
46
- "allowSortDrivenLeadingOverride": false
47
- },
48
- {
49
- "id": "vulnerabilities-main-list",
50
- "entity": "vulnerabilities",
51
- "title": "Vulnerabilities",
52
- "leadingContentType": "snapshots",
53
- "pagination": {
54
- "enabled": true,
55
- "defaultLimit": 50,
56
- "maxLimit": 200
57
- },
58
- "filters": [],
59
- "fields": [
60
- "vulnerabilityId",
61
- "assetIp",
62
- "pluginName",
63
- "pluginFamily",
64
- "severity",
65
- "cveId",
66
- "riskLevel",
67
- "priorityScore",
68
- "epss",
69
- "knownExploited",
70
- "exploitabilityLevel",
71
- "networkExposure"
72
- ],
73
- "extensions": [],
74
- "includeRelations": [],
75
- "allowedSorts": [
76
- "vulnerabilityId",
77
- "assetIp",
78
- "pluginName",
79
- "pluginFamily",
80
- "severity",
81
- "riskLevel",
82
- "priorityScore",
83
- "epss",
84
- "knownExploited",
85
- "exploitabilityScore",
86
- "exploitabilityLevel",
87
- "networkExposure"
88
- ],
89
- "defaultSort": {
90
- "property": "priorityScore",
91
- "direction": "desc"
92
- },
93
- "allowSortDrivenLeadingOverride": false
94
- },
95
- {
96
- "id": "critical-vulnerabilities-list",
97
- "entity": "vulnerabilities",
98
- "title": "Critical Vulnerabilities",
99
- "leadingContentType": "snapshots",
100
- "pagination": {
101
- "enabled": true,
102
- "defaultLimit": 50,
103
- "maxLimit": 200
104
- },
105
- "filters": [
106
- {
107
- "property": "severity",
108
- "operator": "eq",
109
- "value": "critical"
110
- }
111
- ],
112
- "fields": [
113
- "vulnerabilityId",
114
- "assetIp",
115
- "pluginName",
116
- "severity",
117
- "riskLevel",
118
- "priorityScore",
119
- "epss",
120
- "knownExploited",
121
- "exploitabilityLevel"
122
- ],
123
- "extensions": [],
124
- "includeRelations": [],
125
- "allowedSorts": [
126
- "severity",
127
- "riskLevel",
128
- "priorityScore",
129
- "epss",
130
- "knownExploited",
131
- "exploitabilityScore"
132
- ],
133
- "defaultSort": {
134
- "property": "priorityScore",
135
- "direction": "desc"
136
- },
137
- "allowSortDrivenLeadingOverride": false
138
- },
139
- {
140
- "id": "variabilities-groups-main-list",
141
- "entity": "variabilities-groups",
142
- "title": "Vulnerability Groups",
143
- "leadingContentType": "snapshots",
144
- "pagination": {
145
- "enabled": true,
146
- "defaultLimit": 50,
147
- "maxLimit": 200
148
- },
149
- "filters": [],
150
- "fields": [
151
- "groupId",
152
- "pluginName",
153
- "pluginFamily",
154
- "severity",
155
- "affectedEntitiesCount",
156
- "cveId",
157
- "riskLevel",
158
- "priorityScore",
159
- "epss",
160
- "knownExploited"
161
- ],
162
- "extensions": [],
163
- "includeRelations": [],
164
- "allowedSorts": [
165
- "groupId",
166
- "pluginId",
167
- "pluginName",
168
- "pluginFamily",
169
- "severity",
170
- "riskLevel",
171
- "priorityScore",
172
- "epss",
173
- "knownExploited",
174
- "cvssBaseScore"
175
- ],
176
- "defaultSort": {
177
- "property": "priorityScore",
178
- "direction": "desc"
179
- },
180
- "allowSortDrivenLeadingOverride": false
181
- },
182
- {
183
- "id": "memorix-workspace-records-list",
184
- "kind": "workspace",
185
- "title": "Workspace records",
186
- "fields": [
187
- "entityName",
188
- "recordTitle",
189
- "recordId",
190
- "source",
191
- "lastUpdated",
192
- "status"
193
- ],
194
- "pagination": {
195
- "enabled": true,
196
- "defaultLimit": 50,
197
- "maxLimit": 200
198
- },
199
- "defaultSort": {
200
- "property": "lastUpdated",
201
- "direction": "desc"
202
- }
203
- },
204
- {
205
- "filter": {
206
- "mode": "basic",
207
- "combinator": "and",
208
- "rules": []
209
- },
210
- "schemaVersion": "memorix.listDescriptor.v2",
211
- "pagination": {
212
- "maxLimit": 200,
213
- "defaultLimit": 50,
214
- "enabled": true
215
- },
216
- "kind": "slice",
217
- "id": "critical-vulnerabilities-slice",
218
- "sort": [
219
- {
220
- "direction": "desc",
221
- "path": "capturedAt"
222
- }
223
- ],
224
- "fields": [
225
- "identity.recordId"
226
- ],
227
- "title": "Critical vulnerabilities",
228
- "contentType": "snapshots",
229
- "defaultItemDescriptorId": "vulnerability-detail-item",
230
- "objectType": "vulnerabilities",
231
- "entityName": "vulnerabilities",
232
- "target": "event"
233
- }
234
- ]