From 6d465add5c30c99bc1dc096f78c51570e3f3eb01 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 17 Jan 2023 10:10:59 +0100 Subject: [PATCH 1/2] #7172 RSS add agent_name --- pandora_console/operation/events/events_rss.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/operation/events/events_rss.php b/pandora_console/operation/events/events_rss.php index 613b88b423..26f1a09386 100644 --- a/pandora_console/operation/events/events_rss.php +++ b/pandora_console/operation/events/events_rss.php @@ -259,7 +259,7 @@ $fields = [ 'te.event_type', 'te.utimestamp', 'te.id_agente', - 'ta.alias as agent_name', + '"Prueba" as agent_name', 'te.id_usuario', 'te.id_grupo', 'te.id_agentmodule', @@ -320,6 +320,7 @@ try { $rss .= xml_entry('link', $url.'index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$row['id_agente']); } + $rss .= xml_entry('author', $row['agent_name']); $rss .= xml_entry('comments', $row['']); $rss .= xml_entry('pubDate', $row['timestamp']); $rss .= xml_entry('category', $row['source']); From 1513736c9028332570b04e881a8d6db5f82d8f59 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 17 Jan 2023 10:14:22 +0100 Subject: [PATCH 2/2] #7172 RSS add agent_name --- pandora_console/operation/events/events_rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/operation/events/events_rss.php b/pandora_console/operation/events/events_rss.php index 26f1a09386..c784206ca5 100644 --- a/pandora_console/operation/events/events_rss.php +++ b/pandora_console/operation/events/events_rss.php @@ -259,7 +259,7 @@ $fields = [ 'te.event_type', 'te.utimestamp', 'te.id_agente', - '"Prueba" as agent_name', + 'ta.alias as agent_name', 'te.id_usuario', 'te.id_grupo', 'te.id_agentmodule',