Commit Graph

  • 2724838cf8 Setup testing scripts Marek Wolan 2023-05-30 13:14:43 +01:00
  • 7aa8d89dfe 1443 - updated test_reward.py to reflect updates to reward.py so that the correct config values are called i.e. compromisedShouldBeGood on the correct steps during the training run SunilSamra 2023-05-30 11:50:54 +01:00
  • 91dec9e83d 1443 - updated test_reward.py to reflect updates to reward.py so that the correct config values are called i.e. compromisedShouldBeGood on the correct steps during the training run SunilSamra 2023-05-30 11:50:54 +01:00
  • 9d34dceddc 1443 - changed IF statements from if initial ... if reference to if reference ... if final to compare the final state (state after red and blue actions) with the reference state (state with no red or blue action and with green normal network traffic occurring) SunilSamra 2023-05-30 11:40:40 +01:00
  • 0483eeca82 1443 - changed IF statements from if initial ... if reference to if reference ... if final to compare the final state (state after red and blue actions) with the reference state (state with no red or blue action and with green normal network traffic occurring) SunilSamra 2023-05-30 11:40:40 +01:00
  • dd780b7451 Make reward calculation consider red POL Marek Wolan 2023-05-30 08:50:57 +00:00
  • 77a6fd6aff Make reward calculation consider red POL Marek Wolan 2023-05-30 08:50:57 +00:00
  • 843f32bf71 Fix minor logic errors in main script Marek Wolan 2023-05-26 14:50:15 +01:00
  • 8a24427bf7 Fix minor logic errors in main script Marek Wolan 2023-05-26 14:50:15 +01:00
  • e2fb03b9bd 1429 - added code from ADSP branch to primaite_env.py and added NONE = 0 to NodePOLType in enums.py SunilSamra 2023-05-26 14:29:02 +01:00
  • dc011a489c 1429 - added code from ADSP branch to primaite_env.py and added NONE = 0 to NodePOLType in enums.py SunilSamra 2023-05-26 14:29:02 +01:00
  • 3cd5864f25 1429 - created new branch from dev, added enums to enums.py, created agents package and utils.py file, added option to primaite_env.py for ANY action type and changed the action spaces are defined using ADSP branch SunilSamra 2023-05-26 10:17:45 +01:00
  • 9d3d8d5945 1429 - created new branch from dev, added enums to enums.py, created agents package and utils.py file, added option to primaite_env.py for ANY action type and changed the action spaces are defined using ADSP branch SunilSamra 2023-05-26 10:17:45 +01:00
  • f7638ddb0c Merged PR 60: #1355 - Carried out full renaming in node.py, active_node.py, passive_node.py... Christopher McCarthy 2023-05-26 09:01:21 +00:00
  • b255f557db Merged PR 60: #1355 - Carried out full renaming in node.py, active_node.py, passive_node.py... Christopher McCarthy 2023-05-26 09:01:21 +00:00
  • b62ea525e9 #1355 - Renamed the NodeType custom type in custom_typing.py as it clased with the NodeType enum in enums.py Chris McCarthy 2023-05-26 09:43:37 +01:00
  • 05ebd15053 #1355 - Renamed the NodeType custom type in custom_typing.py as it clased with the NodeType enum in enums.py Chris McCarthy 2023-05-26 09:43:37 +01:00
  • 32a4d9e459 #1355 - Carried out full renaming in node.py, active_node.py, passive_node.py, and service_node.py to make params and variable names explicit. - Made the same renaming in the yaml laydown config files. - Added Type hints wherever I've been. - Added a custom NodeType in custom_typing.py to encompass the Union of ActiveNode, PassiveNode, ServiceNode. Chris McCarthy 2023-05-25 21:03:11 +01:00
  • 6245ad9298 #1355 - Carried out full renaming in node.py, active_node.py, passive_node.py, and service_node.py to make params and variable names explicit. - Made the same renaming in the yaml laydown config files. - Added Type hints wherever I've been. - Added a custom NodeType in custom_typing.py to encompass the Union of ActiveNode, PassiveNode, ServiceNode. Chris McCarthy 2023-05-25 21:03:11 +01:00
  • 00e9d1f88d Merged PR 56: #902 - Fix the reward functionality for node operating system state Christopher McCarthy 2023-05-25 15:28:19 +00:00
  • 3ac2399115 Merged PR 56: #902 - Fix the reward functionality for node operating system state Christopher McCarthy 2023-05-25 15:28:19 +00:00
  • b462af0061 Merged PR 59: v1.2.1 Christopher McCarthy 2023-05-25 14:23:55 +00:00
  • 182bf177a3 Merged PR 59: v1.2.1 Christopher McCarthy 2023-05-25 14:23:55 +00:00
  • 3e1ff0db17 Merged PR 58: v1.2.1 Christopher McCarthy 2023-05-25 14:21:16 +00:00
  • d3aa69757b Merged PR 58: v1.2.1 Christopher McCarthy 2023-05-25 14:21:16 +00:00
  • 2e9b43f43b v1.2.1 v.1.2.1 Chris McCarthy 2023-05-25 15:20:19 +01:00
  • 56bce1431b v1.2.1 Chris McCarthy 2023-05-25 15:20:19 +01:00
  • cabbe4797d 902 - changed test comment to explain the outcome of the average reward SunilSamra 2023-05-25 14:36:26 +01:00
  • fa0e836f65 902 - changed test comment to explain the outcome of the average reward SunilSamra 2023-05-25 14:36:26 +01:00
  • af62d85aea Merged PR 57: Resync dev with v1.2.0 Christopher McCarthy 2023-05-25 13:16:29 +00:00
  • e2cc1cb28a Merged PR 57: Resync dev with v1.2.0 Christopher McCarthy 2023-05-25 13:16:29 +00:00
  • b9fb2775c9 Merged PR 55: Release v1.2.0 Christopher McCarthy 2023-05-25 13:11:20 +00:00
  • 1d0fd04393 Merged PR 55: Release v1.2.0 Christopher McCarthy 2023-05-25 13:11:20 +00:00
  • fc1b374cb2 #902 - replaced 'final_node_<placeholder>' with 'reference_node_<placeholder>' in methods for scoring of os_state, file_system_state, service state and operating state. This fixed the reward function so it is checked at each step for node operating system state, operating state, file system state and service state. - Added unit tests. Chris McCarthy 2023-05-25 14:05:53 +01:00
  • ddb6adae2b #902 - replaced 'final_node_<placeholder>' with 'reference_node_<placeholder>' in methods for scoring of os_state, file_system_state, service state and operating state. This fixed the reward function so it is checked at each step for node operating system state, operating state, file system state and service state. - Added unit tests. Chris McCarthy 2023-05-25 14:05:53 +01:00
  • 75581921ea Merged PR 54: #1356 - added if statements to set class methods for file system state, os st... Christopher McCarthy 2023-05-25 12:33:16 +00:00
  • 4cabc8a87a Merged PR 54: #1356 - added if statements to set class methods for file system state, os st... Christopher McCarthy 2023-05-25 12:33:16 +00:00
  • 4c13f79b06 Updated artifact-release-pipeline.yaml pipeline to build for Python 3.8 to 3.10 and MacOS, Windows, and Linux. v1.2.0 Chris McCarthy 2023-05-25 13:24:49 +01:00
  • 04c27cc7d5 Updated artifact-release-pipeline.yaml pipeline to build for Python 3.8 to 3.10 and MacOS, Windows, and Linux. Chris McCarthy 2023-05-25 13:24:49 +01:00
  • 79ece6f78a Merged PR 53: release v1.2.0 Christopher McCarthy 2023-05-25 12:03:54 +00:00
  • 057fb44061 Merged PR 53: release v1.2.0 Christopher McCarthy 2023-05-25 12:03:54 +00:00
  • e1bcbd1a34 #1356 - added if statements to set class methods for file system state, os state and service states. Refactored file enums.py - Added unit tests Chris McCarthy 2023-05-25 13:02:15 +01:00
  • 51c72aa5be #1356 - added if statements to set class methods for file system state, os state and service states. Refactored file enums.py - Added unit tests Chris McCarthy 2023-05-25 13:02:15 +01:00
  • e35360edb8 Merged PR 52: #1378 - Ordering of actions in step Christopher McCarthy 2023-05-25 11:42:19 +00:00
  • 769256f0a5 Merged PR 52: #1378 - Ordering of actions in step Christopher McCarthy 2023-05-25 11:42:19 +00:00
  • 07cebc0a63 #1378 - Re-added post blue and snapshots Chris McCarthy 2023-05-25 12:37:42 +01:00
  • 7bbdbd6997 #1378 - Re-added post blue and snapshots Chris McCarthy 2023-05-25 12:37:42 +01:00
  • 958506ef33 #1378 - Re-arranged the action step function in the following order: 1. Implement the Blue Action 2. Perform any time-based activities 3. Apply PoL 4. Implement Red Action 5. Calculate reward signal 6. Output Verbose (currently disabled) 7. Update env_obs 8. Add transaction to the list of transactions Chris McCarthy 2023-05-25 11:58:54 +01:00
  • 95a0669e5c #1378 - Re-arranged the action step function in the following order: 1. Implement the Blue Action 2. Perform any time-based activities 3. Apply PoL 4. Implement Red Action 5. Calculate reward signal 6. Output Verbose (currently disabled) 7. Update env_obs 8. Add transaction to the list of transactions Chris McCarthy 2023-05-25 11:58:54 +01:00
  • 4eb1658966 Ran pre-commit hook on all files and performed changes to fix flake8 failures Chris McCarthy 2023-05-25 11:42:19 +01:00
  • 71f33ed44e Ran pre-commit hook on all files and performed changes to fix flake8 failures Chris McCarthy 2023-05-25 11:42:19 +01:00
  • aa8284897a Package restructuring and renaming for 1.2.0 Chris McCarthy 2023-05-25 10:52:29 +01:00
  • 18f89faf03 Package restructuring and renaming for 1.2.0 Chris McCarthy 2023-05-25 10:52:29 +01:00
  • 4f0d8807d6 Package restructuring Chris McCarthy 2023-05-25 10:31:37 +01:00
  • 9bd7aade43 Package restructuring Chris McCarthy 2023-05-25 10:31:37 +01:00
  • 3aec6e5a96 Merged PR 7: v1.1.0 v1.1.0 Christopher McCarthy 2023-04-06 10:07:40 +00:00
  • 754b16c8c8 Merged PR 7: v1.1.0 Christopher McCarthy 2023-04-06 10:07:40 +00:00
  • 73004f9bf9 Bumped version number to 1.1.0 in setup.py Chris McCarthy 2023-04-06 11:06:55 +01:00
  • e473c710a2 Bumped version number to 1.1.0 in setup.py Chris McCarthy 2023-04-06 11:06:55 +01:00
  • aa3f601b78 Committed the v1.1.0 code provided by James Short. Had to add setuptools==66 to setup.py as older versions of Gym are uninstallable with setuptools>=67 Chris McCarthy 2023-04-06 11:04:09 +01:00
  • 39da5bbe01 Committed the v1.1.0 code provided by James Short. Had to add setuptools==66 to setup.py as older versions of Gym are uninstallable with setuptools>=67 Chris McCarthy 2023-04-06 11:04:09 +01:00
  • 5063e221f2 Merged PR 2: Added Python version to release pipeline v1.0.0 Christopher McCarthy 2023-03-28 16:39:10 +00:00
  • 027709d1e8 Merged PR 2: Added Python version to release pipeline Christopher McCarthy 2023-03-28 16:39:10 +00:00
  • 7ff22cee0a Added Python version to release pipeline Chris McCarthy 2023-03-28 17:38:30 +01:00
  • 959b43743c Added Python version to release pipeline Chris McCarthy 2023-03-28 17:38:30 +01:00
  • 20d6ed12b5 Merged PR 1: v1.0.0 Christopher McCarthy 2023-03-28 16:36:07 +00:00
  • 43a2b1fa3c Merged PR 1: v1.0.0 Christopher McCarthy 2023-03-28 16:36:07 +00:00
  • 7800f1f66e Initial commit of v1.0.0. Updated the .gitignore for the standard Python gitignore. Added Azure DevOps release pipeline for proper artifact release from the start. Chris McCarthy 2023-03-28 17:33:34 +01:00
  • 8fc0316253 Initial commit of v1.0.0. Updated the .gitignore for the standard Python gitignore. Added Azure DevOps release pipeline for proper artifact release from the start. Chris McCarthy 2023-03-28 17:33:34 +01:00
  • fdbd5903bc Added README.md Christopher McCarthy 2023-03-28 16:31:07 +00:00