We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3b750c commit 8a5381dCopy full SHA for 8a5381d
1 file changed
cyberbattle/simulation/model.py
@@ -326,7 +326,7 @@ class NodeInfo:
326
# Properties of the nodes, some of which can imply further vulnerabilities
327
properties: List[PropertyName] = dataclasses.field(default_factory=list)
328
# Fireall configuration of the node
329
- firewall: FirewallConfiguration = FirewallConfiguration()
+ firewall: FirewallConfiguration = dataclasses.field(default_factory=FirewallConfiguration)
330
# Attacker agent installed on the node? (aka the node is 'pwned')
331
agent_installed: bool = False
332
# Esclation level
0 commit comments