Skip to content

fix(waf): [121984203] Update WAF resource query logic #3141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

SevenEarth
Copy link
Collaborator

No description provided.

@@ -948,6 +948,15 @@ func (me *WafService) DescribeWafAntiInfoLeakById(ctx context.Context, ruleId, d

request := waf.NewDescribeAntiInfoLeakageRulesRequest()
request.Domain = &domain
request.Limit = common.Uint64Ptr(10)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个地方写死的?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是查询1个值的方法,这个字段不设置会报错 所以设置默认10

@hellertang hellertang merged commit 9c7b6a8 into master Feb 21, 2025
7 of 8 checks passed
@hellertang hellertang deleted the fix/waf_params branch February 21, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants