class CveXplore.objects.capec.Capec(CveXplore.common.data_source_connection.DatasourceConnection)[source]

Capec database object

Constructors

Capec(**kwargs)[source]

Create a DatasourceConnection object

properties

property collection : str

Property to access the collection

property datasource_collection_connection : Collection

Property to access the datasource collection connection

property datasource_connection : DatabaseConnectionBase

Property to access the datasource connection

Public members

iter_related_capecs()[source]

Generator function for iterating the related capecs from the current Capec object

iter_related_weaknessess()[source]

Generator function for iterating the related weaknesses from the current Capec object

to_dict(*print_keys: str) dict[source]

Method to convert the entire object to a dictionary

Comparison operators

__eq__(other: DatabaseConnection) bool[source]

Return self==value.

__ne__(other: DatabaseConnection) bool[source]

Return self!=value.

String representation

__repr__()[source]

String representation of object