From d5a6411e02af7900e5256244ec548242579bf5f2 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Mon, 30 Oct 2023 16:26:14 +0100 Subject: [PATCH 1/3] #12252 added datatable vulnerabilities --- pandora_console/include/styles/vulnerabilities.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/styles/vulnerabilities.css b/pandora_console/include/styles/vulnerabilities.css index 11c05556ec..d724a6b5e5 100644 --- a/pandora_console/include/styles/vulnerabilities.css +++ b/pandora_console/include/styles/vulnerabilities.css @@ -119,7 +119,7 @@ .dt-buttons { display: flex; margin: 10px; - margin-left: 0px; + margin-left: 10px; position: relative; } .dt-buttons button { @@ -148,6 +148,15 @@ .col-md-7 { width: 80%; } + .col-sl-12 { + width: 100%; + display: flex; + } + + .col-sl-4 { + width: 33%; + margin: 10px; + } } @keyframes load { From bdac4b6235b4c64a38e294da65b5257551fc5ae3 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Tue, 31 Oct 2023 16:40:55 +0100 Subject: [PATCH 2/3] #12252 fixed value group in discovery when it is 0 --- pandora_console/include/class/ExtensionsDiscovery.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/class/ExtensionsDiscovery.class.php b/pandora_console/include/class/ExtensionsDiscovery.class.php index 7fa1bfdb96..e908cc3c2b 100644 --- a/pandora_console/include/class/ExtensionsDiscovery.class.php +++ b/pandora_console/include/class/ExtensionsDiscovery.class.php @@ -1920,7 +1920,11 @@ class ExtensionsDiscovery extends Wizard $value = false; switch ($type) { case 'agent_groups': - $value = groups_get_name($v); + if ($v > 0) { + $value = groups_get_name($v); + } else { + $value = ''; + } break; case 'module_groups': From ff8c8e1796a1ff46a1994df2feb3fb73dbc57935 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Tue, 31 Oct 2023 16:45:03 +0100 Subject: [PATCH 3/3] #12252 revert fixed value group in discovery when it is 0 --- pandora_console/include/class/ExtensionsDiscovery.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pandora_console/include/class/ExtensionsDiscovery.class.php b/pandora_console/include/class/ExtensionsDiscovery.class.php index e908cc3c2b..7fa1bfdb96 100644 --- a/pandora_console/include/class/ExtensionsDiscovery.class.php +++ b/pandora_console/include/class/ExtensionsDiscovery.class.php @@ -1920,11 +1920,7 @@ class ExtensionsDiscovery extends Wizard $value = false; switch ($type) { case 'agent_groups': - if ($v > 0) { - $value = groups_get_name($v); - } else { - $value = ''; - } + $value = groups_get_name($v); break; case 'module_groups':