Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: attach given model to attack graph when loading from dict/file #67

Merged
merged 3 commits into from
Jul 16, 2024

Conversation

mrkickling
Copy link
Collaborator

@mrkickling mrkickling commented Jul 15, 2024

Bug1:
The model was never attached before which creates issues when loading an attack graph from file and e.g. attaching attackers, this PR should fix it.

Bug2:
The asset was not attached to the recreated node before doing 'graph.add_node' which lead to a problem where .full_name was not actually giving the full name when creating the dict AttackGraph._full_name_to_node which leads to wrong keys in that dict.

@mrkickling mrkickling changed the title Bug: attach given model to attack graph when loading from dict/file Bugfix: attach given model to attack graph when loading from dict/file Jul 15, 2024
@andrewbwm andrewbwm merged commit 40d99b3 into main Jul 16, 2024
5 checks passed
@andrewbwm andrewbwm deleted the attack-graph-attach-model branch July 16, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants