mal-toolbox 0.3.10__tar.gz → 0.3.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mal_toolbox-0.3.10/mal_toolbox.egg-info → mal_toolbox-0.3.11}/PKG-INFO +1 -1
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11/mal_toolbox.egg-info}/PKG-INFO +1 -1
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/__init__.py +2 -2
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/attackgraph/analyzers/apriori.py +4 -5
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/pyproject.toml +1 -1
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/AUTHORS +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/LICENSE +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/README.md +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/mal_toolbox.egg-info/SOURCES.txt +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/mal_toolbox.egg-info/dependency_links.txt +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/mal_toolbox.egg-info/entry_points.txt +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/mal_toolbox.egg-info/requires.txt +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/mal_toolbox.egg-info/top_level.txt +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/__main__.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/attackgraph/__init__.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/attackgraph/analyzers/__init__.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/attackgraph/attacker.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/attackgraph/attackgraph.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/attackgraph/node.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/attackgraph/query.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/exceptions.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/file_utils.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/ingestors/__init__.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/ingestors/neo4j.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/language/__init__.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/language/compiler/__init__.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/language/compiler/mal_lexer.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/language/compiler/mal_parser.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/language/languagegraph.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/model.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/translators/__init__.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/translators/securicad.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/maltoolbox/translators/updater.py +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/setup.cfg +0 -0
- {mal_toolbox-0.3.10 → mal_toolbox-0.3.11}/tests/test_model.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: mal-toolbox
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.11
|
|
4
4
|
Summary: A collection of tools used to create MAL models and attack graphs.
|
|
5
5
|
Author-email: Andrei Buhaiu <buhaiu@kth.se>, Joakim Loxdal <loxdal@kth.se>, Nikolaos Kakouros <nkak@kth.se>, Jakob Nyberg <jaknyb@kth.se>, Giuseppe Nebbione <nebbione@kth.se>
|
|
6
6
|
License: Apache Software License
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: mal-toolbox
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.11
|
|
4
4
|
Summary: A collection of tools used to create MAL models and attack graphs.
|
|
5
5
|
Author-email: Andrei Buhaiu <buhaiu@kth.se>, Joakim Loxdal <loxdal@kth.se>, Nikolaos Kakouros <nkak@kth.se>, Jakob Nyberg <jaknyb@kth.se>, Giuseppe Nebbione <nebbione@kth.se>
|
|
6
6
|
License: Apache Software License
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# MAL Toolbox v0.3.
|
|
2
|
+
# MAL Toolbox v0.3.11
|
|
3
3
|
# Copyright 2025, Andrei Buhaiu.
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -21,7 +21,7 @@ MAL-Toolbox Framework
|
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
23
|
__title__ = "maltoolbox"
|
|
24
|
-
__version__ = "0.3.
|
|
24
|
+
__version__ = "0.3.11"
|
|
25
25
|
__authors__ = [
|
|
26
26
|
"Andrei Buhaiu",
|
|
27
27
|
"Giuseppe Nebbione",
|
|
@@ -55,17 +55,16 @@ def propagate_necessity_from_node(node: AttackGraphNode) -> None:
|
|
|
55
55
|
node.full_name, node.id, node.is_necessary
|
|
56
56
|
)
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
if
|
|
58
|
+
for child in node.children:
|
|
59
|
+
if child.ttc and child.ttc.get('name', None) not in ['Enabled',
|
|
60
|
+
'Disabled', 'Instant']:
|
|
60
61
|
# Do not propagate unnecessary state from nodes that have a TTC
|
|
61
62
|
# probability distribution associated with them.
|
|
62
63
|
# TODO: Evaluate this more carefully, how do we want to have TTCs
|
|
63
64
|
# impact necessity and viability.
|
|
64
65
|
# TODO: Have this condition be any probability that has a
|
|
65
66
|
# Bernoulli component
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
for child in node.children:
|
|
67
|
+
continue
|
|
69
68
|
original_value = child.is_necessary
|
|
70
69
|
if child.type == 'or':
|
|
71
70
|
child.is_necessary = False
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|