zeek/scripts/policy/frameworks/cluster/controller/api.zeek
Christian Kreibich fc9679e510 Move get_instances_response event to using a Result record
Includes corresponding zeek-client bump.
2021-12-21 14:52:29 -08:00

20 lines
646 B
Text

@load ./types
module ClusterController::API;
export {
const version = 1;
# Triggered when the operational instances align with desired ones, as
# defined by the latest cluster config sent by the client.
global notify_agents_ready: event(instances: set[string]);
global get_instances_request: event(reqid: string);
global get_instances_response: event(reqid: string,
result: ClusterController::Types::Result);
global set_configuration_request: event(reqid: string,
config: ClusterController::Types::Configuration);
global set_configuration_response: event(reqid: string,
result: ClusterController::Types::ResultVec);
}