@x12i/memorix-retrieval 1.19.0 → 1.20.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 +73 -38
- package/catalox-seeds/inputs/entity-descriptors/topology-subnets.json +127 -0
- package/catalox-seeds/inputs/entity-descriptors/variabilities-groups.json +22 -33
- package/catalox-seeds/inputs/entity-descriptors/vulnerabilities.json +19 -30
- package/catalox-seeds/inputs/item-descriptors/asset-detail-item.json +20 -6
- package/catalox-seeds/inputs/item-descriptors/topology-subnet-detail-item.json +41 -0
- package/catalox-seeds/inputs/item-descriptors/variabilities-group-detail-item.json +5 -5
- package/catalox-seeds/inputs/item-descriptors/vulnerability-detail-item.json +5 -5
- package/catalox-seeds/inputs/list-descriptors/assets-main-list.json +4 -0
- package/catalox-seeds/inputs/list-descriptors/critical-vulnerabilities-list.json +5 -5
- package/catalox-seeds/inputs/list-descriptors/critical-vulnerabilities-slice.json +1 -1
- package/catalox-seeds/inputs/list-descriptors/topology-subnets-main-list.json +23 -0
- package/catalox-seeds/inputs/list-descriptors/variabilities-groups-main-list.json +3 -3
- package/catalox-seeds/inputs/list-descriptors/vulnerabilities-main-list.json +3 -3
- package/catalox-seeds/inputs/memorix-descriptors.bundle.json +328 -330
- package/catalox-seeds/inputs/memorix-item-descriptors.catalog.json +16 -16
- package/catalox-seeds/inputs/memorix-item-descriptors.items.json +16 -16
- package/catalox-seeds/inputs/memorix-list-descriptors.catalog.json +11 -11
- package/catalox-seeds/inputs/memorix-list-descriptors.items.json +41 -11
- package/catalox-seeds/inputs/memorix-object-type-descriptors.catalog.json +279 -303
- package/catalox-seeds/inputs/memorix-object-type-descriptors.items.json +279 -303
- package/catalox-seeds/memorix-retrieval-descriptors.manifest.json +411 -147
- package/dist/data/record-identity.d.ts +1 -1
- package/dist/data/record-identity.d.ts.map +1 -1
- package/dist/data/record-identity.js +30 -17
- package/dist/data/record-identity.js.map +1 -1
- package/dist/seeds/build-manifest.d.ts.map +1 -1
- package/dist/seeds/build-manifest.js +29 -1
- package/dist/seeds/build-manifest.js.map +1 -1
- 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/seeds/merge-for-apply.d.ts.map +1 -1
- package/dist/seeds/merge-for-apply.js +3 -1
- package/dist/seeds/merge-for-apply.js.map +1 -1
- package/dist/tests/collection-parser.test.js +8 -3
- package/dist/tests/collection-parser.test.js.map +1 -1
- package/dist/tests/seed-manifest.test.js +3 -3
- package/dist/tests/seed-manifest.test.js.map +1 -1
- package/dist/tests/source-provenance.test.js +14 -8
- package/dist/tests/source-provenance.test.js.map +1 -1
- package/docs/MEMORIX-DATABASE-CONVENTIONS.md +48 -27
- package/package.json +4 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"entity": "assets",
|
|
4
4
|
"title": "Asset Detail",
|
|
5
5
|
"identity": {
|
|
6
|
-
"idField": "
|
|
6
|
+
"idField": "identity.recordId"
|
|
7
7
|
},
|
|
8
8
|
"contentTypes": [
|
|
9
9
|
{
|
|
@@ -11,10 +11,11 @@
|
|
|
11
11
|
"required": true,
|
|
12
12
|
"multiMatch": {
|
|
13
13
|
"strategy": "last",
|
|
14
|
-
"effectiveDatePath": "capturedAt",
|
|
14
|
+
"effectiveDatePath": "lifecycle.capturedAt",
|
|
15
15
|
"fallbackEffectiveDatePaths": [
|
|
16
|
+
"capturedAt",
|
|
16
17
|
"snapshot.capturedAt",
|
|
17
|
-
"data.
|
|
18
|
+
"data.lastSeen"
|
|
18
19
|
]
|
|
19
20
|
}
|
|
20
21
|
}
|
|
@@ -25,6 +26,8 @@
|
|
|
25
26
|
"title": "Summary",
|
|
26
27
|
"fields": [
|
|
27
28
|
"ipAddress",
|
|
29
|
+
"subnetId",
|
|
30
|
+
"subnetIp",
|
|
28
31
|
"hostName",
|
|
29
32
|
"source",
|
|
30
33
|
"agentType",
|
|
@@ -58,12 +61,23 @@
|
|
|
58
61
|
"id": "xdr",
|
|
59
62
|
"title": "XDR",
|
|
60
63
|
"fields": [
|
|
61
|
-
"users",
|
|
62
64
|
"rawXdr"
|
|
63
65
|
]
|
|
64
66
|
}
|
|
65
67
|
],
|
|
66
68
|
"includeRelations": [
|
|
69
|
+
{
|
|
70
|
+
"relation": "assetSubnet",
|
|
71
|
+
"mode": "record",
|
|
72
|
+
"limit": 1,
|
|
73
|
+
"fields": [
|
|
74
|
+
"subnetId",
|
|
75
|
+
"subnetIp",
|
|
76
|
+
"cidr",
|
|
77
|
+
"zone",
|
|
78
|
+
"vr"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
67
81
|
{
|
|
68
82
|
"relation": "assetVulnerabilities",
|
|
69
83
|
"mode": "array",
|
|
@@ -72,10 +86,10 @@
|
|
|
72
86
|
"fields": [
|
|
73
87
|
"vulnerabilityId",
|
|
74
88
|
"pluginName",
|
|
75
|
-
"
|
|
89
|
+
"severity",
|
|
76
90
|
"riskLevel",
|
|
77
91
|
"priorityScore",
|
|
78
|
-
"
|
|
92
|
+
"cveId"
|
|
79
93
|
]
|
|
80
94
|
}
|
|
81
95
|
],
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "topology-subnet-detail-item",
|
|
3
|
+
"entity": "topology-subnets",
|
|
4
|
+
"title": "Topology Subnet Detail",
|
|
5
|
+
"identity": {
|
|
6
|
+
"idField": "identity.recordId"
|
|
7
|
+
},
|
|
8
|
+
"contentTypes": [
|
|
9
|
+
{
|
|
10
|
+
"contentType": "snapshots",
|
|
11
|
+
"required": true,
|
|
12
|
+
"multiMatch": {
|
|
13
|
+
"strategy": "last",
|
|
14
|
+
"effectiveDatePath": "lifecycle.capturedAt",
|
|
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
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"entity": "variabilities-groups",
|
|
4
4
|
"title": "Vulnerability Group Detail",
|
|
5
5
|
"identity": {
|
|
6
|
-
"idField": "
|
|
6
|
+
"idField": "identity.recordId"
|
|
7
7
|
},
|
|
8
8
|
"contentTypes": [
|
|
9
9
|
{
|
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
"required": true,
|
|
12
12
|
"multiMatch": {
|
|
13
13
|
"strategy": "last",
|
|
14
|
-
"effectiveDatePath": "capturedAt",
|
|
14
|
+
"effectiveDatePath": "lifecycle.capturedAt",
|
|
15
15
|
"fallbackEffectiveDatePaths": [
|
|
16
|
+
"capturedAt",
|
|
16
17
|
"snapshot.capturedAt",
|
|
17
18
|
"data.enrichedAt",
|
|
18
19
|
"data.enrichment.enrichedAt"
|
|
@@ -31,8 +32,7 @@
|
|
|
31
32
|
"pluginName",
|
|
32
33
|
"pluginFamily",
|
|
33
34
|
"severity",
|
|
34
|
-
"
|
|
35
|
-
"cveIds",
|
|
35
|
+
"cveId",
|
|
36
36
|
"source"
|
|
37
37
|
]
|
|
38
38
|
},
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"vulnerabilityId",
|
|
76
76
|
"assetIp",
|
|
77
77
|
"pluginName",
|
|
78
|
-
"
|
|
78
|
+
"severity",
|
|
79
79
|
"riskLevel",
|
|
80
80
|
"priorityScore"
|
|
81
81
|
]
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"entity": "vulnerabilities",
|
|
4
4
|
"title": "Vulnerability Detail",
|
|
5
5
|
"identity": {
|
|
6
|
-
"idField": "
|
|
6
|
+
"idField": "identity.recordId"
|
|
7
7
|
},
|
|
8
8
|
"contentTypes": [
|
|
9
9
|
{
|
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
"required": true,
|
|
12
12
|
"multiMatch": {
|
|
13
13
|
"strategy": "last",
|
|
14
|
-
"effectiveDatePath": "capturedAt",
|
|
14
|
+
"effectiveDatePath": "lifecycle.capturedAt",
|
|
15
15
|
"fallbackEffectiveDatePaths": [
|
|
16
|
+
"capturedAt",
|
|
16
17
|
"snapshot.capturedAt",
|
|
17
18
|
"data.enrichment.enrichedAt"
|
|
18
19
|
]
|
|
@@ -28,8 +29,7 @@
|
|
|
28
29
|
"pluginName",
|
|
29
30
|
"pluginFamily",
|
|
30
31
|
"severity",
|
|
31
|
-
"
|
|
32
|
-
"cveIds"
|
|
32
|
+
"cveId"
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
35
|
{
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"fields": [
|
|
94
94
|
"groupId",
|
|
95
95
|
"pluginName",
|
|
96
|
-
"
|
|
96
|
+
"severity",
|
|
97
97
|
"affectedEntitiesCount",
|
|
98
98
|
"riskLevel",
|
|
99
99
|
"priorityScore"
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"filters": [],
|
|
12
12
|
"fields": [
|
|
13
13
|
"ipAddress",
|
|
14
|
+
"subnetId",
|
|
15
|
+
"subnetIp",
|
|
14
16
|
"hostName",
|
|
15
17
|
"source",
|
|
16
18
|
"agentType",
|
|
@@ -26,6 +28,8 @@
|
|
|
26
28
|
"includeRelations": [],
|
|
27
29
|
"allowedSorts": [
|
|
28
30
|
"ipAddress",
|
|
31
|
+
"subnetId",
|
|
32
|
+
"subnetIp",
|
|
29
33
|
"hostName",
|
|
30
34
|
"source",
|
|
31
35
|
"agentType",
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
},
|
|
11
11
|
"filters": [
|
|
12
12
|
{
|
|
13
|
-
"property": "
|
|
14
|
-
"operator": "
|
|
15
|
-
"value":
|
|
13
|
+
"property": "severity",
|
|
14
|
+
"operator": "eq",
|
|
15
|
+
"value": "critical"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"fields": [
|
|
19
19
|
"vulnerabilityId",
|
|
20
20
|
"assetIp",
|
|
21
21
|
"pluginName",
|
|
22
|
-
"
|
|
22
|
+
"severity",
|
|
23
23
|
"riskLevel",
|
|
24
24
|
"priorityScore",
|
|
25
25
|
"epss",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"extensions": [],
|
|
30
30
|
"includeRelations": [],
|
|
31
31
|
"allowedSorts": [
|
|
32
|
-
"
|
|
32
|
+
"severity",
|
|
33
33
|
"riskLevel",
|
|
34
34
|
"priorityScore",
|
|
35
35
|
"epss",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "topology-subnets-main-list",
|
|
3
|
+
"entity": "topology-subnets",
|
|
4
|
+
"title": "Topology Subnets",
|
|
5
|
+
"leadingContentType": "snapshots",
|
|
6
|
+
"fields": [
|
|
7
|
+
"subnetId",
|
|
8
|
+
"subnetIp",
|
|
9
|
+
"cidr",
|
|
10
|
+
"zone",
|
|
11
|
+
"vr",
|
|
12
|
+
"recordId"
|
|
13
|
+
],
|
|
14
|
+
"defaultSort": {
|
|
15
|
+
"property": "subnetId",
|
|
16
|
+
"direction": "asc"
|
|
17
|
+
},
|
|
18
|
+
"pagination": {
|
|
19
|
+
"enabled": true,
|
|
20
|
+
"defaultLimit": 50,
|
|
21
|
+
"maxLimit": 200
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"groupId",
|
|
14
14
|
"pluginName",
|
|
15
15
|
"pluginFamily",
|
|
16
|
-
"
|
|
16
|
+
"severity",
|
|
17
17
|
"affectedEntitiesCount",
|
|
18
|
-
"
|
|
18
|
+
"cveId",
|
|
19
19
|
"riskLevel",
|
|
20
20
|
"priorityScore",
|
|
21
21
|
"epss",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"pluginId",
|
|
29
29
|
"pluginName",
|
|
30
30
|
"pluginFamily",
|
|
31
|
-
"
|
|
31
|
+
"severity",
|
|
32
32
|
"riskLevel",
|
|
33
33
|
"priorityScore",
|
|
34
34
|
"epss",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"assetIp",
|
|
15
15
|
"pluginName",
|
|
16
16
|
"pluginFamily",
|
|
17
|
-
"
|
|
18
|
-
"
|
|
17
|
+
"severity",
|
|
18
|
+
"cveId",
|
|
19
19
|
"riskLevel",
|
|
20
20
|
"priorityScore",
|
|
21
21
|
"epss",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"assetIp",
|
|
31
31
|
"pluginName",
|
|
32
32
|
"pluginFamily",
|
|
33
|
-
"
|
|
33
|
+
"severity",
|
|
34
34
|
"riskLevel",
|
|
35
35
|
"priorityScore",
|
|
36
36
|
"epss",
|