l3_attackmitigator.proto 635 Bytes
Newer Older
ldemarcosm's avatar
ldemarcosm committed
syntax = "proto2";

service l3_attackmitigator{
  // Sends a greeting
  rpc send_output (output) returns (empty_mitigator) {}
  // Sends another greeting
  rpc get_mitigation (empty_mitigator) returns (empty_mitigator) {}
}


message empty_mitigator {
	optional string message = 1;
}


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