Update actions
This commit is contained in:
@@ -301,17 +301,17 @@
|
||||
"- `1`: Scan the web service - this refreshes the health status in the observation space\n",
|
||||
"- `9`: Scan the database file - this refreshes the health status of the database file\n",
|
||||
"- `13`: Patch the database service - This triggers the database to restore data from the backup server\n",
|
||||
"- `19`: Shut down client 1\n",
|
||||
"- `20`: Start up client 1\n",
|
||||
"- `22`: Block outgoing traffic from client 1\n",
|
||||
"- `23`: Block outgoing traffic from client 2\n",
|
||||
"- `26`: Block TCP traffic from client 1 to the database node\n",
|
||||
"- `27`: Block TCP traffic from client 2 to the database node\n",
|
||||
"- `28-37`: Remove ACL rules 1-10\n",
|
||||
"- `42`: Disconnect client 1 from the network\n",
|
||||
"- `43`: Reconnect client 1 to the network\n",
|
||||
"- `44`: Disconnect client 2 from the network\n",
|
||||
"- `45`: Reconnect client 2 to the network\n",
|
||||
"- `39`: Shut down client 1\n",
|
||||
"- `40`: Start up client 1\n",
|
||||
"- `46`: Block outgoing traffic from client 1\n",
|
||||
"- `47`: Block outgoing traffic from client 2\n",
|
||||
"- `50`: Block TCP traffic from client 1 to the database node\n",
|
||||
"- `51`: Block TCP traffic from client 2 to the database node\n",
|
||||
"- `52-61`: Remove ACL rules 1-10\n",
|
||||
"- `66`: Disconnect client 1 from the network\n",
|
||||
"- `67`: Reconnect client 1 to the network\n",
|
||||
"- `68`: Disconnect client 2 from the network\n",
|
||||
"- `69`: Reconnect client 2 to the network\n",
|
||||
"\n",
|
||||
"The other actions will either have no effect or will negatively impact the network, so the blue agent should avoid taking them."
|
||||
]
|
||||
@@ -541,10 +541,10 @@
|
||||
"env.step(13) # Patch the database\n",
|
||||
"print(f\"step: {env.game.step_counter}, Red action: {info['agent_actions']['data_manipulation_attacker'][0]}, Blue reward:{reward}\" )\n",
|
||||
"\n",
|
||||
"env.step(26) # Block client 1\n",
|
||||
"env.step(50) # Block client 1\n",
|
||||
"print(f\"step: {env.game.step_counter}, Red action: {info['agent_actions']['data_manipulation_attacker'][0]}, Blue reward:{reward}\" )\n",
|
||||
"\n",
|
||||
"env.step(27) # Block client 2\n",
|
||||
"env.step(51) # Block client 2\n",
|
||||
"print(f\"step: {env.game.step_counter}, Red action: {info['agent_actions']['data_manipulation_attacker'][0]}, Blue reward:{reward}\" )\n",
|
||||
"\n",
|
||||
"for step in range(30):\n",
|
||||
|
||||
Reference in New Issue
Block a user