Skip to content

Commit e5b1217

Browse files
PLUTO-8020: up point spec
1 parent 2d03d6e commit e5b1217

1 file changed

Lines changed: 27 additions & 23 deletions

File tree

action.go

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -177,29 +177,33 @@ type (
177177
LoginPoint []interface{} `json:"login_point"`
178178
// Headers for the Set Response Headers Rule
179179
// are defined by these two parameters.
180-
Name string `json:"name"`
181-
Values []interface{} `json:"values"`
182-
Delay int `json:"delay,omitempty"`
183-
Burst int `json:"burst,omitempty"`
184-
Rate int `json:"rate,omitempty"`
185-
RspStatus int `json:"rsp_status,omitempty"`
186-
TimeUnit string `json:"time_unit,omitempty"`
187-
OverlimitTime int `json:"overlimit_time,omitempty"`
188-
Suffix string `json:"suffix,omitempty"`
189-
FileType string `json:"file_type,omitempty"`
190-
Parser string `json:"parser,omitempty"`
191-
State string `json:"state,omitempty"`
192-
MaxDepth int `json:"max_depth,omitempty"`
193-
MaxValueSizeKb int `json:"max_value_size_kb,omitempty"`
194-
MaxDocSizeKb int `json:"max_doc_size_kb,omitempty"`
195-
MaxAliasesSizeKb int `json:"max_aliases,omitempty"`
196-
MaxDocPerBatch int `json:"max_doc_per_batch,omitempty"`
197-
Introspection *bool `json:"introspection,omitempty"`
198-
DebugEnabled *bool `json:"debug_enabled,omitempty"`
199-
Set string `json:"set,omitempty"`
200-
Active bool `json:"active"`
201-
Title string `json:"title,omitempty"`
202-
Mitigation string `json:"mitigation,omitempty"`
180+
Name string `json:"name"`
181+
Values []interface{} `json:"values"`
182+
Delay int `json:"delay,omitempty"`
183+
Burst int `json:"burst,omitempty"`
184+
Rate int `json:"rate,omitempty"`
185+
RspStatus int `json:"rsp_status,omitempty"`
186+
TimeUnit string `json:"time_unit,omitempty"`
187+
OverlimitTime int `json:"overlimit_time,omitempty"`
188+
Suffix string `json:"suffix,omitempty"`
189+
FileType string `json:"file_type,omitempty"`
190+
Parser string `json:"parser,omitempty"`
191+
State string `json:"state,omitempty"`
192+
MaxDepth int `json:"max_depth,omitempty"`
193+
MaxValueSizeKb int `json:"max_value_size_kb,omitempty"`
194+
MaxDocSizeKb int `json:"max_doc_size_kb,omitempty"`
195+
MaxAliasesSizeKb int `json:"max_aliases,omitempty"`
196+
MaxDocPerBatch int `json:"max_doc_per_batch,omitempty"`
197+
Introspection *bool `json:"introspection,omitempty"`
198+
DebugEnabled *bool `json:"debug_enabled,omitempty"`
199+
Set string `json:"set,omitempty"`
200+
Active bool `json:"active"`
201+
Title string `json:"title,omitempty"`
202+
Mitigation string `json:"mitigation,omitempty"`
203+
Threshold *Threshold `json:"threshold,omitempty"`
204+
EnumeratedParameters *EnumeratedParameters `json:"enumerated_parameters,omitempty"`
205+
AdvancedConditions []AdvancedCondition `json:"advanced_conditions"`
206+
ArbitraryConditions []ArbitraryCondition `json:"arbitrary_conditions"`
203207
}
204208

205209
// ActionCreateResp is the response of just created Rule.

0 commit comments

Comments
 (0)