浏览代码

waf_rules -> waf-rules

Sebastien Blot 1 年之前
父节点
当前提交
f7e098047f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/cwhub/cwhub.go

+ 1 - 1
pkg/cwhub/cwhub.go

@@ -78,7 +78,7 @@ type Item struct {
 	PostOverflows []string `yaml:"postoverflows,omitempty" json:"postoverflows,omitempty"`
 	Scenarios     []string `yaml:"scenarios,omitempty" json:"scenarios,omitempty"`
 	Collections   []string `yaml:"collections,omitempty" json:"collections,omitempty"`
-	WafRules      []string `yaml:"waf_rules,omitempty" json:"waf_rules,omitempty"`
+	WafRules      []string `yaml:"waf-rules,omitempty" json:"waf-rules,omitempty"`
 }
 
 func (i *Item) toHubStatus() ItemHubStatus {