Chris McCarthy
ebbdea517e
2536 - Removed 'real files' from FileSystem and FTP
2024-05-13 07:30:33 +01:00
Czar Echavez
25807653f4
Merge remote-tracking branch 'origin/dev' into feature/2533-improve-dev-tools-in-primaite-cli
2024-05-01 16:11:52 +01:00
Czar Echavez
a2fb04e6f6
#2533 : set default dev output path + clean up
2024-05-01 14:02:40 +01:00
Chris McCarthy
04eb33e28a
#2519 - Dropped failed unit test in test_wireless_router.py as it didn't actually test any functionality and simply just tested the config parser, which we now do in the integration test.
2024-04-30 16:07:38 +01:00
Nick Todd
5b03013e3f
Merge branch 'dev' into bugfix/2299-check_hash_function_corrupts_files_and_folders
2024-04-29 15:44:06 +01:00
Marek Wolan
394e76048f
Merge remote-tracking branch 'origin/dev' into feature/2476-training-schedules-mockup
2024-04-26 16:23:41 +01:00
Marek Wolan
30cc04411d
#2476 apply pr comments
2024-04-26 16:23:02 +01:00
Charlie Crane
5ee23dcb17
Merged PR 348: #2462 - Refactor of DatabaseClient and DatabaseServer
...
## Summary
Refactor of `DatabaseClient` and `DatabaseService` to update how connection IDs are generated. These are now provided by DatabaseService when establishing a connection.
Creation of `DatabaseClientConnection` class. This is used by `DatabaseClient` to hold a dictionary of active db connections.
## Test process
Tests have been updated to reflect the changes and all pass
## 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
- [X] 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
- [X] attended to any **TO-DOs** left in the code
Related work items: #2462
2024-04-26 14:52:21 +00:00
Nick Todd
ec8b46f3bc
#2299 : Add tests to check for 'not implemented' warning message.
2024-04-25 17:56:55 +01:00
Nick Todd
0c375ebe4d
#2299 : Disable tests using CHECKHASH functionality
2024-04-25 17:08:03 +01:00
Marek Wolan
66f31e8ed1
#2476 Add test for episode scheduler
2024-04-25 15:09:46 +01:00
Czar Echavez
34773ed225
#2470 : implement PR suggestions
2024-04-18 16:38:42 +01:00
Czar Echavez
b57deaf9e1
#2470 : implementing log levels into sys log
2024-04-17 18:13:00 +01:00
Marek Wolan
0828f70b4c
#2459 back-sync b8 changes into core
2024-04-15 11:50:08 +01:00
Marek Wolan
e4300faa1c
Merge remote-tracking branch 'origin/dev' into feature/2417-observation-refactor
2024-04-01 19:21:40 +01:00
Marek Wolan
62ebca8c08
#2417 Remove references to old obs names and add link obs
2024-03-31 21:39:24 +01:00
Marek Wolan
3d996f05bd
Merged PR 318: #2418 Add Printer and Wireless router to config parser
...
## Summary
Add ability to parse printers and wireless routers from yaml config.
## Test process
Existing unit tests pass. Added a printer to one of the test yamls. Adding a wireless router as well now.
## Checklist
- [x] PR is linked to a **work item**
- [x] **acceptance criteria** of linked ticket are met
- [x] performed **self-review** of the code
- [ ] 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
- [ ] updated the **change log**
- [x] ran **pre-commit** checks for code style
- [x] attended to any **TO-DOs** left in the code
Related work items: #2418
2024-03-27 13:35:33 +00:00
Marek Wolan
9a8a42f3ec
#2418 - add wildcard masks and from_config tests to routers
2024-03-26 21:48:17 +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
b3c1b6b7a5
#2404 quick fix for failing test_query_fail_to_connect
2024-03-26 12:52:16 +00:00
Cristian-VM2
53126e79df
#2404 remove extra code in test_query_when_client_is_closed
2024-03-26 12:43:45 +00:00
Cristian-VM2
128e2227d6
#2404 add missing test and revert some name changes
2024-03-26 12:39:11 +00:00
Cristian-VM2
944b248300
#2404 rename software patch to fix
2024-03-26 10:51:33 +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
31ae4672ac
Make nodes only accept requests when they're on
2024-03-09 20:47:57 +00:00
Czar Echavez
b13725721d
#2350 : splitting observations into separate files
2024-03-08 13:49:00 +00:00
Czar Echavez
e9eef2b4c0
#2350 : add num_access, num_file_deletions and num_creations to file system
2024-03-08 11:16:27 +00:00
Marek Wolan
ac9d550e9b
Change get_action signature for agents
2024-03-04 10:43:38 +00:00
Marek Wolan
4d51b1a414
Update configs to new db manipulation bot approach
2024-03-03 14:57:28 +00:00
Marek Wolan
fe13583d2a
Merge remote-tracking branch 'origin/dev' into feature/2319-database-admin
2024-03-03 11:24:09 +00:00
Chris McCarthy
81fd43035d
#2358 - the node-specific properties in Network class now simply use node.__class__.__name__ to check their type for filtering by type. Tests updated to use the new property function names
2024-03-01 22:51:01 +00:00
Marek Wolan
f7c535b557
Merge 'origin/dev' into feature/2319-database-admin
2024-02-29 13:21:44 +00:00
Marek Wolan
af8ca82fcb
Get the db admin green agent working
2024-02-27 13:30:16 +00:00
Marek Wolan
f9cc5af7aa
Not sure how this test was passing before
2024-02-26 16:06:58 +00:00
Marek Wolan
a5043a8fbe
Modify tests based on refactoring
2024-02-26 12:15:53 +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
f82506023b
Delete set_original_state method definitions
2024-02-20 16:29:27 +00:00
Chris McCarthy
58af58810d
#2205 - Introduced a Firewall class for enhanced network security and control, extending Router functionalities. Updated ACLRule to support IP ranges via wildcard masking for refined traffic filtering. Includes documentation updates.
2024-02-09 23:29:06 +00:00
Chris McCarthy
0acd9a2938
#2248 - Removed redundant code and added more documentation from PR suggestions
2024-02-09 10:27:22 +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
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
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
Marek Wolan
e500eccaf7
Finish upgrading folder actions to work with names instead of uuids & get tests fixed
2024-02-06 16:58:08 +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
Chris McCarthy
dc5aeede33
#2248 - ICMP now working as a service using the session manager for transmission. Now started to comb through the tests to fix anything up.
2024-02-02 16:20:15 +00:00
Marek Wolan
d6a83fd1fb
Update action tests to use name, not uuid
2024-01-31 11:55:38 +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
73a75c497b
Fix test
2024-01-25 13:13:50 +00:00