@x12i/memorix-retrieval 1.15.0 → 1.17.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/README.md +39 -0
- package/catalox-seeds/inputs/entity-descriptors/content-documents.json +104 -0
- package/catalox-seeds/inputs/item-descriptors/content-document-detail-item.json +41 -0
- package/catalox-seeds/inputs/list-descriptors/content-documents-main-list.json +17 -0
- package/catalox-seeds/memorix-retrieval-descriptors.manifest.json +423 -0
- package/dist/client/catalox-adapter.d.ts.map +1 -1
- package/dist/client/catalox-adapter.js +2 -0
- package/dist/client/catalox-adapter.js.map +1 -1
- package/dist/client/catalox-like.d.ts +5 -0
- package/dist/client/catalox-like.d.ts.map +1 -1
- package/dist/descriptors/entity-catalog-loader.d.ts +11 -5
- package/dist/descriptors/entity-catalog-loader.d.ts.map +1 -1
- package/dist/descriptors/entity-catalog-loader.js +9 -1
- package/dist/descriptors/entity-catalog-loader.js.map +1 -1
- package/dist/explorer/unified-inventory.d.ts +14 -2
- package/dist/explorer/unified-inventory.d.ts.map +1 -1
- package/dist/explorer/unified-inventory.js +33 -46
- package/dist/explorer/unified-inventory.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/retrieval/fetch-agents.d.ts +16 -0
- package/dist/retrieval/fetch-agents.d.ts.map +1 -0
- package/dist/retrieval/fetch-agents.js +86 -0
- package/dist/retrieval/fetch-agents.js.map +1 -0
- package/dist/retrieval/fetch-content-for-item-field.d.ts +21 -0
- package/dist/retrieval/fetch-content-for-item-field.d.ts.map +1 -0
- package/dist/retrieval/fetch-content-for-item-field.js +70 -0
- package/dist/retrieval/fetch-content-for-item-field.js.map +1 -0
- package/dist/retrieval/fetch-narratives.d.ts +72 -0
- package/dist/retrieval/fetch-narratives.d.ts.map +1 -0
- package/dist/retrieval/fetch-narratives.js +227 -0
- package/dist/retrieval/fetch-narratives.js.map +1 -0
- package/dist/seeds/default-seed-spec.d.ts.map +1 -1
- package/dist/seeds/default-seed-spec.js +4 -0
- package/dist/seeds/default-seed-spec.js.map +1 -1
- package/dist/tests/fetch-narratives.test.d.ts +2 -0
- package/dist/tests/fetch-narratives.test.d.ts.map +1 -0
- package/dist/tests/fetch-narratives.test.js +111 -0
- package/dist/tests/fetch-narratives.test.js.map +1 -0
- package/dist/tests/seed-manifest.test.js +2 -2
- package/dist/tests/unified-inventory.test.js +63 -24
- package/dist/tests/unified-inventory.test.js.map +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -56,6 +56,8 @@ await client.close?.();
|
|
|
56
56
|
| `event` | `memorix-events` | `eventId` | `MEMORIX_EVENTS_DB` |
|
|
57
57
|
| `knowledge` | `memorix-knowledge` | `knowledgeId` | `MEMORIX_KNOWLEDGE_DB` |
|
|
58
58
|
|
|
59
|
+
Shipped knowledge-target object types in retrieval seeds: `knowledge-playbooks`, `content-documents` (extracted documents — see [`@x12i/memorix-corpus`](../memorix-corpus/README.md)).
|
|
60
|
+
|
|
59
61
|
```typescript
|
|
60
62
|
import {
|
|
61
63
|
resolveMemorixDatabaseName,
|
|
@@ -175,6 +177,43 @@ db.<canonicalCollection>.createIndex({ _graphRuns: 1 }, { sparse: true, name: "i
|
|
|
175
177
|
|
|
176
178
|
Nested path filters (`_graphRuns.<graphId>.status`) use the sparse top-level index as baseline; per-graph compound indexes remain opt-in via `@x12i/memorix-writer` `ensureGraphRunIndexes`.
|
|
177
179
|
|
|
180
|
+
## Job-type run stamps (`_jobTypeRuns`) — MRX-CR-003
|
|
181
|
+
|
|
182
|
+
Parallel to `_graphRuns`, eligibility and reprocessing can use `_jobTypeRuns.<jobTypeId>` (sanitized map keys). Read helper:
|
|
183
|
+
|
|
184
|
+
```typescript
|
|
185
|
+
import { getJobTypeRun } from "@x12i/memorix-mongo";
|
|
186
|
+
|
|
187
|
+
await getJobTypeRun(retrieval, "assets", recordId, jobTypeId, "core");
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
Writer stamp APIs: `@x12i/memorix-writer` — see [memorix-writer/docs/JOB-TYPE-RUNS.md](../memorix-writer/docs/JOB-TYPE-RUNS.md).
|
|
191
|
+
|
|
192
|
+
Baseline sparse index:
|
|
193
|
+
|
|
194
|
+
```javascript
|
|
195
|
+
db.<canonicalCollection>.createIndex({ _jobTypeRuns: 1 }, { sparse: true, name: "idx_jobTypeRuns" });
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
Per-jobType compound indexes: `@x12i/memorix-writer` `ensureJobTypeRunIndexes` creates:
|
|
199
|
+
|
|
200
|
+
- `{ "_jobTypeRuns.<key>.status": 1, <idField>: 1 }`
|
|
201
|
+
- `{ "_jobTypeRuns.<key>.completedAt": -1 }`
|
|
202
|
+
- `{ "_jobTypeRuns.<key>.status": 1, "_jobTypeRuns.<key>.completedAt": -1 }` (reprocessing filters)
|
|
203
|
+
|
|
204
|
+
## Linked record resolution — MRX-CR-004
|
|
205
|
+
|
|
206
|
+
```typescript
|
|
207
|
+
import { resolveLinkedRecordIds } from "@x12i/memorix-mongo";
|
|
208
|
+
|
|
209
|
+
const { entity, recordIds } = await resolveLinkedRecordIds(
|
|
210
|
+
retrieval,
|
|
211
|
+
sourceEntity,
|
|
212
|
+
sourceDoc,
|
|
213
|
+
relationshipKey,
|
|
214
|
+
);
|
|
215
|
+
```
|
|
216
|
+
|
|
178
217
|
**Estimated counts:** Pass `estimated: true` for large unfiltered totals (`estimatedDocumentCount` / `$collStats`). Graph-run bucket counts always use exact `countDocuments` even when `estimated: true`.
|
|
179
218
|
|
|
180
219
|
### Entity identity field
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "content-documents",
|
|
3
|
+
"entityName": "content-documents",
|
|
4
|
+
"defaultListDescriptorId": "content-documents-main-list",
|
|
5
|
+
"defaultItemDescriptorId": "content-document-detail-item",
|
|
6
|
+
"target": "knowledge",
|
|
7
|
+
"collectionPrefix": "content-documents",
|
|
8
|
+
"identity": {
|
|
9
|
+
"allowedIdFields": ["knowledgeId"],
|
|
10
|
+
"requiredExactlyOne": true,
|
|
11
|
+
"defaultIdField": "knowledgeId"
|
|
12
|
+
},
|
|
13
|
+
"defaults": {
|
|
14
|
+
"canonicalContentType": "snapshots",
|
|
15
|
+
"dataRoot": "data",
|
|
16
|
+
"effectiveDatePath": "capturedAt"
|
|
17
|
+
},
|
|
18
|
+
"contentTypes": {
|
|
19
|
+
"snapshots": {
|
|
20
|
+
"postfix": "snapshots",
|
|
21
|
+
"collection": "content-documents-snapshots",
|
|
22
|
+
"dataRoot": "data",
|
|
23
|
+
"isCanonical": true,
|
|
24
|
+
"cardinality": "1:1",
|
|
25
|
+
"effectiveDatePath": "capturedAt"
|
|
26
|
+
},
|
|
27
|
+
"extractions": {
|
|
28
|
+
"postfix": "extractions",
|
|
29
|
+
"collection": "content-documents-extractions",
|
|
30
|
+
"dataRoot": "data",
|
|
31
|
+
"cardinality": "1:n",
|
|
32
|
+
"effectiveDatePath": "capturedAt"
|
|
33
|
+
},
|
|
34
|
+
"chunks": {
|
|
35
|
+
"postfix": "chunks",
|
|
36
|
+
"collection": "content-documents-chunks",
|
|
37
|
+
"dataRoot": "data",
|
|
38
|
+
"cardinality": "1:n",
|
|
39
|
+
"effectiveDatePath": "capturedAt"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"properties": {
|
|
43
|
+
"title": {
|
|
44
|
+
"label": "Title",
|
|
45
|
+
"source": { "contentType": "snapshots", "path": "data.title" },
|
|
46
|
+
"humanReadable": true,
|
|
47
|
+
"sortable": true,
|
|
48
|
+
"filterable": true,
|
|
49
|
+
"list": true,
|
|
50
|
+
"item": true,
|
|
51
|
+
"valueType": "string"
|
|
52
|
+
},
|
|
53
|
+
"summary": {
|
|
54
|
+
"label": "Summary",
|
|
55
|
+
"source": { "contentType": "snapshots", "path": "data.summary" },
|
|
56
|
+
"humanReadable": true,
|
|
57
|
+
"sortable": false,
|
|
58
|
+
"filterable": false,
|
|
59
|
+
"list": true,
|
|
60
|
+
"item": true,
|
|
61
|
+
"valueType": "string"
|
|
62
|
+
},
|
|
63
|
+
"language": {
|
|
64
|
+
"label": "Language",
|
|
65
|
+
"source": { "contentType": "snapshots", "path": "data.language" },
|
|
66
|
+
"humanReadable": true,
|
|
67
|
+
"sortable": true,
|
|
68
|
+
"filterable": true,
|
|
69
|
+
"list": true,
|
|
70
|
+
"item": true,
|
|
71
|
+
"valueType": "string"
|
|
72
|
+
},
|
|
73
|
+
"sourceKind": {
|
|
74
|
+
"label": "Source kind",
|
|
75
|
+
"source": { "contentType": "snapshots", "path": "source.kind" },
|
|
76
|
+
"humanReadable": true,
|
|
77
|
+
"sortable": true,
|
|
78
|
+
"filterable": true,
|
|
79
|
+
"list": true,
|
|
80
|
+
"item": true,
|
|
81
|
+
"valueType": "string"
|
|
82
|
+
},
|
|
83
|
+
"sourceUri": {
|
|
84
|
+
"label": "Source URI",
|
|
85
|
+
"source": { "contentType": "snapshots", "path": "source.uri" },
|
|
86
|
+
"humanReadable": true,
|
|
87
|
+
"sortable": false,
|
|
88
|
+
"filterable": true,
|
|
89
|
+
"list": false,
|
|
90
|
+
"item": true,
|
|
91
|
+
"valueType": "string"
|
|
92
|
+
},
|
|
93
|
+
"chunkText": {
|
|
94
|
+
"label": "Chunk text",
|
|
95
|
+
"source": { "contentType": "chunks", "path": "data.text" },
|
|
96
|
+
"humanReadable": true,
|
|
97
|
+
"sortable": false,
|
|
98
|
+
"filterable": false,
|
|
99
|
+
"list": false,
|
|
100
|
+
"item": false,
|
|
101
|
+
"valueType": "string"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "content-document-detail-item",
|
|
3
|
+
"entity": "content-documents",
|
|
4
|
+
"title": "Content Document Detail",
|
|
5
|
+
"identity": {
|
|
6
|
+
"idField": "knowledgeId"
|
|
7
|
+
},
|
|
8
|
+
"contentTypes": [
|
|
9
|
+
{
|
|
10
|
+
"contentType": "snapshots",
|
|
11
|
+
"required": true,
|
|
12
|
+
"multiMatch": {
|
|
13
|
+
"strategy": "last",
|
|
14
|
+
"effectiveDatePath": "capturedAt"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"contentType": "extractions",
|
|
19
|
+
"required": false,
|
|
20
|
+
"multiMatch": {
|
|
21
|
+
"strategy": "all",
|
|
22
|
+
"effectiveDatePath": "capturedAt"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"contentType": "chunks",
|
|
27
|
+
"required": false,
|
|
28
|
+
"multiMatch": {
|
|
29
|
+
"strategy": "all",
|
|
30
|
+
"effectiveDatePath": "capturedAt"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"sections": [
|
|
35
|
+
{
|
|
36
|
+
"id": "summary",
|
|
37
|
+
"title": "Summary",
|
|
38
|
+
"fields": ["title", "summary", "language", "sourceKind", "sourceUri"]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "content-documents-main-list",
|
|
3
|
+
"entity": "content-documents",
|
|
4
|
+
"title": "Content Documents",
|
|
5
|
+
"leadingContentType": "snapshots",
|
|
6
|
+
"pagination": {
|
|
7
|
+
"enabled": true,
|
|
8
|
+
"defaultLimit": 50,
|
|
9
|
+
"maxLimit": 200
|
|
10
|
+
},
|
|
11
|
+
"filters": [],
|
|
12
|
+
"fields": ["title", "summary", "language", "sourceKind"],
|
|
13
|
+
"extensions": [],
|
|
14
|
+
"includeRelations": [],
|
|
15
|
+
"allowedSorts": ["title", "language"],
|
|
16
|
+
"defaultSort": { "field": "title", "direction": "asc" }
|
|
17
|
+
}
|
|
@@ -1304,6 +1304,211 @@
|
|
|
1304
1304
|
}
|
|
1305
1305
|
}
|
|
1306
1306
|
},
|
|
1307
|
+
{
|
|
1308
|
+
"catalogId": "memorix-object-type-descriptors",
|
|
1309
|
+
"scope": {
|
|
1310
|
+
"domains": [
|
|
1311
|
+
"network",
|
|
1312
|
+
"vulnerabilities"
|
|
1313
|
+
],
|
|
1314
|
+
"agents": [
|
|
1315
|
+
"neo"
|
|
1316
|
+
]
|
|
1317
|
+
},
|
|
1318
|
+
"data": {
|
|
1319
|
+
"id": "knowledge-playbooks",
|
|
1320
|
+
"entityName": "knowledge-playbooks",
|
|
1321
|
+
"defaultListDescriptorId": "knowledge-playbooks-main-list",
|
|
1322
|
+
"defaultItemDescriptorId": "knowledge-playbook-detail-item",
|
|
1323
|
+
"target": "knowledge",
|
|
1324
|
+
"collectionPrefix": "knowledge-playbooks",
|
|
1325
|
+
"identity": {
|
|
1326
|
+
"allowedIdFields": [
|
|
1327
|
+
"knowledgeId"
|
|
1328
|
+
],
|
|
1329
|
+
"requiredExactlyOne": true,
|
|
1330
|
+
"defaultIdField": "knowledgeId"
|
|
1331
|
+
},
|
|
1332
|
+
"defaults": {
|
|
1333
|
+
"canonicalContentType": "snapshots",
|
|
1334
|
+
"dataRoot": "data",
|
|
1335
|
+
"effectiveDatePath": "capturedAt"
|
|
1336
|
+
},
|
|
1337
|
+
"contentTypes": {
|
|
1338
|
+
"snapshots": {
|
|
1339
|
+
"postfix": "snapshots",
|
|
1340
|
+
"collection": "knowledge-playbooks-snapshots",
|
|
1341
|
+
"dataRoot": "data",
|
|
1342
|
+
"isCanonical": true,
|
|
1343
|
+
"effectiveDatePath": "capturedAt"
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
"properties": {
|
|
1347
|
+
"title": {
|
|
1348
|
+
"label": "Title",
|
|
1349
|
+
"source": {
|
|
1350
|
+
"contentType": "snapshots",
|
|
1351
|
+
"path": "data.title"
|
|
1352
|
+
},
|
|
1353
|
+
"humanReadable": true,
|
|
1354
|
+
"sortable": true,
|
|
1355
|
+
"filterable": true,
|
|
1356
|
+
"list": true,
|
|
1357
|
+
"item": true,
|
|
1358
|
+
"valueType": "string"
|
|
1359
|
+
},
|
|
1360
|
+
"summary": {
|
|
1361
|
+
"label": "Summary",
|
|
1362
|
+
"source": {
|
|
1363
|
+
"contentType": "snapshots",
|
|
1364
|
+
"path": "data.summary"
|
|
1365
|
+
},
|
|
1366
|
+
"humanReadable": true,
|
|
1367
|
+
"sortable": false,
|
|
1368
|
+
"filterable": false,
|
|
1369
|
+
"list": true,
|
|
1370
|
+
"item": true,
|
|
1371
|
+
"valueType": "string"
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"catalogId": "memorix-object-type-descriptors",
|
|
1378
|
+
"scope": {
|
|
1379
|
+
"domains": [
|
|
1380
|
+
"network",
|
|
1381
|
+
"vulnerabilities"
|
|
1382
|
+
],
|
|
1383
|
+
"agents": [
|
|
1384
|
+
"neo"
|
|
1385
|
+
]
|
|
1386
|
+
},
|
|
1387
|
+
"data": {
|
|
1388
|
+
"id": "content-documents",
|
|
1389
|
+
"entityName": "content-documents",
|
|
1390
|
+
"defaultListDescriptorId": "content-documents-main-list",
|
|
1391
|
+
"defaultItemDescriptorId": "content-document-detail-item",
|
|
1392
|
+
"target": "knowledge",
|
|
1393
|
+
"collectionPrefix": "content-documents",
|
|
1394
|
+
"identity": {
|
|
1395
|
+
"allowedIdFields": [
|
|
1396
|
+
"knowledgeId"
|
|
1397
|
+
],
|
|
1398
|
+
"requiredExactlyOne": true,
|
|
1399
|
+
"defaultIdField": "knowledgeId"
|
|
1400
|
+
},
|
|
1401
|
+
"defaults": {
|
|
1402
|
+
"canonicalContentType": "snapshots",
|
|
1403
|
+
"dataRoot": "data",
|
|
1404
|
+
"effectiveDatePath": "capturedAt"
|
|
1405
|
+
},
|
|
1406
|
+
"contentTypes": {
|
|
1407
|
+
"snapshots": {
|
|
1408
|
+
"postfix": "snapshots",
|
|
1409
|
+
"collection": "content-documents-snapshots",
|
|
1410
|
+
"dataRoot": "data",
|
|
1411
|
+
"isCanonical": true,
|
|
1412
|
+
"cardinality": "1:1",
|
|
1413
|
+
"effectiveDatePath": "capturedAt"
|
|
1414
|
+
},
|
|
1415
|
+
"extractions": {
|
|
1416
|
+
"postfix": "extractions",
|
|
1417
|
+
"collection": "content-documents-extractions",
|
|
1418
|
+
"dataRoot": "data",
|
|
1419
|
+
"cardinality": "1:n",
|
|
1420
|
+
"effectiveDatePath": "capturedAt"
|
|
1421
|
+
},
|
|
1422
|
+
"chunks": {
|
|
1423
|
+
"postfix": "chunks",
|
|
1424
|
+
"collection": "content-documents-chunks",
|
|
1425
|
+
"dataRoot": "data",
|
|
1426
|
+
"cardinality": "1:n",
|
|
1427
|
+
"effectiveDatePath": "capturedAt"
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
"properties": {
|
|
1431
|
+
"title": {
|
|
1432
|
+
"label": "Title",
|
|
1433
|
+
"source": {
|
|
1434
|
+
"contentType": "snapshots",
|
|
1435
|
+
"path": "data.title"
|
|
1436
|
+
},
|
|
1437
|
+
"humanReadable": true,
|
|
1438
|
+
"sortable": true,
|
|
1439
|
+
"filterable": true,
|
|
1440
|
+
"list": true,
|
|
1441
|
+
"item": true,
|
|
1442
|
+
"valueType": "string"
|
|
1443
|
+
},
|
|
1444
|
+
"summary": {
|
|
1445
|
+
"label": "Summary",
|
|
1446
|
+
"source": {
|
|
1447
|
+
"contentType": "snapshots",
|
|
1448
|
+
"path": "data.summary"
|
|
1449
|
+
},
|
|
1450
|
+
"humanReadable": true,
|
|
1451
|
+
"sortable": false,
|
|
1452
|
+
"filterable": false,
|
|
1453
|
+
"list": true,
|
|
1454
|
+
"item": true,
|
|
1455
|
+
"valueType": "string"
|
|
1456
|
+
},
|
|
1457
|
+
"language": {
|
|
1458
|
+
"label": "Language",
|
|
1459
|
+
"source": {
|
|
1460
|
+
"contentType": "snapshots",
|
|
1461
|
+
"path": "data.language"
|
|
1462
|
+
},
|
|
1463
|
+
"humanReadable": true,
|
|
1464
|
+
"sortable": true,
|
|
1465
|
+
"filterable": true,
|
|
1466
|
+
"list": true,
|
|
1467
|
+
"item": true,
|
|
1468
|
+
"valueType": "string"
|
|
1469
|
+
},
|
|
1470
|
+
"sourceKind": {
|
|
1471
|
+
"label": "Source kind",
|
|
1472
|
+
"source": {
|
|
1473
|
+
"contentType": "snapshots",
|
|
1474
|
+
"path": "source.kind"
|
|
1475
|
+
},
|
|
1476
|
+
"humanReadable": true,
|
|
1477
|
+
"sortable": true,
|
|
1478
|
+
"filterable": true,
|
|
1479
|
+
"list": true,
|
|
1480
|
+
"item": true,
|
|
1481
|
+
"valueType": "string"
|
|
1482
|
+
},
|
|
1483
|
+
"sourceUri": {
|
|
1484
|
+
"label": "Source URI",
|
|
1485
|
+
"source": {
|
|
1486
|
+
"contentType": "snapshots",
|
|
1487
|
+
"path": "source.uri"
|
|
1488
|
+
},
|
|
1489
|
+
"humanReadable": true,
|
|
1490
|
+
"sortable": false,
|
|
1491
|
+
"filterable": true,
|
|
1492
|
+
"list": false,
|
|
1493
|
+
"item": true,
|
|
1494
|
+
"valueType": "string"
|
|
1495
|
+
},
|
|
1496
|
+
"chunkText": {
|
|
1497
|
+
"label": "Chunk text",
|
|
1498
|
+
"source": {
|
|
1499
|
+
"contentType": "chunks",
|
|
1500
|
+
"path": "data.text"
|
|
1501
|
+
},
|
|
1502
|
+
"humanReadable": true,
|
|
1503
|
+
"sortable": false,
|
|
1504
|
+
"filterable": false,
|
|
1505
|
+
"list": false,
|
|
1506
|
+
"item": false,
|
|
1507
|
+
"valueType": "string"
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1307
1512
|
{
|
|
1308
1513
|
"catalogId": "memorix-list-descriptors",
|
|
1309
1514
|
"scope": {
|
|
@@ -1477,6 +1682,48 @@
|
|
|
1477
1682
|
"allowSortDrivenLeadingOverride": false
|
|
1478
1683
|
}
|
|
1479
1684
|
},
|
|
1685
|
+
{
|
|
1686
|
+
"catalogId": "memorix-list-descriptors",
|
|
1687
|
+
"scope": {
|
|
1688
|
+
"domains": [
|
|
1689
|
+
"network",
|
|
1690
|
+
"vulnerabilities"
|
|
1691
|
+
],
|
|
1692
|
+
"agents": [
|
|
1693
|
+
"neo"
|
|
1694
|
+
]
|
|
1695
|
+
},
|
|
1696
|
+
"data": {
|
|
1697
|
+
"filter": {
|
|
1698
|
+
"mode": "basic",
|
|
1699
|
+
"combinator": "and",
|
|
1700
|
+
"rules": []
|
|
1701
|
+
},
|
|
1702
|
+
"schemaVersion": "memorix.listDescriptor.v2",
|
|
1703
|
+
"pagination": {
|
|
1704
|
+
"maxLimit": 200,
|
|
1705
|
+
"defaultLimit": 50,
|
|
1706
|
+
"enabled": true
|
|
1707
|
+
},
|
|
1708
|
+
"kind": "slice",
|
|
1709
|
+
"id": "critical-vulnerabilities-slice",
|
|
1710
|
+
"sort": [
|
|
1711
|
+
{
|
|
1712
|
+
"direction": "desc",
|
|
1713
|
+
"path": "capturedAt"
|
|
1714
|
+
}
|
|
1715
|
+
],
|
|
1716
|
+
"fields": [
|
|
1717
|
+
"recordId"
|
|
1718
|
+
],
|
|
1719
|
+
"title": "Critical vulnerabilities",
|
|
1720
|
+
"contentType": "snapshots",
|
|
1721
|
+
"defaultItemDescriptorId": "vulnerability-detail-item",
|
|
1722
|
+
"objectType": "vulnerabilities",
|
|
1723
|
+
"entityName": "vulnerabilities",
|
|
1724
|
+
"target": "event"
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1480
1727
|
{
|
|
1481
1728
|
"catalogId": "memorix-list-descriptors",
|
|
1482
1729
|
"scope": {
|
|
@@ -1566,6 +1813,83 @@
|
|
|
1566
1813
|
}
|
|
1567
1814
|
}
|
|
1568
1815
|
},
|
|
1816
|
+
{
|
|
1817
|
+
"catalogId": "memorix-list-descriptors",
|
|
1818
|
+
"scope": {
|
|
1819
|
+
"domains": [
|
|
1820
|
+
"network",
|
|
1821
|
+
"vulnerabilities"
|
|
1822
|
+
],
|
|
1823
|
+
"agents": [
|
|
1824
|
+
"neo"
|
|
1825
|
+
]
|
|
1826
|
+
},
|
|
1827
|
+
"data": {
|
|
1828
|
+
"id": "knowledge-playbooks-main-list",
|
|
1829
|
+
"entity": "knowledge-playbooks",
|
|
1830
|
+
"title": "Knowledge Playbooks",
|
|
1831
|
+
"leadingContentType": "snapshots",
|
|
1832
|
+
"pagination": {
|
|
1833
|
+
"enabled": true,
|
|
1834
|
+
"defaultLimit": 50,
|
|
1835
|
+
"maxLimit": 200
|
|
1836
|
+
},
|
|
1837
|
+
"filters": [],
|
|
1838
|
+
"fields": [
|
|
1839
|
+
"title",
|
|
1840
|
+
"summary"
|
|
1841
|
+
],
|
|
1842
|
+
"extensions": [],
|
|
1843
|
+
"includeRelations": [],
|
|
1844
|
+
"allowedSorts": [
|
|
1845
|
+
"title"
|
|
1846
|
+
],
|
|
1847
|
+
"defaultSort": {
|
|
1848
|
+
"field": "title",
|
|
1849
|
+
"direction": "asc"
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"catalogId": "memorix-list-descriptors",
|
|
1855
|
+
"scope": {
|
|
1856
|
+
"domains": [
|
|
1857
|
+
"network",
|
|
1858
|
+
"vulnerabilities"
|
|
1859
|
+
],
|
|
1860
|
+
"agents": [
|
|
1861
|
+
"neo"
|
|
1862
|
+
]
|
|
1863
|
+
},
|
|
1864
|
+
"data": {
|
|
1865
|
+
"id": "content-documents-main-list",
|
|
1866
|
+
"entity": "content-documents",
|
|
1867
|
+
"title": "Content Documents",
|
|
1868
|
+
"leadingContentType": "snapshots",
|
|
1869
|
+
"pagination": {
|
|
1870
|
+
"enabled": true,
|
|
1871
|
+
"defaultLimit": 50,
|
|
1872
|
+
"maxLimit": 200
|
|
1873
|
+
},
|
|
1874
|
+
"filters": [],
|
|
1875
|
+
"fields": [
|
|
1876
|
+
"title",
|
|
1877
|
+
"summary",
|
|
1878
|
+
"language",
|
|
1879
|
+
"sourceKind"
|
|
1880
|
+
],
|
|
1881
|
+
"extensions": [],
|
|
1882
|
+
"includeRelations": [],
|
|
1883
|
+
"allowedSorts": [
|
|
1884
|
+
"title",
|
|
1885
|
+
"language"
|
|
1886
|
+
],
|
|
1887
|
+
"defaultSort": {
|
|
1888
|
+
"field": "title",
|
|
1889
|
+
"direction": "asc"
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1569
1893
|
{
|
|
1570
1894
|
"catalogId": "memorix-item-descriptors",
|
|
1571
1895
|
"scope": {
|
|
@@ -1879,6 +2203,105 @@
|
|
|
1879
2203
|
"allowed": false
|
|
1880
2204
|
}
|
|
1881
2205
|
}
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"catalogId": "memorix-item-descriptors",
|
|
2209
|
+
"scope": {
|
|
2210
|
+
"domains": [
|
|
2211
|
+
"network",
|
|
2212
|
+
"vulnerabilities"
|
|
2213
|
+
],
|
|
2214
|
+
"agents": [
|
|
2215
|
+
"neo"
|
|
2216
|
+
]
|
|
2217
|
+
},
|
|
2218
|
+
"data": {
|
|
2219
|
+
"id": "knowledge-playbook-detail-item",
|
|
2220
|
+
"entity": "knowledge-playbooks",
|
|
2221
|
+
"title": "Knowledge Playbook Detail",
|
|
2222
|
+
"identity": {
|
|
2223
|
+
"idField": "knowledgeId"
|
|
2224
|
+
},
|
|
2225
|
+
"contentTypes": [
|
|
2226
|
+
{
|
|
2227
|
+
"contentType": "snapshots",
|
|
2228
|
+
"required": true,
|
|
2229
|
+
"multiMatch": {
|
|
2230
|
+
"strategy": "last",
|
|
2231
|
+
"effectiveDatePath": "capturedAt"
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
],
|
|
2235
|
+
"sections": [
|
|
2236
|
+
{
|
|
2237
|
+
"id": "summary",
|
|
2238
|
+
"title": "Summary",
|
|
2239
|
+
"fields": [
|
|
2240
|
+
"title",
|
|
2241
|
+
"summary"
|
|
2242
|
+
]
|
|
2243
|
+
}
|
|
2244
|
+
]
|
|
2245
|
+
}
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"catalogId": "memorix-item-descriptors",
|
|
2249
|
+
"scope": {
|
|
2250
|
+
"domains": [
|
|
2251
|
+
"network",
|
|
2252
|
+
"vulnerabilities"
|
|
2253
|
+
],
|
|
2254
|
+
"agents": [
|
|
2255
|
+
"neo"
|
|
2256
|
+
]
|
|
2257
|
+
},
|
|
2258
|
+
"data": {
|
|
2259
|
+
"id": "content-document-detail-item",
|
|
2260
|
+
"entity": "content-documents",
|
|
2261
|
+
"title": "Content Document Detail",
|
|
2262
|
+
"identity": {
|
|
2263
|
+
"idField": "knowledgeId"
|
|
2264
|
+
},
|
|
2265
|
+
"contentTypes": [
|
|
2266
|
+
{
|
|
2267
|
+
"contentType": "snapshots",
|
|
2268
|
+
"required": true,
|
|
2269
|
+
"multiMatch": {
|
|
2270
|
+
"strategy": "last",
|
|
2271
|
+
"effectiveDatePath": "capturedAt"
|
|
2272
|
+
}
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"contentType": "extractions",
|
|
2276
|
+
"required": false,
|
|
2277
|
+
"multiMatch": {
|
|
2278
|
+
"strategy": "all",
|
|
2279
|
+
"effectiveDatePath": "capturedAt"
|
|
2280
|
+
}
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
"contentType": "chunks",
|
|
2284
|
+
"required": false,
|
|
2285
|
+
"multiMatch": {
|
|
2286
|
+
"strategy": "all",
|
|
2287
|
+
"effectiveDatePath": "capturedAt"
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
],
|
|
2291
|
+
"sections": [
|
|
2292
|
+
{
|
|
2293
|
+
"id": "summary",
|
|
2294
|
+
"title": "Summary",
|
|
2295
|
+
"fields": [
|
|
2296
|
+
"title",
|
|
2297
|
+
"summary",
|
|
2298
|
+
"language",
|
|
2299
|
+
"sourceKind",
|
|
2300
|
+
"sourceUri"
|
|
2301
|
+
]
|
|
2302
|
+
}
|
|
2303
|
+
]
|
|
2304
|
+
}
|
|
1882
2305
|
}
|
|
1883
2306
|
]
|
|
1884
2307
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalox-adapter.d.ts","sourceRoot":"","sources":["../../src/client/catalox-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAGV,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAc3B;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,YAAY,GAAG,WAAW,
|
|
1
|
+
{"version":3,"file":"catalox-adapter.d.ts","sourceRoot":"","sources":["../../src/client/catalox-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAGV,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAc3B;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,YAAY,GAAG,WAAW,CAqC9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalox-adapter.js","sourceRoot":"","sources":["../../src/client/catalox-adapter.ts"],"names":[],"mappings":"AAOA,SAAS,gBAAgB,CACvB,MAA2D;IAE3D,IAAI,MAAM,CAAC,OAAO,KAAK,OAAO,EAAE,CAAC;QAC/B,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC;IACtE,CAAC;IACD,IAAI,MAAM,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;QACnC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;IAClC,CAAC;IACD,OAAO,EAAE,OAAO,EAA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