centralized_attack_detector.proto 658 Bytes
Newer Older
Ricard Vilalta's avatar
Ricard Vilalta committed
// protocol buffers documentation: https://developers.google.com/protocol-buffers/docs/proto3
syntax = "proto3";
Ricard Vilalta's avatar
Ricard Vilalta committed

import "context.proto";
Ricard Vilalta's avatar
Ricard Vilalta committed
import "monitoring.proto";

  rpc NotifyServiceUpdate (context.Service   ) returns (context.Empty) {}
Ricard Vilalta's avatar
Ricard Vilalta committed
  
  // rpc that triggers the attack detection loop
  rpc DetectAttack        (context.Empty     ) returns (context.Empty) {}
Ricard Vilalta's avatar
Ricard Vilalta committed

  // rpc called by the distributed component to report KPIs
  rpc ReportSummarizedKpi (monitoring.KpiList) returns (context.Empty) {}
Ricard Vilalta's avatar
Ricard Vilalta committed

  rpc ReportKpi           (monitoring.KpiList) returns (context.Empty) {}
Ricard Vilalta's avatar
Ricard Vilalta committed
}