Skip to content

Commit

Permalink
Merge pull request elastic#339 from kjell-hedstrom/LuaProtoScript
Browse files Browse the repository at this point in the history
The UI code should add the UUID if it is missing.
  • Loading branch information
KjellKod committed Jun 2, 2015
2 parents bcb3523 + d9e363b commit 3321aaa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions protofiles/LuaDefinedRule.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "LuaRulesMsg";
import "Rule.proto";


message LuaDefinedRule {
enum LuaType {
CUSTOM = 0;
Expand All @@ -14,16 +13,16 @@ message LuaDefinedRule {
required LuaType type = 1;
required RuleConf.Type ruleType = 2;
required string code = 3;

optional string name = 4;
optional bool enabled = 5;
optional string description = 6;
optional string author = 7;
optional string uuid = 8;
required string uuid = 8;
optional uint64 last_modified_date = 9;
}



message LuaRules {
repeated LuaDefinedRule rules = 1;
}

0 comments on commit 3321aaa

Please sign in to comment.