Merge branch 'ent-11965-security-hardening-console-vistas-estaticas' into ent-12050-security-hardening-console-widget-dashboard

This commit is contained in:
Daniel Cebrian 2023-09-13 15:05:01 +02:00
commit 0f13b6d862
1 changed files with 10 additions and 5 deletions

View File

@ -200,12 +200,16 @@ $text_agent_module = '';
$only_data = false;
$categories_security_hardening = categories_of_cis();
foreach ($categories_security_hardening as $key => $cat) {
$categories_security_hardening[$key] = implode(' ', $cat);
if (enterprise_installed() === true) {
$categories_security_hardening = categories_of_cis();
foreach ($categories_security_hardening as $key => $cat) {
$categories_security_hardening[$key] = implode(' ', $cat);
}
} else {
$categories_security_hardening = [];
}
// Users.
$id_users = [];
$users_groups = [];
@ -3823,7 +3827,7 @@ if (is_metaconsole() === true) {
?>
</td>
</tr>
<?php if (enterprise_installed() === true) : ?>
<tr id="row_cat_security_hardening" class="datos">
<td class="bolder">
<?php
@ -3840,6 +3844,7 @@ if (is_metaconsole() === true) {
?>
</td>
</tr>
<?php endif; ?>
<tr id="row_status_check" class="datos">
<td class="bolder">