syntax = "proto3";

service L3Attackmitigator{
  // Sends a greeting
  rpc SendOutput (Output) returns (EmptyMitigator) {}
  // Sends another greeting
  rpc GetMitigation (EmptyMitigator) returns (EmptyMitigator) {}
}


message EmptyMitigator {
	optional string message = 1;
}


message Output {
	float confidence = 1;
	string timestamp = 2;
	string ip_o = 3;	
	string tag_name = 4;
	int32 tag = 5;
	string flow_id = 6;
	string protocol = 7;
	string port_d = 8;
	optional string ml_id = 9;
	optional float time_start = 10;
	optional float time_end = 11;
}
