l3_attackmitigator.proto 556 Bytes
Newer Older
ldemarcosm's avatar
ldemarcosm committed
syntax = "proto3";
ldemarcosm's avatar
ldemarcosm committed

ldemarcosm's avatar
ldemarcosm committed
service L3Attackmitigator{
ldemarcosm's avatar
ldemarcosm committed
  // Sends a greeting
ldemarcosm's avatar
ldemarcosm committed
  rpc SendOutput (Output) returns (EmptyMitigator) {}
ldemarcosm's avatar
ldemarcosm committed
  // Sends another greeting
ldemarcosm's avatar
ldemarcosm committed
  rpc GetMitigation (EmptyMitigator) returns (EmptyMitigator) {}
ldemarcosm's avatar
ldemarcosm committed
message EmptyMitigator {
ldemarcosm's avatar
ldemarcosm committed
	optional string message = 1;
}


ldemarcosm's avatar
ldemarcosm committed
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;
ldemarcosm's avatar
ldemarcosm committed
	optional string ml_id = 9;
	optional float time_start = 10;
	optional float time_end = 11;
}