Czar Echavez
98fb28cbbc
#2257 : setting up application and service docs
2024-02-21 18:19:16 +00:00
Czar Echavez
deb7a3aa9d
#2257 : massive docs addition for config file
2024-02-21 14:49:59 +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
f82506023b
Delete set_original_state method definitions
2024-02-20 16:29:27 +00:00
Marek Wolan
64b9ba3ecf
Make environment reset reinstantiate the game
2024-02-20 16:21:03 +00:00
Czar Echavez
b739823318
#2257 : add firewall via config + fix router hop ip address + shuffling around tests
2024-02-15 15:45:18 +00:00
Czar Echavez
b277034e8b
#2257 : temporarily commit changes - added startup and shut down durations to node config + adding routes
2024-02-13 13:02:24 +00:00
Czar Echavez
7beacfd95f
#2258 : missing some configuration items + added more tests
2024-02-12 11:41:55 +00:00
Czar Echavez
66a3e8d02c
Merge remote-tracking branch 'origin/dev' into feature/2258-dosbot-cannot-be-added-via-configuration-file
2024-02-12 08:57:47 +00:00
Czar Echavez
d1c3f891bf
#2258 : moving applications to application types - more tests
2024-02-09 11:41:06 +00:00
Chris McCarthy
5eed467271
#2248 - synced wth dev
2024-02-08 16:15:57 +00:00
Czar Echavez
e1237625a5
Merge remote-tracking branch 'origin/dev' into feature/2258-dosbot-cannot-be-added-via-configuration-file
2024-02-08 16:03:41 +00:00
Czar Echavez
b31a9943d7
#2258 : testing individual application install
2024-02-08 16:02:37 +00:00
Chris McCarthy
114fb8c077
#2248 - synced wth dev
2024-02-08 15:27:02 +00:00
Czar Echavez
1dcb9214af
#2258 : Added DoSBot to list of applications
2024-02-08 12:04:49 +00:00
Chris McCarthy
411f0a320f
#2248 - Final run over all the docstrings after running pre-commit. All tests now working. Updated CHANGELOG.md.
2024-02-08 10:53:30 +00:00
Marek Wolan
ff17062e1c
Vary start node of red agent.
2024-02-08 09:19:18 +00:00
Chris McCarthy
0c96fef3ec
#2248 - All tests (bar the one config file test) now working. Still need to tidy up docstrings and some docs. Almost there
2024-02-07 23:05:34 +00:00
Czar Echavez
f21ee857a7
#2258 : setting up test that verifies game config parsing
2024-02-07 18:09:54 +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
0dbaa66aa3
Merge remote-tracking branch 'origin/dev' into feature/2137-refactor-request-api
2024-01-31 10:05:09 +00:00
Marek Wolan
555802baaa
Merge remote-tracking branch 'origin/dev' into dev-v3.0.0b6
2024-01-29 10:26:28 +00:00
Marek Wolan
28acb5dcae
Populate step info in environment, and finish notebook
2024-01-25 12:04:09 +00:00
Marek Wolan
88c1d16f11
Fix Router acl not clearing
2024-01-23 14:34:05 +00:00
Marek Wolan
daa34385e5
Add agent reset for episodes
2024-01-09 14:53:15 +00:00
Marek Wolan
91addee09d
Merged PR 248: Make observation flattening optional for agents.
...
## Summary
Same as other PR but this time we are merging into DEV.
The Proxy agent has a new config option, `flatten_obs`. If true, we use gymnasium flatten.
## Test process
Unit tests and inspection.
Related work items: #2143 , #2154 , #2161
2024-01-09 14:28:36 +00:00
Marek Wolan
f75c10aafb
Make flattening observation spaces optional.
2024-01-05 13:10:49 +00:00
Marek Wolan
ec7723732b
Merge remote-tracking branch 'origin/dev' into feature/2137-refactor-request-api
2024-01-04 14:40:20 +00:00
Marek Wolan
2aa7c18ad3
Merge remote-tracking branch 'origin/dev' into bugfix/2143-node-service-patch-main
2024-01-03 14:43:46 +00:00
Marek Wolan
96f8435c5e
Add service patch and fix other bugs
2023-12-21 15:07:41 +00:00
Marek Wolan
a798d262b8
use names instead of uuids for requests
2023-12-18 14:03:47 +00:00
Nick Todd
fab39b1506
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-12-15 09:50:19 +00:00
Czar Echavez
094e89fff1
#2059 : Renamed Red service to red application and moved the datamanipulation bot to the red application folder
2023-12-08 14:54:29 +00:00
Nick Todd
c3015b7f0e
Merge branch 'dev' into feature/2041_2042-Add-NTP-Services
2023-12-07 14:55:01 +00:00
Nick Todd
50a6e17fab
2041: Make NTP work with TCP transport layer
2023-12-06 16:42:28 +00:00
Marek Wolan
a5c4f7797d
Make saving step metadata optional
2023-12-04 10:42:20 +00:00
Marek Wolan
eeedea2eff
Make more friendly user outputs when training SB3
2023-12-01 15:36:07 +00:00
Chris McCarthy
58e9033a4c
#1859 - First pass at an implementation of the full reset method. Will now start testing...
2023-11-27 23:01:56 +00:00
Chris McCarthy
ae5046b8fb
#1859 - As disccused
2023-11-27 17:05:12 +00:00
Chris McCarthy
4d4a578555
#1859 - Integrated the runtime execution for web client. Added in the webclient application execution action. Now fixing http status code issues.
2023-11-27 13:47:59 +00:00
Marek Wolan
ece9b14d63
Resolve merge conflicts
2023-11-26 23:29:14 +00:00