diff --git a/proto/l3_centralizedattackdetector.proto b/proto/l3_centralizedattackdetector.proto index 5fbed424c6a237ca35558294c7b35af3ad63afa7..17fc1553ee89f5734c934f37170852c3c92bddf2 100644 --- a/proto/l3_centralizedattackdetector.proto +++ b/proto/l3_centralizedattackdetector.proto @@ -18,10 +18,10 @@ import "context.proto"; service L3Centralizedattackdetector { // Analyze single input to the ML model in the CAD component - rpc AnalyzeConnectionStatistics (L3CentralizedattackdetectorMetrics) returns (context.Empty) {} + rpc AnalyzeConnectionStatistics (L3CentralizedattackdetectorMetrics) returns (StatusMessage) {} // Analyze a batch of inputs to the ML model in the CAD component - rpc AnalyzeBatchConnectionStatistics (L3CentralizedattackdetectorBatchInput) returns (context.Empty) {} + rpc AnalyzeBatchConnectionStatistics (L3CentralizedattackdetectorBatchInput) returns (StatusMessage) {} // Get the list of features used by the ML model in the CAD component rpc GetFeaturesIds (context.Empty) returns (AutoFeatures) {} @@ -63,6 +63,6 @@ message L3CentralizedattackdetectorBatchInput { repeated L3CentralizedattackdetectorMetrics metrics = 1; } -// message Empty { -// string message = 1; -// } +message StatusMessage { + string message = 1; +}