maltoolbox.attackgraph.node module

MAL-Toolbox Attack Graph Node

class maltoolbox.attackgraph.node.AttackGraphNode(node_id: int, lg_attack_step: LanguageGraphAttackStep, model_asset: ModelAsset | None = None, ttc_dist: dict | None = None, existence_status: bool | None = None)[source]

Bases: object

Node part of AttackGraph

property full_name: str

Return the full name of the attack step. This is a combination of the asset name to which the attack step belongs and attack step name itself.

property info: dict[str, str]
to_dict() dict[source]

Convert node to dictionary