diff --git a/NetSecGameAgents b/NetSecGameAgents index bc091fd3..dfcd00d4 160000 --- a/NetSecGameAgents +++ b/NetSecGameAgents @@ -1 +1 @@ -Subproject commit bc091fd36f2043b40876e1528acabfdd903cce4f +Subproject commit dfcd00d42ce04086c497fedc589013b0744b8dd6 diff --git a/coordinator.py b/coordinator.py index 8ec9cbd7..27f914a3 100644 --- a/coordinator.py +++ b/coordinator.py @@ -375,6 +375,7 @@ def _process_generic_action(self, agent_addr: tuple, action: Action) -> dict: action="store", required=False, type=str, + default="env/netsecenv_conf.yaml", ) args = parser.parse_args() diff --git a/env/network_security_game.py b/env/network_security_game.py index 172e5279..66997c91 100755 --- a/env/network_security_game.py +++ b/env/network_security_game.py @@ -1087,6 +1087,7 @@ def step(self, action:components.Action, action_type='netsecenv')-> components.O # 1. Perform the action if random.random() <= action.type.default_success_p or action_type == 'realworld': + self._actions_played.append(action) next_state = self._execute_action(self._current_state, action, action_type=action_type) else: logger.info("\tAction NOT sucessful")