Charlie Crane
fbef78db51
#2887 - Resolve conflicts from merge
2025-01-23 09:17:27 +00:00
Charlie Crane
3957142afd
#2887 - Updates to Node components to use rom_config and allow for extensibility. Router and Firewall continue to have custom from_config. Some test fixes to reflect changes to functionality.
2025-01-22 17:20:38 +00:00
Marek Wolan
c521528a0a
Merge remote-tracking branch 'origin/4.0.0a1-dev' into feature/2869-Marek
2025-01-20 10:39:20 +00:00
Charlie Crane
70d9fe2fd9
#2887 - End of day commit. Updates to ConfigSchema inheritance, and some initials changes to Router to remove the custom from_config method
2025-01-15 16:33:11 +00:00
Charlie Crane
582e7cfec7
#2887 - Initial commit of Node refactor for extensibility in version 4.0.0. Addition of ConfigSchema and changes to how Nodes are generated within Game.py
2025-01-15 11:21:18 +00:00
Marek Wolan
fb5242bd78
Merge agents and actions branches + fix import / subclass errors
2025-01-14 11:34:01 +00:00
Marek Wolan
c481847b01
#2888 - Software: align identifiers, tidy up schemas
2025-01-03 13:39:58 +00:00
Marek Wolan
66ca72be79
Merge branch '4.0.0a1-dev' into feature/2888_Align_core_software_with_registry
2025-01-03 12:11:46 +00:00
Marek Wolan
491de6fc47
Revert pre-commit deleting files
2025-01-02 15:11:02 +00:00
Marek Wolan
bf32271ddd
Change copyright to 2025
2025-01-02 15:05:06 +00:00
Nick Todd
4a52054ed6
#2888 : Initialise ConfigSchema's and fix type names.
2024-12-12 14:58:48 +00:00
Nick Todd
2ecc142c28
#2888 : Changes to Applications and Services previously missed.
2024-12-11 16:50:43 +00:00
Marek Wolan
b5b7fc6a8d
Give node types their own identifiers and make the network show method use them
2024-10-04 09:20:07 +01:00
Marek Wolan
a838cc6ce1
Convert office lan adder to a class and make it extendable
2024-10-02 13:56:39 +01:00
Marek Wolan
203ec5ec85
Add tests for port and protocol validation and update changelog
2024-09-26 16:00:59 +01:00
Marek Wolan
f1b911bc65
Change port and protocol to annotated validators
2024-09-25 16:28:22 +01:00
Marek Wolan
695891f55c
Add port and protocol custom validators
2024-09-20 11:21:28 +01:00
Marek Wolan
dd931d900b
port refactor - eod commit, airspace still broken
2024-09-18 16:02:25 +01:00
=
310876cd3b
2755 Add ability to extend HostNode, NetworkNode, Service and Application outside PrimAITE.
2024-09-04 15:49:37 +01:00
Marek Wolan
a1553fb1b4
Backport core changes from internal
2024-08-28 10:20:32 +01:00
Archer Bowen
5bba4ed20e
Merge remote-tracking branch 'origin/dev' into feature/2689-command-and-control
2024-08-20 09:30:43 +01:00
Marek Wolan
1d2705eb1b
#2769 - Add user login observations
2024-08-15 20:16:11 +01:00
Archer Bowen
e53ac84666
#2689 Fixed small bugs, added pydantic class validation and divided the data_Exfil command on c2 beacon into two separate methods.
2024-08-15 11:36:55 +01:00
Marek Wolan
929bd46d6d
#2769 - Make changing password disconnect remote sessions
2024-08-12 14:16:04 +01:00
Charlie Crane
665c53d880
#2781 - Actioning review comments
2024-08-08 15:48:44 +01:00
Charlie Crane
93ef3076f5
#2781 - user_session_manager._timeout_session() now sends a user_timeout command when closing remote sessions. Corrected source_ip in Terminal.receive()
2024-08-08 11:33:42 +01:00
Charlie Crane
9fea34bb43
#2781 - Correcting terminal tests and fixing a typo in base.py
2024-08-07 11:58:17 +01:00
Charlie Crane
814663cf2c
#2706 - Terminal now installs on a Router
2024-08-05 10:04:23 +01:00
Christopher McCarthy
e275a9376b
Merged PR 496: Implement User, UserManager, and UserSessionManager
...
## Summary
*Replace this text with an explanation of what the changes are and how you implemented them. Can this impact any other parts of the codebase that we should keep in mind?*
## Test process
*How have you tested this (if applicable)?*
## Checklist
- [ ] PR is linked to a **work item**
- [ ] **acceptance criteria** of linked ticket are met
- [ ] 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**
- [ ] ran **pre-commit** checks for code style
- [ ] attended to any **TO-DOs** left in the code
Related work items: #2735 , #2778
2024-08-02 14:45:10 +00:00
Marek Wolan
aab47289ac
Merged PR 493: Update dev with all 3.2 updates
...
Related work items: #2625
2024-08-02 12:46:12 +00:00
Chris McCarthy
71d8c6ea63
#2735 - synced with dev and resolved merge conflicts
2024-08-02 12:55:09 +01:00
Chris McCarthy
696236aa61
#2735 - make the disabled/enabled admins/non-admins dynamic properties for simplicity. Added num_of_logins to User. Added additional test for counting user logins. Added all users to the UserManager describe_state function. Refactored model fields with empty dict as default value to have direct instantiation instead of using Field(default_factory=dict) or Field(default_factory=: lambda: {}).
2024-08-02 12:47:02 +01:00
Christopher McCarthy
61c7cc2da3
Apply suggestions from code review
2024-08-02 10:57:51 +00:00
Nick Todd
3ebad7d7e9
Merged PR 448: Global NMNE variables are incorrectly accessed
...
## Summary
*Replace this text with an explanation of what the changes are and how you implemented them. Can this impact any other parts of the codebase that we should keep in mind?*
## Test process
*How have you tested this (if applicable)?*
## 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
- [ ] 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: #2676
2024-08-02 08:28:08 +00:00
Marek Wolan
78ad95fcef
#2735 - fix up node request manager and system software
2024-08-01 13:58:35 +01:00
Marek Wolan
a719b24cfc
Merge branch 'dev' into feature/2735-usermanager-fixes
2024-08-01 13:23:03 +01:00
Marek Wolan
ddbbcf66e8
Merge remote-tracking branch 'origin/dev' into backport-3.2 [skip ci]
2024-08-01 13:03:52 +01:00
Marek Wolan
2a715d8d0a
backport 3.2 changes to core
2024-08-01 11:08:41 +01:00
Marek Wolan
2abd1969fe
#2800 - Consolidate software install and uninstall to a single method
2024-07-31 16:41:59 +01:00
Marek Wolan
bd1e23db7d
2676 - make ntwk intf use default nmne config
2024-07-31 15:25:02 +01:00
Marek Wolan
9bf8d0f8cb
#2676 Put NMNE back into network module
2024-07-31 13:20:15 +01:00
Czar Echavez
5e3a169999
#2735 : add usermanager and usersessionmanager into describe_state
2024-07-30 12:48:11 +01:00
Czar Echavez
3d13669671
#2735 : fixes to broken items
2024-07-29 15:12:24 +01:00
Chris McCarthy
265632669e
#2778 - added request managers for USerManager and UserSessionManager classes
2024-07-29 10:29:12 +01:00
Chris McCarthy
2e35549c95
#2735 - added docstrings to the User, UserManager, and UserSessionManager classes
2024-07-29 09:29:20 +01:00
Chris McCarthy
d0c8aeae30
#2735 - implemented remote logins. Added action remote sessions to UserSessionManager describe_state. Added suite of tests for UserSessionManager logins
2024-07-24 17:08:18 +01:00
Nick Todd
e4ade6ba54
#2676 : Merge nmne.py with io.py
2024-07-19 12:02:43 +01:00
Chris McCarthy
8702dc7067
#2735 - tidies up some oif the api, temporarily integrated login checks to ping for testing, added temp test
2024-07-19 10:34:32 +01:00
Nick Todd
4361734014
#2676 : Code review changes
2024-07-17 17:50:55 +01:00
Nick Todd
0e3227c691
Merge branch 'dev' into bugfix/2676_NMNE_var_access
2024-07-15 09:27:11 +01:00