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 = { const CONFIGURATION_TABS = {
BASIC: 'basic', PROPAGATION: 'propagation',
BASIC_NETWORK: 'basic_network', PAYLOADS: 'payloads',
RANSOMWARE: 'ransomware', PBA: 'post_breach_actions',
MONKEY: 'monkey', CREDENTIALS_COLLECTORS: 'credential_collectors',
INTERNAL: 'internal' ADVANCED: 'advanced'
}; };
const advancedModeConfigTabs = [ const advancedModeConfigTabs = [
CONFIGURATION_TABS.BASIC, CONFIGURATION_TABS.PROPAGATION,
CONFIGURATION_TABS.BASIC_NETWORK, CONFIGURATION_TABS.PAYLOADS,
CONFIGURATION_TABS.RANSOMWARE, CONFIGURATION_TABS.PBA,
CONFIGURATION_TABS.MONKEY, CONFIGURATION_TABS.CREDENTIALS_COLLECTORS,
CONFIGURATION_TABS.INTERNAL CONFIGURATION_TABS.ADVANCED
]; ];
const ransomwareModeConfigTabs = [ const ransomwareModeConfigTabs = [
CONFIGURATION_TABS.BASIC, CONFIGURATION_TABS.PROPAGATION,
CONFIGURATION_TABS.BASIC_NETWORK, CONFIGURATION_TABS.PAYLOADS,
CONFIGURATION_TABS.RANSOMWARE CONFIGURATION_TABS.ADVANCED
]; ];
const CONFIGURATION_TABS_PER_MODE = { const CONFIGURATION_TABS_PER_MODE = {