#12341 remove security switch
This commit is contained in:
parent
817f0ea021
commit
e812d52f8b
|
@ -641,10 +641,6 @@ if (enterprise_installed()) {
|
|||
$enable_inventory = 1;
|
||||
}
|
||||
}
|
||||
|
||||
// #12341 WIP.
|
||||
$security_vunerability = 0;
|
||||
$security_monitoring = 0;
|
||||
}
|
||||
|
||||
unset($agent_plugin, $plugins);
|
||||
|
@ -654,19 +650,6 @@ if (enterprise_installed()) {
|
|||
$tableBasicAgent->data[] = '<span>'.$message.'</span>';
|
||||
}
|
||||
|
||||
$tableBasicAgent->data[] = html_print_label_input_block(
|
||||
__('Enable security vulnerability monitoring'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'switch',
|
||||
'id' => 'security_vunerability',
|
||||
'name' => 'security_vunerability',
|
||||
'value' => $security_vunerability,
|
||||
'disabled' => $disabledBasic,
|
||||
]
|
||||
).html_print_input_hidden('options_package', '1', true)
|
||||
);
|
||||
|
||||
$tableBasicAgent->data[] = html_print_label_input_block(
|
||||
__('Enable security hardening monitoring'),
|
||||
html_print_input(
|
||||
|
@ -677,20 +660,7 @@ if (enterprise_installed()) {
|
|||
'value' => $security_hardening,
|
||||
'disabled' => $disabledBasic,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$tableBasicAgent->data[] = html_print_label_input_block(
|
||||
__('Enable security monitoring'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'switch',
|
||||
'id' => 'security_monitoring',
|
||||
'name' => 'security_monitoring',
|
||||
'value' => $security_monitoring,
|
||||
'disabled' => $disabledBasic,
|
||||
]
|
||||
)
|
||||
).html_print_input_hidden('options_package', '1', true)
|
||||
);
|
||||
|
||||
$tableBasicAgent->data[] = html_print_label_input_block(
|
||||
|
|
|
@ -1281,8 +1281,6 @@ if ($update_agent) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// #12341 WIP.
|
||||
}
|
||||
|
||||
// Inventory switch enable when basic options are enabled.
|
||||
|
|
Loading…
Reference in New Issue