WAF策略简要信息中增加serverId

This commit is contained in:
GoEdgeLab
2022-01-14 10:43:22 +08:00
parent 51ec50eee3
commit 4c4d910ffd

View File

@@ -478,6 +478,7 @@ func (this *HTTPFirewallPolicyService) FindEnabledHTTPFirewallPolicy(ctx context
}
return &pb.FindEnabledHTTPFirewallPolicyResponse{HttpFirewallPolicy: &pb.HTTPFirewallPolicy{
Id: int64(policy.Id),
ServerId: int64(policy.ServerId),
Name: policy.Name,
Description: policy.Description,
IsOn: policy.IsOn == 1,