// protocol buffers documentation: https://developers.google.com/protocol-buffers/docs/proto3
syntax = "proto3";
package centralized_cybersecurity;

import "google/protobuf/empty.proto";
import "service.proto";
import "monitoring.proto";


service CentralizedCyberSecurityService {

  rpc NotifyServiceUpdate (service.Service) returns (google.protobuf.Empty) {}
  
  // rpc that triggers the attack detection loop
  rpc DetectAttack (google.protobuf.Empty) returns (google.protobuf.Empty) {}

  // rpc called by the distributed component to report KPIs
  rpc ReportSummarizedKpi (monitoring.KpiList) returns (google.protobuf.Empty) {}

  rpc ReportKpi (monitoring.KpiList) returns (google.protobuf.Empty) {}

}

