@x12i/memorix-retrieval 1.30.0 → 1.32.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 +414 -21
- package/catalox-seeds/inputs/entity-descriptors/subnets.json +267 -9
- package/catalox-seeds/inputs/entity-descriptors/topology-zones.json +85 -0
- package/catalox-seeds/inputs/entity-descriptors/vulnerabilities-groups.json +264 -3
- package/catalox-seeds/inputs/entity-descriptors/vulnerabilities.json +410 -11
- package/catalox-seeds/inputs/item-descriptors/asset-detail-item.json +63 -15
- package/catalox-seeds/inputs/item-descriptors/subnet-detail-item.json +51 -17
- package/catalox-seeds/inputs/item-descriptors/vulnerabilities-group-detail-item.json +97 -0
- package/catalox-seeds/inputs/item-descriptors/vulnerability-detail-item.json +44 -39
- package/catalox-seeds/inputs/item-descriptors/vulnerability-observation-detail-item.json +42 -0
- package/catalox-seeds/inputs/list-descriptors/assets-exploitability-decisions-list.json +33 -0
- package/catalox-seeds/inputs/list-descriptors/assets-main-list.json +56 -4
- package/catalox-seeds/inputs/list-descriptors/assets-potential-impact-decisions-list.json +31 -0
- package/catalox-seeds/inputs/list-descriptors/subnets-main-list.json +107 -3
- package/catalox-seeds/inputs/list-descriptors/vulnerabilities-exploitability-analysis-list.json +29 -0
- package/catalox-seeds/inputs/list-descriptors/vulnerabilities-groups-main-list.json +98 -0
- package/catalox-seeds/inputs/list-descriptors/vulnerabilities-main-list.json +9 -1
- package/catalox-seeds/inputs/list-descriptors/vulnerabilities-observations-list.json +43 -0
- package/catalox-seeds/inputs/list-descriptors/vulnerabilities-triage-analysis-list.json +30 -0
- package/catalox-seeds/inputs/list-descriptors/vulnerable-assets-list.json +102 -0
- package/catalox-seeds/memorix-retrieval-descriptors.manifest.json +2803 -331
- package/dist/analysis/analyze-vulnerability-coverage.d.ts +101 -0
- package/dist/analysis/analyze-vulnerability-coverage.d.ts.map +1 -0
- package/dist/analysis/analyze-vulnerability-coverage.js +150 -0
- package/dist/analysis/analyze-vulnerability-coverage.js.map +1 -0
- package/dist/analysis/count-assets-with-vulnerabilities.d.ts +89 -0
- package/dist/analysis/count-assets-with-vulnerabilities.d.ts.map +1 -0
- package/dist/analysis/count-assets-with-vulnerabilities.js +143 -0
- package/dist/analysis/count-assets-with-vulnerabilities.js.map +1 -0
- package/dist/analysis/derive-subnet-ip.d.ts +18 -0
- package/dist/analysis/derive-subnet-ip.d.ts.map +1 -0
- package/dist/analysis/derive-subnet-ip.js +32 -0
- package/dist/analysis/derive-subnet-ip.js.map +1 -0
- package/dist/descriptors/content-type-labels.d.ts.map +1 -1
- package/dist/descriptors/content-type-labels.js +4 -5
- package/dist/descriptors/content-type-labels.js.map +1 -1
- package/dist/descriptors/descriptor-types.d.ts +86 -0
- package/dist/descriptors/descriptor-types.d.ts.map +1 -1
- package/dist/descriptors/validate-descriptor.d.ts +1 -0
- package/dist/descriptors/validate-descriptor.d.ts.map +1 -1
- package/dist/descriptors/validate-descriptor.js +27 -0
- package/dist/descriptors/validate-descriptor.js.map +1 -1
- package/dist/explorer/collection-records.d.ts.map +1 -1
- package/dist/explorer/collection-records.js +22 -2
- package/dist/explorer/collection-records.js.map +1 -1
- package/dist/explorer/raw-collection-records.d.ts +2 -0
- package/dist/explorer/raw-collection-records.d.ts.map +1 -1
- package/dist/explorer/raw-collection-records.js +1 -1
- package/dist/explorer/raw-collection-records.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/mongo/env.d.ts +18 -0
- package/dist/mongo/env.d.ts.map +1 -1
- package/dist/mongo/env.js +82 -1
- package/dist/mongo/env.js.map +1 -1
- package/dist/retrieval/fetch-list.d.ts.map +1 -1
- package/dist/retrieval/fetch-list.js +3 -1
- package/dist/retrieval/fetch-list.js.map +1 -1
- package/dist/retrieval/fetch-narratives.d.ts +13 -0
- package/dist/retrieval/fetch-narratives.d.ts.map +1 -1
- package/dist/retrieval/fetch-narratives.js +130 -10
- package/dist/retrieval/fetch-narratives.js.map +1 -1
- package/dist/retrieval/narrative-list-filters.d.ts +30 -0
- package/dist/retrieval/narrative-list-filters.d.ts.map +1 -0
- package/dist/retrieval/narrative-list-filters.js +179 -0
- package/dist/retrieval/narrative-list-filters.js.map +1 -0
- package/dist/retrieval/resolve-filters.d.ts +11 -1
- package/dist/retrieval/resolve-filters.d.ts.map +1 -1
- package/dist/retrieval/resolve-filters.js +34 -7
- package/dist/retrieval/resolve-filters.js.map +1 -1
- package/dist/seeds/default-seed-spec.d.ts.map +1 -1
- package/dist/seeds/default-seed-spec.js +9 -0
- package/dist/seeds/default-seed-spec.js.map +1 -1
- package/dist/tests/analyze-vulnerability-coverage.test.d.ts +2 -0
- package/dist/tests/analyze-vulnerability-coverage.test.d.ts.map +1 -0
- package/dist/tests/analyze-vulnerability-coverage.test.js +66 -0
- package/dist/tests/analyze-vulnerability-coverage.test.js.map +1 -0
- package/dist/tests/count-assets-with-vulnerabilities.test.d.ts +2 -0
- package/dist/tests/count-assets-with-vulnerabilities.test.d.ts.map +1 -0
- package/dist/tests/count-assets-with-vulnerabilities.test.js +95 -0
- package/dist/tests/count-assets-with-vulnerabilities.test.js.map +1 -0
- package/dist/tests/derive-subnet-ip.test.d.ts +2 -0
- package/dist/tests/derive-subnet-ip.test.d.ts.map +1 -0
- package/dist/tests/derive-subnet-ip.test.js +17 -0
- package/dist/tests/derive-subnet-ip.test.js.map +1 -0
- package/dist/tests/env.test.js +1 -1
- package/dist/tests/env.test.js.map +1 -1
- package/dist/tests/fetch-narratives.test.js +191 -5
- package/dist/tests/fetch-narratives.test.js.map +1 -1
- package/dist/tests/resolve-filters.test.js +81 -4
- package/dist/tests/resolve-filters.test.js.map +1 -1
- package/docs/MEMORIX-CATALOX-CONTRACTS.md +2 -0
- package/package.json +5 -5
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "vulnerabilities-groups-main-list",
|
|
3
|
+
"entity": "vulnerabilities-groups",
|
|
4
|
+
"title": "Vulnerability Groups",
|
|
5
|
+
"leadingContentType": "snapshots",
|
|
6
|
+
"pagination": {
|
|
7
|
+
"enabled": true,
|
|
8
|
+
"defaultLimit": 50,
|
|
9
|
+
"maxLimit": 200
|
|
10
|
+
},
|
|
11
|
+
"filters": [],
|
|
12
|
+
"fields": [
|
|
13
|
+
"name",
|
|
14
|
+
"vulnerabilityType",
|
|
15
|
+
"severity",
|
|
16
|
+
"affectedEntitiesCount",
|
|
17
|
+
"findingsCount",
|
|
18
|
+
"vulnerabilitiesCount",
|
|
19
|
+
"criticalVulnerabilities",
|
|
20
|
+
"highVulnerabilities",
|
|
21
|
+
"riskLevel",
|
|
22
|
+
"priorityScore",
|
|
23
|
+
"knownExploited",
|
|
24
|
+
"cveId",
|
|
25
|
+
"pluginId",
|
|
26
|
+
"compositeScore"
|
|
27
|
+
],
|
|
28
|
+
"extensions": [],
|
|
29
|
+
"includeRelations": [],
|
|
30
|
+
"allowedSorts": [
|
|
31
|
+
"name",
|
|
32
|
+
"severity",
|
|
33
|
+
"affectedEntitiesCount",
|
|
34
|
+
"findingsCount",
|
|
35
|
+
"vulnerabilitiesCount",
|
|
36
|
+
"criticalVulnerabilities",
|
|
37
|
+
"highVulnerabilities",
|
|
38
|
+
"riskLevel",
|
|
39
|
+
"priorityScore",
|
|
40
|
+
"knownExploited",
|
|
41
|
+
"compositeScore"
|
|
42
|
+
],
|
|
43
|
+
"defaultSort": {
|
|
44
|
+
"property": "priorityScore",
|
|
45
|
+
"direction": "desc"
|
|
46
|
+
},
|
|
47
|
+
"allowSortDrivenLeadingOverride": false,
|
|
48
|
+
"columnDrillDowns": [
|
|
49
|
+
{
|
|
50
|
+
"field": "affectedEntitiesCount",
|
|
51
|
+
"label": "Affected #",
|
|
52
|
+
"listQuery": {
|
|
53
|
+
"entityName": "vulnerabilities",
|
|
54
|
+
"listDescriptorId": "vulnerabilities-main-list",
|
|
55
|
+
"narrativeIds": ["is-vulnerability"],
|
|
56
|
+
"filters": [
|
|
57
|
+
{
|
|
58
|
+
"property": "pluginName",
|
|
59
|
+
"operator": "eq",
|
|
60
|
+
"valueFromRow": "name"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"field": "findingsCount",
|
|
67
|
+
"label": "Findings #",
|
|
68
|
+
"listQuery": {
|
|
69
|
+
"entityName": "vulnerabilities",
|
|
70
|
+
"listDescriptorId": "vulnerabilities-observations-list",
|
|
71
|
+
"narrativeIds": ["is-finding"],
|
|
72
|
+
"filters": [
|
|
73
|
+
{
|
|
74
|
+
"property": "pluginName",
|
|
75
|
+
"operator": "eq",
|
|
76
|
+
"valueFromRow": "name"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"field": "vulnerabilitiesCount",
|
|
83
|
+
"label": "Vulnerabilities #",
|
|
84
|
+
"listQuery": {
|
|
85
|
+
"entityName": "vulnerabilities",
|
|
86
|
+
"listDescriptorId": "vulnerabilities-main-list",
|
|
87
|
+
"narrativeIds": ["is-vulnerability"],
|
|
88
|
+
"filters": [
|
|
89
|
+
{
|
|
90
|
+
"property": "pluginName",
|
|
91
|
+
"operator": "eq",
|
|
92
|
+
"valueFromRow": "name"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
@@ -8,10 +8,17 @@
|
|
|
8
8
|
"defaultLimit": 50,
|
|
9
9
|
"maxLimit": 200
|
|
10
10
|
},
|
|
11
|
-
"filters": [
|
|
11
|
+
"filters": [
|
|
12
|
+
{
|
|
13
|
+
"property": "narrativeId",
|
|
14
|
+
"operator": "eq",
|
|
15
|
+
"value": "is-vulnerability"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
12
18
|
"fields": [
|
|
13
19
|
"vulnerabilityId",
|
|
14
20
|
"assetIp",
|
|
21
|
+
"subnetIp",
|
|
15
22
|
"pluginName",
|
|
16
23
|
"pluginFamily",
|
|
17
24
|
"severity",
|
|
@@ -28,6 +35,7 @@
|
|
|
28
35
|
"allowedSorts": [
|
|
29
36
|
"vulnerabilityId",
|
|
30
37
|
"assetIp",
|
|
38
|
+
"subnetIp",
|
|
31
39
|
"pluginName",
|
|
32
40
|
"pluginFamily",
|
|
33
41
|
"severity",
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "vulnerabilities-observations-list",
|
|
3
|
+
"entity": "vulnerabilities",
|
|
4
|
+
"title": "Observations",
|
|
5
|
+
"leadingContentType": "snapshots",
|
|
6
|
+
"pagination": {
|
|
7
|
+
"enabled": true,
|
|
8
|
+
"defaultLimit": 50,
|
|
9
|
+
"maxLimit": 200
|
|
10
|
+
},
|
|
11
|
+
"filters": [
|
|
12
|
+
{
|
|
13
|
+
"property": "narrativeId",
|
|
14
|
+
"operator": "eq",
|
|
15
|
+
"value": "is-finding"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"fields": [
|
|
19
|
+
"assetIp",
|
|
20
|
+
"pluginName",
|
|
21
|
+
"severity",
|
|
22
|
+
"riskLevel",
|
|
23
|
+
"priorityScore",
|
|
24
|
+
"knownExploited",
|
|
25
|
+
"cveId",
|
|
26
|
+
"subnetIp"
|
|
27
|
+
],
|
|
28
|
+
"extensions": [],
|
|
29
|
+
"includeRelations": [],
|
|
30
|
+
"allowedSorts": [
|
|
31
|
+
"assetIp",
|
|
32
|
+
"pluginName",
|
|
33
|
+
"severity",
|
|
34
|
+
"riskLevel",
|
|
35
|
+
"priorityScore",
|
|
36
|
+
"knownExploited"
|
|
37
|
+
],
|
|
38
|
+
"defaultSort": {
|
|
39
|
+
"property": "pluginName",
|
|
40
|
+
"direction": "asc"
|
|
41
|
+
},
|
|
42
|
+
"allowSortDrivenLeadingOverride": false
|
|
43
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "vulnerabilities-triage-analysis-list",
|
|
3
|
+
"entity": "vulnerabilities",
|
|
4
|
+
"title": "Vulnerabilities Triage",
|
|
5
|
+
"leadingContentType": "analysis",
|
|
6
|
+
"pagination": {
|
|
7
|
+
"enabled": true,
|
|
8
|
+
"defaultLimit": 50,
|
|
9
|
+
"maxLimit": 200
|
|
10
|
+
},
|
|
11
|
+
"filters": [],
|
|
12
|
+
"fields": [
|
|
13
|
+
"analysisBriefSummary",
|
|
14
|
+
"analysisBriefAnalysis",
|
|
15
|
+
"analysisExploitabilityLevel",
|
|
16
|
+
"analysisClassType",
|
|
17
|
+
"analysisImpact"
|
|
18
|
+
],
|
|
19
|
+
"extensions": [],
|
|
20
|
+
"includeRelations": [],
|
|
21
|
+
"allowedSorts": [
|
|
22
|
+
"analysisExploitabilityLevel",
|
|
23
|
+
"analysisClassType"
|
|
24
|
+
],
|
|
25
|
+
"defaultSort": {
|
|
26
|
+
"property": "analysisExploitabilityLevel",
|
|
27
|
+
"direction": "asc"
|
|
28
|
+
},
|
|
29
|
+
"allowSortDrivenLeadingOverride": false
|
|
30
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "vulnerable-assets-list",
|
|
3
|
+
"entity": "assets",
|
|
4
|
+
"title": "Vulnerable Assets",
|
|
5
|
+
"leadingContentType": "snapshots",
|
|
6
|
+
"pagination": {
|
|
7
|
+
"enabled": true,
|
|
8
|
+
"defaultLimit": 50,
|
|
9
|
+
"maxLimit": 200
|
|
10
|
+
},
|
|
11
|
+
"filters": [
|
|
12
|
+
{
|
|
13
|
+
"property": "narrativeId",
|
|
14
|
+
"operator": "ne",
|
|
15
|
+
"value": "has-no-vulnerabilities"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"fields": [
|
|
19
|
+
"ipAddress",
|
|
20
|
+
"hostName",
|
|
21
|
+
"source",
|
|
22
|
+
"pathsCount",
|
|
23
|
+
"criticalVulnerabilities",
|
|
24
|
+
"highVulnerabilities",
|
|
25
|
+
"findingsCount",
|
|
26
|
+
"agentType",
|
|
27
|
+
"xdrAgentStatus",
|
|
28
|
+
"xdrOperationalStatus",
|
|
29
|
+
"observedUsers",
|
|
30
|
+
"lastSeen"
|
|
31
|
+
],
|
|
32
|
+
"extensions": [],
|
|
33
|
+
"includeRelations": [],
|
|
34
|
+
"allowedSorts": [
|
|
35
|
+
"ipAddress",
|
|
36
|
+
"hostName",
|
|
37
|
+
"source",
|
|
38
|
+
"pathsCount",
|
|
39
|
+
"criticalVulnerabilities",
|
|
40
|
+
"highVulnerabilities",
|
|
41
|
+
"findingsCount",
|
|
42
|
+
"agentType",
|
|
43
|
+
"xdrAgentStatus",
|
|
44
|
+
"xdrOperationalStatus",
|
|
45
|
+
"lastSeen"
|
|
46
|
+
],
|
|
47
|
+
"defaultSort": {
|
|
48
|
+
"property": "ipAddress",
|
|
49
|
+
"direction": "asc"
|
|
50
|
+
},
|
|
51
|
+
"allowSortDrivenLeadingOverride": false,
|
|
52
|
+
"columnDrillDowns": [
|
|
53
|
+
{
|
|
54
|
+
"field": "criticalVulnerabilities",
|
|
55
|
+
"label": "Critical Vulnerabilities",
|
|
56
|
+
"listQuery": {
|
|
57
|
+
"entityName": "vulnerabilities",
|
|
58
|
+
"listDescriptorId": "vulnerabilities-main-list",
|
|
59
|
+
"narrativeIds": ["is-vulnerability", "has-critical-severity"],
|
|
60
|
+
"filters": [
|
|
61
|
+
{
|
|
62
|
+
"property": "assetIp",
|
|
63
|
+
"operator": "eq",
|
|
64
|
+
"valueFromRow": "ipAddress"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"field": "highVulnerabilities",
|
|
71
|
+
"label": "High Vulnerabilities",
|
|
72
|
+
"listQuery": {
|
|
73
|
+
"entityName": "vulnerabilities",
|
|
74
|
+
"listDescriptorId": "vulnerabilities-main-list",
|
|
75
|
+
"narrativeIds": ["is-vulnerability", "has-high-severity"],
|
|
76
|
+
"filters": [
|
|
77
|
+
{
|
|
78
|
+
"property": "assetIp",
|
|
79
|
+
"operator": "eq",
|
|
80
|
+
"valueFromRow": "ipAddress"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"field": "findingsCount",
|
|
87
|
+
"label": "Findings",
|
|
88
|
+
"listQuery": {
|
|
89
|
+
"entityName": "vulnerabilities",
|
|
90
|
+
"listDescriptorId": "vulnerabilities-observations-list",
|
|
91
|
+
"narrativeIds": ["is-finding"],
|
|
92
|
+
"filters": [
|
|
93
|
+
{
|
|
94
|
+
"property": "assetIp",
|
|
95
|
+
"operator": "eq",
|
|
96
|
+
"valueFromRow": "ipAddress"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|