UI: Change the configuration tabs per the new schema

This commit is contained in:
Ilija Lazoroski 2022-06-29 18:32:14 +02:00
parent f6d0482c2e
commit 0b18d93869
1 changed files with 13 additions and 13 deletions

View File

@ -1,23 +1,23 @@
const CONFIGURATION_TABS = {
BASIC: 'basic',
BASIC_NETWORK: 'basic_network',
RANSOMWARE: 'ransomware',
MONKEY: 'monkey',
INTERNAL: 'internal'
PROPAGATION: 'propagation',
PAYLOADS: 'payloads',
PBA: 'post_breach_actions',
CREDENTIALS_COLLECTORS: 'credential_collectors',
ADVANCED: 'advanced'
};
const advancedModeConfigTabs = [
CONFIGURATION_TABS.BASIC,
CONFIGURATION_TABS.BASIC_NETWORK,
CONFIGURATION_TABS.RANSOMWARE,
CONFIGURATION_TABS.MONKEY,
CONFIGURATION_TABS.INTERNAL
CONFIGURATION_TABS.PROPAGATION,
CONFIGURATION_TABS.PAYLOADS,
CONFIGURATION_TABS.PBA,
CONFIGURATION_TABS.CREDENTIALS_COLLECTORS,
CONFIGURATION_TABS.ADVANCED
];
const ransomwareModeConfigTabs = [
CONFIGURATION_TABS.BASIC,
CONFIGURATION_TABS.BASIC_NETWORK,
CONFIGURATION_TABS.RANSOMWARE
CONFIGURATION_TABS.PROPAGATION,
CONFIGURATION_TABS.PAYLOADS,
CONFIGURATION_TABS.ADVANCED
];
const CONFIGURATION_TABS_PER_MODE = {