Code base¶
Main¶
- class CveXplore.CveXplore[source]
The CveXplore class is the main entry point for CveXplore. All functionality is available from straight from this class or via the different subclasses / attributes.
Common¶
- class CveXplore.common.data_source_connection.DatasourceConnection(CveXploreObject)[source]
The DatasourceConnection class handles the connection to the data source and is the base class for the database objects and generic database functions
Database¶
- class CveXplore.core.database_actions.db_action.DatabaseAction[source]
Database Action class is used to queue update and insert actions.
- class CveXplore.database.connection.mongodb.mongo_db.MongoDBConnection(DatabaseConnectionBase)[source]
The MongoDBConnection class serves as a shell that functions as uniform way to connect to the mongodb backend. By default, it will try to establish a connection towards a mongodb running on localhost (default port 27017) and database ‘cvedb’ (as per defaults of cve_search)
Taskhandler¶
- class CveXplore.core.celery_task_handler.task_handler.CveXploreEntry(RedBeatSchedulerEntry)[source]
CveXploreEntry class is used to create new tasks in the backend; it inherits from RedBeatSchedulerEntry and overwrites the save method. By default, the RedBeatSchedulerEntry uses the same redis parameters as the celery daemon it facilitates. By overwriting this method the possibility is created to use different redis connection parameters then the celery daemon.
- class CveXplore.core.celery_task_handler.task_handler.Task[source]
The Task class is used to handle all task related operations related to the CveXplore backend.
- class CveXplore.core.celery_task_handler.task_handler.TaskHandler[source]
Class that is the main handler towards the backend; this class is used by the package and CLI for all CRUD operations on the backend of CveXplore.
Backend¶
- class CveXplore.core.redis_handler.redis_handler.RedisHandler[source]
Redis Handler for CveXplore which handlers several Redis related operations.