22fd8e122e
chg: [lookup] add --unique
option to return the best matching CPE
2024-11-23 16:59:36 +01:00
30d9321fc9
new: [api] New endpoint unique
return the best cpe matches
2024-11-23 16:47:54 +01:00
facc75d06d
chg: [valkey] get rid of Redis and moved to Valkey
Black formatting / Black (push) Waiting to run
ShellCheck / ShellCheck (push) Waiting to run
2024-11-23 15:57:18 +01:00
Esa Jokinen
2fa90cb3f8
Black 24.3.0 formatting
2024-04-05 17:03:23 +03:00
a228c7b25b
chg: [code] black
2023-08-09 15:21:05 +02:00
Sébastien Copin
ab6402257e
No error code if import.py exits with warning
...
It can block app restarting, especially with container usage
2023-07-11 09:10:39 +02:00
Sébastien Copin
b138364323
Add external configuration
2023-07-08 20:50:49 +02:00
80f0542d22
chg: [format] black -S
on all files
2021-10-19 18:30:29 +02:00
3d40abfd5c
fix: [import] don't exit on update process
2021-10-19 18:20:44 +02:00
b87e83909e
new: [import] add an --update option to not flush for production servers
2021-10-19 18:18:20 +02:00
Esa Jokinen
4678307483
chg: [lookup] use positional arguments for WORD(s)
2021-09-22 17:16:23 +03:00
Esa Jokinen
5320323840
chg: [server] configurable port, common exceptions
2021-09-22 09:50:34 +03:00
Esa Jokinen
f7803fa4d9
fix: [clean-up] use f-strings instead of format()
2021-09-22 08:37:42 +03:00
Esa Jokinen
0e1b0942c4
fix: [clean-up] remove unused imports & variables
2021-09-22 08:34:28 +03:00
722863c103
fix: [clean-up] use format() instead concatenation
2021-09-21 20:31:32 +02:00
Esa Jokinen
fa6abfbb54
chg: [import] implement dl & fail-safe mechanism
2021-09-21 20:23:48 +03:00
Esa Jokinen
b6bc102714
CPE guessing logic & database access as a class.
2021-09-18 14:32:31 +03:00
56cfdd5852
new: [server] basic HTTP server for the CPE guesser
2021-09-17 07:45:01 +02:00
109466e062
new: [data] ranked set by cpe name
2021-09-16 07:33:37 +02:00
6baaad6f82
chg: [lookup] add ranking and output JSON
2021-09-16 07:33:11 +02:00
98de035a0c
new: [lookup] basic version of lookup
2021-09-15 21:37:41 +02:00
84092b975d
fix: [import] redis key
2021-09-15 21:37:10 +02:00
a933c6f172
new: [import] first version of the import
...
- Parse the CPE 2.3 XML file
- Extract vendor and product
- Canonize words from the vendor and product
- Insert in redis the reverse index and create a sorted set with the
score per cpe vendor:product frequency
2021-09-07 07:29:38 +02:00