Comments (2)
@adulau
I've been thinking on how to do this, and most parts are easy to figure out, but some are a bit more dificult. What I thought of so far is:
- One file (
lib.module
) is a template for all modules, and will be extended by custom modules - A module loader will give the users the ability to load or disable modules, even while the server is running (I've written something like this in previous projects, so this will be easy to implement)
lib.module
will contain several functions that can be overwritten by the module, likeloadCVEInfo
- Gets triggered when you open a/cve/<cveid>
page, and returns a subset of the page (for example the notes a user made), or takes other actions, (like marking CVEs as "seen")update
- Gets triggered by the updater script, and updates the database info
Things I'm still thinking about are:
- If you want modules to affect the index page data, how can we do this (for example mark as seen)? There are a few things to keep in mind:
- Colouring entries gray, like the "seen" module, is currently done in the template
- Extra filters could probably be added dynamically, but layout and functionality of the filters will change
- Modules like "bookmarked CVEs" need their own page. How do we accomplish this (in
index.py
)?
What's your opinion?
from cve-search.
Plug-in manager implemented in the latest release of CVE-Search (v2.0)
from cve-search.
Related Issues (20)
- release 5.0.0 HOT 4
- CWE Description field should be lowercase
- Connection Issues with ./db_mgmt_* Scripts in CVE-Search HOT 7
- API:Retrieval of api data resulted in an Exception HOT 14
- Error: jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'epssMetric' HOT 4
- Use specific cpe-id on cvefor api cause memory leak HOT 4
- KeyError: 'vulnerable_configuration' HOT 1
- [DB_UPDATE.PY] Error with CAPEC HOT 1
- Potential db_updater logic flaw in v5.0.0 HOT 2
- VIA4 data is out of date HOT 3
- Version release HOT 3
- Missing file when populatin the database HOT 1
- Can't load plugin: sqlalchemy.dialects:mongodb HOT 1
- Download issues with db_mgmt_json.py HOT 5
- ModuleNotFoundError: No module named 'sqlalchemy' - db_updater.py -v HOT 3
- Tailored the New Vulnerabilities CVE only with list of Assets HOT 1
- CPE population fails with urllib3 1.x (stable version on Ubuntu 22.04 LTS) HOT 4
- New releases? HOT 16
- Update MongoDB in documentation HOT 1
- CPE parsing problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cve-search.