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 4b858cf

Browse files
committed
Update API DescribeVulnerabilityProtectedList: add request parameters RuleTag.
1 parent 89b6994 commit 4b858cf

File tree

4 files changed

+34
-5
lines changed

4 files changed

+34
-5
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: 6.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: 6.1.0
27
- Support API CreatePrivateDnsEndpoint.
38
- Support API DescribePostpayUserVpcStatus.

‎cloudfw-20171207/include/alibabacloud/models/DescribeVulnerabilityProtectedListRequest.hpp‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ namespace Models
2121
DARABONBA_PTR_TO_JSON(MemberUid, memberUid_);
2222
DARABONBA_PTR_TO_JSON(Order, order_);
2323
DARABONBA_PTR_TO_JSON(PageSize, pageSize_);
24+
DARABONBA_PTR_TO_JSON(RuleTag, ruleTag_);
2425
DARABONBA_PTR_TO_JSON(SortKey, sortKey_);
2526
DARABONBA_PTR_TO_JSON(SourceIp, sourceIp_);
2627
DARABONBA_PTR_TO_JSON(StartTime, startTime_);
@@ -40,6 +41,7 @@ namespace Models
4041
DARABONBA_PTR_FROM_JSON(MemberUid, memberUid_);
4142
DARABONBA_PTR_FROM_JSON(Order, order_);
4243
DARABONBA_PTR_FROM_JSON(PageSize, pageSize_);
44+
DARABONBA_PTR_FROM_JSON(RuleTag, ruleTag_);
4345
DARABONBA_PTR_FROM_JSON(SortKey, sortKey_);
4446
DARABONBA_PTR_FROM_JSON(SourceIp, sourceIp_);
4547
DARABONBA_PTR_FROM_JSON(StartTime, startTime_);
@@ -63,9 +65,9 @@ namespace Models
6365
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
6466
virtual bool empty() const override { return this->attackType_ == nullptr
6567
&& return this->buyVersion_ == nullptr && return this->currentPage_ == nullptr && return this->endTime_ == nullptr && return this->lang_ == nullptr && return this->memberUid_ == nullptr
66-
&& return this->order_ == nullptr && return this->pageSize_ == nullptr && return this->sortKey_ == nullptr && return this->sourceIp_ == nullptr && return this->startTime_ == nullptr
67-
&& return this->userType_ == nullptr && return this->vulnCveName_ == nullptr && return this->vulnLevel_ == nullptr && return this->vulnResource_ == nullptr && return this->vulnStatus_ == nullptr
68-
&& return this->vulnType_ == nullptr; };
68+
&& return this->order_ == nullptr && return this->pageSize_ == nullptr && return this->ruleTag_ == nullptr && return this->sortKey_ == nullptr && return this->sourceIp_ == nullptr
69+
&& return this->startTime_ == nullptr && return this->userType_ == nullptr && return this->vulnCveName_ == nullptr && return this->vulnLevel_ == nullptr && return this->vulnResource_ == nullptr
70+
&& return this->vulnStatus_ == nullptr && returnthis->vulnType_ == nullptr; };
6971
// attackType Field Functions
7072
bool hasAttackType() const { return this->attackType_ != nullptr;};
7173
void deleteAttackType() { this->attackType_ = nullptr;};
@@ -122,6 +124,13 @@ namespace Models
122124
inline DescribeVulnerabilityProtectedListRequest& setPageSize(string pageSize) { DARABONBA_PTR_SET_VALUE(pageSize_, pageSize) };
123125

124126

127+
// ruleTag Field Functions
128+
bool hasRuleTag() const { return this->ruleTag_ != nullptr;};
129+
void deleteRuleTag() { this->ruleTag_ = nullptr;};
130+
inline string ruleTag() const { DARABONBA_PTR_GET_DEFAULT(ruleTag_, "") };
131+
inline DescribeVulnerabilityProtectedListRequest& setRuleTag(string ruleTag) { DARABONBA_PTR_SET_VALUE(ruleTag_, ruleTag) };
132+
133+
125134
// sortKey Field Functions
126135
bool hasSortKey() const { return this->sortKey_ != nullptr;};
127136
void deleteSortKey() { this->sortKey_ = nullptr;};
@@ -226,6 +235,7 @@ namespace Models
226235
std::shared_ptr<string> order_ = nullptr;
227236
// The number of entries to return on each page. Maximum value: 50.
228237
std::shared_ptr<string> pageSize_ = nullptr;
238+
std::shared_ptr<string> ruleTag_ = nullptr;
229239
// The sorting basis. Set the value to **attackCnt**, which indicates the number of attacks.
230240
std::shared_ptr<string> sortKey_ = nullptr;
231241
// The IP address of the access source.

‎cloudfw-20171207/include/alibabacloud/models/DescribeVulnerabilityProtectedListResponseBodyVulnList.hpp‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ namespace Models
3131
DARABONBA_PTR_TO_JSON(NeedRuleClass, needRuleClass_);
3232
DARABONBA_PTR_TO_JSON(ResourceCnt, resourceCnt_);
3333
DARABONBA_PTR_TO_JSON(ResourceList, resourceList_);
34+
DARABONBA_PTR_TO_JSON(RuleTag, ruleTag_);
3435
DARABONBA_PTR_TO_JSON(VirtualPatcheIds, virtualPatcheIds_);
3536
DARABONBA_PTR_TO_JSON(VulnKey, vulnKey_);
3637
DARABONBA_PTR_TO_JSON(VulnLevel, vulnLevel_);
@@ -55,6 +56,7 @@ namespace Models
5556
DARABONBA_PTR_FROM_JSON(NeedRuleClass, needRuleClass_);
5657
DARABONBA_PTR_FROM_JSON(ResourceCnt, resourceCnt_);
5758
DARABONBA_PTR_FROM_JSON(ResourceList, resourceList_);
59+
DARABONBA_PTR_FROM_JSON(RuleTag, ruleTag_);
5860
DARABONBA_PTR_FROM_JSON(VirtualPatcheIds, virtualPatcheIds_);
5961
DARABONBA_PTR_FROM_JSON(VulnKey, vulnKey_);
6062
DARABONBA_PTR_FROM_JSON(VulnLevel, vulnLevel_);
@@ -77,8 +79,8 @@ namespace Models
7779
&& return this->attackType_ == nullptr && return this->basicRuleIds_ == nullptr && return this->cveId_ == nullptr && return this->firstTime_ == nullptr && return this->highlightTag_ == nullptr
7880
&& return this->lastTime_ == nullptr && return this->memberUid_ == nullptr && return this->needOpenBasicRule_ == nullptr && return this->needOpenBasicRuleUuids_ == nullptr && return this->needOpenRunMode_ == nullptr
7981
&& return this->needOpenVirtualPatche_ == nullptr && return this->needOpenVirtualPatcheUuids_ == nullptr && return this->needRuleClass_ == nullptr && return this->resourceCnt_ == nullptr && return this->resourceList_ == nullptr
80-
&& return this->virtualPatcheIds_ == nullptr && return this->vulnKey_ == nullptr && return this->vulnLevel_ == nullptr && return this->vulnName_ == nullptr && return this->vulnStatus_ == nullptr
81-
&& return this->vulnType_ == nullptr; };
82+
&& return this->ruleTag_ == nullptr && return this->virtualPatcheIds_ == nullptr && return this->vulnKey_ == nullptr && return this->vulnLevel_ == nullptr && return this->vulnName_ == nullptr
83+
&& return this->vulnStatus_ == nullptr && returnthis->vulnType_ == nullptr; };
8284
// attackCnt Field Functions
8385
bool hasAttackCnt() const { return this->attackCnt_ != nullptr;};
8486
void deleteAttackCnt() { this->attackCnt_ = nullptr;};
@@ -193,6 +195,13 @@ namespace Models
193195
inline DescribeVulnerabilityProtectedListResponseBodyVulnList& setResourceList(vector<Models::DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList> && resourceList) { DARABONBA_PTR_SET_RVALUE(resourceList_, resourceList) };
194196

195197

198+
// ruleTag Field Functions
199+
bool hasRuleTag() const { return this->ruleTag_ != nullptr;};
200+
void deleteRuleTag() { this->ruleTag_ = nullptr;};
201+
inline string ruleTag() const { DARABONBA_PTR_GET_DEFAULT(ruleTag_, "") };
202+
inline DescribeVulnerabilityProtectedListResponseBodyVulnList& setRuleTag(string ruleTag) { DARABONBA_PTR_SET_VALUE(ruleTag_, ruleTag) };
203+
204+
196205
// virtualPatcheIds Field Functions
197206
bool hasVirtualPatcheIds() const { return this->virtualPatcheIds_ != nullptr;};
198207
void deleteVirtualPatcheIds() { this->virtualPatcheIds_ = nullptr;};
@@ -302,6 +311,7 @@ namespace Models
302311
std::shared_ptr<int32_t> resourceCnt_ = nullptr;
303312
// The assets on which the vulnerability is detected.
304313
std::shared_ptr<vector<Models::DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList>> resourceList_ = nullptr;
314+
std::shared_ptr<string> ruleTag_ = nullptr;
305315
// The IDs of associated virtual patching policies.
306316
std::shared_ptr<string> virtualPatcheIds_ = nullptr;
307317
// The code of the vulnerability.

‎cloudfw-20171207/src/Client.cpp‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9468,6 +9468,10 @@ DescribeVulnerabilityProtectedListResponse Client::describeVulnerabilityProtecte
94689468
query["PageSize"] = request.pageSize();
94699469
}
94709470

9471+
if (!!request.hasRuleTag()) {
9472+
query["RuleTag"] = request.ruleTag();
9473+
}
9474+
94719475
if (!!request.hasSortKey()) {
94729476
query["SortKey"] = request.sortKey();
94739477
}

0 commit comments

Comments
(0)

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