mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): support aws waf label
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user