optical_attack_mitigator.proto 593 Bytes
Newer Older
// protocol buffers documentation: https://developers.google.com/protocol-buffers/docs/proto3
syntax = "proto3";
package optical_attack_mitigator;

import "context.proto";

service AttackMitigator {
  rpc NotifyAttack (AttackDescription) returns (AttackResponse) {}
}

message AttackDescription {
  context.Uuid cs_id = 1;
  int32 attack_id = 2;
  float confidence = 3;
  string attack_description = 4;
}

message AttackResponse {
  context.Uuid cs_id = 1;
  int32 attack_id = 2;
  string attack_description = 3;
  int32 response_strategy_id = 4;
  string response_strategy_description = 5;
}