@huaweicloud/huaweicloud-sdk-waf 3.1.177 → 3.1.178
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/v1/WafClient.d.ts +172 -56
- package/v1/WafClient.d.ts.map +1 -1
- package/v1/WafClient.js +347 -56
- package/v1/WafClient.js.map +1 -1
- package/v1/model/AnticrawlerRule.d.ts +10 -2
- package/v1/model/AnticrawlerRule.d.ts.map +1 -1
- package/v1/model/AnticrawlerRule.js +10 -1
- package/v1/model/AnticrawlerRule.js.map +1 -1
- package/v1/model/CloudWafHostItem.d.ts +11 -3
- package/v1/model/CloudWafHostItem.d.ts.map +1 -1
- package/v1/model/CloudWafHostItem.js +10 -1
- package/v1/model/CloudWafHostItem.js.map +1 -1
- package/v1/model/CompositeHostResponse.d.ts +11 -3
- package/v1/model/CompositeHostResponse.d.ts.map +1 -1
- package/v1/model/CompositeHostResponse.js +10 -1
- package/v1/model/CompositeHostResponse.js.map +1 -1
- package/v1/model/CreateAnticrawlerRuleRequestbody.d.ts +10 -2
- package/v1/model/CreateAnticrawlerRuleRequestbody.d.ts.map +1 -1
- package/v1/model/CreateAnticrawlerRuleRequestbody.js +10 -1
- package/v1/model/CreateAnticrawlerRuleRequestbody.js.map +1 -1
- package/v1/model/CreateAnticrawlerRuleResponse.d.ts +10 -2
- package/v1/model/CreateAnticrawlerRuleResponse.d.ts.map +1 -1
- package/v1/model/CreateAnticrawlerRuleResponse.js +10 -1
- package/v1/model/CreateAnticrawlerRuleResponse.js.map +1 -1
- package/v1/model/CreateHostRequestBody.d.ts +11 -3
- package/v1/model/CreateHostRequestBody.d.ts.map +1 -1
- package/v1/model/CreateHostRequestBody.js +10 -1
- package/v1/model/CreateHostRequestBody.js.map +1 -1
- package/v1/model/CreateValueListResponse.d.ts +18 -2
- package/v1/model/CreateValueListResponse.d.ts.map +1 -1
- package/v1/model/CreateValueListResponse.js +18 -1
- package/v1/model/CreateValueListResponse.js.map +1 -1
- package/v1/model/CustomPage.d.ts +12 -3
- package/v1/model/CustomPage.d.ts.map +1 -1
- package/v1/model/CustomPage.js +11 -1
- package/v1/model/CustomPage.js.map +1 -1
- package/v1/model/DeleteAlertNoticeConfigRequest.d.ts +16 -0
- package/v1/model/DeleteAlertNoticeConfigRequest.d.ts.map +1 -0
- package/v1/model/DeleteAlertNoticeConfigRequest.js +42 -0
- package/v1/model/DeleteAlertNoticeConfigRequest.js.map +1 -0
- package/v1/model/DeleteAlertNoticeConfigResponse.d.ts +47 -0
- package/v1/model/DeleteAlertNoticeConfigResponse.d.ts.map +1 -0
- package/v1/model/DeleteAlertNoticeConfigResponse.js +109 -0
- package/v1/model/DeleteAlertNoticeConfigResponse.js.map +1 -0
- package/v1/model/DeleteAnticrawlerRuleResponse.d.ts +10 -2
- package/v1/model/DeleteAnticrawlerRuleResponse.d.ts.map +1 -1
- package/v1/model/DeleteAnticrawlerRuleResponse.js +10 -1
- package/v1/model/DeleteAnticrawlerRuleResponse.js.map +1 -1
- package/v1/model/DeleteHostResponse.d.ts +11 -3
- package/v1/model/DeleteHostResponse.d.ts.map +1 -1
- package/v1/model/DeleteHostResponse.js +10 -1
- package/v1/model/DeleteHostResponse.js.map +1 -1
- package/v1/model/DeleteInstanceResponse.d.ts +40 -8
- package/v1/model/DeleteInstanceResponse.d.ts.map +1 -1
- package/v1/model/DeleteInstanceResponse.js +36 -1
- package/v1/model/DeleteInstanceResponse.js.map +1 -1
- package/v1/model/DeletePremiumHostResponse.d.ts +23 -6
- package/v1/model/DeletePremiumHostResponse.d.ts.map +1 -1
- package/v1/model/DeletePremiumHostResponse.js +20 -1
- package/v1/model/DeletePremiumHostResponse.js.map +1 -1
- package/v1/model/DeleteValueListResponse.d.ts +18 -2
- package/v1/model/DeleteValueListResponse.d.ts.map +1 -1
- package/v1/model/DeleteValueListResponse.js +18 -1
- package/v1/model/DeleteValueListResponse.js.map +1 -1
- package/v1/model/ListAnticrawlerRulesRequest.d.ts +10 -2
- package/v1/model/ListAnticrawlerRulesRequest.d.ts.map +1 -1
- package/v1/model/ListAnticrawlerRulesRequest.js +10 -1
- package/v1/model/ListAnticrawlerRulesRequest.js.map +1 -1
- package/v1/model/ListCcRulesRequest.d.ts +16 -3
- package/v1/model/ListCcRulesRequest.d.ts.map +1 -1
- package/v1/model/ListCcRulesRequest.js +15 -1
- package/v1/model/ListCcRulesRequest.js.map +1 -1
- package/v1/model/ListCertificatesRequest.d.ts +12 -3
- package/v1/model/ListCertificatesRequest.d.ts.map +1 -1
- package/v1/model/ListCertificatesRequest.js +11 -1
- package/v1/model/ListCertificatesRequest.js.map +1 -1
- package/v1/model/ListCompositeHostsRequest.d.ts +12 -3
- package/v1/model/ListCompositeHostsRequest.d.ts.map +1 -1
- package/v1/model/ListCompositeHostsRequest.js +11 -1
- package/v1/model/ListCompositeHostsRequest.js.map +1 -1
- package/v1/model/ListInstance.d.ts +40 -8
- package/v1/model/ListInstance.d.ts.map +1 -1
- package/v1/model/ListInstance.js +36 -1
- package/v1/model/ListInstance.js.map +1 -1
- package/v1/model/ListPremiumHostRequest.d.ts +12 -3
- package/v1/model/ListPremiumHostRequest.d.ts.map +1 -1
- package/v1/model/ListPremiumHostRequest.js +11 -1
- package/v1/model/ListPremiumHostRequest.js.map +1 -1
- package/v1/model/ListSourceIpTop5Request.d.ts +12 -0
- package/v1/model/ListSourceIpTop5Request.d.ts.map +1 -0
- package/v1/model/ListSourceIpTop5Request.js +30 -0
- package/v1/model/ListSourceIpTop5Request.js.map +1 -0
- package/v1/model/ListSourceIpTop5Response.d.ts +10 -0
- package/v1/model/ListSourceIpTop5Response.d.ts.map +1 -0
- package/v1/model/ListSourceIpTop5Response.js +19 -0
- package/v1/model/ListSourceIpTop5Response.js.map +1 -0
- package/v1/model/ListThreatsRequest.d.ts +12 -0
- package/v1/model/ListThreatsRequest.d.ts.map +1 -0
- package/v1/model/ListThreatsRequest.js +29 -0
- package/v1/model/ListThreatsRequest.js.map +1 -0
- package/v1/model/ListThreatsResponse.d.ts +29 -0
- package/v1/model/ListThreatsResponse.d.ts.map +1 -0
- package/v1/model/ListThreatsResponse.js +59 -0
- package/v1/model/ListThreatsResponse.js.map +1 -0
- package/v1/model/ListUrlRequest.d.ts +20 -0
- package/v1/model/ListUrlRequest.d.ts.map +1 -0
- package/v1/model/ListUrlRequest.js +45 -0
- package/v1/model/ListUrlRequest.js.map +1 -0
- package/v1/model/ListUrlResponse.d.ts +7 -0
- package/v1/model/ListUrlResponse.d.ts.map +1 -0
- package/v1/model/ListUrlResponse.js +15 -0
- package/v1/model/ListUrlResponse.js.map +1 -0
- package/v1/model/RenameInstanceResponse.d.ts +40 -8
- package/v1/model/RenameInstanceResponse.d.ts.map +1 -1
- package/v1/model/RenameInstanceResponse.js +36 -1
- package/v1/model/RenameInstanceResponse.js.map +1 -1
- package/v1/model/ShowAnticrawlerRuleResponse.d.ts +10 -2
- package/v1/model/ShowAnticrawlerRuleResponse.d.ts.map +1 -1
- package/v1/model/ShowAnticrawlerRuleResponse.js +10 -1
- package/v1/model/ShowAnticrawlerRuleResponse.js.map +1 -1
- package/v1/model/ShowCompositeHostResponse.d.ts +11 -3
- package/v1/model/ShowCompositeHostResponse.d.ts.map +1 -1
- package/v1/model/ShowCompositeHostResponse.js +10 -1
- package/v1/model/ShowCompositeHostResponse.js.map +1 -1
- package/v1/model/ShowInstanceResponse.d.ts +40 -8
- package/v1/model/ShowInstanceResponse.d.ts.map +1 -1
- package/v1/model/ShowInstanceResponse.js +36 -1
- package/v1/model/ShowInstanceResponse.js.map +1 -1
- package/v1/model/ShowPremiumHostResponse.d.ts +23 -6
- package/v1/model/ShowPremiumHostResponse.d.ts.map +1 -1
- package/v1/model/ShowPremiumHostResponse.js +20 -1
- package/v1/model/ShowPremiumHostResponse.js.map +1 -1
- package/v1/model/ShowValueListResponse.d.ts +18 -2
- package/v1/model/ShowValueListResponse.d.ts.map +1 -1
- package/v1/model/ShowValueListResponse.js +18 -1
- package/v1/model/ShowValueListResponse.js.map +1 -1
- package/v1/model/SourceIpTopListInfoItems.d.ts +8 -0
- package/v1/model/SourceIpTopListInfoItems.d.ts.map +1 -0
- package/v1/model/SourceIpTopListInfoItems.js +17 -0
- package/v1/model/SourceIpTopListInfoItems.js.map +1 -0
- package/v1/model/StatisticsTimelineItem.d.ts +14 -2
- package/v1/model/StatisticsTimelineItem.d.ts.map +1 -1
- package/v1/model/StatisticsTimelineItem.js +14 -1
- package/v1/model/StatisticsTimelineItem.js.map +1 -1
- package/v1/model/UpdateAnticrawlerRuleRequestBody.d.ts +10 -2
- package/v1/model/UpdateAnticrawlerRuleRequestBody.d.ts.map +1 -1
- package/v1/model/UpdateAnticrawlerRuleRequestBody.js +10 -1
- package/v1/model/UpdateAnticrawlerRuleRequestBody.js.map +1 -1
- package/v1/model/UpdateAnticrawlerRuleResponse.d.ts +10 -2
- package/v1/model/UpdateAnticrawlerRuleResponse.d.ts.map +1 -1
- package/v1/model/UpdateAnticrawlerRuleResponse.js +10 -1
- package/v1/model/UpdateAnticrawlerRuleResponse.js.map +1 -1
- package/v1/model/UpdateAnticrawlerRuleTypeRequestbody.d.ts +11 -3
- package/v1/model/UpdateAnticrawlerRuleTypeRequestbody.d.ts.map +1 -1
- package/v1/model/UpdateAnticrawlerRuleTypeRequestbody.js +10 -1
- package/v1/model/UpdateAnticrawlerRuleTypeRequestbody.js.map +1 -1
- package/v1/model/UpdateAnticrawlerRuleTypeResponse.d.ts +11 -3
- package/v1/model/UpdateAnticrawlerRuleTypeResponse.d.ts.map +1 -1
- package/v1/model/UpdateAnticrawlerRuleTypeResponse.js +10 -1
- package/v1/model/UpdateAnticrawlerRuleTypeResponse.js.map +1 -1
- package/v1/model/UpdateHostRequestBody.d.ts +11 -3
- package/v1/model/UpdateHostRequestBody.d.ts.map +1 -1
- package/v1/model/UpdateHostRequestBody.js +10 -1
- package/v1/model/UpdateHostRequestBody.js.map +1 -1
- package/v1/model/UpdatePremiumHostRequestBody.d.ts +23 -6
- package/v1/model/UpdatePremiumHostRequestBody.d.ts.map +1 -1
- package/v1/model/UpdatePremiumHostRequestBody.js +20 -1
- package/v1/model/UpdatePremiumHostRequestBody.js.map +1 -1
- package/v1/model/UpdatePremiumHostResponse.d.ts +23 -6
- package/v1/model/UpdatePremiumHostResponse.d.ts.map +1 -1
- package/v1/model/UpdatePremiumHostResponse.js +20 -1
- package/v1/model/UpdatePremiumHostResponse.js.map +1 -1
- package/v1/model/UpdatePremiumInstanceResponse.d.ts +50 -10
- package/v1/model/UpdatePremiumInstanceResponse.d.ts.map +1 -1
- package/v1/model/UpdatePremiumInstanceResponse.js +45 -1
- package/v1/model/UpdatePremiumInstanceResponse.js.map +1 -1
- package/v1/model/UpdatePrivacyRuleResponse.d.ts +10 -2
- package/v1/model/UpdatePrivacyRuleResponse.d.ts.map +1 -1
- package/v1/model/UpdatePrivacyRuleResponse.js +10 -1
- package/v1/model/UpdatePrivacyRuleResponse.js.map +1 -1
- package/v1/model/UpdateValueListResponse.d.ts +18 -2
- package/v1/model/UpdateValueListResponse.d.ts.map +1 -1
- package/v1/model/UpdateValueListResponse.js +18 -1
- package/v1/model/UpdateValueListResponse.js.map +1 -1
- package/v1/model/WafProductInfo.d.ts +11 -3
- package/v1/model/WafProductInfo.d.ts.map +1 -1
- package/v1/model/WafProductInfo.js +10 -1
- package/v1/model/WafProductInfo.js.map +1 -1
- package/v1/public-api.d.ts +9 -0
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +9 -0
- package/v1/public-api.js.map +1 -1
package/v1/WafClient.d.ts
CHANGED
|
@@ -124,6 +124,8 @@ import { CreateWhiteblackipRuleRequest } from './model/CreateWhiteblackipRuleReq
|
|
|
124
124
|
import { CreateWhiteblackipRuleResponse } from './model/CreateWhiteblackipRuleResponse';
|
|
125
125
|
import { DeleteAgencyRequest } from './model/DeleteAgencyRequest';
|
|
126
126
|
import { DeleteAgencyResponse } from './model/DeleteAgencyResponse';
|
|
127
|
+
import { DeleteAlertNoticeConfigRequest } from './model/DeleteAlertNoticeConfigRequest';
|
|
128
|
+
import { DeleteAlertNoticeConfigResponse } from './model/DeleteAlertNoticeConfigResponse';
|
|
127
129
|
import { DeleteAnticrawlerRuleRequest } from './model/DeleteAnticrawlerRuleRequest';
|
|
128
130
|
import { DeleteAnticrawlerRuleResponse } from './model/DeleteAnticrawlerRuleResponse';
|
|
129
131
|
import { DeleteAntileakageRuleRequest } from './model/DeleteAntileakageRuleRequest';
|
|
@@ -244,8 +246,12 @@ import { ListSecurityReportSendingRecordsRequest } from './model/ListSecurityRep
|
|
|
244
246
|
import { ListSecurityReportSendingRecordsResponse } from './model/ListSecurityReportSendingRecordsResponse';
|
|
245
247
|
import { ListSecurityReportSubscriptionsRequest } from './model/ListSecurityReportSubscriptionsRequest';
|
|
246
248
|
import { ListSecurityReportSubscriptionsResponse } from './model/ListSecurityReportSubscriptionsResponse';
|
|
249
|
+
import { ListSourceIpTop5Request } from './model/ListSourceIpTop5Request';
|
|
250
|
+
import { ListSourceIpTop5Response } from './model/ListSourceIpTop5Response';
|
|
247
251
|
import { ListStatisticsRequest } from './model/ListStatisticsRequest';
|
|
248
252
|
import { ListStatisticsResponse } from './model/ListStatisticsResponse';
|
|
253
|
+
import { ListThreatsRequest } from './model/ListThreatsRequest';
|
|
254
|
+
import { ListThreatsResponse } from './model/ListThreatsResponse';
|
|
249
255
|
import { ListTopAbnormalRequest } from './model/ListTopAbnormalRequest';
|
|
250
256
|
import { ListTopAbnormalResponse } from './model/ListTopAbnormalResponse';
|
|
251
257
|
import { ListTopDomainsRequest } from './model/ListTopDomainsRequest';
|
|
@@ -254,6 +260,8 @@ import { ListTopIpRequest } from './model/ListTopIpRequest';
|
|
|
254
260
|
import { ListTopIpResponse } from './model/ListTopIpResponse';
|
|
255
261
|
import { ListTopUrlRequest } from './model/ListTopUrlRequest';
|
|
256
262
|
import { ListTopUrlResponse } from './model/ListTopUrlResponse';
|
|
263
|
+
import { ListUrlRequest } from './model/ListUrlRequest';
|
|
264
|
+
import { ListUrlResponse } from './model/ListUrlResponse';
|
|
257
265
|
import { ListValueListRequest } from './model/ListValueListRequest';
|
|
258
266
|
import { ListValueListResponse } from './model/ListValueListResponse';
|
|
259
267
|
import { ListWebBasicProtectionRulesRequest } from './model/ListWebBasicProtectionRulesRequest';
|
|
@@ -561,7 +569,7 @@ export declare class WafClient {
|
|
|
561
569
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
562
570
|
*
|
|
563
571
|
* @summary 批量删除防护策略
|
|
564
|
-
* @param {string} contentType 内容类型
|
|
572
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
565
573
|
* @param {BatchDeletePoliciesRequestBody} batchDeletePoliciesRequestBody 批量删除防护策略body
|
|
566
574
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id
|
|
567
575
|
* @param {*} [options] Override http request option.
|
|
@@ -691,9 +699,9 @@ export declare class WafClient {
|
|
|
691
699
|
batchUpdateWhiteblackipRules(batchUpdateWhiteblackipRulesRequest?: BatchUpdateWhiteblackipRulesRequest): Promise<BatchUpdateWhiteblackipRulesResponse>;
|
|
692
700
|
/**
|
|
693
701
|
* 变更包周期云模式waf规格。注:
|
|
694
|
-
* -
|
|
695
|
-
* -
|
|
696
|
-
* -
|
|
702
|
+
* - 变更某产品规格的前提是必须已购买该产品
|
|
703
|
+
* - 云模式支持版本降配,扩展包支持减少数量,最少可以到0
|
|
704
|
+
* - 不支持同时升降配,如增加域名扩展包数量,同时减少规则扩展包数量
|
|
697
705
|
*
|
|
698
706
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
699
707
|
*
|
|
@@ -889,7 +897,7 @@ export declare class WafClient {
|
|
|
889
897
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
890
898
|
*
|
|
891
899
|
* @summary 创建JS脚本反爬虫规则
|
|
892
|
-
* @param {string} contentType 内容类型
|
|
900
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
893
901
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
894
902
|
* @param {CreateAnticrawlerRuleRequestbody} createAnticrawlerRuleRequestBody 创建JS脚本反爬虫规则请求体
|
|
895
903
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -903,7 +911,7 @@ export declare class WafClient {
|
|
|
903
911
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
904
912
|
*
|
|
905
913
|
* @summary 创建防敏感信息泄露规则
|
|
906
|
-
* @param {string} contentType 内容类型
|
|
914
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
907
915
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
908
916
|
* @param {CreateAntileakageRuleRequestBody} createAntileakageRuleRequestBody 创建防泄露规则请求参数
|
|
909
917
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -959,7 +967,7 @@ export declare class WafClient {
|
|
|
959
967
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
960
968
|
*
|
|
961
969
|
* @summary 创建精准防护规则
|
|
962
|
-
* @param {string} contentType 内容类型
|
|
970
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
963
971
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
964
972
|
* @param {CreateCustomRuleRequestBody} createCustomRuleRequestBody CreateCustomRuleRequestBody
|
|
965
973
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -1012,7 +1020,7 @@ export declare class WafClient {
|
|
|
1012
1020
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1013
1021
|
*
|
|
1014
1022
|
* @summary 创建全局白名单(原误报屏蔽)规则
|
|
1015
|
-
* @param {string} contentType 内容类型
|
|
1023
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1016
1024
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1017
1025
|
* @param {CreateIgnoreRuleRequestBody} createIgnoreRuleRequestBody 创建误报屏蔽规则请求体
|
|
1018
1026
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -1026,7 +1034,7 @@ export declare class WafClient {
|
|
|
1026
1034
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1027
1035
|
*
|
|
1028
1036
|
* @summary 创建WAF独享引擎实例
|
|
1029
|
-
* @param {string} contentType 内容类型
|
|
1037
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1030
1038
|
* @param {CreateInstanceRequestBody} createInstanceRequestBody 待创建的独享引擎信息
|
|
1031
1039
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
1032
1040
|
* @param {*} [options] Override http request option.
|
|
@@ -1039,7 +1047,7 @@ export declare class WafClient {
|
|
|
1039
1047
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1040
1048
|
*
|
|
1041
1049
|
* @summary 创建ip地址组
|
|
1042
|
-
* @param {string} contentType 内容类型
|
|
1050
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1043
1051
|
* @param {CreateIpGroupRequestBody} createIpGroupRequestBody 创建ip地址组请求体
|
|
1044
1052
|
* @param {string} [enterpriseProjectId] 企业项目id
|
|
1045
1053
|
* @param {*} [options] Override http request option.
|
|
@@ -1119,7 +1127,7 @@ export declare class WafClient {
|
|
|
1119
1127
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1120
1128
|
*
|
|
1121
1129
|
* @summary 创建攻击惩罚规则
|
|
1122
|
-
* @param {string} contentType 内容类型
|
|
1130
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1123
1131
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1124
1132
|
* @param {CreatePunishmentRuleRequestBody} createPunishmentRuleRequestBody 创建攻击惩罚规则请求参数
|
|
1125
1133
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -1179,13 +1187,26 @@ export declare class WafClient {
|
|
|
1179
1187
|
* @throws {RequiredError}
|
|
1180
1188
|
*/
|
|
1181
1189
|
deleteAgency(deleteAgencyRequest?: DeleteAgencyRequest): Promise<DeleteAgencyResponse>;
|
|
1190
|
+
/**
|
|
1191
|
+
* 删除告警通知配置
|
|
1192
|
+
*
|
|
1193
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1194
|
+
*
|
|
1195
|
+
* @summary 删除告警通知配置
|
|
1196
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1197
|
+
* @param {string} xLanguage **参数解释:** zh-cn/en-us **约束限制:** 不涉及 **取值范围:** - zh-cn - en-us **默认取值:** 不涉及
|
|
1198
|
+
* @param {string} alertId **参数解释:** 告警通知id **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
1199
|
+
* @param {*} [options] Override http request option.
|
|
1200
|
+
* @throws {RequiredError}
|
|
1201
|
+
*/
|
|
1202
|
+
deleteAlertNoticeConfig(deleteAlertNoticeConfigRequest?: DeleteAlertNoticeConfigRequest): Promise<DeleteAlertNoticeConfigResponse>;
|
|
1182
1203
|
/**
|
|
1183
1204
|
* 删除JS脚本反爬虫防护规则
|
|
1184
1205
|
*
|
|
1185
1206
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1186
1207
|
*
|
|
1187
1208
|
* @summary 删除JS脚本反爬虫防护规则
|
|
1188
|
-
* @param {string} contentType 内容类型
|
|
1209
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1189
1210
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1190
1211
|
* @param {string} ruleId 规则id
|
|
1191
1212
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -1199,7 +1220,7 @@ export declare class WafClient {
|
|
|
1199
1220
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1200
1221
|
*
|
|
1201
1222
|
* @summary 删除防敏感信息泄露防护规则
|
|
1202
|
-
* @param {string} contentType 内容类型
|
|
1223
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1203
1224
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1204
1225
|
* @param {string} ruleId 防敏感信息泄露规则id,通过查询防敏感信息泄露规则列表接口(ListAntileakageRules)获取
|
|
1205
1226
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -1267,7 +1288,7 @@ export declare class WafClient {
|
|
|
1267
1288
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1268
1289
|
*
|
|
1269
1290
|
* @summary 删除精准防护规则
|
|
1270
|
-
* @param {string} contentType 内容类型
|
|
1291
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1271
1292
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1272
1293
|
* @param {string} ruleId 精准防护规则id,通过查询精准防护规则列表接口(ListCustomRules)获取
|
|
1273
1294
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -1308,7 +1329,7 @@ export declare class WafClient {
|
|
|
1308
1329
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1309
1330
|
*
|
|
1310
1331
|
* @summary 删除全局白名单(原误报屏蔽)防护规则
|
|
1311
|
-
* @param {string} contentType 内容类型
|
|
1332
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1312
1333
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1313
1334
|
* @param {string} ruleId 误报屏蔽规则id,您可以通过查询误报屏蔽规则列表(ListIgnoreRule)接口的响应体中的id字段获取误报屏蔽规则id
|
|
1314
1335
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -1322,7 +1343,7 @@ export declare class WafClient {
|
|
|
1322
1343
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1323
1344
|
*
|
|
1324
1345
|
* @summary 删除WAF独享引擎信息
|
|
1325
|
-
* @param {string} contentType 内容类型
|
|
1346
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1326
1347
|
* @param {string} instanceId 独享引擎ID(通过调用WAF的ListInstance接口获取所有独享引擎信息查询独享引擎ID)
|
|
1327
1348
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
1328
1349
|
* @param {*} [options] Override http request option.
|
|
@@ -1403,7 +1424,7 @@ export declare class WafClient {
|
|
|
1403
1424
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1404
1425
|
*
|
|
1405
1426
|
* @summary 删除攻击惩罚规则
|
|
1406
|
-
* @param {string} contentType 内容类型
|
|
1427
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1407
1428
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1408
1429
|
* @param {string} ruleId 攻击惩罚规则id,通过查询攻击惩罚规则列表接口(ListPunishmentRules)获取
|
|
1409
1430
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -1471,12 +1492,12 @@ export declare class WafClient {
|
|
|
1471
1492
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1472
1493
|
*
|
|
1473
1494
|
* @summary 查询JS脚本反爬虫规则列表
|
|
1474
|
-
* @param {string} contentType 内容类型
|
|
1495
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1475
1496
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1476
1497
|
* @param {number} offset 偏移量,表示查询该偏移量之后的记录。
|
|
1477
1498
|
* @param {number} limit 查询返回记录的数量限制。
|
|
1478
1499
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
1479
|
-
* @param {
|
|
1500
|
+
* @param {'anticrawler_except_url' | 'anticrawler_specific_url'} [type] **参数解释:** JS脚本反爬虫规则防护模式 **约束限制:** 不涉及 **取值范围:** - anticrawler_except_url: 防护所有路径模式,在该模式下,查询的JS脚本反爬虫规则为排除的防护路径规则 - anticrawler_specific_url: 防护指定路径模式,在该模式下,查询的JS脚本反爬虫规则为指定要防护的路径规则 **默认取值:** anticrawler_except_url
|
|
1480
1501
|
* @param {*} [options] Override http request option.
|
|
1481
1502
|
* @throws {RequiredError}
|
|
1482
1503
|
*/
|
|
@@ -1502,7 +1523,7 @@ export declare class WafClient {
|
|
|
1502
1523
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1503
1524
|
*
|
|
1504
1525
|
* @summary 查询防敏感信息泄露规则列表
|
|
1505
|
-
* @param {string} contentType 内容类型
|
|
1526
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1506
1527
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防敏感信息泄露规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1507
1528
|
* @param {number} offset 偏移量,表示查询该偏移量之后的记录。
|
|
1508
1529
|
* @param {number} limit 查询返回记录的数量限制。
|
|
@@ -1546,7 +1567,7 @@ export declare class WafClient {
|
|
|
1546
1567
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1547
1568
|
*
|
|
1548
1569
|
* @summary 查询安全统计带宽数据
|
|
1549
|
-
* @param {string} contentType 内容类型
|
|
1570
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1550
1571
|
* @param {number} from 查询的带宽统计数据的起始时间(13位毫秒时间戳),需要和to同时使用
|
|
1551
1572
|
* @param {number} to 查询的带宽统计数据的结束时间(13位毫秒时间戳),需要和from同时使用
|
|
1552
1573
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
@@ -1587,7 +1608,7 @@ export declare class WafClient {
|
|
|
1587
1608
|
* @param {string} [name] 规则名称
|
|
1588
1609
|
* @param {number} [status] 规则的开启状态,1表示开启,0表示关闭
|
|
1589
1610
|
* @param {string} [category] **参数解释:** 防护动作 **取值范围:** - block: 拦截,表示超过“限速频率”将直接拦截。 - log:仅记录,表示超过“限速频率”将只记录不拦截。 - captcha:表示超过“限速频率”后弹出验证码,进行人机验证,完成验证后,请求将不受访问限制。人机验证目前支持英文。 - dynamic_block:上一个限速周期内,请求频率超过“限速频率”将被拦截,那么在下一个限速周期内,请求频率超过“放行频率”将被拦截。 - advanced_captcha:高阶人机验证,表示超过“限速频率”后弹出验证码,进行人机验证。 - js_challenge:要求客户端完成一段脚本的执行或验证,从而验证请求来源的合法性。
|
|
1590
|
-
* @param {
|
|
1611
|
+
* @param {'ip' | 'cookie' | 'header' | 'other' | 'policy' | 'domain' | 'url'} [tagType] **参数解释:** 限速模式标识,用于指定区分单个Web访问者的判断依据 **约束限制:** 不涉及 **取值范围:** - ip:IP限速,根据IP区分单个Web访问者 - cookie:用户限速,根据Cookie键值区分单个Web访问者 - header:用户限速,根据Header区分单个Web访问者 - other:根据Referer(自定义请求访问的来源)字段区分单个Web访问者 - policy:策略限速 - domain:域名限速 - url:url限速 **默认取值:** 不涉及
|
|
1591
1612
|
* @param {*} [options] Override http request option.
|
|
1592
1613
|
* @throws {RequiredError}
|
|
1593
1614
|
*/
|
|
@@ -1604,7 +1625,7 @@ export declare class WafClient {
|
|
|
1604
1625
|
* @param {number} [pagesize] 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。
|
|
1605
1626
|
* @param {string} [name] 证书名称
|
|
1606
1627
|
* @param {boolean} [host] 是否获取证书关联的域名,默认为false -true:获取已关联域名的证书 -false:获取未关联域名的证书
|
|
1607
|
-
* @param {
|
|
1628
|
+
* @param {0 | 1 | 2} [expStatus] **参数解释:** 证书过期状态 **约束限制:** 不涉及 **取值范围:** - 0:未过期 - 1:已过期 - 2:即将过期(证书将在一个月内过期) **默认取值:** 不涉及
|
|
1608
1629
|
* @param {boolean} [queryScm] 查询结果的证书来源服务是否包括SCM服务,值为true或者false。
|
|
1609
1630
|
* @param {*} [options] Override http request option.
|
|
1610
1631
|
* @throws {RequiredError}
|
|
@@ -1622,7 +1643,7 @@ export declare class WafClient {
|
|
|
1622
1643
|
* @param {number} [pagesize] 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。如果需要一次查全部域名,该参数值填-1。
|
|
1623
1644
|
* @param {string} [hostname] 域名名称
|
|
1624
1645
|
* @param {string} [policyname] 防护策略名称
|
|
1625
|
-
* @param {
|
|
1646
|
+
* @param {-1 | 0 | 1} [protectStatus] **参数解释:** 域名防护状态标识,用于指定域名在WAF中的防护运行状态 **约束限制:** 不涉及 **取值范围:** - -1:bypass,该域名的请求直接到达其后端服务器,不再经过WAF - 0:暂停防护,WAF只转发该域名的请求,不做攻击检测 - 1:开启防护,WAF根据您配置的策略进行攻击检测 **默认取值:** 不涉及
|
|
1626
1647
|
* @param {string} [wafType] 域名所属WAF模式
|
|
1627
1648
|
* @param {boolean} [isHttps] 域名是否使用HTTPS
|
|
1628
1649
|
* @param {*} [options] Override http request option.
|
|
@@ -1650,7 +1671,7 @@ export declare class WafClient {
|
|
|
1650
1671
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1651
1672
|
*
|
|
1652
1673
|
* @summary 查询精准防护规则列表
|
|
1653
|
-
* @param {string} contentType 内容类型
|
|
1674
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1654
1675
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1655
1676
|
* @param {number} offset 偏移量,表示查询该偏移量之后的记录。
|
|
1656
1677
|
* @param {number} limit 查询返回记录的数量限制。
|
|
@@ -1668,10 +1689,10 @@ export declare class WafClient {
|
|
|
1668
1689
|
* @param {string} contentType 内容类型
|
|
1669
1690
|
* @param {string} [xLanguage] 语言,默认值为en-us。zh-cn(中文)/en-us(英文)
|
|
1670
1691
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
1671
|
-
* @param {'yesterday' | 'today' | '3days' | '1week' | '1month'} [recent] 查询日志的时间范围(不能和from、to同时使用,同时使用以recent为准),且recent参数与from、to必须使用其中一个。当同时使用recent参数与from、to时,以recent参数为准
|
|
1692
|
+
* @param {'yesterday' | 'today' | '3days' | '1week' | '1month'} [recent] **参数解释:** 查询日志的时间范围(不能和from、to同时使用,同时使用以recent为准),且recent参数与from、to必须使用其中一个。当同时使用recent参数与from、to时,以recent参数为准 **约束限制:** 不涉及 **取值范围:** - yesterday:昨天 - today:今天 - 3days:命令注入攻击 - 1week:XSS攻击 - 1month:恶意爬虫 **默认取值:** 不涉及
|
|
1672
1693
|
* @param {number} [from] 起始时间(13位时间戳),需要和to同时使用,不能和recent参数同时使用
|
|
1673
1694
|
* @param {number} [to] 结束时间(13位时间戳),需要和from同时使用,不能和recent参数同时使用
|
|
1674
|
-
* @param {Array<string>} [attacks] **参数解释:** 攻击类型 **约束限制:** 不涉及 **取值范围:** - sqli:sql注入攻击 - lfi:本地文件包含 - cmdi:命令注入攻击 - xss:XSS攻击 - robot:恶意爬虫 - rfi:远程文件包含 - custom_custom:精准防护 - cc: cc攻击 - webshell:网站木马 - custom_whiteblackip:黑白名单拦截 - custom_geoip:地理访问控制拦截 - antitamper:防篡改 - anticrawler:反爬虫 - leakage:网站信息防泄漏 - illegal:非法请求 - antiscan_high_freq_scan:高频扫描封禁 - antiscan_dir_traversal:目录遍历防护 - vuln:除上述攻击类型外的其他漏洞攻击
|
|
1695
|
+
* @param {Array<string>} [attacks] **参数解释:** 攻击类型 **约束限制:** 不涉及 **取值范围:** - sqli:sql注入攻击 - lfi:本地文件包含 - cmdi:命令注入攻击 - xss:XSS攻击 - robot:恶意爬虫 - rfi:远程文件包含 - custom_custom:精准防护 - cc: cc攻击 - webshell:网站木马 - custom_whiteblackip:黑白名单拦截 - custom_geoip:地理访问控制拦截 - antitamper:防篡改 - anticrawler:反爬虫 - leakage:网站信息防泄漏 - illegal:非法请求 - antiscan_high_freq_scan:高频扫描封禁 - antiscan_dir_traversal:目录遍历防护 - vuln:除上述攻击类型外的其他漏洞攻击 **默认取值:** 不涉及
|
|
1675
1696
|
* @param {Array<string>} [hosts] 域名id,从获取防护网站列表(ListHost)接口获取域名id
|
|
1676
1697
|
* @param {Array<string>} [sips] 源ip,Web访问者的IP地址(攻击者IP地址)
|
|
1677
1698
|
* @param {number} [page] 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。
|
|
@@ -1686,7 +1707,7 @@ export declare class WafClient {
|
|
|
1686
1707
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1687
1708
|
*
|
|
1688
1709
|
* @summary 查询事件日志下载的url
|
|
1689
|
-
* @param {string} contentType 内容类型
|
|
1710
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1690
1711
|
* @param {number} [page] 页数
|
|
1691
1712
|
* @param {number} [pagesize] 单页显示数
|
|
1692
1713
|
* @param {*} [options] Override http request option.
|
|
@@ -1773,7 +1794,7 @@ export declare class WafClient {
|
|
|
1773
1794
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1774
1795
|
*
|
|
1775
1796
|
* @summary 查询全局白名单(原误报屏蔽)规则列表
|
|
1776
|
-
* @param {string} contentType 内容类型
|
|
1797
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1777
1798
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的全局白名单规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1778
1799
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
1779
1800
|
* @param {number} [page] 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。
|
|
@@ -1788,7 +1809,7 @@ export declare class WafClient {
|
|
|
1788
1809
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1789
1810
|
*
|
|
1790
1811
|
* @summary 查询WAF独享引擎列表
|
|
1791
|
-
* @param {string} contentType 内容类型
|
|
1812
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1792
1813
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
1793
1814
|
* @param {number} [page] 分页查询参数,第page页,默认值为1
|
|
1794
1815
|
* @param {number} [pagesize] 分页查询参数,每页pagesize条记录,默认值为10
|
|
@@ -1874,7 +1895,7 @@ export declare class WafClient {
|
|
|
1874
1895
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1875
1896
|
*
|
|
1876
1897
|
* @summary 查询安全总览分类统计top信息
|
|
1877
|
-
* @param {string} contentType 内容类型
|
|
1898
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1878
1899
|
* @param {number} from 起始时间(13位毫秒时间戳),需要和to同时使用
|
|
1879
1900
|
* @param {number} to 结束时间(13位毫秒时间戳),需要和from同时使用
|
|
1880
1901
|
* @param {string} [xLanguage] 语言,默认值为en-us。zh-cn(中文)/en-us(英文)
|
|
@@ -1913,7 +1934,7 @@ export declare class WafClient {
|
|
|
1913
1934
|
* @param {string} [pagesize] 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。如果需要一次查全部域名,该参数值填-1。
|
|
1914
1935
|
* @param {string} [hostname] 域名
|
|
1915
1936
|
* @param {string} [policyname] 策略名称
|
|
1916
|
-
* @param {
|
|
1937
|
+
* @param {-1 | 0 | 1} [protectStatus] **参数解释:** 域名防护状态标识,用于指定域名在WAF中的防护运行状态 **约束限制:** 不涉及 **取值范围:** - -1:bypass,该域名的请求直接到达其后端服务器,不再经过WAF - 0:暂停防护,WAF只转发该域名的请求,不做攻击检测 - 1:开启防护,WAF根据您配置的策略进行攻击检测 **默认取值:** 不涉及
|
|
1917
1938
|
* @param {*} [options] Override http request option.
|
|
1918
1939
|
* @throws {RequiredError}
|
|
1919
1940
|
*/
|
|
@@ -1968,7 +1989,7 @@ export declare class WafClient {
|
|
|
1968
1989
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1969
1990
|
*
|
|
1970
1991
|
* @summary 查询攻击惩罚规则列表
|
|
1971
|
-
* @param {string} contentType 内容类型
|
|
1992
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1972
1993
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的攻击惩罚规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
1973
1994
|
* @param {number} offset 偏移量,表示查询该偏移量之后的记录。
|
|
1974
1995
|
* @param {number} limit 查询返回记录的数量限制。
|
|
@@ -1983,7 +2004,7 @@ export declare class WafClient {
|
|
|
1983
2004
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1984
2005
|
*
|
|
1985
2006
|
* @summary 查询安全统计qps次数
|
|
1986
|
-
* @param {string} contentType 内容类型
|
|
2007
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
1987
2008
|
* @param {number} from 起始时间(13位毫秒时间戳),需要和to同时使用
|
|
1988
2009
|
* @param {number} to 结束时间(13位毫秒时间戳),需要和from同时使用
|
|
1989
2010
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
@@ -2000,7 +2021,7 @@ export declare class WafClient {
|
|
|
2000
2021
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2001
2022
|
*
|
|
2002
2023
|
* @summary 查询安全总览中请求次数时间线统计数据
|
|
2003
|
-
* @param {string} contentType 内容类型
|
|
2024
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2004
2025
|
* @param {number} from 起始时间(13位毫秒时间戳),需要和to同时使用
|
|
2005
2026
|
* @param {number} to 结束时间(13位毫秒时间戳),需要和from同时使用
|
|
2006
2027
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
@@ -2075,13 +2096,26 @@ export declare class WafClient {
|
|
|
2075
2096
|
* @throws {RequiredError}
|
|
2076
2097
|
*/
|
|
2077
2098
|
listSecurityReportSubscriptions(listSecurityReportSubscriptionsRequest?: ListSecurityReportSubscriptionsRequest): Promise<ListSecurityReportSubscriptionsResponse>;
|
|
2099
|
+
/**
|
|
2100
|
+
* 查询攻击源ip
|
|
2101
|
+
*
|
|
2102
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2103
|
+
*
|
|
2104
|
+
* @summary 查询攻击源ip
|
|
2105
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2106
|
+
* @param {string} recent **参数解释:** 查询日志的时间范围,如1week(1周)、1month(1个月) **约束限制:** 不涉及 **取值范围:** - yesterday - today - 3days - 1week - 1month **默认取值:** 不涉及
|
|
2107
|
+
* @param {Array<string>} hosts 要查询事件域名id列表
|
|
2108
|
+
* @param {*} [options] Override http request option.
|
|
2109
|
+
* @throws {RequiredError}
|
|
2110
|
+
*/
|
|
2111
|
+
listSourceIpTop5(listSourceIpTop5Request?: ListSourceIpTop5Request): Promise<ListSourceIpTop5Response>;
|
|
2078
2112
|
/**
|
|
2079
2113
|
* 查询安全总览请求与攻击数量。
|
|
2080
2114
|
*
|
|
2081
2115
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2082
2116
|
*
|
|
2083
2117
|
* @summary 查询安全总览请求与攻击数量
|
|
2084
|
-
* @param {string} contentType 内容类型
|
|
2118
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2085
2119
|
* @param {number} from 起始时间(13位时间戳),需要和to同时使用
|
|
2086
2120
|
* @param {number} to 结束时间(13位时间戳),需要和from同时使用
|
|
2087
2121
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
@@ -2091,13 +2125,26 @@ export declare class WafClient {
|
|
|
2091
2125
|
* @throws {RequiredError}
|
|
2092
2126
|
*/
|
|
2093
2127
|
listStatistics(listStatisticsRequest?: ListStatisticsRequest): Promise<ListStatisticsResponse>;
|
|
2128
|
+
/**
|
|
2129
|
+
* 查询攻击事件分布类型。
|
|
2130
|
+
*
|
|
2131
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2132
|
+
*
|
|
2133
|
+
* @summary 查询攻击事件分布类型
|
|
2134
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2135
|
+
* @param {string} recent **参数解释:** 查询日志的时间范围,如1week(1周)、1month(1个月) **约束限制:** 不涉及 **取值范围:** - yesterday - today - 3days - 1week - 1month **默认取值:** 不涉及
|
|
2136
|
+
* @param {Array<string>} [hosts] 要查询事件的域名列表
|
|
2137
|
+
* @param {*} [options] Override http request option.
|
|
2138
|
+
* @throws {RequiredError}
|
|
2139
|
+
*/
|
|
2140
|
+
listThreats(listThreatsRequest?: ListThreatsRequest): Promise<ListThreatsResponse>;
|
|
2094
2141
|
/**
|
|
2095
2142
|
* 查询业务异常TOP统计信息。
|
|
2096
2143
|
*
|
|
2097
2144
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2098
2145
|
*
|
|
2099
2146
|
* @summary 查询业务异常数量
|
|
2100
|
-
* @param {string} contentType 内容类型
|
|
2147
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2101
2148
|
* @param {number} from 起始时间(13位毫秒时间戳),需要和to同时使用
|
|
2102
2149
|
* @param {number} to 结束时间(13位毫秒时间戳),需要和from同时使用
|
|
2103
2150
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
@@ -2159,13 +2206,30 @@ export declare class WafClient {
|
|
|
2159
2206
|
* @throws {RequiredError}
|
|
2160
2207
|
*/
|
|
2161
2208
|
listTopUrl(listTopUrlRequest?: ListTopUrlRequest): Promise<ListTopUrlResponse>;
|
|
2209
|
+
/**
|
|
2210
|
+
* 查询QPS。
|
|
2211
|
+
*
|
|
2212
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2213
|
+
*
|
|
2214
|
+
* @summary 查询事件日志中的url
|
|
2215
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2216
|
+
* @param {number} top 受攻击次数最多的几条url
|
|
2217
|
+
* @param {string} [recent] **参数解释:** 查询日志的时间范围,如1week(1周)、1month(1个月) **约束限制:** 不涉及 **取值范围:** - yesterday - today - 3days - 1week - 1month **默认取值:** 不涉及
|
|
2218
|
+
* @param {number} [from] **参数解释:** 开始时间,统计周期的起始时间戳(毫秒级)。不使用recent参数时需要填写 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
2219
|
+
* @param {number} [to] **参数解释:** 结束时间,统计周期的终止时间戳(毫秒级)。不使用recent参数时需要填写 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
2220
|
+
* @param {Array<string>} [hosts] 要查询事件的域名id列表
|
|
2221
|
+
* @param {Array<string>} [instances] 要查询事件的独享域名id列表
|
|
2222
|
+
* @param {*} [options] Override http request option.
|
|
2223
|
+
* @throws {RequiredError}
|
|
2224
|
+
*/
|
|
2225
|
+
listUrl(listUrlRequest?: ListUrlRequest): Promise<ListUrlResponse>;
|
|
2162
2226
|
/**
|
|
2163
2227
|
* 查询引用表列表
|
|
2164
2228
|
*
|
|
2165
2229
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2166
2230
|
*
|
|
2167
2231
|
* @summary 查询引用表列表
|
|
2168
|
-
* @param {string} contentType 内容类型
|
|
2232
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2169
2233
|
* @param {number} [page] 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。
|
|
2170
2234
|
* @param {number} [pagesize] 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。
|
|
2171
2235
|
* @param {string} [name] 引用表名称
|
|
@@ -2248,7 +2312,7 @@ export declare class WafClient {
|
|
|
2248
2312
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2249
2313
|
*
|
|
2250
2314
|
* @summary 重命名WAF独享引擎
|
|
2251
|
-
* @param {string} contentType 内容类型
|
|
2315
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2252
2316
|
* @param {string} instanceId 独享引擎ID(通过调用WAF的ListInstance接口获取所有独享引擎信息查询独享引擎ID)
|
|
2253
2317
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
2254
2318
|
* @param {RenameInstanceRequestBody} [renameInstanceRequestBody] 独享引擎新名称
|
|
@@ -2262,7 +2326,7 @@ export declare class WafClient {
|
|
|
2262
2326
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2263
2327
|
*
|
|
2264
2328
|
* @summary 查询JS脚本反爬虫防护规则
|
|
2265
|
-
* @param {string} contentType 内容类型
|
|
2329
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2266
2330
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
2267
2331
|
* @param {string} ruleId 规则id
|
|
2268
2332
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
@@ -2276,7 +2340,7 @@ export declare class WafClient {
|
|
|
2276
2340
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2277
2341
|
*
|
|
2278
2342
|
* @summary 查询防敏感信息泄露防护规则
|
|
2279
|
-
* @param {string} contentType 内容类型
|
|
2343
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2280
2344
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
2281
2345
|
* @param {string} ruleId 防敏感信息泄露规则id,通过查询防敏感信息泄露规则列表接口(ListAntileakageRules)获取
|
|
2282
2346
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
@@ -2355,7 +2419,7 @@ export declare class WafClient {
|
|
|
2355
2419
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2356
2420
|
*
|
|
2357
2421
|
* @summary 根据Id查询精准防护规则
|
|
2358
|
-
* @param {string} contentType 内容类型
|
|
2422
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2359
2423
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
2360
2424
|
* @param {string} ruleId 精准防护规则id,通过查询精准防护规则列表接口(ListCustomRules)获取
|
|
2361
2425
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
@@ -2422,7 +2486,7 @@ export declare class WafClient {
|
|
|
2422
2486
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2423
2487
|
*
|
|
2424
2488
|
* @summary 查询全局白名单(原误报屏蔽)防护规则
|
|
2425
|
-
* @param {string} contentType 内容类型
|
|
2489
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2426
2490
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
2427
2491
|
* @param {string} ruleId 误报屏蔽规则id,您可以通过查询误报屏蔽规则列表(ListIgnoreRule)接口的响应体中的id字段获取误报屏蔽规则id
|
|
2428
2492
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
@@ -2436,7 +2500,7 @@ export declare class WafClient {
|
|
|
2436
2500
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2437
2501
|
*
|
|
2438
2502
|
* @summary 查询WAF独享引擎信息
|
|
2439
|
-
* @param {string} contentType 内容类型
|
|
2503
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2440
2504
|
* @param {string} instanceId 独享引擎ID(通过调用WAF的ListInstance接口获取所有独享引擎信息查询独享引擎ID)
|
|
2441
2505
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
2442
2506
|
* @param {*} [options] Override http request option.
|
|
@@ -2526,7 +2590,7 @@ export declare class WafClient {
|
|
|
2526
2590
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2527
2591
|
*
|
|
2528
2592
|
* @summary 根据Id查询攻击惩罚防护规则
|
|
2529
|
-
* @param {string} contentType 内容类型
|
|
2593
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2530
2594
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
2531
2595
|
* @param {string} ruleId 攻击惩罚规则id,通过查询攻击惩罚规则列表接口(ListPunishmentRules)获取
|
|
2532
2596
|
* @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
|
|
@@ -2565,7 +2629,7 @@ export declare class WafClient {
|
|
|
2565
2629
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2566
2630
|
*
|
|
2567
2631
|
* @summary 查询WAF回源Ip信息
|
|
2568
|
-
* @param {string} contentType 内容类型
|
|
2632
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2569
2633
|
* @param {*} [options] Override http request option.
|
|
2570
2634
|
* @throws {RequiredError}
|
|
2571
2635
|
*/
|
|
@@ -2655,7 +2719,7 @@ export declare class WafClient {
|
|
|
2655
2719
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2656
2720
|
*
|
|
2657
2721
|
* @summary 更新JS脚本反爬虫防护规则
|
|
2658
|
-
* @param {string} contentType 内容类型
|
|
2722
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2659
2723
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
2660
2724
|
* @param {string} ruleId 规则id
|
|
2661
2725
|
* @param {UpdateAnticrawlerRuleRequestBody} updateAnticrawlerRuleRequestBody 更新反爬虫规则的请求体
|
|
@@ -2670,7 +2734,7 @@ export declare class WafClient {
|
|
|
2670
2734
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2671
2735
|
*
|
|
2672
2736
|
* @summary 更新JS脚本反爬虫规则防护模式
|
|
2673
|
-
* @param {string} contentType 内容类型
|
|
2737
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2674
2738
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
2675
2739
|
* @param {UpdateAnticrawlerRuleTypeRequestbody} updateAnticrawlerRuleTypeRequestbody 创建JS脚本反爬虫规则body
|
|
2676
2740
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -2684,7 +2748,7 @@ export declare class WafClient {
|
|
|
2684
2748
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2685
2749
|
*
|
|
2686
2750
|
* @summary 更新防敏感信息泄露防护规则
|
|
2687
|
-
* @param {string} contentType 内容类型
|
|
2751
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2688
2752
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
2689
2753
|
* @param {string} ruleId 防敏感信息泄露规则id,通过查询防敏感信息泄露规则列表接口(ListAntileakageRules)获取
|
|
2690
2754
|
* @param {UpdateAntileakageRuleRequestBody} updateAntileakageRuleRequestBody UpdateAntileakageRuleRequestBody
|
|
@@ -2728,7 +2792,7 @@ export declare class WafClient {
|
|
|
2728
2792
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2729
2793
|
*
|
|
2730
2794
|
* @summary 更新精准防护规则
|
|
2731
|
-
* @param {string} contentType 内容类型
|
|
2795
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2732
2796
|
* @param {string} policyId 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
2733
2797
|
* @param {string} ruleId 精准防护规则id,通过查询精准防护规则列表接口(ListCustomRules)获取
|
|
2734
2798
|
* @param {UpdateCustomRuleRequestBody} updateCustomRuleRequestBody UpdateCustomRuleRequestBody
|
|
@@ -2799,7 +2863,7 @@ export declare class WafClient {
|
|
|
2799
2863
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2800
2864
|
*
|
|
2801
2865
|
* @summary 更新全局白名单(原误报屏蔽)防护规则
|
|
2802
|
-
* @param {string} contentType 内容类型
|
|
2866
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2803
2867
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
2804
2868
|
* @param {string} ruleId 误报屏蔽规则id,您可以通过查询误报屏蔽规则列表(ListIgnoreRule)接口的响应体中的id字段获取误报屏蔽规则id
|
|
2805
2869
|
* @param {UpdateIgnoreRuleRequestBody} updateRuleRequestBody 请求体
|
|
@@ -2901,7 +2965,7 @@ export declare class WafClient {
|
|
|
2901
2965
|
* @summary 修改单条规则的状态
|
|
2902
2966
|
* @param {string} contentType 内容类型
|
|
2903
2967
|
* @param {string} policyId 策略id(策略id从查询防护策略列表接口获取)
|
|
2904
|
-
* @param {'whiteblackip' | 'geoip' | 'privacy' | 'antitamper' | 'custom' | 'ignore' | 'cc'} ruletype 策略类型
|
|
2968
|
+
* @param {'whiteblackip' | 'geoip' | 'privacy' | 'antitamper' | 'custom' | 'ignore' | 'cc'} ruletype **参数解释:** 策略类型 **约束限制:** 不涉及 **取值范围:** - custom:精准防护 - cc: cc攻击 - whiteblackip: 黑白名单 - geoip: 地理位置 - privacy: 私屏蔽防护 - antitamper: 防篡改规则 - ignore: 全局白名单 **默认取值:** 不涉及
|
|
2905
2969
|
* @param {string} ruleId 规则id,根据不同的规则类型(ruletype)调用规则列表接口获取规则id,例如黑白名单(whiteblackip)规则id,您可以通过调用查询黑白名单规则列表(ListWhiteblackipRule)获取规则id
|
|
2906
2970
|
* @param {UpdatePolicyRuleStatusRequestBody} updatePolicyRuleStatusRequestBody 修改规则状态入参
|
|
2907
2971
|
* @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
|
|
@@ -2995,7 +3059,7 @@ export declare class WafClient {
|
|
|
2995
3059
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2996
3060
|
*
|
|
2997
3061
|
* @summary 更新攻击惩罚规则
|
|
2998
|
-
* @param {string} contentType 内容类型
|
|
3062
|
+
* @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset=utf8
|
|
2999
3063
|
* @param {string} policyId 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id
|
|
3000
3064
|
* @param {string} ruleId 攻击惩罚规则id,通过查询攻击惩罚规则列表接口(ListPunishmentRules)获取
|
|
3001
3065
|
* @param {UpdatePunishmentRuleRequestBody} updatePunishmentRuleRequestBody 更新攻击惩罚规则的请求体
|
|
@@ -3410,9 +3474,9 @@ export declare const ParamCreater: () => {
|
|
|
3410
3474
|
};
|
|
3411
3475
|
/**
|
|
3412
3476
|
* 变更包周期云模式waf规格。注:
|
|
3413
|
-
* -
|
|
3414
|
-
* -
|
|
3415
|
-
* -
|
|
3477
|
+
* - 变更某产品规格的前提是必须已购买该产品
|
|
3478
|
+
* - 云模式支持版本降配,扩展包支持减少数量,最少可以到0
|
|
3479
|
+
* - 不支持同时升降配,如增加域名扩展包数量,同时减少规则扩展包数量
|
|
3416
3480
|
*
|
|
3417
3481
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3418
3482
|
*/
|
|
@@ -3918,6 +3982,19 @@ export declare const ParamCreater: () => {
|
|
|
3918
3982
|
pathParams: {};
|
|
3919
3983
|
headers: {};
|
|
3920
3984
|
};
|
|
3985
|
+
/**
|
|
3986
|
+
* 删除告警通知配置
|
|
3987
|
+
*
|
|
3988
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3989
|
+
*/
|
|
3990
|
+
deleteAlertNoticeConfig(deleteAlertNoticeConfigRequest?: DeleteAlertNoticeConfigRequest): {
|
|
3991
|
+
method: string;
|
|
3992
|
+
url: string;
|
|
3993
|
+
contentType: string;
|
|
3994
|
+
queryParams: {};
|
|
3995
|
+
pathParams: {};
|
|
3996
|
+
headers: {};
|
|
3997
|
+
};
|
|
3921
3998
|
/**
|
|
3922
3999
|
* 删除JS脚本反爬虫防护规则
|
|
3923
4000
|
*
|
|
@@ -4698,6 +4775,19 @@ export declare const ParamCreater: () => {
|
|
|
4698
4775
|
pathParams: {};
|
|
4699
4776
|
headers: {};
|
|
4700
4777
|
};
|
|
4778
|
+
/**
|
|
4779
|
+
* 查询攻击源ip
|
|
4780
|
+
*
|
|
4781
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4782
|
+
*/
|
|
4783
|
+
listSourceIpTop5(listSourceIpTop5Request?: ListSourceIpTop5Request): {
|
|
4784
|
+
method: string;
|
|
4785
|
+
url: string;
|
|
4786
|
+
contentType: string;
|
|
4787
|
+
queryParams: {};
|
|
4788
|
+
pathParams: {};
|
|
4789
|
+
headers: {};
|
|
4790
|
+
};
|
|
4701
4791
|
/**
|
|
4702
4792
|
* 查询安全总览请求与攻击数量。
|
|
4703
4793
|
*
|
|
@@ -4711,6 +4801,19 @@ export declare const ParamCreater: () => {
|
|
|
4711
4801
|
pathParams: {};
|
|
4712
4802
|
headers: {};
|
|
4713
4803
|
};
|
|
4804
|
+
/**
|
|
4805
|
+
* 查询攻击事件分布类型。
|
|
4806
|
+
*
|
|
4807
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4808
|
+
*/
|
|
4809
|
+
listThreats(listThreatsRequest?: ListThreatsRequest): {
|
|
4810
|
+
method: string;
|
|
4811
|
+
url: string;
|
|
4812
|
+
contentType: string;
|
|
4813
|
+
queryParams: {};
|
|
4814
|
+
pathParams: {};
|
|
4815
|
+
headers: {};
|
|
4816
|
+
};
|
|
4714
4817
|
/**
|
|
4715
4818
|
* 查询业务异常TOP统计信息。
|
|
4716
4819
|
*
|
|
@@ -4763,6 +4866,19 @@ export declare const ParamCreater: () => {
|
|
|
4763
4866
|
pathParams: {};
|
|
4764
4867
|
headers: {};
|
|
4765
4868
|
};
|
|
4869
|
+
/**
|
|
4870
|
+
* 查询QPS。
|
|
4871
|
+
*
|
|
4872
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4873
|
+
*/
|
|
4874
|
+
listUrl(listUrlRequest?: ListUrlRequest): {
|
|
4875
|
+
method: string;
|
|
4876
|
+
url: string;
|
|
4877
|
+
contentType: string;
|
|
4878
|
+
queryParams: {};
|
|
4879
|
+
pathParams: {};
|
|
4880
|
+
headers: {};
|
|
4881
|
+
};
|
|
4766
4882
|
/**
|
|
4767
4883
|
* 查询引用表列表
|
|
4768
4884
|
*
|