2023-03-28 17:33:34 +01:00
|
|
|
# Main Config File
|
|
|
|
|
|
|
|
|
|
# Generic config values
|
|
|
|
|
# Choose one of these (dependent on Agent being trained)
|
|
|
|
|
# "STABLE_BASELINES3_PPO"
|
|
|
|
|
# "STABLE_BASELINES3_A2C"
|
|
|
|
|
# "GENERIC"
|
2023-04-06 11:04:09 +01:00
|
|
|
agentIdentifier: STABLE_BASELINES3_A2C
|
|
|
|
|
# Number of episodes to run per session
|
2023-05-25 10:31:37 +01:00
|
|
|
numEpisodes: 10000
|
2023-03-28 17:33:34 +01:00
|
|
|
# Time delay between steps (for generic agents)
|
|
|
|
|
timeDelay: 10
|
|
|
|
|
# Filename of the scenario / laydown
|
2023-04-06 11:04:09 +01:00
|
|
|
configFilename: config_5_DATA_MANIPULATION.yaml
|
|
|
|
|
# Type of session to be run (TRAINING or EVALUATION)
|
|
|
|
|
sessionType: TRAINING
|
|
|
|
|
# Determine whether to load an agent from file
|
|
|
|
|
loadAgent: False
|
|
|
|
|
# File path and file name of agent if you're loading one in
|
|
|
|
|
agentLoadFile: C:\[Path]\[agent_saved_filename.zip]
|
2023-03-28 17:33:34 +01:00
|
|
|
|
|
|
|
|
# Environment config values
|
|
|
|
|
# The high value for the observation space
|
|
|
|
|
observationSpaceHighValue: 1000000000
|
|
|
|
|
|
|
|
|
|
# Reward values
|
|
|
|
|
# Generic
|
|
|
|
|
allOk: 0
|
|
|
|
|
# Node Operating State
|
|
|
|
|
offShouldBeOn: -10
|
|
|
|
|
offShouldBeResetting: -5
|
|
|
|
|
onShouldBeOff: -2
|
|
|
|
|
onShouldBeResetting: -5
|
|
|
|
|
resettingShouldBeOn: -5
|
|
|
|
|
resettingShouldBeOff: -2
|
2023-04-06 11:04:09 +01:00
|
|
|
resetting: -3
|
2023-03-28 17:33:34 +01:00
|
|
|
# Node O/S or Service State
|
|
|
|
|
goodShouldBePatching: 2
|
|
|
|
|
goodShouldBeCompromised: 5
|
|
|
|
|
goodShouldBeOverwhelmed: 5
|
|
|
|
|
patchingShouldBeGood: -5
|
|
|
|
|
patchingShouldBeCompromised: 2
|
|
|
|
|
patchingShouldBeOverwhelmed: 2
|
2023-04-06 11:04:09 +01:00
|
|
|
patching: -3
|
2023-03-28 17:33:34 +01:00
|
|
|
compromisedShouldBeGood: -20
|
|
|
|
|
compromisedShouldBePatching: -20
|
|
|
|
|
compromisedShouldBeOverwhelmed: -20
|
|
|
|
|
compromised: -20
|
|
|
|
|
overwhelmedShouldBeGood: -20
|
|
|
|
|
overwhelmedShouldBePatching: -20
|
|
|
|
|
overwhelmedShouldBeCompromised: -20
|
|
|
|
|
overwhelmed: -20
|
2023-04-06 11:04:09 +01:00
|
|
|
# Node File System State
|
|
|
|
|
goodShouldBeRepairing: 2
|
|
|
|
|
goodShouldBeRestoring: 2
|
|
|
|
|
goodShouldBeCorrupt: 5
|
|
|
|
|
goodShouldBeDestroyed: 10
|
|
|
|
|
repairingShouldBeGood: -5
|
|
|
|
|
repairingShouldBeRestoring: 2
|
|
|
|
|
repairingShouldBeCorrupt: 2
|
|
|
|
|
repairingShouldBeDestroyed: 0
|
|
|
|
|
repairing: -3
|
|
|
|
|
restoringShouldBeGood: -10
|
|
|
|
|
restoringShouldBeRepairing: -2
|
|
|
|
|
restoringShouldBeCorrupt: 1
|
|
|
|
|
restoringShouldBeDestroyed: 2
|
|
|
|
|
restoring: -6
|
|
|
|
|
corruptShouldBeGood: -10
|
|
|
|
|
corruptShouldBeRepairing: -10
|
|
|
|
|
corruptShouldBeRestoring: -10
|
|
|
|
|
corruptShouldBeDestroyed: 2
|
|
|
|
|
corrupt: -10
|
|
|
|
|
destroyedShouldBeGood: -20
|
|
|
|
|
destroyedShouldBeRepairing: -20
|
|
|
|
|
destroyedShouldBeRestoring: -20
|
|
|
|
|
destroyedShouldBeCorrupt: -20
|
|
|
|
|
destroyed: -20
|
|
|
|
|
scanning: -2
|
2023-03-28 17:33:34 +01:00
|
|
|
# IER status
|
|
|
|
|
redIerRunning: -5
|
|
|
|
|
greenIerBlocked: -10
|
|
|
|
|
|
|
|
|
|
# Patching / Reset durations
|
2023-04-06 11:04:09 +01:00
|
|
|
osPatchingDuration: 5 # The time taken to patch the OS
|
|
|
|
|
nodeResetDuration: 5 # The time taken to reset a node (hardware)
|
|
|
|
|
servicePatchingDuration: 5 # The time taken to patch a service
|
|
|
|
|
fileSystemRepairingLimit: 5 # The time take to repair the file system
|
|
|
|
|
fileSystemRestoringLimit: 5 # The time take to restore the file system
|
|
|
|
|
fileSystemScanningLimit: 5 # The time taken to scan the file system
|