#11126 moved token vulnerabilities to enterprise
This commit is contained in:
parent
a862a8018c
commit
5e497db840
|
@ -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&section=general&pure='.$config['pure'].'">';
|
echo '<form class="max_floating_element_size" id="form_setup" method="post" action="index.php?sec=gsetup&sec2=godmode/setup/setup&section=general&pure='.$config['pure'].'">';
|
||||||
|
|
||||||
|
|
|
@ -371,10 +371,6 @@ function config_update_config()
|
||||||
$error_update[] = __('show_experimental_features');
|
$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) {
|
if (config_update_value('console_log_enabled', get_parameter('console_log_enabled'), true) === false) {
|
||||||
$error_update[] = __('Console log enabled');
|
$error_update[] = __('Console log enabled');
|
||||||
}
|
}
|
||||||
|
@ -491,6 +487,10 @@ function config_update_config()
|
||||||
$error_update[] = __('Legacy database HA');
|
$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) {
|
if (config_update_value('ipam_ocuppied_critical_treshold', get_parameter('ipam_ocuppied_critical_treshold'), true) === false) {
|
||||||
$error_update[] = __('Ipam Ocuppied Manager Critical');
|
$error_update[] = __('Ipam Ocuppied Manager Critical');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue