Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 800eb77

Browse files
committed
Update API DescribeVulnerabilityProtectedList: add request parameters RuleTag.
1 parent 6a21ca0 commit 800eb77

File tree

5 files changed

+35
-0
lines changed

5 files changed

+35
-0
lines changed

‎cloudfw-20171207/ChangeLog.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2025年10月29日 Version: v9.1.1
2+
- Update API DescribeVulnerabilityProtectedList: add request parameters RuleTag.
3+
- Update API DescribeVulnerabilityProtectedList: add response parameters Body.VulnList.$.RuleTag.
4+
5+
16
2025年10月27日 Version: v9.1.0
27
- Support API CreatePrivateDnsEndpoint.
38
- Support API DescribePostpayUserVpcStatus.

‎cloudfw-20171207/client/client.go‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12775,6 +12775,10 @@ func (client *Client) DescribeVulnerabilityProtectedListWithOptions(request *Des
1277512775
query["PageSize"] = request.PageSize
1277612776
}
1277712777

12778+
if !dara.IsNil(request.RuleTag) {
12779+
query["RuleTag"] = request.RuleTag
12780+
}
12781+
1277812782
if !dara.IsNil(request.SortKey) {
1277912783
query["SortKey"] = request.SortKey
1278012784
}

‎cloudfw-20171207/client/client_context_func.go‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9500,6 +9500,10 @@ func (client *Client) DescribeVulnerabilityProtectedListWithContext(ctx context.
95009500
query["PageSize"] = request.PageSize
95019501
}
95029502

9503+
if !dara.IsNil(request.RuleTag) {
9504+
query["RuleTag"] = request.RuleTag
9505+
}
9506+
95039507
if !dara.IsNil(request.SortKey) {
95049508
query["SortKey"] = request.SortKey
95059509
}

‎cloudfw-20171207/client/describe_vulnerability_protected_list_request_model.go‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ type iDescribeVulnerabilityProtectedListRequest interface {
2525
GetOrder() *string
2626
SetPageSize(v string) *DescribeVulnerabilityProtectedListRequest
2727
GetPageSize() *string
28+
SetRuleTag(v string) *DescribeVulnerabilityProtectedListRequest
29+
GetRuleTag() *string
2830
SetSortKey(v string) *DescribeVulnerabilityProtectedListRequest
2931
GetSortKey() *string
3032
SetSourceIp(v string) *DescribeVulnerabilityProtectedListRequest
@@ -132,6 +134,7 @@ type DescribeVulnerabilityProtectedListRequest struct {
132134
//
133135
// 10
134136
PageSize *string `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
137+
RuleTag *string `json:"RuleTag,omitempty" xml:"RuleTag,omitempty"`
135138
// The sorting basis. Set the value to **attackCnt**, which indicates the number of attacks.
136139
//
137140
// example:
@@ -250,6 +253,10 @@ func (s *DescribeVulnerabilityProtectedListRequest) GetPageSize() *string {
250253
return s.PageSize
251254
}
252255

256+
func (s *DescribeVulnerabilityProtectedListRequest) GetRuleTag() *string {
257+
return s.RuleTag
258+
}
259+
253260
func (s *DescribeVulnerabilityProtectedListRequest) GetSortKey() *string {
254261
return s.SortKey
255262
}
@@ -326,6 +333,11 @@ func (s *DescribeVulnerabilityProtectedListRequest) SetPageSize(v string) *Descr
326333
return s
327334
}
328335

336+
func (s *DescribeVulnerabilityProtectedListRequest) SetRuleTag(v string) *DescribeVulnerabilityProtectedListRequest {
337+
s.RuleTag = &v
338+
return s
339+
}
340+
329341
func (s *DescribeVulnerabilityProtectedListRequest) SetSortKey(v string) *DescribeVulnerabilityProtectedListRequest {
330342
s.SortKey = &v
331343
return s

‎cloudfw-20171207/client/describe_vulnerability_protected_list_response_body_model.go‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ type DescribeVulnerabilityProtectedListResponseBodyVulnList struct {
244244
ResourceCnt *int32 `json:"ResourceCnt,omitempty" xml:"ResourceCnt,omitempty"`
245245
// The assets on which the vulnerability is detected.
246246
ResourceList []*DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList `json:"ResourceList,omitempty" xml:"ResourceList,omitempty" type:"Repeated"`
247+
RuleTag *string `json:"RuleTag,omitempty" xml:"RuleTag,omitempty"`
247248
// The IDs of associated virtual patching policies.
248249
//
249250
// example:
@@ -372,6 +373,10 @@ func (s *DescribeVulnerabilityProtectedListResponseBodyVulnList) GetResourceList
372373
return s.ResourceList
373374
}
374375

376+
func (s *DescribeVulnerabilityProtectedListResponseBodyVulnList) GetRuleTag() *string {
377+
return s.RuleTag
378+
}
379+
375380
func (s *DescribeVulnerabilityProtectedListResponseBodyVulnList) GetVirtualPatcheIds() *string {
376381
return s.VirtualPatcheIds
377382
}
@@ -476,6 +481,11 @@ func (s *DescribeVulnerabilityProtectedListResponseBodyVulnList) SetResourceList
476481
return s
477482
}
478483

484+
func (s *DescribeVulnerabilityProtectedListResponseBodyVulnList) SetRuleTag(v string) *DescribeVulnerabilityProtectedListResponseBodyVulnList {
485+
s.RuleTag = &v
486+
return s
487+
}
488+
479489
func (s *DescribeVulnerabilityProtectedListResponseBodyVulnList) SetVirtualPatcheIds(v string) *DescribeVulnerabilityProtectedListResponseBodyVulnList {
480490
s.VirtualPatcheIds = &v
481491
return s

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /