You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ChangeLog.md
+51-19Lines changed: 51 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,12 @@
1
1
# Change Log
2
2
3
-
## 2.0.0-rc14
4
-
- initial version of `cve-core` as a peer project to other `cve-projects`. Can be used as part of a monorepo
3
+
### 2.1.0
4
+
- wildcard search using "*" and "?"
5
+
- AppConfig to manage hierarchical environment variables and all default values for environment variables
6
+
- code refactoring: reorganizing code, general cleaning up for migration to github
7
+
8
+
### 2.0.0-rc14 - deployed: 2025-06-05
9
+
- initial version of `cve-core` as a peer project to other `cve-projects`. Can be used as part of a monorepo (e.g., https://github.com/CVEProject/CVE-Search-API/tree/dev)
5
10
- search using `axios`, NodeJS-native `fetch` and `@opensearch-project/opensearch` libraries
6
11
- CVE-, CWE-, and CAPAC- IDs
7
12
- CVE YEAR
@@ -12,7 +17,6 @@
12
17
- hyphenated words (e.g., "man-in-the-middle")
13
18
- software names (e.g., "Node.JS", ".NET")
14
19
- file extension (e.g., "matvar_struct.c")
15
-
- repeating non-language characters (e.g., "aaaaa" is ok, but "?????" is replaced by "")
16
20
- can run as AWS Lambda Layer
17
21
- new adapters
18
22
- CVE Services reader
@@ -26,18 +30,47 @@
26
30
27
31
## Older Milestones from the older `cveUtils`/`cvelist-bulk-download` repositories
28
32
29
-
Note that the following milestones were in other repositories, which contained a superset of the source code in this npm library. The milestones below are meant only for historic reference, in case a full history of an implementation is needed.
33
+
Note that the following milestones were in multiple repositories, and together contained a superset of the source code in this npm library. The milestones below are meant only for historic reference, in case a full history of an implementation is needed.
34
+
35
+
### 1.3.0 - deployed only on AWS in 2024-12 for initial search capability (tag `2024-12-06`)
36
+
- search using `axios` and `@opensearch-project/opensearch` libraries
37
+
- general search for tokenized strings in all fields
38
+
-CVE-ID
39
+
40
+
### 2.0.0-rc14
41
+
- initial version of `cve-core` as a peer project to other `cve-projects`. Can be used as part of a monorepo (e.g., https://github.com/CVEProject/CVE-Search-API/tree/dev)
42
+
- search using `axios`, NodeJS-native `fetch` and `@opensearch-project/opensearch` libraries
43
+
- CVE-, CWE-, and CAPAC- IDs
44
+
- CVE YEAR
45
+
- basic version strings (e.g., "v3.2.5", "v3.2.5-RC1")
46
+
- basic IPv4 and IPv6
47
+
- URLs
48
+
- compound words (e.g., "docker-compose", "microsoft word")
49
+
- hyphenated words (e.g., "man-in-the-middle")
50
+
- software names (e.g., "Node.JS", ".NET")
51
+
- file extension (e.g., "matvar_struct.c")
52
+
- repeating non-language characters (e.g., "aaaaa" is ok, but "?????" is replaced by "")
53
+
- can run as AWS Lambda Layer
54
+
- new adapters
55
+
- CVE Services reader
56
+
- CVE Search reader
57
+
- CVE file reader
58
+
- file reader/writer
59
+
- console input for interacting with a user in a CLI
60
+
- CveResult class with standardized errors and messages (this version is aimed at the search service)
61
+
- object (JSON) comparer using `json-difference` library
62
+
- JSON replacer that alphabetizes keys when serializing using JSON.stringify()
- note date is slightly different in GitLab tag in cve_utils, but the code is functionly the same: `2023-04-25_to_github_hkong-mitre_cvelist_bulk_download`
59
91
60
92
61
93
### 2023-03-29
62
-
- official version used in GitHub actions that updated /cves when cvelistV5 was announced at CNA Summit 2023
Copy file name to clipboardExpand all lines: docs/BasicSearchManager.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,23 @@
1
1
# BasicSearchManager
2
2
3
3
`BasicSearchManager` provides basic facilities for working with an ElasticSearch/OpenSearch instance. It provides the following:
4
-
-`search` providing a standardized way to do a search. This method hides the details of how a search is done depending on the user's search text and other input parameters (e.g., when doing faceted search or when all matches are requested, requiring paging). When using this asynchronous method, the returned `CveResult` will contain results from the search, plus possibly notes and errors that were found during data validation and searching.
5
-
-`validateSearchText` is a synchronous method that will return a `CveResult` object potentially containing notes and errors.
4
+
-`search()` providing a standardized way to do a search. This method hides the details of the different ways a search is carried out in ElasticSearch/OpenSearch using the user's search text and other input parameters (e.g., when doing faceted search or when all matches are requested, requiring paging). When using this asynchronous method, the returned `CveResult` will contain results from the search, plus possibly notes and errors that were found during data validation and searching.
6
5
7
6
In addition, the following associated classes and types are also defined:
8
-
-`SearchProviderInfo` --- an object to fully represent a specific index in an ElasticSearch/OpenSearch instance
9
-
-`SearchOptions` --- options when searching
7
+
-`SearchProviderSpec` --- an object to fully represent a specific index in an ElasticSearch/OpenSearch instance
8
+
-`SearchOptions` --- options when searching (e.g., `default_operator`)
10
9
-`SearchResultData` --- a strongly typed type to facilitate working with search results
11
10
12
-
For an example of how to use the BasicSearchManager and its associated classes and types, see [BasicSearchManager Examples](#basicsearchmanager-examples).
11
+
For examples of how to use the BasicSearchManager see [Simple Search Example](#simple-search-example).
0 commit comments