fix(region): support aws waf label

This commit is contained in:
Qu Xuan
2021-07-15 16:42:20 +08:00
parent 7555235dc1
commit 144ffbf593
73 changed files with 21134 additions and 4352 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ func (self SWafStatement) GetGlobalId() string {
self.ManagedRuleGroupName,
self.SearchString,
)
if self.Type == WafStatementTypeGeoMatch || self.Type == WafStatementTypeRate {
if self.Type == WafStatementTypeGeoMatch || self.Type == WafStatementTypeRate || self.Type == WafStatementTypeLabelMatch {
id = fmt.Sprintf("%s-%s", id, self.MatchFieldValues)
}
return id