#11126 moved token vulnerabilities to enterprise

This commit is contained in:
Daniel Cebrian 2023-10-25 11:48:49 +02:00
parent a862a8018c
commit 5e497db840
2 changed files with 4 additions and 13 deletions

View File

@ -767,15 +767,6 @@ $table->data[$i][] = html_print_label_input_block(
)
);
$table->data[$i][] = html_print_label_input_block(
__('Agent vulnerability scanning'),
html_print_checkbox_switch(
'agent_vulnerabilities',
1,
$config['agent_vulnerabilities'],
true
)
);
echo '<form class="max_floating_element_size" id="form_setup" method="post" action="index.php?sec=gsetup&sec2=godmode/setup/setup&amp;section=general&amp;pure='.$config['pure'].'">';

View File

@ -371,10 +371,6 @@ function config_update_config()
$error_update[] = __('show_experimental_features');
}
if (config_update_value('agent_vulnerabilities', get_parameter('agent_vulnerabilities'), true) === false) {
$error_update[] = __('agent_vulnerabilities');
}
if (config_update_value('console_log_enabled', get_parameter('console_log_enabled'), true) === false) {
$error_update[] = __('Console log enabled');
}
@ -491,6 +487,10 @@ function config_update_config()
$error_update[] = __('Legacy database HA');
}
if (config_update_value('agent_vulnerabilities', get_parameter('agent_vulnerabilities'), true) === false) {
$error_update[] = __('agent_vulnerabilities');
}
if (config_update_value('ipam_ocuppied_critical_treshold', get_parameter('ipam_ocuppied_critical_treshold'), true) === false) {
$error_update[] = __('Ipam Ocuppied Manager Critical');
}