WAF规则集中增加是否忽略局域网IP选项

This commit is contained in:
GoEdgeLab
2021-12-02 16:09:15 +08:00
parent a90083c87c
commit 54eda21f7d
4 changed files with 20 additions and 2 deletions

View File

@@ -73,6 +73,7 @@ func (this *CreateSetPopupAction) RunPost(params struct {
RulesJSON []byte
Connector string
ActionsJSON []byte
IgnoreLocal bool
Must *actions.Must
}) {
@@ -124,6 +125,7 @@ func (this *CreateSetPopupAction) RunPost(params struct {
RuleRefs: nil,
Rules: rules,
Actions: actionConfigs,
IgnoreLocal: params.IgnoreLocal,
}
setConfigJSON, err := json.Marshal(setConfig)