From f750c167ae9711dc022e9e2181c17b4abc69d189 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 6 Mar 2013 17:05:42 +0000 Subject: [PATCH] 2013-03-06 Miguel de Dios * godmode/agentes/configurar_agente.php: fixed the lost ip in the audit when create the agent or module. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/agentes/configurar_agente.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 4f098127a3..b4df516fca 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-03-06 Miguel de Dios + + * godmode/agentes/configurar_agente.php: fixed the lost ip in the + audit when create the agent or module. + 2013-03-06 Miguel de Dios * godmode/reporting/reporting_builder.item_editor.php: added tip for diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index ca93c1929b..e79288b849 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -220,7 +220,7 @@ if ($create_agent) { ' Quiet: ' . (int)$quiet; db_pandora_audit("Agent management", - "Created agent $nombre_agente", false, false, $info); + "Created agent $nombre_agente", false, true, $info); } else { $id_agente = 0; @@ -1051,7 +1051,7 @@ if ($create_module) { $agent = db_get_row ('tagente', 'id_agente', $id_agente); db_pandora_audit("Agent management", - "Added module '$name' for agent ".$agent["nombre"], false, false, json_encode($values)); + "Added module '$name' for agent ".$agent["nombre"], false, true, json_encode($values)); } }