Common
General tools and converters
CPE Converters
- CveXplore.common.cpe_converters.from2to3CPE(cpe, autofill=False)[source]
Method to transform cpe2.2 to cpe2.3 format
- Return type:
str
- CveXplore.common.cpe_converters.from3to2CPE(cpe)[source]
Method to transform cpe2.3 to cpe2.2 format
- Return type:
str
- CveXplore.common.cpe_converters.split_cpe_name(cpename)[source]
Split CPE 2.3 into its components, accounting for escaped colons.
- Return type:
list
[str
]
Data source connection
- class CveXplore.common.data_source_connection.DatasourceConnection(collection)[source]
Bases:
CveXploreObject
The DatasourceConnection class handles the connection to the data source and is the base class for the database objects and generic database functions
- __hash__ = None