centralized_attack_detector.proto 661 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 "service.proto";
import "monitoring.proto";


Ricard Vilalta's avatar
Ricard Vilalta committed

  rpc NotifyServiceUpdate (service.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) {}