Marek Wolan
a4caa3dfe4
#2449 fix observation integration
2024-04-03 15:58:01 +01:00
Cristian-VM2
94e637375d
#2404 update software state to fixing in UC2 e2e notebook [skip ci]
2024-03-26 17:02:51 +00:00
Cristian-VM2
5860c74ef9
#2404 change software state from patching to fixing to align with CAOS v0.8
2024-03-26 16:41:11 +00:00
Cristian-VM2
bef2bd8084
add actions to enable/disable ports in routers/firewalls, improve notebook for training PPO agents
2024-03-22 16:35:53 +00:00
Marek Wolan
fc67fc4833
Fix notebook parsing data
2024-03-15 14:37:28 +00:00
Marek Wolan
c8beb39fac
clear notebook output
2024-03-15 14:03:49 +00:00
Marek Wolan
33dd6e4dcd
Make sure notebook is using correct dict key
2024-03-15 14:03:37 +00:00
Marek Wolan
24fdb8dc17
Fix minor reward sharing bugs
2024-03-12 11:40:26 +00:00
Marek Wolan
7599655879
Add agent action history
2024-03-11 20:10:08 +00:00
Marek Wolan
f4684b0349
Fix how nmnes are getting put into obs space.
2024-03-09 23:32:00 +00:00
Marek Wolan
618da8abe9
Rename notebooks
2024-03-07 15:25:11 +00:00
Marek Wolan
17d4807660
Rename configs
2024-03-07 14:33:21 +00:00
Marek Wolan
3e495c4622
Cosmetic changes to notebook
2024-03-05 09:28:22 +00:00
Marek Wolan
758f892b74
Make notebook for varying red agent behaviour in uc2
2024-03-04 21:04:27 +00:00
Marek Wolan
a222a8c58f
Give the UC2 config load function a meaningful name
2024-03-04 19:43:51 +00:00
Marek Wolan
1e8dfa40cf
Give uc2 notebook a meaningful name
2024-03-04 19:36:54 +00:00
Marek Wolan
ea1d016bc2
Merge remote-tracking branch 'origin/feature/2319-database-admin' into feature/2243-sync-uc2-action-to-iy
2024-03-03 16:55:42 +00:00
Marek Wolan
0e8c60df4c
Update actions
2024-03-03 16:53:18 +00:00
Marek Wolan
ef1a2dc3f4
clear uc2 notebook outputs
2024-03-03 16:00:10 +00:00
Marek Wolan
9762927289
Update notebook with new changes
2024-03-03 11:43:24 +00:00
Marek Wolan
bd0b2e0033
Remove redundant notebook cells
2024-02-29 13:22:41 +00:00
Marek Wolan
f7c535b557
Merge 'origin/dev' into feature/2319-database-admin
2024-02-29 13:21:44 +00:00
Marek Wolan
ce39387f92
Merge 'origin/dev' into feature/2317-refactor-reset
2024-02-29 10:16:42 +00:00
Chris McCarthy
63ea5478ab
#2238 - Updated uc2_demo.ipynb to explain the NMNE in observation space
2024-02-28 13:56:19 +00:00
Marek Wolan
af8ca82fcb
Get the db admin green agent working
2024-02-27 13:30:16 +00:00
Marek Wolan
e5982c4599
Change agents list in game object to dictionary
2024-02-26 10:26:28 +00:00
Marek Wolan
63c9a36c30
Fix typos
2024-02-25 18:36:20 +00:00
Marek Wolan
994dbc3501
Finalise the refactor. It works well now.
2024-02-25 17:44:41 +00:00
Marek Wolan
a34cf08209
Merge remote-tracking branch 'origin/dev' into feature/2317-refactor-reset
2024-02-25 16:41:40 +00:00
Marek Wolan
8f85555709
Merged PR 278: Enable the red agent to vary its start node
...
## Summary
- Made the data manipulation red agent be able to choose between the two clients to start operating on
- changed the attacker name in the config to 'data_manipulation_attacker' to because it is no longer tied to any client
- Updated the documentation notebook accordingly.
- Fixed a bug where the database client made a new connection every time it sent a SQL query (it tries to reuse its most recent one instead)
- Fixed a bug where link loads were not being cleared between episodes (?)
**warning** - the green agents are not working properly after reset right now, but I'm gonna fix this in the next ticket where I refactor episode reset.
## Test process
- unit tests pass
- UC2 notebook passes with both clients. (currently this doesn't work after an episode reset, but the very next thing I'm gonna work on is refactoring the reset, so I don't want to waste time fixing this.)
## Checklist
- [x] PR is linked to a **work item**
- [x] **acceptance criteria** of linked ticket are met
- [x] performed **self-review** of the code
- [x] written **tests** for any new functionality added with this PR
- [ ] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [x] updated the **change log**
- [x] ran **pre-commit** checks for code style
- [n] attended to any **TO-DOs** left in the code
Related work items: #2232
2024-02-20 20:22:20 +00:00
Marek Wolan
64b9ba3ecf
Make environment reset reinstantiate the game
2024-02-20 16:21:03 +00:00
Marek Wolan
4a3c66bdc6
Clear notebook code cells.
2024-02-20 12:04:07 +00:00
Chris McCarthy
5eed467271
#2248 - synced wth dev
2024-02-08 16:15:57 +00:00
Marek Wolan
9b350ddd6f
Apply suggestions from code review.
2024-02-08 13:20:32 +00:00
Marek Wolan
ff17062e1c
Vary start node of red agent.
2024-02-08 09:19:18 +00:00
Marek Wolan
c35c060448
Cosmetic changes based on PR feedback
2024-02-06 17:32:15 +00:00
Marek Wolan
5b5b750d4d
Add second green agent and make rewards based on webbrowser
2024-02-06 14:42:59 +00:00
Chris McCarthy
7bbfd564fb
#2248 - Big refactor of base with all Network Interface subclasses created to allow for proper management of ports on devices as it was starting to get messy with the Router. Some routing tests still need fixing as ARP doesn't seem to be working properly
2024-02-05 08:44:10 +00:00
Marek Wolan
4b98c1f630
Update uc2 notebook
2024-01-25 14:43:49 +00:00
Marek Wolan
99723b6578
Update notebook with more images.
2024-01-25 12:33:18 +00:00
Marek Wolan
28acb5dcae
Populate step info in environment, and finish notebook
2024-01-25 12:04:09 +00:00
Marek Wolan
d038f63fda
Clear notebook output
2024-01-05 13:11:47 +00:00
Marek Wolan
f75c10aafb
Make flattening observation spaces optional.
2024-01-05 13:10:49 +00:00
Marek Wolan
ba3d37316b
Apply suggestions from review
2023-12-04 09:21:47 +00:00
Marek Wolan
eeedea2eff
Make more friendly user outputs when training SB3
2023-12-01 15:36:07 +00:00
Marek Wolan
321d1f7219
Fix rllib marl problems
2023-12-01 14:58:34 +00:00
Marek Wolan
ece9b14d63
Resolve merge conflicts
2023-11-26 23:29:14 +00:00
Marek Wolan
75d1fd20c3
Remove temporary files
2023-10-27 14:41:53 +01:00
Marek Wolan
5a5710c6ae
Rename Sim Actions to request
2023-10-09 13:24:08 +01:00
Marek Wolan
d523ccc3cb
Improve docs on action system
2023-09-19 14:23:14 +01:00