maltoolbox.exceptions module

exception maltoolbox.exceptions.AttackGraphException[source]

Bases: MalToolboxException

Base exception for all attack-graph related exceptions.

exception maltoolbox.exceptions.AttackGraphStepExpressionError[source]

Bases: AttackGraphException

A target attack step cannot be linked with for a step expression.

exception maltoolbox.exceptions.DuplicateModelAssociationError[source]

Bases: ModelException

Associations should be unique as part of Model

exception maltoolbox.exceptions.LanguageGraphAssociationError[source]

Bases: LanguageGraphException

Error in building an association.

For example, right or left-hand side asset of association missing in language graph.

exception maltoolbox.exceptions.LanguageGraphException[source]

Bases: MalToolboxException

Base exception for all language-graph related exceptions.

exception maltoolbox.exceptions.LanguageGraphStepExpressionError[source]

Bases: LanguageGraphException

A target asset cannot be linked with for a step expression.

exception maltoolbox.exceptions.LanguageGraphSuperAssetNotFoundError[source]

Bases: LanguageGraphException

Asset’s super asset not found in language graph during attack graph construction.

exception maltoolbox.exceptions.MalToolboxException[source]

Bases: Exception

Base exception for all other maltoolbox exceptions to inherit from.

exception maltoolbox.exceptions.ModelAssociationException[source]

Bases: ModelException

Exception related to associations in Model

exception maltoolbox.exceptions.ModelException[source]

Bases: MalToolboxException

Base Exception for all Model related exceptions