From c79c2a2b00c8619b1859b11b6736e9b96b7dbfbb Mon Sep 17 00:00:00 2001 From: Christian Kreibich Date: Mon, 31 Jan 2022 17:53:03 -0800 Subject: [PATCH] Don't auto-publish Supervisor response events in the cluster agent This was an oversight: we auto-publish the agent's requests _to_ the supervisor, not the latter's responses. --- scripts/policy/frameworks/cluster/agent/main.zeek | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/policy/frameworks/cluster/agent/main.zeek b/scripts/policy/frameworks/cluster/agent/main.zeek index 6c782734c1..553bd771c4 100644 --- a/scripts/policy/frameworks/cluster/agent/main.zeek +++ b/scripts/policy/frameworks/cluster/agent/main.zeek @@ -255,11 +255,8 @@ event zeek_init() Broker::auto_publish(agent_topic, ClusterAgent::API::notify_log); Broker::auto_publish(SupervisorControl::topic_prefix, SupervisorControl::create_request); - Broker::auto_publish(SupervisorControl::topic_prefix, SupervisorControl::create_response); Broker::auto_publish(SupervisorControl::topic_prefix, SupervisorControl::destroy_request); - Broker::auto_publish(SupervisorControl::topic_prefix, SupervisorControl::destroy_response); Broker::auto_publish(SupervisorControl::topic_prefix, SupervisorControl::restart_request); - Broker::auto_publish(SupervisorControl::topic_prefix, SupervisorControl::restart_response); Broker::auto_publish(SupervisorControl::topic_prefix, SupervisorControl::stop_request); # Establish connectivity with the controller.