Cristian-VM2
80c13adfdf
#2402 add action maps on all yaml scenarios used for testing
2024-04-01 14:28:41 +00:00
Cristian-VM2
2096b619ec
#2402 raise error if action map is not specified. update comment in firewall.py
2024-04-01 12:32:44 +00:00
Cristian-VM2
2546f268eb
#2402 refactor port actions to take same input params (hostname) as new acl actions for routers and firewalls
2024-03-31 11:59:31 +00:00
Cristian-VM2
8763a27cca
Merge remote-tracking branch 'origin/dev' into feature/2402-add-acl-actions-for-routers-and-firewalls
2024-03-29 16:37:37 +00:00
Cristian-VM2
7299a12c64
#2402 add firewall acl actions
2024-03-29 16:30:39 +00:00
Cristian-VM2
2eb900746b
#2402 rename network_acl actions to router_acl and refactor how router_name is given
2024-03-29 11:34:43 +00:00
Cristian-VM2
1e1eea47f1
#2405 add e2e test for application install and uninstall, refactor input params
2024-03-28 14:08:08 +00:00
Cristian-VM2
8bb7f8a177
#2405 add application install and remove actions
2024-03-27 17:07:12 +00:00
Cristian-VM2
944b248300
#2404 rename software patch to fix
2024-03-26 10:51:33 +00:00
Cristian-VM2
600dc3f016
#2404 add application scan, close, and fix actions, fix and enable service scan test
2024-03-25 16:58:27 +00:00
Cristian-VM2
4a5dd9ba0f
fix typo
2024-03-25 11:08:36 +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
8a9d8fb17c
Calm logging again
2024-03-15 14:10:34 +00:00
Marek Wolan
7f4f3e9bfe
Calm logging
2024-03-15 14:09:02 +00:00
Marek Wolan
a9bf0981e6
Doc fixes
2024-03-15 09:22:55 +00:00
Marek Wolan
ee26554ef0
merge origin/dev into feature branch
2024-03-13 12:11:50 +00:00
Marek Wolan
6dedb91099
Remove redundant TODOs
2024-03-13 09:17:29 +00:00
Czar Echavez
f2c6f10c21
#2350 : apply PR suggestions
2024-03-12 12:20:02 +00:00
Marek Wolan
24fdb8dc17
Fix minor reward sharing bugs
2024-03-12 11:40:26 +00:00
Marek Wolan
03ee976a2d
remove extra print statement
2024-03-12 11:00:55 +00:00
Czar Echavez
ec4818e4d3
Merge remote-tracking branch 'origin/dev' into feature/2350-confirm-action-observation-space-conforms-to-CAOS-0.7
2024-03-12 09:11:30 +00:00
Marek Wolan
c3f1cfb33d
Add shared reward
2024-03-11 22:53:39 +00:00
Marek Wolan
7599655879
Add agent action history
2024-03-11 20:10:08 +00:00
Czar Echavez
cd6d6325db
#2350 : add tests to check spaces + acl obs test + nmne space changes
2024-03-11 17:47:33 +00:00
Marek Wolan
f4684b0349
Fix how nmnes are getting put into obs space.
2024-03-09 23:32:00 +00:00
Czar Echavez
cc721056d8
#2350 : configurable NMNE category thresholds
2024-03-08 19:32:07 +00:00
Marek Wolan
0447a05084
Add call validation
2024-03-08 15:57:43 +00:00
Czar Echavez
61aa242128
#2350 : tests + application
2024-03-08 14:48:31 +00:00
Czar Echavez
ba58204542
#2350 : split observations into smaller files
2024-03-08 14:08:35 +00:00
Czar Echavez
b13725721d
#2350 : splitting observations into separate files
2024-03-08 13:49:00 +00:00
Marek Wolan
2f456e7ae0
Move IO to environments from session and add agent logging
2024-03-04 18:47:50 +00:00
Marek Wolan
2c3652979b
Add helpful error messages to action index errors
2024-03-04 11:17:54 +00:00
Marek Wolan
ac9d550e9b
Change get_action signature for agents
2024-03-04 10:43:38 +00:00
Marek Wolan
ed01293b86
Make db admin reward persistent
2024-03-01 16:02:27 +00:00
Marek Wolan
9ff8adab1a
Merge remote-tracking branch 'origin/dev' into feature/2319-database-admin
2024-03-01 09:23:00 +00:00
Marek Wolan
f7c535b557
Merge 'origin/dev' into feature/2319-database-admin
2024-02-29 13:21:44 +00:00
Czar Echavez
13db07dc11
Merge remote-tracking branch 'origin/dev' into feature/2257-router-routes-cannot-be-represented-in-config-file
2024-02-28 15:09:23 +00:00
Czar Echavez
6d43c61058
#2257 : apply PR suggestions
2024-02-28 15:08:00 +00:00
Chris McCarthy
d55b6a5b48
#2238 - Fixed the observations issue causing tests to fail
2024-02-28 12:03:58 +00:00
Marek Wolan
af8ca82fcb
Get the db admin green agent working
2024-02-27 13:30:16 +00:00
Marek Wolan
c54f82fb1b
Start implementing green agent logic for UC2
2024-02-26 20:08:13 +00:00
Marek Wolan
922298eaf0
Make database admin action possible
2024-02-26 20:07:02 +00:00
Chris McCarthy
52677538a8
#2238 - Tidied up code, added more docstrings, and implemented suggestions from PR.
2024-02-23 15:12:46 +00:00
Czar Echavez
ef61fe219c
Merge remote-tracking branch 'origin/dev' into feature/2257-router-routes-cannot-be-represented-in-config-file
2024-02-23 08:56:35 +00:00
Chris McCarthy
771a68dccb
#2238 - Implement NMNE detection and logging in NetworkInterface.
...
- Enhance NicObservation for detailed NMNE event monitoring.
- Add nmne_config options to simulation settings for customizable NMNE capturing.
- Update documentation and tests for new NMNE features and simulation config.
2024-02-22 22:43:14 +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
Chris McCarthy
5eed467271
#2248 - synced wth dev
2024-02-08 16:15:57 +00:00
Chris McCarthy
114fb8c077
#2248 - synced wth dev
2024-02-08 15:27:02 +00:00
Marek Wolan
9b350ddd6f
Apply suggestions from code review.
2024-02-08 13:20:32 +00:00