From a6be520ec5f420aaae180c236c4b901d5782bb8b Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Mon, 25 Sep 2023 08:13:19 +0800 Subject: [PATCH] release 4.0.695 --- CHANGELOG.md | 146 + SERVICE_CHANGELOG.md | 335 +- package-lock.json | 4 +- package.json | 2 +- products.md | 34 +- src/common/sdk_version.ts | 2 +- src/services/asr/v20190614/asr_models.ts | 82 +- src/services/csip/v20221121/csip_client.ts | 169 +- src/services/csip/v20221121/csip_models.ts | 3626 ++++++++++------- .../goosefs/v20220519/goosefs_models.ts | 14 + src/services/hcm/v20181106/hcm_models.ts | 2 + .../sqlserver/v20180328/sqlserver_models.ts | 8 +- .../tcaplusdb/v20190823/tcaplusdb_models.ts | 4 +- src/services/tse/v20201207/tse_models.ts | 2 + src/services/vpc/v20170312/vpc_models.ts | 28 +- src/services/waf/v20180125/waf_models.ts | 11 +- tencentcloud/common/sdk_version.d.ts | 2 +- tencentcloud/common/sdk_version.js | 2 +- .../services/asr/v20190614/asr_models.d.ts | 82 +- .../services/csip/v20221121/csip_client.d.ts | 22 +- .../services/csip/v20221121/csip_client.js | 30 +- .../services/csip/v20221121/csip_models.d.ts | 3593 +++++++++------- .../goosefs/v20220519/goosefs_models.d.ts | 14 + .../services/hcm/v20181106/hcm_models.d.ts | 2 + .../sqlserver/v20180328/sqlserver_models.d.ts | 8 +- .../tcaplusdb/v20190823/tcaplusdb_models.d.ts | 4 +- .../services/tse/v20201207/tse_models.d.ts | 2 + .../services/vpc/v20170312/vpc_models.d.ts | 28 +- .../services/waf/v20180125/waf_models.d.ts | 11 +- test/csip.v20221121.test.js | 44 +- 30 files changed, 4902 insertions(+), 3411 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1942ca37a..18c3d3c0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,149 @@ +# Release 4.0.695 + +## 云安全一体化平台(csip) 版本:2022-11-21 + +### 第 13 次发布 + +发布时间:2023-09-25 01:10:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeRiskCenterAssetViewCFGRiskList](https://cloud.tencent.com/document/api/664/98822) +* [DescribeRiskCenterAssetViewWeakPasswordRiskList](https://cloud.tencent.com/document/api/664/98821) +* [DescribeRiskCenterServerRiskList](https://cloud.tencent.com/document/api/664/98820) +* [DescribeRiskCenterWebsiteRiskList](https://cloud.tencent.com/document/api/664/98819) + +新增数据结构: + +* [AssetViewCFGRisk](https://cloud.tencent.com/document/api/664/90825#AssetViewCFGRisk) +* [AssetViewWeakPassRisk](https://cloud.tencent.com/document/api/664/90825#AssetViewWeakPassRisk) +* [ServerRisk](https://cloud.tencent.com/document/api/664/90825#ServerRisk) +* [ServerRiskSuggestion](https://cloud.tencent.com/document/api/664/90825#ServerRiskSuggestion) +* [WebsiteRisk](https://cloud.tencent.com/document/api/664/90825#WebsiteRisk) + + + +## 数据加速器 GooseFS(goosefs) 版本:2022-05-19 + +### 第 7 次发布 + +发布时间:2023-09-25 01:15:41 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [MappedBucket](https://cloud.tencent.com/document/api/1424/95076#MappedBucket) + + * 新增成员:Status, AccelerateFlag, BucketRegion + + + + +## 数学作业批改(hcm) 版本:2018-11-06 + +### 第 9 次发布 + +发布时间:2023-09-25 01:15:46 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [Evaluation](https://cloud.tencent.com/document/api/1004/30616) + + + + +## 云数据库 SQL Server(sqlserver) 版本:2018-03-28 + +### 第 52 次发布 + +发布时间:2023-09-25 01:24:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeDBInstances](https://cloud.tencent.com/document/api/238/19969) + + * 新增入参:PaginationType + + + + +## 微服务引擎 TSE(tse) 版本:2020-12-07 + +### 第 45 次发布 + +发布时间:2023-09-25 01:28:54 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateCloudNativeAPIGatewayCertificate](https://cloud.tencent.com/document/api/1364/98591) + + + + +## 私有网络(vpc) 版本:2017-03-12 + +### 第 172 次发布 + +发布时间:2023-09-25 01:30:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateBandwidthPackage](https://cloud.tencent.com/document/api/215/19212) + + * 新增入参:Egress + + +修改数据结构: + +* [BandwidthPackage](https://cloud.tencent.com/document/api/215/15824#BandwidthPackage) + + * 新增成员:Egress + + + + +## Web 应用防火墙(waf) 版本:2018-01-25 + +### 第 56 次发布 + +发布时间:2023-09-25 01:30:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [DomainInfo](https://cloud.tencent.com/document/api/627/53609#DomainInfo) + + * 新增成员:CloudType + + + + # Release 4.0.694 ## 语音识别(asr) 版本:2019-06-14 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index 3a548e4bd..4bc56464d 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,47 +1,10 @@ # 本版本更新包含以下内容: -## 语音识别(asr) 版本:2019-06-14 - -### 第 31 次发布 - -发布时间:2023-09-22 01:10:19 - -本次发布包含了以下内容: - -改善已有的文档。 - -修改数据结构: - -* [SentenceDetail](https://cloud.tencent.com/document/api/1093/37824#SentenceDetail) - - * 新增成员:WrittenText - - * **修改成员**:EmotionType - - - - -## 云防火墙(cfw) 版本:2019-09-04 - -### 第 45 次发布 - -发布时间:2023-09-22 01:21:17 - -本次发布包含了以下内容: - -改善已有的文档。 - -**预下线接口**: - -* ModifyPublicIPSwitchStatus - - - ## 云安全一体化平台(csip) 版本:2022-11-21 -### 第 12 次发布 +### 第 13 次发布 -发布时间:2023-09-22 01:31:21 +发布时间:2023-09-25 01:10:56 本次发布包含了以下内容: @@ -49,85 +12,62 @@ 新增接口: -* [DeleteDomainAndIp](https://cloud.tencent.com/document/api/664/98743) -* [DeleteRiskScanTask](https://cloud.tencent.com/document/api/664/98745) -* [StopRiskCenterTask](https://cloud.tencent.com/document/api/664/98744) +* [DescribeRiskCenterAssetViewCFGRiskList](https://cloud.tencent.com/document/api/664/98822) +* [DescribeRiskCenterAssetViewWeakPasswordRiskList](https://cloud.tencent.com/document/api/664/98821) +* [DescribeRiskCenterServerRiskList](https://cloud.tencent.com/document/api/664/98820) +* [DescribeRiskCenterWebsiteRiskList](https://cloud.tencent.com/document/api/664/98819) 新增数据结构: -* [PublicIpDomainListKey](https://cloud.tencent.com/document/api/664/90825#PublicIpDomainListKey) -* [TaskIdListKey](https://cloud.tencent.com/document/api/664/90825#TaskIdListKey) - - - -## 主机安全(cwp) 版本:2018-02-28 - -### 第 96 次发布 - -发布时间:2023-09-22 01:33:07 - -本次发布包含了以下内容: +* [AssetViewCFGRisk](https://cloud.tencent.com/document/api/664/90825#AssetViewCFGRisk) +* [AssetViewWeakPassRisk](https://cloud.tencent.com/document/api/664/90825#AssetViewWeakPassRisk) +* [ServerRisk](https://cloud.tencent.com/document/api/664/90825#ServerRisk) +* [ServerRiskSuggestion](https://cloud.tencent.com/document/api/664/90825#ServerRiskSuggestion) +* [WebsiteRisk](https://cloud.tencent.com/document/api/664/90825#WebsiteRisk) -改善已有的文档。 -新增接口: - -* [DescribeAgentInstallCommand](https://cloud.tencent.com/document/api/296/98746) +## 数据加速器 GooseFS(goosefs) 版本:2022-05-19 +### 第 7 次发布 -## 数据湖计算 DLC(dlc) 版本:2021-01-25 - -### 第 62 次发布 - -发布时间:2023-09-22 01:40:45 +发布时间:2023-09-25 01:15:41 本次发布包含了以下内容: 改善已有的文档。 -新增接口: +修改数据结构: -* [DescribeSparkSessionBatchSQL](https://cloud.tencent.com/document/api/1342/98747) +* [MappedBucket](https://cloud.tencent.com/document/api/1424/95076#MappedBucket) -新增数据结构: + * 新增成员:Status, AccelerateFlag, BucketRegion -* [BatchSqlTask](https://cloud.tencent.com/document/api/1342/53778#BatchSqlTask) -## 腾讯电子签企业版(ess) 版本:2020-11-11 +## 数学作业批改(hcm) 版本:2018-11-06 -### 第 121 次发布 +### 第 9 次发布 -发布时间:2023-09-22 01:49:11 +发布时间:2023-09-25 01:15:46 本次发布包含了以下内容: 改善已有的文档。 -新增接口: - -* [DescribePersonCertificate](https://cloud.tencent.com/document/api/1323/98748) - 修改接口: -* [CreateMultiFlowSignQRCode](https://cloud.tencent.com/document/api/1323/75450) - - * 新增入参:ApproverComponentLimitTypes - - -新增数据结构: +* [Evaluation](https://cloud.tencent.com/document/api/1004/30616) -* [ApproverComponentLimitType](https://cloud.tencent.com/document/api/1323/70369#ApproverComponentLimitType) -## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 +## 云数据库 SQL Server(sqlserver) 版本:2018-03-28 -### 第 113 次发布 +### 第 52 次发布 -发布时间:2023-09-22 01:50:20 +发布时间:2023-09-25 01:24:51 本次发布包含了以下内容: @@ -135,26 +75,18 @@ 修改接口: -* [ChannelCreateMultiFlowSignQRCode](https://cloud.tencent.com/document/api/1420/75452) - - * 新增入参:ApproverComponentLimitTypes - - -新增数据结构: - -* [ApproverComponentLimitType](https://cloud.tencent.com/document/api/1420/61525#ApproverComponentLimitType) +* [DescribeDBInstances](https://cloud.tencent.com/document/api/238/19969) + * 新增入参:PaginationType -## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 +## 微服务引擎 TSE(tse) 版本:2020-12-07 -## 全球应用加速(gaap) 版本:2018-05-29 - -### 第 41 次发布 +### 第 45 次发布 -发布时间:2023-09-22 01:52:02 +发布时间:2023-09-25 01:28:54 本次发布包含了以下内容: @@ -162,18 +94,16 @@ 修改接口: -* [DescribeCustomHeader](https://cloud.tencent.com/document/api/608/59240) - - * 新增入参:RuleId +* [CreateCloudNativeAPIGatewayCertificate](https://cloud.tencent.com/document/api/1364/98591) -## 集团账号管理(organization) 版本:2021-03-31 +## 私有网络(vpc) 版本:2017-03-12 -### 第 25 次发布 +### 第 172 次发布 -发布时间:2023-09-22 02:15:37 +发布时间:2023-09-25 01:30:02 本次发布包含了以下内容: @@ -181,64 +111,25 @@ 修改接口: -* [AddOrganizationMemberEmail](https://cloud.tencent.com/document/api/850/93333) - - * 新增出参:BindId - -* [DescribeOrganizationMemberAuthIdentities](https://cloud.tencent.com/document/api/850/82936) - - * 新增入参:IdentityId +* [CreateBandwidthPackage](https://cloud.tencent.com/document/api/215/19212) - * **修改入参**:MemberUin + * 新增入参:Egress 修改数据结构: -* [IdentityPolicy](https://cloud.tencent.com/document/api/850/67060#IdentityPolicy) - - * 新增成员:PolicyType, PolicyDocument - - * **修改成员**:PolicyId, PolicyName - -* [OrgMemberAuthIdentity](https://cloud.tencent.com/document/api/850/67060#OrgMemberAuthIdentity) - - * 新增成员:Status, MemberUin, MemberName - - * **修改成员**:IdentityType - - - - -## 集团账号管理(organization) 版本:2018-12-25 - - - -## 容器安全服务(tcss) 版本:2020-11-01 - -### 第 52 次发布 - -发布时间:2023-09-22 02:29:25 - -本次发布包含了以下内容: - -改善已有的文档。 - -修改接口: - -* [CreateRefreshTask](https://cloud.tencent.com/document/api/1285/65453) - - * 新增入参:ClusterIDs, IsSyncListOnly +* [BandwidthPackage](https://cloud.tencent.com/document/api/215/15824#BandwidthPackage) - * 新增出参:NewTaskID + * 新增成员:Egress -## TI-ONE 训练平台(tione) 版本:2021-11-11 +## Web 应用防火墙(waf) 版本:2018-01-25 -### 第 38 次发布 +### 第 56 次发布 -发布时间:2023-09-22 02:38:16 +发布时间:2023-09-25 01:30:53 本次发布包含了以下内容: @@ -246,14 +137,10 @@ 修改数据结构: -* [Instance](https://cloud.tencent.com/document/api/851/75051#Instance) - - * 新增成员:SpecFeatures - - +* [DomainInfo](https://cloud.tencent.com/document/api/627/53609#DomainInfo) + * 新增成员:CloudType -## TI-ONE 训练平台(tione) 版本:2019-10-22 @@ -34182,6 +34069,29 @@ ## 云安全一体化平台(csip) 版本:2022-11-21 +### 第 13 次发布 + +发布时间:2023-09-25 01:10:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeRiskCenterAssetViewCFGRiskList](https://cloud.tencent.com/document/api/664/98822)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeRiskCenterAssetViewWeakPasswordRiskList](https://cloud.tencent.com/document/api/664/98821)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeRiskCenterServerRiskList](https://cloud.tencent.com/document/api/664/98820)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeRiskCenterWebsiteRiskList](https://cloud.tencent.com/document/api/664/98819)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[AssetViewCFGRisk](https://cloud.tencent.com/document/api/664/90825#AssetViewCFGRisk)](https://cloud.tencent.com/document/api/664/90825#[AssetViewCFGRisk](https://cloud.tencent.com/document/api/664/90825#AssetViewCFGRisk)) +* [[AssetViewWeakPassRisk](https://cloud.tencent.com/document/api/664/90825#AssetViewWeakPassRisk)](https://cloud.tencent.com/document/api/664/90825#[AssetViewWeakPassRisk](https://cloud.tencent.com/document/api/664/90825#AssetViewWeakPassRisk)) +* [[ServerRisk](https://cloud.tencent.com/document/api/664/90825#ServerRisk)](https://cloud.tencent.com/document/api/664/90825#[ServerRisk](https://cloud.tencent.com/document/api/664/90825#ServerRisk)) +* [[ServerRiskSuggestion](https://cloud.tencent.com/document/api/664/90825#ServerRiskSuggestion)](https://cloud.tencent.com/document/api/664/90825#[ServerRiskSuggestion](https://cloud.tencent.com/document/api/664/90825#ServerRiskSuggestion)) +* [[WebsiteRisk](https://cloud.tencent.com/document/api/664/90825#WebsiteRisk)](https://cloud.tencent.com/document/api/664/90825#[WebsiteRisk](https://cloud.tencent.com/document/api/664/90825#WebsiteRisk)) + ### 第 12 次发布 发布时间:2023-09-22 01:31:21 @@ -34192,14 +34102,14 @@ 新增接口: -* [[DeleteDomainAndIp](https://cloud.tencent.com/document/api/664/98743)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteRiskScanTask](https://cloud.tencent.com/document/api/664/98745)](https://cloud.tencent.com/document/api/#/#) -* [[StopRiskCenterTask](https://cloud.tencent.com/document/api/664/98744)](https://cloud.tencent.com/document/api/#/#) +* [DeleteDomainAndIp](https://cloud.tencent.com/document/api/664/98743) +* [DeleteRiskScanTask](https://cloud.tencent.com/document/api/664/98745) +* [StopRiskCenterTask](https://cloud.tencent.com/document/api/664/98744) 新增数据结构: -* [[PublicIpDomainListKey](https://cloud.tencent.com/document/api/664/90825#PublicIpDomainListKey)](https://cloud.tencent.com/document/api/664/90825#[PublicIpDomainListKey](https://cloud.tencent.com/document/api/664/90825#PublicIpDomainListKey)) -* [[TaskIdListKey](https://cloud.tencent.com/document/api/664/90825#TaskIdListKey)](https://cloud.tencent.com/document/api/664/90825#[TaskIdListKey](https://cloud.tencent.com/document/api/664/90825#TaskIdListKey)) +* [PublicIpDomainListKey](https://cloud.tencent.com/document/api/664/90825#PublicIpDomainListKey) +* [TaskIdListKey](https://cloud.tencent.com/document/api/664/90825#TaskIdListKey) ### 第 11 次发布 @@ -36663,7 +36573,7 @@ 新增接口: -* [[DescribeAgentInstallCommand](https://cloud.tencent.com/document/api/296/98746)](https://cloud.tencent.com/document/api/#/#) +* [DescribeAgentInstallCommand](https://cloud.tencent.com/document/api/296/98746) ### 第 95 次发布 @@ -44646,11 +44556,11 @@ 新增接口: -* [[DescribeSparkSessionBatchSQL](https://cloud.tencent.com/document/api/1342/98747)](https://cloud.tencent.com/document/api/#/#) +* [DescribeSparkSessionBatchSQL](https://cloud.tencent.com/document/api/1342/98747) 新增数据结构: -* [[BatchSqlTask](https://cloud.tencent.com/document/api/1342/53778#BatchSqlTask)](https://cloud.tencent.com/document/api/1342/53778#[BatchSqlTask](https://cloud.tencent.com/document/api/1342/53778#BatchSqlTask)) +* [BatchSqlTask](https://cloud.tencent.com/document/api/1342/53778#BatchSqlTask) ### 第 61 次发布 @@ -53510,7 +53420,7 @@ 新增接口: -* [[DescribePersonCertificate](https://cloud.tencent.com/document/api/1323/98748)](https://cloud.tencent.com/document/api/#/#) +* [DescribePersonCertificate](https://cloud.tencent.com/document/api/1323/98748) 修改接口: @@ -53521,7 +53431,7 @@ 新增数据结构: -* [[ApproverComponentLimitType](https://cloud.tencent.com/document/api/1323/70369#ApproverComponentLimitType)](https://cloud.tencent.com/document/api/1323/70369#[ApproverComponentLimitType](https://cloud.tencent.com/document/api/1323/70369#ApproverComponentLimitType)) +* [ApproverComponentLimitType](https://cloud.tencent.com/document/api/1323/70369#ApproverComponentLimitType) ### 第 120 次发布 @@ -55899,7 +55809,7 @@ 新增数据结构: -* [[ApproverComponentLimitType](https://cloud.tencent.com/document/api/1420/61525#ApproverComponentLimitType)](https://cloud.tencent.com/document/api/1420/61525#[ApproverComponentLimitType](https://cloud.tencent.com/document/api/1420/61525#ApproverComponentLimitType)) +* [ApproverComponentLimitType](https://cloud.tencent.com/document/api/1420/61525#ApproverComponentLimitType) ### 第 112 次发布 @@ -61391,6 +61301,21 @@ ## 数据加速器 GooseFS(goosefs) 版本:2022-05-19 +### 第 7 次发布 + +发布时间:2023-09-25 01:15:41 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [MappedBucket](https://cloud.tencent.com/document/api/1424/95076#MappedBucket) + + * 新增成员:Status, AccelerateFlag, BucketRegion + + ### 第 6 次发布 发布时间:2023-08-02 01:16:12 @@ -62614,6 +62539,19 @@ ## 数学作业批改(hcm) 版本:2018-11-06 +### 第 9 次发布 + +发布时间:2023-09-25 01:15:46 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [Evaluation](https://cloud.tencent.com/document/api/1004/30616) + + ### 第 8 次发布 发布时间:2021-02-03 08:05:01 @@ -92774,6 +92712,21 @@ ## 云数据库 SQL Server(sqlserver) 版本:2018-03-28 +### 第 52 次发布 + +发布时间:2023-09-25 01:24:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeDBInstances](https://cloud.tencent.com/document/api/238/19969) + + * 新增入参:PaginationType + + ### 第 51 次发布 发布时间:2023-09-13 02:18:02 @@ -119108,6 +119061,19 @@ ## 微服务引擎 TSE(tse) 版本:2020-12-07 +### 第 45 次发布 + +发布时间:2023-09-25 01:28:54 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateCloudNativeAPIGatewayCertificate](https://cloud.tencent.com/document/api/1364/98591) + + ### 第 44 次发布 发布时间:2023-09-18 02:36:04 @@ -127944,6 +127910,28 @@ ## 私有网络(vpc) 版本:2017-03-12 +### 第 172 次发布 + +发布时间:2023-09-25 01:30:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateBandwidthPackage](https://cloud.tencent.com/document/api/215/19212) + + * 新增入参:Egress + + +修改数据结构: + +* [BandwidthPackage](https://cloud.tencent.com/document/api/215/15824#BandwidthPackage) + + * 新增成员:Egress + + ### 第 171 次发布 发布时间:2023-09-18 02:43:01 @@ -131850,6 +131838,21 @@ ## Web 应用防火墙(waf) 版本:2018-01-25 +### 第 56 次发布 + +发布时间:2023-09-25 01:30:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [DomainInfo](https://cloud.tencent.com/document/api/627/53609#DomainInfo) + + * 新增成员:CloudType + + ### 第 55 次发布 发布时间:2023-09-20 01:52:55 diff --git a/package-lock.json b/package-lock.json index 887147843..d32b03faf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tencentcloud-sdk-nodejs", - "version": "4.0.694", + "version": "4.0.695", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tencentcloud-sdk-nodejs", - "version": "4.0.694", + "version": "4.0.695", "license": "Apache-2.0", "dependencies": { "form-data": "^3.0.0", diff --git a/package.json b/package.json index b918a53cb..fd8240e31 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tencentcloud-sdk-nodejs", - "version": "4.0.694", + "version": "4.0.695", "description": "腾讯云 API NODEJS SDK", "main": "tencentcloud/index.js", "scripts": { diff --git a/products.md b/products.md index 6602f769a..f171a9cf4 100644 --- a/products.md +++ b/products.md @@ -15,15 +15,15 @@ | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 | | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 | | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-09-22 01:08:25 | -| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-09-21 01:15:22 | +| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-09-25 01:06:12 | | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-09-12 01:09:06 | -| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-09-22 01:10:19 | +| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-09-25 01:06:23 | | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 | | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2023-08-17 01:18:28 | | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-09-21 01:17:48 | | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2023-08-17 01:19:19 | | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2023-09-18 01:10:19 | -| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-09-18 01:10:26 | +| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-09-25 01:06:36 | | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 | | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2023-08-17 01:20:19 | | bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2023-08-31 01:07:17 | @@ -54,7 +54,7 @@ | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 | | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 | | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 | -| ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-09-21 01:53:00 | +| ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-09-25 01:09:25 | | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-09-21 01:56:45 | | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-05-18 01:13:28 | | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-08-17 01:57:08 | @@ -65,19 +65,19 @@ | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-08-24 01:10:10 | | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 | | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 | -| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-09-22 01:31:21 | +| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-09-25 01:10:56 | | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 | | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-09-20 01:15:08 | | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-09-22 01:33:07 | | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 | -| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-09-20 01:32:40 | +| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-09-25 01:12:05 | | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-09-20 01:33:17 | | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 | | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 | | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-09-05 03:38:32 | | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-08-22 01:11:33 | | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-08-17 02:50:46 | -| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-09-05 03:42:53 | +| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-09-25 01:13:09 | | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-09-22 01:40:45 | | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-09-12 01:43:38 | | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-09-20 01:34:26 | @@ -102,13 +102,13 @@ | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2023-08-17 03:12:58 | | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-09-22 01:52:02 | | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-08-24 01:19:31 | -| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-08-02 01:16:12 | +| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-09-25 01:15:41 | | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 | | gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2023-05-18 01:29:42 | | gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 | | habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 | | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 | -| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2023-08-17 03:18:40 | +| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2023-09-25 01:15:46 | | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-09-20 01:37:34 | | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 | | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2023-05-18 01:30:40 | @@ -123,11 +123,11 @@ | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2023-08-30 01:17:01 | | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2023-08-17 03:44:44 | | irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2023-09-22 02:00:51 | -| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2023-09-19 17:35:39 | +| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2023-09-25 01:18:00 | | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2023-05-18 01:35:21 | | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-07-19 01:29:34 | | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-08-17 03:51:31 | -| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-09-20 01:39:40 | +| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-09-25 01:20:43 | | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-09-15 02:04:15 | | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-09-18 02:01:47 | | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 | @@ -140,7 +140,7 @@ | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2023-05-18 01:39:20 | | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-08-30 01:19:09 | | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-09-15 02:08:53 | -| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-09-22 02:09:16 | +| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-09-25 01:22:33 | | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-21 04:51:12 | | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-09-13 02:09:08 | | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-08-30 01:19:55 | @@ -171,7 +171,7 @@ | sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-09-21 05:17:41 | | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-07-10 01:39:48 | | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 | -| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-09-13 02:18:02 | +| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-09-25 01:24:51 | | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-09-15 02:24:19 | | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-09-15 02:24:49 | | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-08-17 04:46:28 | @@ -185,7 +185,7 @@ | tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-08-17 04:48:24 | | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 | | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-08-17 04:48:55 | -| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-08-17 04:48:58 | +| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-09-25 01:25:42 | | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2023-08-18 11:40:41 | | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2023-05-18 01:51:15 | | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 | @@ -219,7 +219,7 @@ | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-09-21 06:25:32 | | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 | | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-09-22 02:41:12 | -| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-09-18 02:36:04 | +| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-09-25 01:28:54 | | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-09-12 02:52:20 | | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 | | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-09-19 01:29:02 | @@ -227,9 +227,9 @@ | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-05-18 02:04:19 | | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-08-17 05:50:56 | | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-09-18 02:39:47 | -| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-09-18 02:43:01 | +| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-09-25 01:30:02 | | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-07-18 01:58:58 | -| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-09-22 02:50:53 | +| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-09-25 01:30:53 | | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-18 01:59:28 | | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-08-31 01:29:16 | | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2023-09-12 09:30:48 | diff --git a/src/common/sdk_version.ts b/src/common/sdk_version.ts index f5f1bd3f2..999f90631 100755 --- a/src/common/sdk_version.ts +++ b/src/common/sdk_version.ts @@ -1 +1 @@ -export const sdkVersion = "4.0.694" +export const sdkVersion = "4.0.695" diff --git a/src/services/asr/v20190614/asr_models.ts b/src/services/asr/v20190614/asr_models.ts index 5b4f8af71..9c51769ac 100644 --- a/src/services/asr/v20190614/asr_models.ts +++ b/src/services/asr/v20190614/asr_models.ts @@ -212,7 +212,7 @@ export interface CreateAsyncRecognitionTaskRequest { } /** - * 热词的词和权重 + * [热词的词和权重](https://cloud.tencent.com/document/product/1093/41111#2.-.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0) */ export interface HotWord { /** @@ -366,7 +366,7 @@ hotword_list:每次请求时直接传入临时热词表来使用热词功能 } /** - * 说话人验证数据 + * [说话人验证数据](https://cloud.tencent.com/document/product/1093/94481#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface VoicePrintVerifyData { /** @@ -871,42 +871,42 @@ export interface SetVocabStateRequest { } /** - * 词表内容 + * [词表内容](https://cloud.tencent.com/document/product/1093/41484#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface Vocab { /** * 热词表名称 */ - Name: string + Name?: string /** * 热词表描述 */ - Description: string + Description?: string /** * 热词表ID */ - VocabId: string + VocabId?: string /** * 词权重列表 */ - WordWeights: Array + WordWeights?: Array /** * 词表创建时间 */ - CreateTime: string + CreateTime?: string /** * 词表更新时间 */ - UpdateTime: string + UpdateTime?: string /** * 热词表状态,1为默认状态即在识别时默认加载该热词表进行识别,0为初始状态 */ - State: number + State?: number /** * 标签数组 注意:此字段可能返回 null,表示取不到有效值。 */ - TagInfos: Array + TagInfos?: Array } /** @@ -920,24 +920,24 @@ export interface CloseAsyncRecognitionTaskRequest { } /** - * 录音文件识别、实时语音异步识别请求的返回数据 + * [录音文件识别](https://cloud.tencent.com/document/product/1093/37823#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)、[实时语音异步识别](https://cloud.tencent.com/document/product/1093/52061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)请求的返回数据 */ export interface Task { /** * 任务ID,可通过此ID在轮询接口获取识别状态与结果。注意:TaskId数据类型为uint64 */ - TaskId: number + TaskId?: number } /** - * 音频流异步识别任务列表 + * [音频流异步识别任务列表](https://cloud.tencent.com/document/product/1093/52060#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface AsyncRecognitionTasks { /** * 任务列表 注意:此字段可能返回 null,表示取不到有效值。 */ - Tasks: Array + Tasks?: Array } /** @@ -973,39 +973,39 @@ export interface DeleteCustomizationResponse { } /** - * 获取录音识别结果的返回参数 + * [获取录音识别结果的返回参数](https://cloud.tencent.com/document/product/1093/37822#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface TaskStatus { /** * 任务标识。注意:TaskId数据类型为uint64。 */ - TaskId: number + TaskId?: number /** * 任务状态码,0:任务等待,1:任务执行中,2:任务成功,3:任务失败。 */ - Status: number + Status?: number /** * 任务状态,waiting:任务等待,doing:任务执行中,success:任务成功,failed:任务失败。 */ - StatusStr: string + StatusStr?: string /** * 识别结果。 */ - Result: string + Result?: string /** * 失败原因说明。 */ - ErrorMsg: string + ErrorMsg?: string /** * 识别结果详情,包含每个句子中的词时间偏移,一般用于生成字幕的场景。(录音识别请求中ResTextFormat=1时该字段不为空) 注意:此字段可能返回 null,表示取不到有效值。 */ - ResultDetail: Array + ResultDetail?: Array /** * 音频时长(秒)。 注意:此字段可能返回 null,表示取不到有效值。 */ - AudioDuration: number + AudioDuration?: number } /** @@ -1101,29 +1101,29 @@ export interface CreateAsrVocabResponse { } /** - * 自学习模型信息 + * [自学习模型信息](https://cloud.tencent.com/document/product/1093/90813#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface Model { /** * 模型名称 */ - ModelName: string + ModelName?: string /** * 模型文件名称 */ - DictName: string + DictName?: string /** * 模型Id */ - ModelId: string + ModelId?: string /** * 模型类型,“8k”或者”16k“ */ - ModelType: string + ModelType?: string /** * 服务类型 */ - ServiceType: string + ServiceType?: string /** * 模型状态: -2:模型训练失败; @@ -1133,16 +1133,16 @@ export interface Model { 3:上线中; 4:下线中; */ - ModelState: number + ModelState?: number /** * 最后更新时间 */ - AtUpdated: string + AtUpdated?: string /** * 标签信息 注意:此字段可能返回 null,表示取不到有效值。 */ - TagInfos: Array + TagInfos?: Array } /** @@ -1267,7 +1267,7 @@ export interface VoicePrintUpdateResponse { } /** - * 说话人基础数据,包括说话人id和说话人昵称 + * [说话人基础数据](https://cloud.tencent.com/document/product/1093/94483#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0),包括说话人id和说话人昵称 */ export interface VoicePrintBaseData { /** @@ -1307,17 +1307,17 @@ export interface VoicePrintCountResponse { } /** - * 音频流异步识别任务信息 + * [音频流异步识别](https://cloud.tencent.com/document/api/1093/37824#AsyncRecognitionTasks)任务信息 */ export interface AsyncRecognitionTaskInfo { /** * 任务ID */ - TaskId: number + TaskId?: number /** * 音频流Url */ - Url: string + Url?: string } /** @@ -1368,21 +1368,21 @@ export interface GetAsrVocabListResponse { } /** - * 一句话识别返回的词时间戳 + * [一句话识别](https://cloud.tencent.com/document/product/1093/35646#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)返回的词时间戳 */ export interface SentenceWord { /** * 词结果 */ - Word: string + Word?: string /** * 词在音频中的开始时间 */ - StartTime: number + StartTime?: number /** * 词在音频中的结束时间 */ - EndTime: number + EndTime?: number } /** @@ -1407,7 +1407,7 @@ export interface SentenceWords { } /** - * 统计返回注册数量结构 + * 统计返回[说话人注册数量](https://cloud.tencent.com/document/product/1093/96061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface VoicePrintCountData { /** diff --git a/src/services/csip/v20221121/csip_client.ts b/src/services/csip/v20221121/csip_client.ts index fe7a17a25..f3ffcdc9c 100644 --- a/src/services/csip/v20221121/csip_client.ts +++ b/src/services/csip/v20221121/csip_client.ts @@ -18,82 +18,95 @@ import { AbstractClient } from "../../../common/abstract_client" import { ClientConfig } from "../../../common/interface" import { - DescribeDomainAssetsResponse, - DeleteDomainAndIpRequest, - ScanTaskInfoList, DescribeDbAssetInfoResponse, DeleteRiskScanTaskRequest, + DescribeRiskCenterAssetViewWeakPasswordRiskListResponse, + TaskCenterWeakPwdRiskInputParam, + FilterDataObject, ReportItemKey, + CVMAssetVO, + AssetViewCFGRisk, + AssetViewVULRisk, DescribeScanReportListRequest, - TaskLogURL, - DescribeRiskCenterAssetViewVULRiskListRequest, - TaskCenterCFGRiskInputParam, - TaskCenterWeakPwdRiskInputParam, - TaskLogInfo, - CreateDomainAndIpRequest, - DomainAssetVO, - DescribeSearchBugInfoResponse, - TaskCenterVulRiskInputParam, + DescribeVpcAssetsResponse, + Vpc, StopRiskCenterTaskRequest, - DescribeScanTaskListResponse, + DataSearchBug, + DescribeDomainAssetsRequest, + DescribeRiskCenterWebsiteRiskListResponse, + Tag, + DeleteDomainAndIpRequest, DescribeScanTaskListRequest, - DescribeVpcAssetsResponse, - FilterDataObject, - CreateRiskCenterScanTaskRequest, - TaskAdvanceCFG, - CVMAssetVO, - DescribeTaskLogListResponse, + TaskIdListKey, + DeleteDomainAndIpResponse, DescribeScanReportListResponse, DescribeSearchBugInfoRequest, - BugInfoDetail, - DescribeClusterPodAssetsRequest, - DescribeSubnetAssetsRequest, + TaskLogURL, AddNewBindRoleUserRequest, - DescribeCVMAssetInfoResponse, - DescribePublicIpAssetsResponse, - DescribeTaskLogListRequest, - DescribeDbAssetsRequest, - DescribeRiskCenterAssetViewVULRiskListResponse, - DescribeCVMAssetsRequest, DescribeListenerListResponse, - DescribeTaskLogURLResponse, DBAssetVO, - DataSearchBug, AssetInfoDetail, - ScanTaskInfo, SubnetAsset, CreateRiskCenterScanTaskResponse, - DescribeRiskCenterAssetViewPortRiskListResponse, DescribeSubnetAssetsResponse, - DescribeDbAssetInfoRequest, DescribeRiskCenterAssetViewPortRiskListRequest, - ClbListenerListInfo, - DescribeCVMAssetsResponse, - DescribeVpcAssetsRequest, + StopRiskCenterTaskResponse, + ServerRisk, TaskAssetObject, - Filter, - DbAssetInfo, - Tag, IpAssetListVO, - DeleteRiskScanTaskResponse, + DescribeVpcAssetsRequest, + DescribeRiskCenterAssetViewWeakPasswordRiskListRequest, PublicIpDomainListKey, - AssetViewVULRisk, + DescribeCVMAssetsResponse, + DbAssetInfo, + DescribePublicIpAssetsRequest, + AssetClusterPod, + DescribeCVMAssetInfoRequest, + AssetViewWeakPassRisk, + WebsiteRisk, + CreateRiskCenterScanTaskRequest, + DescribeRiskCenterAssetViewCFGRiskListResponse, + TaskCenterVulRiskInputParam, + DescribeScanTaskListResponse, + ScanTaskInfo, + DescribeClusterPodAssetsRequest, + DescribeCVMAssetInfoResponse, + DescribePublicIpAssetsResponse, + DescribeTaskLogURLResponse, + DescribeDbAssetInfoRequest, + Filter, + DescribeRiskCenterWebsiteRiskListRequest, + ServerRiskSuggestion, + DescribeSubnetAssetsRequest, DescribeClusterPodAssetsResponse, AssetBaseInfoResponse, - TaskIdListKey, AssetViewPortRisk, - DescribeListenerListRequest, - DescribeDomainAssetsRequest, - Vpc, - CreateDomainAndIpResponse, - DescribePublicIpAssetsRequest, - DeleteDomainAndIpResponse, - AssetClusterPod, - DescribeDbAssetsResponse, + DescribeRiskCenterAssetViewCFGRiskListRequest, + TaskAdvanceCFG, AddNewBindRoleUserResponse, - StopRiskCenterTaskResponse, - DescribeCVMAssetInfoRequest, WhereFilter, + ScanTaskInfoList, + DescribeDbAssetsRequest, + TaskLogInfo, + DescribeRiskCenterAssetViewVULRiskListRequest, + DescribeSearchBugInfoResponse, + CreateDomainAndIpRequest, + DomainAssetVO, + TaskCenterCFGRiskInputParam, + DescribeTaskLogListResponse, + BugInfoDetail, + DescribeDomainAssetsResponse, + DescribeDbAssetsResponse, + DescribeRiskCenterAssetViewVULRiskListResponse, + DescribeCVMAssetsRequest, + DescribeRiskCenterServerRiskListRequest, + ClbListenerListInfo, + DescribeRiskCenterServerRiskListResponse, + DescribeListenerListRequest, + DeleteRiskScanTaskResponse, + CreateDomainAndIpResponse, + DescribeTaskLogListRequest, + DescribeRiskCenterAssetViewPortRiskListResponse, DescribeTaskLogURLRequest, } from "./csip_models" @@ -177,13 +190,13 @@ export class Client extends AbstractClient { } /** - * 获取任务扫描报告列表 + * 获取资产视角的弱口令风险列表 */ - async DescribeTaskLogList( - req: DescribeTaskLogListRequest, - cb?: (error: string, rep: DescribeTaskLogListResponse) => void - ): Promise { - return this.request("DescribeTaskLogList", req, cb) + async DescribeRiskCenterAssetViewWeakPasswordRiskList( + req: DescribeRiskCenterAssetViewWeakPasswordRiskListRequest, + cb?: (error: string, rep: DescribeRiskCenterAssetViewWeakPasswordRiskListResponse) => void + ): Promise { + return this.request("DescribeRiskCenterAssetViewWeakPasswordRiskList", req, cb) } /** @@ -206,6 +219,16 @@ export class Client extends AbstractClient { return this.request("DescribeClusterPodAssets", req, cb) } + /** + * 获取资产视角的配置风险列表 + */ + async DescribeRiskCenterAssetViewCFGRiskList( + req: DescribeRiskCenterAssetViewCFGRiskListRequest, + cb?: (error: string, rep: DescribeRiskCenterAssetViewCFGRiskListResponse) => void + ): Promise { + return this.request("DescribeRiskCenterAssetViewCFGRiskList", req, cb) + } + /** * 获取vpc列表 */ @@ -216,6 +239,16 @@ export class Client extends AbstractClient { return this.request("DescribeVpcAssets", req, cb) } + /** + * 获取风险服务列表 + */ + async DescribeRiskCenterServerRiskList( + req: DescribeRiskCenterServerRiskListRequest, + cb?: (error: string, rep: DescribeRiskCenterServerRiskListResponse) => void + ): Promise { + return this.request("DescribeRiskCenterServerRiskList", req, cb) + } + /** * cvm列表 */ @@ -226,6 +259,16 @@ export class Client extends AbstractClient { return this.request("DescribeCVMAssets", req, cb) } + /** + * 获取网站风险列表 + */ + async DescribeRiskCenterWebsiteRiskList( + req: DescribeRiskCenterWebsiteRiskListRequest, + cb?: (error: string, rep: DescribeRiskCenterWebsiteRiskListResponse) => void + ): Promise { + return this.request("DescribeRiskCenterWebsiteRiskList", req, cb) + } + /** * 获取报告下载的临时链接 */ @@ -256,6 +299,16 @@ export class Client extends AbstractClient { return this.request("DescribeSearchBugInfo", req, cb) } + /** + * 获取任务扫描报告列表 + */ + async DescribeTaskLogList( + req: DescribeTaskLogListRequest, + cb?: (error: string, rep: DescribeTaskLogListResponse) => void + ): Promise { + return this.request("DescribeTaskLogList", req, cb) + } + /** * 获取扫描报告列表 */ diff --git a/src/services/csip/v20221121/csip_models.ts b/src/services/csip/v20221121/csip_models.ts index 95aa014c9..755366dbd 100644 --- a/src/services/csip/v20221121/csip_models.ts +++ b/src/services/csip/v20221121/csip_models.ts @@ -16,39 +16,62 @@ */ /** - * DescribeDomainAssets返回参数结构体 + * DescribeDbAssetInfo返回参数结构体 */ -export interface DescribeDomainAssetsResponse { +export interface DescribeDbAssetInfoResponse { /** - * - + * db资产详情 注意:此字段可能返回 null,表示取不到有效值。 */ - Total?: number + Data?: DbAssetInfo /** - * - -注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - Data?: Array + RequestId?: string +} + +/** + * DeleteRiskScanTask请求参数结构体 + */ +export interface DeleteRiskScanTaskRequest { /** - * 防护状态列表 -注意:此字段可能返回 null,表示取不到有效值。 + * 任务id 列表 */ - DefenseStatusList?: Array + TaskIdList: Array +} + +/** + * DescribeRiskCenterAssetViewWeakPasswordRiskList返回参数结构体 + */ +export interface DescribeRiskCenterAssetViewWeakPasswordRiskListResponse { /** - * 资产归属地列表 -注意:此字段可能返回 null,表示取不到有效值。 + * 总条数 */ - AssetLocationList?: Array + TotalCount?: number + /** + * 风险列表 + */ + Data?: Array + /** + * 状态列表 + */ + StatusLists?: Array + /** + * 危险等级列表 + */ + LevelLists?: Array + /** + * 来源列表 + */ + FromLists?: Array /** * 资产类型列表 -注意:此字段可能返回 null,表示取不到有效值。 */ - SourceTypeList?: Array + InstanceTypeLists?: Array /** - * 地域列表 -注意:此字段可能返回 null,表示取不到有效值。 + * 弱口令类型列表 */ - RegionList?: Array + PasswordTypeLists?: Array /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ @@ -56,233 +79,567 @@ export interface DescribeDomainAssetsResponse { } /** - * DeleteDomainAndIp请求参数结构体 + * 弱口令风险高级配置 */ -export interface DeleteDomainAndIpRequest { +export interface TaskCenterWeakPwdRiskInputParam { /** - * - + * 检测项ID */ - Content: Array + CheckItemId: number /** - * 是否保留路径配置,1:保留,其他:不保留,默认不传为不保留 + * 是否开启,0-不开启,1-开启 */ - RetainPath?: number + Enable: number +} + +/** + * 过滤数据对象 + */ +export interface FilterDataObject { /** - * 以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略 + * 英文翻译 */ - IgnoreAsset?: number + Value?: string + /** + * 中文翻译 + */ + Text?: string } /** - * 扫描任务列表展示信息 + * 报告项key */ -export interface ScanTaskInfoList { +export interface ReportItemKey { /** - * 任务名称 -注意:此字段可能返回 null,表示取不到有效值。 + * 日志Id列表 */ - TaskName?: string + TaskLogList: Array +} + +/** + * 主机资产信息 + */ +export interface CVMAssetVO { /** - * 任务开始时间 + * 资产id 注意:此字段可能返回 null,表示取不到有效值。 */ - StartTime?: string + AssetId?: string /** - * 任务结束时间 + * 资产名 注意:此字段可能返回 null,表示取不到有效值。 */ - EndTime?: string + AssetName?: string /** - * corn + * 资产类型 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanPlanContent?: string + AssetType?: string /** - * 0-周期任务,1-立即扫描,2-定时扫描,3-自定义 + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskType?: number + Region?: string /** - * 创建时间 + * 防护状态 注意:此字段可能返回 null,表示取不到有效值。 */ - InsertTime?: string + CWPStatus?: number /** - * 任务ID + * 资产创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskId?: string + AssetCreateTime?: string /** - * 排除扫描资产信息 + * 公网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - SelfDefiningAssets?: Array + PublicIp?: string /** - * 预估时间 + * 私网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - PredictTime?: number + PrivateIp?: string /** - * 预估完成时间 + * vpc id 注意:此字段可能返回 null,表示取不到有效值。 */ - PredictEndTime?: string + VpcId?: string /** - * 报告数量 + * vpc 名 注意:此字段可能返回 null,表示取不到有效值。 */ - ReportNumber?: number + VpcName?: string /** - * 资产数量 + * appid信息 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetNumber?: number + AppId?: number /** - * 扫描状态 0 初始值 1正在扫描 2扫描完成 3扫描出错 + * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanStatus?: number + Uin?: string /** - * 任务进度 + * 昵称 注意:此字段可能返回 null,表示取不到有效值。 */ - Percent?: number + NickName?: string /** - * port/poc/weakpass/webcontent/configrisk + * 可用区 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanItem?: string + AvailableArea?: string /** - * 0-全扫,1-指定资产扫,2-排除资产扫 + * 是否核心 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanAssetType?: number + IsCore?: number /** - * vss子任务id + * 子网id 注意:此字段可能返回 null,表示取不到有效值。 */ - VSSTaskId?: string + SubnetId?: string /** - * cspm子任务id + * 子网名 注意:此字段可能返回 null,表示取不到有效值。 */ - CSPMTaskId?: string + SubnetName?: string /** - * 主机漏扫子任务id + * uuid 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPPOCId?: string + InstanceUuid?: string /** - * 主机基线子任务id + * qquid 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPBlId?: string + InstanceQUuid?: string /** - * vss子任务进度 + * os名 注意:此字段可能返回 null,表示取不到有效值。 */ - VSSTaskProcess?: number + OsName?: string /** - * cspm子任务进度 + * 分区 注意:此字段可能返回 null,表示取不到有效值。 */ - CSPMTaskProcess?: number + PartitionCount?: number /** - * 主机漏扫子任务进度 + * cpu信息 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPPOCProcess?: number + CPUInfo?: string /** - * 主机基线子任务进度 + * cpu大小 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPBlProcess?: number + CPUSize?: number /** - * 异常状态码 + * cpu负载 注意:此字段可能返回 null,表示取不到有效值。 */ - ErrorCode?: number + CPULoad?: string /** - * 异常信息 + * 内存大小 注意:此字段可能返回 null,表示取不到有效值。 */ - ErrorInfo?: string + MemorySize?: string /** - * 周期任务开始的天数 + * 内存负载 注意:此字段可能返回 null,表示取不到有效值。 */ - StartDay?: number + MemoryLoad?: string /** - * 扫描频率,单位天,1-每天,7-每周,30-月,0-扫描一次 + * 硬盘大小 注意:此字段可能返回 null,表示取不到有效值。 */ - Frequency?: number + DiskSize?: string /** - * 完成次数 + * 硬盘负载 注意:此字段可能返回 null,表示取不到有效值。 */ - CompleteNumber?: number + DiskLoad?: string /** - * 已完成资产个数 + * 账号数 注意:此字段可能返回 null,表示取不到有效值。 */ - CompleteAssetNumber?: number + AccountCount?: string /** - * 风险数 + * 进程数 注意:此字段可能返回 null,表示取不到有效值。 */ - RiskCount?: number + ProcessCount?: string /** - * 资产 + * 软件应用 注意:此字段可能返回 null,表示取不到有效值。 */ - Assets?: Array + AppCount?: string /** - * 用户Appid + * 监听端口 注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: string + PortCount?: number /** - * 用户主账户ID + * 网络攻击 注意:此字段可能返回 null,表示取不到有效值。 */ - UIN?: string + Attack?: number /** - * 用户名称 + * 网络访问 注意:此字段可能返回 null,表示取不到有效值。 */ - UserName?: string + Access?: number /** - * 体检模式,0-标准模式,1-快速模式,2-高级模式 + * 网络拦截 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskMode?: number + Intercept?: number /** - * 扫描来源 + * 入向峰值带宽 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanFrom?: string + InBandwidth?: string /** - * 是否限免体检0不是,1是 + * 出向峰值带宽 注意:此字段可能返回 null,表示取不到有效值。 */ - IsFree?: number + OutBandwidth?: string /** - * 是否可以删除,1-可以,0-不可以,对应多账户管理使用 + * 入向累计流量 注意:此字段可能返回 null,表示取不到有效值。 */ - IsDelete?: number -} - -/** - * DescribeDbAssetInfo返回参数结构体 - */ -export interface DescribeDbAssetInfoResponse { + InFlow?: string /** - * db资产详情 + * 出向累计流量 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: DbAssetInfo + OutFlow?: string + /** + * 最近扫描时间 +注意:此字段可能返回 null,表示取不到有效值。 + */ + LastScanTime?: string + /** + * 恶意主动外联 +注意:此字段可能返回 null,表示取不到有效值。 + */ + NetWorkOut?: number + /** + * 端口风险 +注意:此字段可能返回 null,表示取不到有效值。 + */ + PortRisk?: number + /** + * 漏洞风险 +注意:此字段可能返回 null,表示取不到有效值。 + */ + VulnerabilityRisk?: number + /** + * 配置风险 +注意:此字段可能返回 null,表示取不到有效值。 + */ + ConfigurationRisk?: number + /** + * 扫描任务数 +注意:此字段可能返回 null,表示取不到有效值。 + */ + ScanTask?: number + /** + * 标签 +注意:此字段可能返回 null,表示取不到有效值。 + */ + Tag?: Array + /** + * memberId +注意:此字段可能返回 null,表示取不到有效值。 + */ + MemberId?: string + /** + * os全称 +注意:此字段可能返回 null,表示取不到有效值。 + */ + Os?: string + /** + * 风险服务暴露 +注意:此字段可能返回 null,表示取不到有效值。 + */ + RiskExposure?: number + /** + * 模拟攻击工具状态。0代表未安装,1代表已安装,2代表已离线 +注意:此字段可能返回 null,表示取不到有效值。 + */ + BASAgentStatus?: number + /** + * 1新资产;0 非新资产 +注意:此字段可能返回 null,表示取不到有效值。 + */ + IsNewAsset?: number +} + +/** + * 资产视角配置风险 + */ +export interface AssetViewCFGRisk { + /** + * 唯一id + */ + Id?: string + /** + * 配置名 + */ + CFGName?: string + /** + * 检查类型 + */ + CheckType?: string + /** + * 实例id + */ + InstanceId?: string + /** + * 实例名 + */ + InstanceName?: string + /** + * 实例类型 + */ + InstanceType?: string + /** + * 影响资产 + */ + AffectAsset?: string + /** + * 风险等级 + */ + Level?: string + /** + * 首次识别时间 + */ + FirstTime?: string + /** + * 最近识别时间 + */ + RecentTime?: string + /** + * 来源 + */ + From?: string + /** + * 状态 + */ + Status?: number + /** + * - + */ + CFGSTD?: string + /** + * 配置详情 + */ + CFGDescribe?: string + /** + * 修复建议 + */ + CFGFix?: string + /** + * 帮助文档链接 + */ + CFGHelpURL?: string + /** + * 前端使用索引 + */ + Index?: string + /** + * 用户appid + */ + AppId?: string + /** + * 用户昵称 +注意:此字段可能返回 null,表示取不到有效值。 + */ + Nick?: string + /** + * 用户uin +注意:此字段可能返回 null,表示取不到有效值。 + */ + Uin?: string +} + +/** + * 资产视角的漏洞风险对象 + */ +export interface AssetViewVULRisk { + /** + * 影响资产 + */ + AffectAsset?: string + /** + * 风险等级 + */ + Level?: string + /** + * 资产类型 + */ + InstanceType?: string + /** + * 组件 + */ + Component?: string + /** + * 服务 + */ + Service?: string + /** + * 最近识别时间 + */ + RecentTime?: string + /** + * 首次识别时间 + */ + FirstTime?: string + /** + * 状态,0未处理、1已处置、2已忽略 + */ + Status?: number + /** + * 资产唯一id + */ + Id?: string + /** + * 前端索引 + */ + Index?: string + /** + * 实例id + */ + InstanceId?: string + /** + * 实例名 + */ + InstanceName?: string + /** + * 用户appid + */ + AppId?: string + /** + * 用户昵称 +注意:此字段可能返回 null,表示取不到有效值。 + */ + Nick?: string + /** + * 用户uin +注意:此字段可能返回 null,表示取不到有效值。 + */ + Uin?: string + /** + * 漏洞类型 + */ + VULType?: string + /** + * 端口 + */ + Port?: string + /** + * 描述 + */ + Describe?: string + /** + * 版本名 + */ + AppName?: string + /** + * 相关信息 + */ + References?: string + /** + * 版本 + */ + AppVersion?: string + /** + * 漏洞url + */ + VULURL?: string + /** + * 漏洞名称 + */ + VULName?: string + /** + * cve + */ + CVE?: string + /** + * 修复建议 + */ + Fix?: string + /** + * pocid + */ + POCId?: string + /** + * 来源 + */ + From?: string + /** + * 主机版本 + */ + CWPVersion?: number + /** + * 是否支持修复 + */ + IsSupportRepair?: boolean + /** + * 是否支持扫描 + */ + IsSupportDetect?: boolean + /** + * 实例uuid + */ + InstanceUUID?: string + /** + * 负载 + */ + Payload?: string + /** + * 应急漏洞类型,1-应急漏洞,0-非应急漏洞 +注意:此字段可能返回 null,表示取不到有效值。 + */ + EMGCVulType?: number +} + +/** + * DescribeScanReportList请求参数结构体 + */ +export interface DescribeScanReportListRequest { + /** + * 列表过滤条件 + */ + Filter?: Filter +} + +/** + * DescribeVpcAssets返回参数结构体 + */ +export interface DescribeVpcAssetsResponse { + /** + * 列表 + */ + Data?: Array + /** + * 总数 + */ + TotalCount?: number + /** + * vpc列表 + */ + VpcList?: Array + /** + * 地域列表 + */ + RegionList?: Array + /** + * appid列表 + */ + AppIdList?: Array /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ @@ -290,65 +647,210 @@ export interface DescribeDbAssetInfoResponse { } /** - * DeleteRiskScanTask请求参数结构体 + * vpc列表数据 */ -export interface DeleteRiskScanTaskRequest { +export interface Vpc { + /** + * 子网(只支持32位) + */ + Subnet?: number + /** + * 互通vpc(只支持32位) + */ + ConnectedVpc?: number + /** + * 资产id + */ + AssetId?: string + /** + * region区域 + */ + Region?: string + /** + * 云服务器(只支持32位) + */ + CVM?: number + /** + * 标签 +注意:此字段可能返回 null,表示取不到有效值。 + */ + Tag?: Array + /** + * dns域名 +注意:此字段可能返回 null,表示取不到有效值。 + */ + DNS?: Array + /** + * 资产名称 + */ + AssetName?: string + /** + * cidr网段 + */ + CIDR?: string + /** + * 资产创建时间 + */ + CreateTime?: string + /** + * appid + */ + AppId?: string + /** + * uin + */ + Uin?: string + /** + * 昵称 + */ + Nick?: string + /** + * 是否新资产 1新 +注意:此字段可能返回 null,表示取不到有效值。 + */ + IsNewAsset?: number + /** + * 是否核心资产1是 2不是 +注意:此字段可能返回 null,表示取不到有效值。 + */ + IsCore?: number +} + +/** + * StopRiskCenterTask请求参数结构体 + */ +export interface StopRiskCenterTaskRequest { /** * 任务id 列表 */ - TaskIdList: Array + TaskIdList: Array +} + +/** + * 漏洞和资产信息 + */ +export interface DataSearchBug { + /** + * 返回查询状态 + */ + StateCode?: string + /** + * 无 +注意:此字段可能返回 null,表示取不到有效值。 + */ + DataBug?: Array + /** + * 无 +注意:此字段可能返回 null,表示取不到有效值。 + */ + DataAsset?: Array + /** + * true支持扫描。false不支持扫描 +注意:此字段可能返回 null,表示取不到有效值。 + */ + VSSScan?: boolean + /** + * 0不支持,1支持 +注意:此字段可能返回 null,表示取不到有效值。 + */ + CWPScan?: string + /** + * 1支持虚拟补丁,0或空不支持 +注意:此字段可能返回 null,表示取不到有效值。 + */ + CFWPatch?: string + /** + * 0不支持,1支持 +注意:此字段可能返回 null,表示取不到有效值。 + */ + WafPatch?: number + /** + * 0不支持,1支持 +注意:此字段可能返回 null,表示取不到有效值。 + */ + CWPFix?: number +} + +/** + * DescribeDomainAssets请求参数结构体 + */ +export interface DescribeDomainAssetsRequest { + /** + * - + */ + Filter?: Filter +} + +/** + * DescribeRiskCenterWebsiteRiskList返回参数结构体 + */ +export interface DescribeRiskCenterWebsiteRiskListResponse { + /** + * 总条数 + */ + TotalCount?: number + /** + * 资产视角的端口风险列表 + */ + Data?: Array + /** + * 状态列表 + */ + StatusLists?: Array + /** + * 危险等级列表 + */ + LevelLists?: Array + /** + * 资产类型列表 + */ + InstanceTypeLists?: Array + /** + * 风险类型列表 + */ + DetectEngineLists?: Array + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string } /** - * 报告项key + * 标签 */ -export interface ReportItemKey { +export interface Tag { /** - * 日志Id列表 + * 标签名称 */ - TaskLogList: Array -} - -/** - * DescribeScanReportList请求参数结构体 - */ -export interface DescribeScanReportListRequest { + Name: string /** - * 列表过滤条件 + * 标签内容 */ - Filter?: Filter + Value: string } /** - * 报告pdf下载的临时链接 + * DeleteDomainAndIp请求参数结构体 */ -export interface TaskLogURL { - /** - * 报告下载临时链接 -注意:此字段可能返回 null,表示取不到有效值。 - */ - URL?: string +export interface DeleteDomainAndIpRequest { /** - * 任务报告id -注意:此字段可能返回 null,表示取不到有效值。 + * - */ - LogId?: string + Content: Array /** - * 任务报告名称 -注意:此字段可能返回 null,表示取不到有效值。 + * 是否保留路径配置,1:保留,其他:不保留,默认不传为不保留 */ - TaskLogName?: string + RetainPath?: number /** - * APP ID -注意:此字段可能返回 null,表示取不到有效值。 + * 以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略 */ - AppId?: string + IgnoreAsset?: number } /** - * DescribeRiskCenterAssetViewVULRiskList请求参数结构体 + * DescribeScanTaskList请求参数结构体 */ -export interface DescribeRiskCenterAssetViewVULRiskListRequest { +export interface DescribeScanTaskListRequest { /** * 过滤内容 */ @@ -356,424 +858,430 @@ export interface DescribeRiskCenterAssetViewVULRiskListRequest { } /** - * 配置风险高级配置 + * 任务ID列表Key */ -export interface TaskCenterCFGRiskInputParam { - /** - * 检测项ID - */ - ItemId: string - /** - * 是否开启,0-不开启,1-开启 - */ - Enable: number +export interface TaskIdListKey { /** - * 资源类型 + * 任务ID */ - ResourceType: string + TaskId: string } /** - * 弱口令风险高级配置 + * DeleteDomainAndIp返回参数结构体 */ -export interface TaskCenterWeakPwdRiskInputParam { +export interface DeleteDomainAndIpResponse { /** - * 检测项ID + * 删除的资产数量 */ - CheckItemId: number + Data?: number /** - * 是否开启,0-不开启,1-开启 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - Enable: number + RequestId?: string } /** - * 任务报告信息 + * DescribeScanReportList返回参数结构体 */ -export interface TaskLogInfo { +export interface DescribeScanReportListResponse { /** - * 报告名称 + * 总条数 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskLogName?: string + TotalCount?: number /** - * 报告ID + * 任务日志列表 +注意:此字段可能返回 null,表示取不到有效值。 */ - TaskLogId?: string + Data?: Array /** - * 关联资产个数 -注意:此字段可能返回 null,表示取不到有效值。 + * 主账户ID列表 */ - AssetsNumber?: number + UINList?: Array /** - * 安全风险数量 -注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - RiskNumber?: number + RequestId?: string +} + +/** + * DescribeSearchBugInfo请求参数结构体 + */ +export interface DescribeSearchBugInfoRequest { /** - * 报告生成时间,任务结束时间 -注意:此字段可能返回 null,表示取不到有效值。 + * 无 */ - Time?: string + Id: string /** - * 任务状态码:0 初始值 1正在扫描 2扫描完成 3扫描出错,4停止,5暂停,6该任务已被重启过 -注意:此字段可能返回 null,表示取不到有效值。 + * id=3时传入该参数 */ - Status?: number + CVEId?: string +} + +/** + * 报告pdf下载的临时链接 + */ +export interface TaskLogURL { /** - * 关联任务名称 + * 报告下载临时链接 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskName?: string + URL?: string /** - * 扫描开始时间 + * 任务报告id 注意:此字段可能返回 null,表示取不到有效值。 */ - StartTime?: string + LogId?: string /** - * 任务中心扫描任务ID + * 任务报告名称 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskCenterTaskId?: string + TaskLogName?: string /** - * 租户ID + * APP ID 注意:此字段可能返回 null,表示取不到有效值。 */ AppId?: string +} + +/** + * AddNewBindRoleUser请求参数结构体 + */ +export type AddNewBindRoleUserRequest = null + +/** + * DescribeListenerList返回参数结构体 + */ +export interface DescribeListenerListResponse { /** - * 主账户ID + * 总数 注意:此字段可能返回 null,表示取不到有效值。 */ - UIN?: string + Total?: number /** - * 用户名称 + * 监听器列表 注意:此字段可能返回 null,表示取不到有效值。 */ - UserName?: string -} - -/** - * CreateDomainAndIp请求参数结构体 - */ -export interface CreateDomainAndIpRequest { + Data?: Array /** - * - + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - Content: Array + RequestId?: string } /** - * 域名资产 + * db资产输出字段 */ -export interface DomainAssetVO { +export interface DBAssetVO { /** * 资产id 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetId?: Array + AssetId?: string /** * 资产名 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetName?: Array + AssetName?: string /** * 资产类型 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetType?: Array + AssetType?: string + /** + * vpcid +注意:此字段可能返回 null,表示取不到有效值。 + */ + VpcId?: string + /** + * vpc标签 +注意:此字段可能返回 null,表示取不到有效值。 + */ + VpcName?: string /** * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - Region?: Array + Region?: string /** - * Waf状态 + * 域名 注意:此字段可能返回 null,表示取不到有效值。 */ - WAFStatus?: number + Domain?: string /** * 资产创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ AssetCreateTime?: string /** - * Appid + * 最近扫描时间 注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: number + LastScanTime?: string /** - * 账号id + * 配置风险 注意:此字段可能返回 null,表示取不到有效值。 */ - Uin?: string + ConfigurationRisk?: number /** - * 账号名称 + * 网络攻击 注意:此字段可能返回 null,表示取不到有效值。 */ - NickName?: string + Attack?: number /** - * 是否核心 + * 网络访问 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCore?: number + Access?: number /** - * 是否云上资产 + * 扫描任务 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCloud?: number + ScanTask?: number /** - * 网络攻击 + * 用户appid 注意:此字段可能返回 null,表示取不到有效值。 */ - Attack?: number + AppId?: number /** - * 网络访问 + * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ - Access?: number + Uin?: string /** - * 网络拦截 + * 昵称别名 注意:此字段可能返回 null,表示取不到有效值。 */ - Intercept?: number + NickName?: string /** - * 入站峰值带宽 + * 端口 注意:此字段可能返回 null,表示取不到有效值。 */ - InBandwidth?: string + Port?: number /** - * 出站峰值带宽 + * 标签 注意:此字段可能返回 null,表示取不到有效值。 */ - OutBandwidth?: string + Tag?: Array /** - * 入站累计流量 + * 内网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - InFlow?: string + PrivateIp?: string /** - * 出站累计流量 + * 公网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - OutFlow?: string + PublicIp?: string /** - * 最近扫描时间 + * 状态 注意:此字段可能返回 null,表示取不到有效值。 */ - LastScanTime?: string + Status?: number /** - * 端口风险 + * 是否核心 注意:此字段可能返回 null,表示取不到有效值。 */ - PortRisk?: number + IsCore?: number /** - * 漏洞风险 + * 是否新资产: 1新 注意:此字段可能返回 null,表示取不到有效值。 */ - VulnerabilityRisk?: number + IsNewAsset?: number +} + +/** + * 资产扫描结构细节 + */ +export interface AssetInfoDetail { /** - * 配置风险 + * 用户appid 注意:此字段可能返回 null,表示取不到有效值。 */ - ConfigurationRisk?: number + AppID?: string /** - * 扫描任务 + * CVE编号 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanTask?: number + CVEId?: string /** - * 域名 + * 是扫描,0默认未扫描,1正在扫描,2扫描完成,3扫描出错 注意:此字段可能返回 null,表示取不到有效值。 */ - SubDomain?: string + IsScan?: number /** - * 解析ip + * 影响资产数目 注意:此字段可能返回 null,表示取不到有效值。 */ - SeverIp?: Array + InfluenceAsset?: number /** - * boi访问数量 + * 未修复资产数目 注意:此字段可能返回 null,表示取不到有效值。 */ - BotCount?: number + NotRepairAsset?: number /** - * 弱口令风险 + * 未防护资产数目 注意:此字段可能返回 null,表示取不到有效值。 */ - WeakPassword?: number + NotProtectAsset?: number /** - * 内容风险 + * 任务ID 注意:此字段可能返回 null,表示取不到有效值。 */ - WebContentRisk?: number + TaskId?: string /** - * tag标签 + * 任务百分比 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: Array + TaskPercent?: number /** - * 关联实例类型 + * 任务时间 注意:此字段可能返回 null,表示取不到有效值。 */ - SourceType?: string + TaskTime?: number /** - * memberiD + * 扫描时间 注意:此字段可能返回 null,表示取不到有效值。 */ - MemberId?: string + ScanTime?: string +} + +/** + * 子网资产 + */ +export interface SubnetAsset { /** - * cc攻击 -注意:此字段可能返回 null,表示取不到有效值。 + * appid */ - CCAttack?: number + AppId?: string /** - * web攻击 -注意:此字段可能返回 null,表示取不到有效值。 + * uin */ - WebAttack?: number + Uin?: string /** - * 风险服务暴露数量 -注意:此字段可能返回 null,表示取不到有效值。 + * 资产ID */ - ServiceRisk?: number + AssetId?: string /** - * 是否新资产 1新 -注意:此字段可能返回 null,表示取不到有效值。 + * 资产名 */ - IsNewAsset?: number + AssetName?: string /** - * 待确认资产的随机三级域名 -注意:此字段可能返回 null,表示取不到有效值。 + * 区域 */ - VerifyDomain?: string + Region?: string /** - * 待确认资产的TXT记录内容 -注意:此字段可能返回 null,表示取不到有效值。 + * 私有网络id */ - VerifyTXTRecord?: string + VpcId?: string /** - * 待确认资产的认证状态,0-待认证,1-认证成功,2-认证中,3-txt认证失败,4-人工认证失败 -注意:此字段可能返回 null,表示取不到有效值。 + * 私有网络名 */ - VerifyStatus?: number + VpcName?: string /** - * bot访问数据 + * 标签 注意:此字段可能返回 null,表示取不到有效值。 */ - BotAccessCount?: number -} - -/** - * DescribeSearchBugInfo返回参数结构体 - */ -export interface DescribeSearchBugInfoResponse { + Tag?: Array /** - * 漏洞信息和资产信息 -注意:此字段可能返回 null,表示取不到有效值。 + * 昵称 */ - Data?: DataSearchBug + Nick?: string /** - * 状态值,0:查询成功,非0:查询失败 + * cidr */ - ReturnCode?: number + CIDR?: string /** - * 状态信息,success:查询成功,fail:查询失败 + * 可用区 */ - ReturnMsg?: string + Zone?: string /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * cvm数 */ - RequestId?: string -} - -/** - * 漏洞风险高级配置 - */ -export interface TaskCenterVulRiskInputParam { + CVM?: number /** - * 风险ID + * 可用ip数 */ - RiskId: string + AvailableIp?: number /** - * 是否开启,0-不开启,1-开启 + * 创建时间 */ - Enable: number -} - -/** - * StopRiskCenterTask请求参数结构体 - */ -export interface StopRiskCenterTaskRequest { + CreateTime?: string /** - * 任务id 列表 + * 配置风险 */ - TaskIdList: Array -} - -/** - * DescribeScanTaskList返回参数结构体 - */ -export interface DescribeScanTaskListResponse { + ConfigureRisk?: number /** - * 总条数 -注意:此字段可能返回 null,表示取不到有效值。 + * 任务数 */ - TotalCount?: number + ScanTask?: number /** - * 任务日志列表 -注意:此字段可能返回 null,表示取不到有效值。 + * 最后扫描时间 */ - Data?: Array + LastScanTime?: string /** - * 主账户ID列表 + * 是否核心 注意:此字段可能返回 null,表示取不到有效值。 */ - UINList?: Array + IsCore?: number /** - * 体检模式过滤列表 + * 是否新资产 1新 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskModeList?: Array - /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - */ - RequestId?: string + IsNewAsset?: number } /** - * DescribeScanTaskList请求参数结构体 + * CreateRiskCenterScanTask返回参数结构体 */ -export interface DescribeScanTaskListRequest { +export interface CreateRiskCenterScanTaskResponse { /** - * 过滤内容 + * 任务id */ - Filter?: Filter + TaskId?: string + /** + * 0,任务创建成功;小于0失败;-1为存在资产未认证 + */ + Status?: number + /** + * 未认证资产列表 + */ + UnAuthAsset?: Array + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string } /** - * DescribeVpcAssets返回参数结构体 + * DescribeSubnetAssets返回参数结构体 */ -export interface DescribeVpcAssetsResponse { +export interface DescribeSubnetAssetsResponse { /** * 列表 */ - Data?: Array + Data?: Array /** * 总数 */ TotalCount?: number - /** - * vpc列表 - */ - VpcList?: Array /** * 地域列表 */ RegionList?: Array + /** + * vpc列表 + */ + VpcList?: Array /** * appid列表 */ AppIdList?: Array + /** + * 可用区列表 + */ + ZoneList?: Array /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ @@ -781,243 +1289,254 @@ export interface DescribeVpcAssetsResponse { } /** - * 过滤数据对象 + * DescribeRiskCenterAssetViewPortRiskList请求参数结构体 */ -export interface FilterDataObject { +export interface DescribeRiskCenterAssetViewPortRiskListRequest { /** - * 英文翻译 + * 过滤内容 */ - Value?: string + Filter?: Filter +} + +/** + * StopRiskCenterTask返回参数结构体 + */ +export interface StopRiskCenterTaskResponse { /** - * 中文翻译 + * Status为0, 停止成功 */ - Text?: string + Status?: number + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string } /** - * CreateRiskCenterScanTask请求参数结构体 + * 服务风险 */ -export interface CreateRiskCenterScanTaskRequest { +export interface ServerRisk { /** - * 任务名称 + * 测绘标签 */ - TaskName: string + ServiceTag?: string /** - * 0-全扫,1-指定资产扫,2-排除资产扫,3-手动填写扫;1和2则Assets字段必填,3则SelfDefiningAssets必填 + * 端口 +注意:此字段可能返回 null,表示取不到有效值。 */ - ScanAssetType: number + Port?: number /** - * 扫描项目;port/poc/weakpass/webcontent/configrisk/exposedserver + * 影响资产 */ - ScanItem: Array + AffectAsset?: string /** - * 0-周期任务,1-立即扫描,2-定时扫描,3-自定义;0,2,3则ScanPlanContent必填 + * 实例id */ - ScanPlanType: number + InstanceId?: string /** - * 扫描资产信息列表 + * 实例名 */ - Assets?: Array + InstanceName?: string /** - * 扫描计划详情 + * 资产类型 */ - ScanPlanContent?: string + InstanceType?: string /** - * ip/域名/url数组 + * 风险等级 */ - SelfDefiningAssets?: Array + Level?: string /** - * 高级配置 + * 协议 */ - TaskAdvanceCFG?: TaskAdvanceCFG + Protocol?: string /** - * 体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式 + * 组件 */ - TaskMode?: number -} - -/** - * 任务高级配置 - */ -export interface TaskAdvanceCFG { + Component?: string /** - * 漏洞风险高级配置 + * 服务 */ - VulRisk?: Array + Service?: string /** - * 弱口令风险高级配置 + * 最近识别时间 */ - WeakPwdRisk?: Array + RecentTime?: string /** - * 配置风险高级配置 + * 首次识别时间 */ - CFGRisk?: Array -} - -/** - * 主机资产信息 - */ -export interface CVMAssetVO { + FirstTime?: string /** - * 资产id + * 风险详情 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetId?: string + RiskDetails?: string /** - * 资产名 -注意:此字段可能返回 null,表示取不到有效值。 + * 处置建议 */ - AssetName?: string + Suggestion?: string /** - * 资产类型 -注意:此字段可能返回 null,表示取不到有效值。 + * 状态,0未处理、1已处置、2已忽略 */ - AssetType?: string + Status?: number /** - * 地域 -注意:此字段可能返回 null,表示取不到有效值。 + * 资产唯一id */ - Region?: string + Id?: string /** - * 防护状态 -注意:此字段可能返回 null,表示取不到有效值。 + * 用户appid */ - CWPStatus?: number + AppId?: string /** - * 资产创建时间 + * 用户昵称 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetCreateTime?: string + Nick?: string /** - * 公网ip + * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ - PublicIp?: string + Uin?: string /** - * 私网ip + * 服务快照 注意:此字段可能返回 null,表示取不到有效值。 */ - PrivateIp?: string + ServiceSnapshot?: string /** - * vpc id + * 服务访问的url 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcId?: string + Url?: string /** - * vpc 名 + * 列表索引值 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcName?: string + Index?: string /** - * appid信息 + * 风险列表 注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: number + RiskList?: Array /** - * 用户uin + * 建议列表 注意:此字段可能返回 null,表示取不到有效值。 */ - Uin?: string + SuggestionList?: Array /** - * 昵称 + * HTTP响应状态码 注意:此字段可能返回 null,表示取不到有效值。 */ - NickName?: string + StatusCode?: string +} + +/** + * 任务资产项 + */ +export interface TaskAssetObject { /** - * 可用区 + * 资产名 注意:此字段可能返回 null,表示取不到有效值。 */ - AvailableArea?: string + AssetName?: string /** - * 是否核心 + * 资产类型 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCore?: number + InstanceType?: string /** - * 子网id + * 资产分类 注意:此字段可能返回 null,表示取不到有效值。 */ - SubnetId?: string + AssetType?: string /** - * 子网名 + * ip/域名/资产id,数据库id等 + */ + Asset?: string + /** + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - SubnetName?: string + Region?: string +} + +/** + * ip列表 + */ +export interface IpAssetListVO { /** - * uuid + * 资产id 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceUuid?: string + AssetId?: string /** - * qquid + * 资产name 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceQUuid?: string + AssetName?: string /** - * os名 + * 资产类型 注意:此字段可能返回 null,表示取不到有效值。 */ - OsName?: string + AssetType?: string /** - * 分区 + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - PartitionCount?: number + Region?: string /** - * cpu信息 + * 云防状态 注意:此字段可能返回 null,表示取不到有效值。 */ - CPUInfo?: string + CFWStatus?: number /** - * cpu大小 + * 资产创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ - CPUSize?: number + AssetCreateTime?: string /** - * cpu负载 + * 公网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - CPULoad?: string + PublicIp?: string /** - * 内存大小 + * 公网ip类型 注意:此字段可能返回 null,表示取不到有效值。 */ - MemorySize?: string + PublicIpType?: number /** - * 内存负载 + * vpc 注意:此字段可能返回 null,表示取不到有效值。 */ - MemoryLoad?: string + VpcId?: string /** - * 硬盘大小 + * vpc名 注意:此字段可能返回 null,表示取不到有效值。 */ - DiskSize?: string + VpcName?: string /** - * 硬盘负载 + * appid 注意:此字段可能返回 null,表示取不到有效值。 */ - DiskLoad?: string + AppId?: number /** - * 账号数 + * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ - AccountCount?: string + Uin?: string /** - * 进程数 + * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ - ProcessCount?: string + NickName?: string /** - * 软件应用 + * 核心 注意:此字段可能返回 null,表示取不到有效值。 */ - AppCount?: string + IsCore?: number /** - * 监听端口 + * 云上 注意:此字段可能返回 null,表示取不到有效值。 */ - PortCount?: number + IsCloud?: number /** * 网络攻击 注意:此字段可能返回 null,表示取不到有效值。 @@ -1034,22 +1553,22 @@ export interface CVMAssetVO { */ Intercept?: number /** - * 入向峰值带宽 + * 入向带宽 注意:此字段可能返回 null,表示取不到有效值。 */ InBandwidth?: string /** - * 出向峰值带宽 + * 出向带宽 注意:此字段可能返回 null,表示取不到有效值。 */ OutBandwidth?: string /** - * 入向累计流量 + * 入向流量 注意:此字段可能返回 null,表示取不到有效值。 */ InFlow?: string /** - * 出向累计流量 + * 出向流量 注意:此字段可能返回 null,表示取不到有效值。 */ OutFlow?: string @@ -1058,11 +1577,6 @@ export interface CVMAssetVO { 注意:此字段可能返回 null,表示取不到有效值。 */ LastScanTime?: string - /** - * 恶意主动外联 -注意:此字段可能返回 null,表示取不到有效值。 - */ - NetWorkOut?: number /** * 端口风险 注意:此字段可能返回 null,表示取不到有效值。 @@ -1079,622 +1593,631 @@ export interface CVMAssetVO { */ ConfigurationRisk?: number /** - * 扫描任务数 + * 扫描任务 注意:此字段可能返回 null,表示取不到有效值。 */ ScanTask?: number + /** + * 弱口令 +注意:此字段可能返回 null,表示取不到有效值。 + */ + WeakPassword?: number + /** + * 内容风险 +注意:此字段可能返回 null,表示取不到有效值。 + */ + WebContentRisk?: number /** * 标签 注意:此字段可能返回 null,表示取不到有效值。 */ Tag?: Array /** - * memberId + * eip主键 注意:此字段可能返回 null,表示取不到有效值。 */ - MemberId?: string + AddressId?: string /** - * os全称 + * memberid信息 注意:此字段可能返回 null,表示取不到有效值。 */ - Os?: string + MemberId?: string /** * 风险服务暴露 注意:此字段可能返回 null,表示取不到有效值。 */ RiskExposure?: number /** - * 模拟攻击工具状态。0代表未安装,1代表已安装,2代表已离线 + * 是否新资产 1新 注意:此字段可能返回 null,表示取不到有效值。 */ - BASAgentStatus?: number + IsNewAsset?: number /** - * 1新资产;0 非新资产 + * 资产认证状态,0-待认证,1-认证成功,2-认证中,3+-认证失败 注意:此字段可能返回 null,表示取不到有效值。 */ - IsNewAsset?: number + VerifyStatus?: number } /** - * DescribeTaskLogList返回参数结构体 + * DescribeVpcAssets请求参数结构体 */ -export interface DescribeTaskLogListResponse { - /** - * 总条数 -注意:此字段可能返回 null,表示取不到有效值。 - */ - TotalCount?: number - /** - * 报告列表 -注意:此字段可能返回 null,表示取不到有效值。 - */ - Data?: Array - /** - * 待查看数量 -注意:此字段可能返回 null,表示取不到有效值。 - */ - NotViewNumber?: number +export interface DescribeVpcAssetsRequest { /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 过滤参数 */ - RequestId?: string + Filter?: Filter } /** - * DescribeScanReportList返回参数结构体 + * DescribeRiskCenterAssetViewWeakPasswordRiskList请求参数结构体 */ -export interface DescribeScanReportListResponse { - /** - * 总条数 -注意:此字段可能返回 null,表示取不到有效值。 - */ - TotalCount?: number - /** - * 任务日志列表 -注意:此字段可能返回 null,表示取不到有效值。 - */ - Data?: Array - /** - * 主账户ID列表 - */ - UINList?: Array +export interface DescribeRiskCenterAssetViewWeakPasswordRiskListRequest { /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 过滤内容 */ - RequestId?: string + Filter?: Filter } /** - * DescribeSearchBugInfo请求参数结构体 + * 公网IP和域名资产列表key */ -export interface DescribeSearchBugInfoRequest { - /** - * 无 - */ - Id: string +export interface PublicIpDomainListKey { /** - * id=3时传入该参数 + * 资产值 */ - CVEId?: string + Asset: string } /** - * 漏洞详细信息 + * DescribeCVMAssets返回参数结构体 */ -export interface BugInfoDetail { +export interface DescribeCVMAssetsResponse { /** - * 漏洞编号 + * - 注意:此字段可能返回 null,表示取不到有效值。 */ - Id?: number + Total?: number /** - * 漏洞对应pocId + * - 注意:此字段可能返回 null,表示取不到有效值。 */ - PatchId?: string + Data?: Array /** - * 漏洞名称 + * 地域列表 注意:此字段可能返回 null,表示取不到有效值。 */ - VULName?: string + RegionList?: Array /** - * 漏洞严重性:high,middle,low,info + * 防护状态 注意:此字段可能返回 null,表示取不到有效值。 */ - Level?: string + DefenseStatusList?: Array /** - * cvss评分 + * vpc枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - CVSSScore?: string + VpcList?: Array /** - * cve编号 + * 资产类型枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - CVEId?: string + AssetTypeList?: Array /** - * 漏洞标签 + * 操作系统枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: string + SystemTypeList?: Array /** - * 漏洞种类,1:web应用,2:系统组件漏洞,3:配置风险 + * ip列表 注意:此字段可能返回 null,表示取不到有效值。 */ - VULCategory?: number + IpTypeList?: Array /** - * 漏洞影响系统 + * appid列表 注意:此字段可能返回 null,表示取不到有效值。 */ - ImpactOs?: string + AppIdList?: Array /** - * 漏洞影响组件 + * 可用区列表 注意:此字段可能返回 null,表示取不到有效值。 */ - ImpactCOMPENT?: string + ZoneList?: Array /** - * 漏洞影响版本 + * os列表 注意:此字段可能返回 null,表示取不到有效值。 */ - ImpactVersion?: string + OsList?: Array /** - * 链接 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string +} + +/** + * db资产详情 + */ +export interface DbAssetInfo { + /** + * 云防状态 注意:此字段可能返回 null,表示取不到有效值。 */ - Reference?: string + CFWStatus?: number /** - * 漏洞描述 + * 资产id 注意:此字段可能返回 null,表示取不到有效值。 */ - VULDescribe?: string + AssetId?: string /** - * 修复建议 + * vpc信息 注意:此字段可能返回 null,表示取不到有效值。 */ - Fix?: string + VpcName?: string /** - * 产品支持状态,实时返回 + * 资产类型 注意:此字段可能返回 null,表示取不到有效值。 */ - ProSupport?: number + AssetType?: string /** - * 是否公开,0为未发布,1为发布 + * 公网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - IsPublish?: number + PublicIp?: string /** - * 释放时间 + * 私网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - ReleaseTime?: string + PrivateIp?: string /** - * 创建时间 + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - CreateTime?: string + Region?: string /** - * 更新时间 + * vpc信息 注意:此字段可能返回 null,表示取不到有效值。 */ - UpdateTime?: string + VpcId?: string /** - * 漏洞子类别 + * 资产名 注意:此字段可能返回 null,表示取不到有效值。 */ - SubCategory?: string -} - -/** - * DescribeClusterPodAssets请求参数结构体 - */ -export interface DescribeClusterPodAssetsRequest { + AssetName?: string /** - * 过滤 + * 云防保护版本 +注意:此字段可能返回 null,表示取不到有效值。 */ - Filter?: Filter + CFWProtectLevel?: number + /** + * tag信息 +注意:此字段可能返回 null,表示取不到有效值。 + */ + Tag?: Array } /** - * DescribeSubnetAssets请求参数结构体 + * DescribePublicIpAssets请求参数结构体 */ -export interface DescribeSubnetAssetsRequest { +export interface DescribePublicIpAssetsRequest { /** - * 过滤参数 + * filte过滤条件 */ Filter?: Filter } /** - * AddNewBindRoleUser请求参数结构体 - */ -export type AddNewBindRoleUserRequest = null - -/** - * DescribeCVMAssetInfo返回参数结构体 + * 集群pod列表 */ -export interface DescribeCVMAssetInfoResponse { +export interface AssetClusterPod { /** - * - + * 租户id + */ + AppId?: number + /** + * 租户uin + */ + Uin?: string + /** + * 租户昵称 + */ + Nick?: string + /** + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: AssetBaseInfoResponse + Region?: string /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * pod id */ - RequestId?: string -} - -/** - * DescribePublicIpAssets返回参数结构体 - */ -export interface DescribePublicIpAssetsResponse { + AssetId?: string /** - * 列表 + * pod名称 + */ + AssetName?: string + /** + * pod创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: Array + InstanceCreateTime?: string /** - * 总数 + * 命名空间 +注意:此字段可能返回 null,表示取不到有效值。 */ - Total?: number + Namespace?: string /** - * 资产归属地 + * 状态 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetLocationList?: Array + Status?: string /** - * ip列表枚举 + * 集群id 注意:此字段可能返回 null,表示取不到有效值。 */ - IpTypeList?: Array + ClusterId?: string /** - * 地域列表枚举 + * 集群名称 注意:此字段可能返回 null,表示取不到有效值。 */ - RegionList?: Array + ClusterName?: string /** - * 防护枚举 + * 主机id 注意:此字段可能返回 null,表示取不到有效值。 */ - DefenseStatusList?: Array + MachineId?: string /** - * 资产类型枚举 + * 主机名 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetTypeList?: Array + MachineName?: string /** - * AppId枚举 + * pod ip 注意:此字段可能返回 null,表示取不到有效值。 */ - AppIdList?: Array + PodIp?: string /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 关联service数 +注意:此字段可能返回 null,表示取不到有效值。 */ - RequestId?: string -} - -/** - * DescribeTaskLogList请求参数结构体 - */ -export interface DescribeTaskLogListRequest { + ServiceCount?: number /** - * 过滤内容 + * 关联容器数 +注意:此字段可能返回 null,表示取不到有效值。 */ - Filter?: Filter + ContainerCount?: number + /** + * 公网ip +注意:此字段可能返回 null,表示取不到有效值。 + */ + PublicIp?: string + /** + * 内网ip +注意:此字段可能返回 null,表示取不到有效值。 + */ + PrivateIp?: string + /** + * 是否核心:1:核心,2:非核心 +注意:此字段可能返回 null,表示取不到有效值。 + */ + IsCore?: number + /** + * 是否新资产 1新 +注意:此字段可能返回 null,表示取不到有效值。 + */ + IsNewAsset?: number } /** - * DescribeDbAssets请求参数结构体 + * DescribeCVMAssetInfo请求参数结构体 */ -export interface DescribeDbAssetsRequest { +export interface DescribeCVMAssetInfoRequest { /** * - */ - Filter?: Filter + AssetId: string } /** - * DescribeRiskCenterAssetViewVULRiskList返回参数结构体 + * 资产视角的弱口令风险 */ -export interface DescribeRiskCenterAssetViewVULRiskListResponse { +export interface AssetViewWeakPassRisk { /** - * 总条数 + * 影响资产 */ - TotalCount?: number + AffectAsset?: string /** - * 资产视角的漏洞风险列表 + * 风险等级 */ - Data?: Array + Level?: string + /** + * 资产类型 + */ + InstanceType?: string + /** + * 组件 + */ + Component?: string + /** + * 服务 + */ + Service?: string + /** + * 最近识别时间 + */ + RecentTime?: string /** - * 状态列表 + * 首次识别时间 */ - StatusLists?: Array + FirstTime?: string /** - * 危险等级列表 + * 状态,0未处理、1已处置、2已忽略 */ - LevelLists?: Array + Status?: number /** - * 来源列表 + * 资产唯一id */ - FromLists?: Array + Id?: string /** - * 漏洞类型列表 + * 前端索引 */ - VULTypeLists?: Array + Index?: string /** - * 资产类型列表 + * 实例id */ - InstanceTypeLists?: Array + InstanceId?: string /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 实例名 */ - RequestId?: string -} - -/** - * DescribeCVMAssets请求参数结构体 - */ -export interface DescribeCVMAssetsRequest { + InstanceName?: string /** - * - + * 用户appid */ - Filter?: Filter -} - -/** - * DescribeListenerList返回参数结构体 - */ -export interface DescribeListenerListResponse { + AppId?: string /** - * 总数 + * 用户昵称 注意:此字段可能返回 null,表示取不到有效值。 */ - Total?: number + Nick?: string /** - * 监听器列表 + * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: Array + Uin?: string /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 弱口令类型 */ - RequestId?: string -} - -/** - * DescribeTaskLogURL返回参数结构体 - */ -export interface DescribeTaskLogURLResponse { + PasswordType?: string /** - * 返回报告临时下载url + * 来源 */ - Data?: Array + From?: string /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 漏洞类型 */ - RequestId?: string -} - -/** - * db资产输出字段 - */ -export interface DBAssetVO { + VULType?: string /** - * 资产id -注意:此字段可能返回 null,表示取不到有效值。 + * 漏洞url */ - AssetId?: string + VULURL?: string /** - * 资产名 -注意:此字段可能返回 null,表示取不到有效值。 + * 修复建议 */ - AssetName?: string + Fix?: string /** - * 资产类型 -注意:此字段可能返回 null,表示取不到有效值。 + * 负载 */ - AssetType?: string + Payload?: string +} + +/** + * 网站风险对象 + */ +export interface WebsiteRisk { /** - * vpcid -注意:此字段可能返回 null,表示取不到有效值。 + * 影响资产 */ - VpcId?: string + AffectAsset?: string /** - * vpc标签 -注意:此字段可能返回 null,表示取不到有效值。 + * 风险等级 */ - VpcName?: string + Level?: string /** - * 地域 -注意:此字段可能返回 null,表示取不到有效值。 + * 最近识别时间 */ - Region?: string + RecentTime?: string /** - * 域名 -注意:此字段可能返回 null,表示取不到有效值。 + * 首次识别时间 */ - Domain?: string + FirstTime?: string /** - * 资产创建时间 -注意:此字段可能返回 null,表示取不到有效值。 + * 状态,0未处理、1已处置、2已忽略 */ - AssetCreateTime?: string + Status?: number /** - * 最近扫描时间 -注意:此字段可能返回 null,表示取不到有效值。 + * 资产唯一id */ - LastScanTime?: string + Id?: string /** - * 配置风险 -注意:此字段可能返回 null,表示取不到有效值。 + * 前端索引 */ - ConfigurationRisk?: number + Index?: string /** - * 网络攻击 -注意:此字段可能返回 null,表示取不到有效值。 + * 实例id */ - Attack?: number + InstanceId?: string /** - * 网络访问 -注意:此字段可能返回 null,表示取不到有效值。 + * 实例名 */ - Access?: number + InstanceName?: string /** - * 扫描任务 -注意:此字段可能返回 null,表示取不到有效值。 + * 用户appid */ - ScanTask?: number + AppId?: string /** - * 用户appid + * 用户昵称 注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: number + Nick?: string /** * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ Uin?: string /** - * 昵称别名 -注意:此字段可能返回 null,表示取不到有效值。 - */ - NickName?: string - /** - * 端口 -注意:此字段可能返回 null,表示取不到有效值。 + * 风险链接 */ - Port?: number + URL?: string /** - * 标签 -注意:此字段可能返回 null,表示取不到有效值。 + * 风险文件地址 */ - Tag?: Array + URLPath?: string /** - * 内网ip -注意:此字段可能返回 null,表示取不到有效值。 + * 实例类型 */ - PrivateIp?: string + InstanceType?: string /** - * 公网ip -注意:此字段可能返回 null,表示取不到有效值。 + * 类型 */ - PublicIp?: string + DetectEngine?: string /** - * 状态 -注意:此字段可能返回 null,表示取不到有效值。 + * 结果描述 */ - Status?: number + ResultDescribe?: string /** - * 是否核心 -注意:此字段可能返回 null,表示取不到有效值。 + * 源地址url */ - IsCore?: number + SourceURL?: string /** - * 是否新资产: 1新 -注意:此字段可能返回 null,表示取不到有效值。 + * 源文件地址 */ - IsNewAsset?: number + SourceURLPath?: string } /** - * 漏洞和资产信息 + * CreateRiskCenterScanTask请求参数结构体 */ -export interface DataSearchBug { +export interface CreateRiskCenterScanTaskRequest { /** - * 返回查询状态 + * 任务名称 */ - StateCode?: string + TaskName: string /** - * 无 -注意:此字段可能返回 null,表示取不到有效值。 + * 0-全扫,1-指定资产扫,2-排除资产扫,3-手动填写扫;1和2则Assets字段必填,3则SelfDefiningAssets必填 */ - DataBug?: Array + ScanAssetType: number /** - * 无 -注意:此字段可能返回 null,表示取不到有效值。 + * 扫描项目;port/poc/weakpass/webcontent/configrisk/exposedserver */ - DataAsset?: Array + ScanItem: Array /** - * true支持扫描。false不支持扫描 -注意:此字段可能返回 null,表示取不到有效值。 + * 0-周期任务,1-立即扫描,2-定时扫描,3-自定义;0,2,3则ScanPlanContent必填 */ - VSSScan?: boolean + ScanPlanType: number /** - * 0不支持,1支持 -注意:此字段可能返回 null,表示取不到有效值。 + * 扫描资产信息列表 */ - CWPScan?: string + Assets?: Array /** - * 1支持虚拟补丁,0或空不支持 -注意:此字段可能返回 null,表示取不到有效值。 + * 扫描计划详情 */ - CFWPatch?: string + ScanPlanContent?: string /** - * 0不支持,1支持 -注意:此字段可能返回 null,表示取不到有效值。 + * ip/域名/url数组 */ - WafPatch?: number + SelfDefiningAssets?: Array /** - * 0不支持,1支持 -注意:此字段可能返回 null,表示取不到有效值。 + * 高级配置 */ - CWPFix?: number + TaskAdvanceCFG?: TaskAdvanceCFG + /** + * 体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式 + */ + TaskMode?: number } /** - * 资产扫描结构细节 + * DescribeRiskCenterAssetViewCFGRiskList返回参数结构体 */ -export interface AssetInfoDetail { +export interface DescribeRiskCenterAssetViewCFGRiskListResponse { /** - * 用户appid -注意:此字段可能返回 null,表示取不到有效值。 + * 总条数 */ - AppID?: string + TotalCount?: number /** - * CVE编号 -注意:此字段可能返回 null,表示取不到有效值。 + * 资产视角的配置风险列表 */ - CVEId?: string + Data?: Array /** - * 是扫描,0默认未扫描,1正在扫描,2扫描完成,3扫描出错 -注意:此字段可能返回 null,表示取不到有效值。 + * 状态列表 */ - IsScan?: number + StatusLists?: Array + /** + * 危险等级列表 + */ + LevelLists?: Array + /** + * 配置名列表 + */ + CFGNameLists?: Array + /** + * 检查类型列表 + */ + CheckTypeLists?: Array + /** + * 资产类型列表 + */ + InstanceTypeLists?: Array + /** + * 来源列表 + */ + FromLists?: Array + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string +} + +/** + * 漏洞风险高级配置 + */ +export interface TaskCenterVulRiskInputParam { /** - * 影响资产数目 -注意:此字段可能返回 null,表示取不到有效值。 + * 风险ID */ - InfluenceAsset?: number + RiskId: string /** - * 未修复资产数目 -注意:此字段可能返回 null,表示取不到有效值。 + * 是否开启,0-不开启,1-开启 */ - NotRepairAsset?: number + Enable: number +} + +/** + * DescribeScanTaskList返回参数结构体 + */ +export interface DescribeScanTaskListResponse { /** - * 未防护资产数目 + * 总条数 注意:此字段可能返回 null,表示取不到有效值。 */ - NotProtectAsset?: number + TotalCount?: number /** - * 任务ID + * 任务日志列表 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskId?: string + Data?: Array /** - * 任务百分比 + * 主账户ID列表 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskPercent?: number + UINList?: Array /** - * 任务时间 + * 体检模式过滤列表 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskTime?: number + TaskModeList?: Array /** - * 扫描时间 -注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - ScanTime?: string + RequestId?: string } /** @@ -1764,106 +2287,87 @@ export interface ScanTaskInfo { } /** - * 子网资产 + * DescribeClusterPodAssets请求参数结构体 */ -export interface SubnetAsset { - /** - * appid - */ - AppId?: string - /** - * uin - */ - Uin?: string - /** - * 资产ID - */ - AssetId?: string - /** - * 资产名 - */ - AssetName?: string - /** - * 区域 - */ - Region?: string - /** - * 私有网络id - */ - VpcId?: string +export interface DescribeClusterPodAssetsRequest { /** - * 私有网络名 + * 过滤 */ - VpcName?: string + Filter?: Filter +} + +/** + * DescribeCVMAssetInfo返回参数结构体 + */ +export interface DescribeCVMAssetInfoResponse { /** - * 标签 + * - 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: Array - /** - * 昵称 - */ - Nick?: string + Data?: AssetBaseInfoResponse /** - * cidr + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - CIDR?: string + RequestId?: string +} + +/** + * DescribePublicIpAssets返回参数结构体 + */ +export interface DescribePublicIpAssetsResponse { /** - * 可用区 + * 列表 +注意:此字段可能返回 null,表示取不到有效值。 */ - Zone?: string + Data?: Array /** - * cvm数 + * 总数 */ - CVM?: number + Total?: number /** - * 可用ip数 + * 资产归属地 +注意:此字段可能返回 null,表示取不到有效值。 */ - AvailableIp?: number + AssetLocationList?: Array /** - * 创建时间 + * ip列表枚举 +注意:此字段可能返回 null,表示取不到有效值。 */ - CreateTime?: string + IpTypeList?: Array /** - * 配置风险 + * 地域列表枚举 +注意:此字段可能返回 null,表示取不到有效值。 */ - ConfigureRisk?: number + RegionList?: Array /** - * 任务数 + * 防护枚举 +注意:此字段可能返回 null,表示取不到有效值。 */ - ScanTask?: number + DefenseStatusList?: Array /** - * 最后扫描时间 + * 资产类型枚举 +注意:此字段可能返回 null,表示取不到有效值。 */ - LastScanTime?: string + AssetTypeList?: Array /** - * 是否核心 + * AppId枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCore?: number + AppIdList?: Array /** - * 是否新资产 1新 -注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - IsNewAsset?: number + RequestId?: string } /** - * CreateRiskCenterScanTask返回参数结构体 + * DescribeTaskLogURL返回参数结构体 */ -export interface CreateRiskCenterScanTaskResponse { - /** - * 任务id - */ - TaskId?: string - /** - * 0,任务创建成功;小于0失败;-1为存在资产未认证 - */ - Status?: number +export interface DescribeTaskLogURLResponse { /** - * 未认证资产列表 + * 返回报告临时下载url */ - UnAuthAsset?: Array + Data?: Array /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ @@ -1871,1101 +2375,1198 @@ export interface CreateRiskCenterScanTaskResponse { } /** - * DescribeRiskCenterAssetViewPortRiskList返回参数结构体 + * DescribeDbAssetInfo请求参数结构体 */ -export interface DescribeRiskCenterAssetViewPortRiskListResponse { +export interface DescribeDbAssetInfoRequest { /** - * 总条数 + * 资产id */ - TotalCount?: number + AssetId: string +} + +/** + * 列表查询接口采用新filter 接口,直接传给后台供后台查询过滤 + */ +export interface Filter { /** - * 资产视角的配置风险列表 + * 查询数量限制 */ - Data?: Array + Limit?: number /** - * 状态列表 + * 查询偏移位置 */ - StatusLists?: Array + Offset?: number /** - * 危险等级列表 + * 排序采用升序还是降序 升:asc 降 desc */ - LevelLists?: Array + Order?: string /** - * 建议列表 + * 需排序的字段 */ - SuggestionLists?: Array + By?: string /** - * 资产类型列表 + * 过滤的列及内容 */ - InstanceTypeLists?: Array + Filters?: Array /** - * 来源列表 + * 可填无, 日志使用查询时间 */ - FromLists?: Array + StartTime?: string /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 可填无, 日志使用查询时间 */ - RequestId?: string + EndTime?: string } /** - * DescribeSubnetAssets返回参数结构体 + * DescribeRiskCenterWebsiteRiskList请求参数结构体 */ -export interface DescribeSubnetAssetsResponse { +export interface DescribeRiskCenterWebsiteRiskListRequest { /** - * 列表 + * 过滤内容 */ - Data?: Array + Filter?: Filter +} + +/** + * 风险详情 + */ +export interface ServerRiskSuggestion { /** - * 总数 + * 标题 +注意:此字段可能返回 null,表示取不到有效值。 */ - TotalCount?: number + Title?: string /** - * 地域列表 + * 详情 +注意:此字段可能返回 null,表示取不到有效值。 */ - RegionList?: Array + Body?: string +} + +/** + * DescribeSubnetAssets请求参数结构体 + */ +export interface DescribeSubnetAssetsRequest { /** - * vpc列表 + * 过滤参数 */ - VpcList?: Array + Filter?: Filter +} + +/** + * DescribeClusterPodAssets返回参数结构体 + */ +export interface DescribeClusterPodAssetsResponse { /** - * appid列表 + * 列表 */ - AppIdList?: Array + Data?: Array /** - * 可用区列表 + * 总数 */ - ZoneList?: Array + TotalCount?: number /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 集群pod状态枚举 */ - RequestId?: string -} - -/** - * DescribeDbAssetInfo请求参数结构体 - */ -export interface DescribeDbAssetInfoRequest { + PodStatusList?: Array + /** + * 命名空间枚举 + */ + NamespaceList?: Array + /** + * 地域枚举 + */ + RegionList?: Array /** - * 资产id + * 租户枚举 */ - AssetId: string -} - -/** - * DescribeRiskCenterAssetViewPortRiskList请求参数结构体 - */ -export interface DescribeRiskCenterAssetViewPortRiskListRequest { + AppIdList?: Array /** - * 过滤内容 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - Filter?: Filter + RequestId?: string } /** - * clb实例和监听器信息 + * 主机资产详情 */ -export interface ClbListenerListInfo { +export interface AssetBaseInfoResponse { /** - * 监听器id + * vpc-id 注意:此字段可能返回 null,表示取不到有效值。 */ - ListenerId?: string + VpcId?: string /** - * 监听器名称 + * vpc-name 注意:此字段可能返回 null,表示取不到有效值。 */ - ListenerName?: string + VpcName?: string /** - * 负载均衡Id + * 资产名 注意:此字段可能返回 null,表示取不到有效值。 */ - LoadBalancerId?: string + AssetName?: string /** - * 负载均衡名称 + * 操作系统 注意:此字段可能返回 null,表示取不到有效值。 */ - LoadBalancerName?: string + Os?: string /** - * 协议 + * 公网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - Protocol?: string + PublicIp?: string + /** + * 内网ip +注意:此字段可能返回 null,表示取不到有效值。 + */ + PrivateIp?: string /** * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ Region?: string /** - * 负载均衡ip + * 资产类型 注意:此字段可能返回 null,表示取不到有效值。 */ - Vip?: string + AssetType?: string /** - * 端口 + * 资产id 注意:此字段可能返回 null,表示取不到有效值。 */ - VPort?: number + AssetId?: string /** - * 区域 + * 账号数量 注意:此字段可能返回 null,表示取不到有效值。 */ - Zone?: string + AccountNum?: number /** - * 私有网络id + * 端口数量 注意:此字段可能返回 null,表示取不到有效值。 */ - NumericalVpcId?: number + PortNum?: number /** - * 负载均衡类型 + * 进程数量 注意:此字段可能返回 null,表示取不到有效值。 */ - LoadBalancerType?: string + ProcessNum?: number /** - * 监听器域名 + * 软件应用数量 注意:此字段可能返回 null,表示取不到有效值。 */ - Domain?: string + SoftApplicationNum?: number /** - * 负载均衡域名 + * 数据库数量 注意:此字段可能返回 null,表示取不到有效值。 */ - LoadBalancerDomain?: string -} - -/** - * DescribeCVMAssets返回参数结构体 - */ -export interface DescribeCVMAssetsResponse { + DatabaseNum?: number /** - * - + * Web应用数量 注意:此字段可能返回 null,表示取不到有效值。 */ - Total?: number + WebApplicationNum?: number /** - * - + * 服务数量 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: Array + ServiceNum?: number /** - * 地域列表 + * web框架数量 注意:此字段可能返回 null,表示取不到有效值。 */ - RegionList?: Array + WebFrameworkNum?: number /** - * 防护状态 + * Web站点数量 注意:此字段可能返回 null,表示取不到有效值。 */ - DefenseStatusList?: Array + WebSiteNum?: number /** - * vpc枚举 + * Jar包数量 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcList?: Array + JarPackageNum?: number /** - * 资产类型枚举 + * 启动服务数量 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetTypeList?: Array + StartServiceNum?: number /** - * 操作系统枚举 + * 计划任务数量 注意:此字段可能返回 null,表示取不到有效值。 */ - SystemTypeList?: Array + ScheduledTaskNum?: number /** - * ip列表 + * 环境变量数量 注意:此字段可能返回 null,表示取不到有效值。 */ - IpTypeList?: Array + EnvironmentVariableNum?: number /** - * appid列表 + * 内核模块数量 注意:此字段可能返回 null,表示取不到有效值。 */ - AppIdList?: Array + KernelModuleNum?: number /** - * 可用区列表 + * 系统安装包数量 注意:此字段可能返回 null,表示取不到有效值。 */ - ZoneList?: Array + SystemInstallationPackageNum?: number /** - * os列表 + * 剩余防护时长 注意:此字段可能返回 null,表示取不到有效值。 */ - OsList?: Array + SurplusProtectDay?: number /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 客户端是否安装 1 已安装 0 未安装 +注意:此字段可能返回 null,表示取不到有效值。 */ - RequestId?: string -} - -/** - * DescribeVpcAssets请求参数结构体 - */ -export interface DescribeVpcAssetsRequest { + CWPStatus?: number /** - * 过滤参数 + * 标签 +注意:此字段可能返回 null,表示取不到有效值。 */ - Filter?: Filter + Tag?: Array + /** + * 防护等级 +注意:此字段可能返回 null,表示取不到有效值。 + */ + ProtectLevel?: string + /** + * 防护时长 +注意:此字段可能返回 null,表示取不到有效值。 + */ + ProtectedDay?: number } /** - * 任务资产项 + * 资产视角的端口风险对象 */ -export interface TaskAssetObject { +export interface AssetViewPortRisk { /** - * 资产名 -注意:此字段可能返回 null,表示取不到有效值。 + * 端口 */ - AssetName?: string + Port?: number /** - * 资产类型 -注意:此字段可能返回 null,表示取不到有效值。 + * 影响资产 + */ + AffectAsset?: string + /** + * 风险等级 + */ + Level?: string + /** + * 资产类型 */ InstanceType?: string /** - * 资产分类 -注意:此字段可能返回 null,表示取不到有效值。 + * 协议 */ - AssetType?: string + Protocol?: string /** - * ip/域名/资产id,数据库id等 + * 组件 */ - Asset?: string + Component?: string /** - * 地域 -注意:此字段可能返回 null,表示取不到有效值。 + * 服务 */ - Region?: string -} - -/** - * 列表查询接口采用新filter 接口,直接传给后台供后台查询过滤 - */ -export interface Filter { + Service?: string /** - * 查询数量限制 + * 最近识别时间 */ - Limit?: number + RecentTime?: string /** - * 查询偏移位置 + * 首次识别时间 */ - Offset?: number + FirstTime?: string /** - * 排序采用升序还是降序 升:asc 降 desc + * 处置建议,0保持现状、1限制访问、2封禁端口 */ - Order?: string + Suggestion?: number /** - * 需排序的字段 + * 状态,0未处理、1已处置、2已忽略 */ - By?: string + Status?: number /** - * 过滤的列及内容 + * 资产唯一id */ - Filters?: Array + Id?: string /** - * 可填无, 日志使用查询时间 + * 前端索引 */ - StartTime?: string + Index?: string /** - * 可填无, 日志使用查询时间 + * 实例id */ - EndTime?: string -} - -/** - * db资产详情 - */ -export interface DbAssetInfo { + InstanceId?: string /** - * 云防状态 -注意:此字段可能返回 null,表示取不到有效值。 + * 实例名 */ - CFWStatus?: number + InstanceName?: string /** - * 资产id -注意:此字段可能返回 null,表示取不到有效值。 + * 用户appid */ - AssetId?: string + AppId?: string /** - * vpc信息 + * 用户昵称 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcName?: string + Nick?: string /** - * 资产类型 + * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetType?: string + Uin?: string /** - * 公网ip -注意:此字段可能返回 null,表示取不到有效值。 + * 来源 */ - PublicIp?: string + From?: string +} + +/** + * DescribeRiskCenterAssetViewCFGRiskList请求参数结构体 + */ +export interface DescribeRiskCenterAssetViewCFGRiskListRequest { /** - * 私网ip -注意:此字段可能返回 null,表示取不到有效值。 + * 过滤内容 */ - PrivateIp?: string + Filter?: Filter +} + +/** + * 任务高级配置 + */ +export interface TaskAdvanceCFG { /** - * 地域 -注意:此字段可能返回 null,表示取不到有效值。 + * 漏洞风险高级配置 */ - Region?: string + VulRisk?: Array /** - * vpc信息 -注意:此字段可能返回 null,表示取不到有效值。 + * 弱口令风险高级配置 */ - VpcId?: string + WeakPwdRisk?: Array /** - * 资产名 -注意:此字段可能返回 null,表示取不到有效值。 + * 配置风险高级配置 */ - AssetName?: string + CFGRisk?: Array +} + +/** + * AddNewBindRoleUser返回参数结构体 + */ +export interface AddNewBindRoleUserResponse { /** - * 云防保护版本 -注意:此字段可能返回 null,表示取不到有效值。 + * 0成功,其他失败 */ - CFWProtectLevel?: number + Status?: number /** - * tag信息 -注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - Tag?: Array + RequestId?: string } /** - * 标签 + * 过滤条件 */ -export interface Tag { +export interface WhereFilter { /** - * 标签名称 + * 过滤的项 */ Name: string /** - * 标签内容 + * 过滤的值 */ - Value: string + Values: Array + /** + * 中台定义: +1等于 2大于 3小于 4大于等于 5小于等于 6不等于 9模糊匹配 13非模糊匹配 14按位与 +精确匹配填 7 模糊匹配填9 兼容 中台定的结构 + + */ + OperatorType?: number } /** - * ip列表 + * 扫描任务列表展示信息 */ -export interface IpAssetListVO { +export interface ScanTaskInfoList { /** - * 资产id + * 任务名称 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetId?: string + TaskName?: string /** - * 资产name + * 任务开始时间 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetName?: string + StartTime?: string /** - * 资产类型 + * 任务结束时间 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetType?: string + EndTime?: string /** - * 地域 + * corn 注意:此字段可能返回 null,表示取不到有效值。 */ - Region?: string + ScanPlanContent?: string /** - * 云防状态 + * 0-周期任务,1-立即扫描,2-定时扫描,3-自定义 注意:此字段可能返回 null,表示取不到有效值。 */ - CFWStatus?: number + TaskType?: number /** - * 资产创建时间 + * 创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetCreateTime?: string + InsertTime?: string /** - * 公网ip + * 任务ID 注意:此字段可能返回 null,表示取不到有效值。 */ - PublicIp?: string + TaskId?: string /** - * 公网ip类型 + * 排除扫描资产信息 注意:此字段可能返回 null,表示取不到有效值。 */ - PublicIpType?: number + SelfDefiningAssets?: Array /** - * vpc + * 预估时间 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcId?: string + PredictTime?: number /** - * vpc名 + * 预估完成时间 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcName?: string + PredictEndTime?: string /** - * appid + * 报告数量 注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: number + ReportNumber?: number /** - * 用户uin + * 资产数量 注意:此字段可能返回 null,表示取不到有效值。 */ - Uin?: string + AssetNumber?: number /** - * 名称 + * 扫描状态 0 初始值 1正在扫描 2扫描完成 3扫描出错 注意:此字段可能返回 null,表示取不到有效值。 */ - NickName?: string + ScanStatus?: number /** - * 核心 + * 任务进度 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCore?: number + Percent?: number /** - * 云上 + * port/poc/weakpass/webcontent/configrisk 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCloud?: number + ScanItem?: string /** - * 网络攻击 + * 0-全扫,1-指定资产扫,2-排除资产扫 注意:此字段可能返回 null,表示取不到有效值。 */ - Attack?: number + ScanAssetType?: number /** - * 网络访问 + * vss子任务id 注意:此字段可能返回 null,表示取不到有效值。 */ - Access?: number + VSSTaskId?: string /** - * 网络拦截 + * cspm子任务id 注意:此字段可能返回 null,表示取不到有效值。 */ - Intercept?: number + CSPMTaskId?: string /** - * 入向带宽 + * 主机漏扫子任务id 注意:此字段可能返回 null,表示取不到有效值。 */ - InBandwidth?: string + CWPPOCId?: string /** - * 出向带宽 + * 主机基线子任务id 注意:此字段可能返回 null,表示取不到有效值。 */ - OutBandwidth?: string + CWPBlId?: string /** - * 入向流量 + * vss子任务进度 注意:此字段可能返回 null,表示取不到有效值。 */ - InFlow?: string + VSSTaskProcess?: number /** - * 出向流量 + * cspm子任务进度 注意:此字段可能返回 null,表示取不到有效值。 */ - OutFlow?: string + CSPMTaskProcess?: number /** - * 最近扫描时间 + * 主机漏扫子任务进度 注意:此字段可能返回 null,表示取不到有效值。 */ - LastScanTime?: string + CWPPOCProcess?: number /** - * 端口风险 + * 主机基线子任务进度 注意:此字段可能返回 null,表示取不到有效值。 */ - PortRisk?: number + CWPBlProcess?: number /** - * 漏洞风险 + * 异常状态码 注意:此字段可能返回 null,表示取不到有效值。 */ - VulnerabilityRisk?: number + ErrorCode?: number /** - * 配置风险 + * 异常信息 注意:此字段可能返回 null,表示取不到有效值。 */ - ConfigurationRisk?: number + ErrorInfo?: string /** - * 扫描任务 + * 周期任务开始的天数 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanTask?: number + StartDay?: number /** - * 弱口令 + * 扫描频率,单位天,1-每天,7-每周,30-月,0-扫描一次 注意:此字段可能返回 null,表示取不到有效值。 */ - WeakPassword?: number + Frequency?: number /** - * 内容风险 + * 完成次数 注意:此字段可能返回 null,表示取不到有效值。 */ - WebContentRisk?: number + CompleteNumber?: number /** - * 标签 + * 已完成资产个数 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: Array + CompleteAssetNumber?: number /** - * eip主键 + * 风险数 注意:此字段可能返回 null,表示取不到有效值。 */ - AddressId?: string + RiskCount?: number /** - * memberid信息 + * 资产 注意:此字段可能返回 null,表示取不到有效值。 */ - MemberId?: string + Assets?: Array /** - * 风险服务暴露 + * 用户Appid 注意:此字段可能返回 null,表示取不到有效值。 */ - RiskExposure?: number + AppId?: string /** - * 是否新资产 1新 + * 用户主账户ID 注意:此字段可能返回 null,表示取不到有效值。 */ - IsNewAsset?: number + UIN?: string /** - * 资产认证状态,0-待认证,1-认证成功,2-认证中,3+-认证失败 + * 用户名称 注意:此字段可能返回 null,表示取不到有效值。 */ - VerifyStatus?: number -} - -/** - * DeleteRiskScanTask返回参数结构体 - */ -export interface DeleteRiskScanTaskResponse { - /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - */ - RequestId?: string -} - -/** - * 公网IP和域名资产列表key - */ -export interface PublicIpDomainListKey { - /** - * 资产值 - */ - Asset: string -} - -/** - * 资产视角的漏洞风险对象 - */ -export interface AssetViewVULRisk { - /** - * 影响资产 - */ - AffectAsset?: string + UserName?: string /** - * 风险等级 + * 体检模式,0-标准模式,1-快速模式,2-高级模式 +注意:此字段可能返回 null,表示取不到有效值。 */ - Level?: string + TaskMode?: number /** - * 资产类型 + * 扫描来源 +注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceType?: string + ScanFrom?: string /** - * 组件 + * 是否限免体检0不是,1是 +注意:此字段可能返回 null,表示取不到有效值。 */ - Component?: string + IsFree?: number /** - * 服务 + * 是否可以删除,1-可以,0-不可以,对应多账户管理使用 +注意:此字段可能返回 null,表示取不到有效值。 */ - Service?: string + IsDelete?: number +} + +/** + * DescribeDbAssets请求参数结构体 + */ +export interface DescribeDbAssetsRequest { /** - * 最近识别时间 + * - */ - RecentTime?: string + Filter?: Filter +} + +/** + * 任务报告信息 + */ +export interface TaskLogInfo { /** - * 首次识别时间 + * 报告名称 +注意:此字段可能返回 null,表示取不到有效值。 */ - FirstTime?: string + TaskLogName?: string /** - * 状态,0未处理、1已处置、2已忽略 + * 报告ID */ - Status?: number + TaskLogId?: string /** - * 资产唯一id + * 关联资产个数 +注意:此字段可能返回 null,表示取不到有效值。 */ - Id?: string + AssetsNumber?: number /** - * 前端索引 + * 安全风险数量 +注意:此字段可能返回 null,表示取不到有效值。 */ - Index?: string + RiskNumber?: number /** - * 实例id + * 报告生成时间,任务结束时间 +注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceId?: string + Time?: string /** - * 实例名 + * 任务状态码:0 初始值 1正在扫描 2扫描完成 3扫描出错,4停止,5暂停,6该任务已被重启过 +注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceName?: string + Status?: number /** - * 用户appid + * 关联任务名称 +注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: string + TaskName?: string /** - * 用户昵称 + * 扫描开始时间 注意:此字段可能返回 null,表示取不到有效值。 */ - Nick?: string + StartTime?: string /** - * 用户uin + * 任务中心扫描任务ID 注意:此字段可能返回 null,表示取不到有效值。 */ - Uin?: string + TaskCenterTaskId?: string /** - * 漏洞类型 + * 租户ID +注意:此字段可能返回 null,表示取不到有效值。 */ - VULType?: string + AppId?: string /** - * 端口 + * 主账户ID +注意:此字段可能返回 null,表示取不到有效值。 */ - Port?: string + UIN?: string /** - * 描述 + * 用户名称 +注意:此字段可能返回 null,表示取不到有效值。 */ - Describe?: string + UserName?: string +} + +/** + * DescribeRiskCenterAssetViewVULRiskList请求参数结构体 + */ +export interface DescribeRiskCenterAssetViewVULRiskListRequest { /** - * 版本名 + * 过滤内容 */ - AppName?: string + Filter?: Filter +} + +/** + * DescribeSearchBugInfo返回参数结构体 + */ +export interface DescribeSearchBugInfoResponse { /** - * 相关信息 + * 漏洞信息和资产信息 +注意:此字段可能返回 null,表示取不到有效值。 */ - References?: string + Data?: DataSearchBug /** - * 版本 + * 状态值,0:查询成功,非0:查询失败 */ - AppVersion?: string + ReturnCode?: number /** - * 漏洞url + * 状态信息,success:查询成功,fail:查询失败 */ - VULURL?: string + ReturnMsg?: string /** - * 漏洞名称 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - VULName?: string + RequestId?: string +} + +/** + * CreateDomainAndIp请求参数结构体 + */ +export interface CreateDomainAndIpRequest { /** - * cve + * - */ - CVE?: string + Content: Array +} + +/** + * 域名资产 + */ +export interface DomainAssetVO { /** - * 修复建议 + * 资产id +注意:此字段可能返回 null,表示取不到有效值。 */ - Fix?: string + AssetId?: Array /** - * pocid + * 资产名 +注意:此字段可能返回 null,表示取不到有效值。 */ - POCId?: string + AssetName?: Array /** - * 来源 + * 资产类型 +注意:此字段可能返回 null,表示取不到有效值。 */ - From?: string + AssetType?: Array /** - * 主机版本 + * 地域 +注意:此字段可能返回 null,表示取不到有效值。 */ - CWPVersion?: number + Region?: Array /** - * 是否支持修复 + * Waf状态 +注意:此字段可能返回 null,表示取不到有效值。 */ - IsSupportRepair?: boolean + WAFStatus?: number /** - * 是否支持扫描 + * 资产创建时间 +注意:此字段可能返回 null,表示取不到有效值。 */ - IsSupportDetect?: boolean + AssetCreateTime?: string /** - * 实例uuid + * Appid +注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceUUID?: string + AppId?: number /** - * 负载 + * 账号id +注意:此字段可能返回 null,表示取不到有效值。 */ - Payload?: string + Uin?: string /** - * 应急漏洞类型,1-应急漏洞,0-非应急漏洞 + * 账号名称 注意:此字段可能返回 null,表示取不到有效值。 */ - EMGCVulType?: number -} - -/** - * DescribeClusterPodAssets返回参数结构体 - */ -export interface DescribeClusterPodAssetsResponse { + NickName?: string /** - * 列表 + * 是否核心 +注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: Array + IsCore?: number /** - * 总数 + * 是否云上资产 +注意:此字段可能返回 null,表示取不到有效值。 */ - TotalCount?: number + IsCloud?: number /** - * 集群pod状态枚举 + * 网络攻击 +注意:此字段可能返回 null,表示取不到有效值。 */ - PodStatusList?: Array + Attack?: number /** - * 命名空间枚举 + * 网络访问 +注意:此字段可能返回 null,表示取不到有效值。 */ - NamespaceList?: Array + Access?: number /** - * 地域枚举 + * 网络拦截 +注意:此字段可能返回 null,表示取不到有效值。 */ - RegionList?: Array + Intercept?: number /** - * 租户枚举 + * 入站峰值带宽 +注意:此字段可能返回 null,表示取不到有效值。 */ - AppIdList?: Array + InBandwidth?: string /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 出站峰值带宽 +注意:此字段可能返回 null,表示取不到有效值。 */ - RequestId?: string -} - -/** - * 主机资产详情 - */ -export interface AssetBaseInfoResponse { + OutBandwidth?: string /** - * vpc-id + * 入站累计流量 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcId?: string + InFlow?: string /** - * vpc-name + * 出站累计流量 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcName?: string + OutFlow?: string /** - * 资产名 + * 最近扫描时间 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetName?: string + LastScanTime?: string /** - * 操作系统 + * 端口风险 注意:此字段可能返回 null,表示取不到有效值。 */ - Os?: string + PortRisk?: number /** - * 公网ip + * 漏洞风险 注意:此字段可能返回 null,表示取不到有效值。 */ - PublicIp?: string + VulnerabilityRisk?: number /** - * 内网ip + * 配置风险 注意:此字段可能返回 null,表示取不到有效值。 */ - PrivateIp?: string + ConfigurationRisk?: number /** - * 地域 + * 扫描任务 注意:此字段可能返回 null,表示取不到有效值。 */ - Region?: string + ScanTask?: number /** - * 资产类型 + * 域名 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetType?: string + SubDomain?: string /** - * 资产id + * 解析ip 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetId?: string + SeverIp?: Array /** - * 账号数量 + * boi访问数量 注意:此字段可能返回 null,表示取不到有效值。 */ - AccountNum?: number + BotCount?: number /** - * 端口数量 + * 弱口令风险 注意:此字段可能返回 null,表示取不到有效值。 */ - PortNum?: number + WeakPassword?: number /** - * 进程数量 + * 内容风险 注意:此字段可能返回 null,表示取不到有效值。 */ - ProcessNum?: number + WebContentRisk?: number /** - * 软件应用数量 + * tag标签 注意:此字段可能返回 null,表示取不到有效值。 */ - SoftApplicationNum?: number + Tag?: Array /** - * 数据库数量 + * 关联实例类型 注意:此字段可能返回 null,表示取不到有效值。 */ - DatabaseNum?: number + SourceType?: string /** - * Web应用数量 + * memberiD 注意:此字段可能返回 null,表示取不到有效值。 */ - WebApplicationNum?: number + MemberId?: string /** - * 服务数量 + * cc攻击 注意:此字段可能返回 null,表示取不到有效值。 */ - ServiceNum?: number + CCAttack?: number /** - * web框架数量 + * web攻击 注意:此字段可能返回 null,表示取不到有效值。 */ - WebFrameworkNum?: number + WebAttack?: number /** - * Web站点数量 + * 风险服务暴露数量 注意:此字段可能返回 null,表示取不到有效值。 */ - WebSiteNum?: number + ServiceRisk?: number /** - * Jar包数量 + * 是否新资产 1新 注意:此字段可能返回 null,表示取不到有效值。 */ - JarPackageNum?: number + IsNewAsset?: number /** - * 启动服务数量 + * 待确认资产的随机三级域名 注意:此字段可能返回 null,表示取不到有效值。 */ - StartServiceNum?: number + VerifyDomain?: string /** - * 计划任务数量 + * 待确认资产的TXT记录内容 注意:此字段可能返回 null,表示取不到有效值。 */ - ScheduledTaskNum?: number + VerifyTXTRecord?: string /** - * 环境变量数量 + * 待确认资产的认证状态,0-待认证,1-认证成功,2-认证中,3-txt认证失败,4-人工认证失败 注意:此字段可能返回 null,表示取不到有效值。 */ - EnvironmentVariableNum?: number + VerifyStatus?: number /** - * 内核模块数量 + * bot访问数据 注意:此字段可能返回 null,表示取不到有效值。 */ - KernelModuleNum?: number + BotAccessCount?: number +} + +/** + * 配置风险高级配置 + */ +export interface TaskCenterCFGRiskInputParam { /** - * 系统安装包数量 -注意:此字段可能返回 null,表示取不到有效值。 + * 检测项ID */ - SystemInstallationPackageNum?: number + ItemId: string /** - * 剩余防护时长 -注意:此字段可能返回 null,表示取不到有效值。 + * 是否开启,0-不开启,1-开启 */ - SurplusProtectDay?: number + Enable: number /** - * 客户端是否安装 1 已安装 0 未安装 -注意:此字段可能返回 null,表示取不到有效值。 + * 资源类型 */ - CWPStatus?: number + ResourceType: string +} + +/** + * DescribeTaskLogList返回参数结构体 + */ +export interface DescribeTaskLogListResponse { /** - * 标签 + * 总条数 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: Array + TotalCount?: number /** - * 防护等级 + * 报告列表 注意:此字段可能返回 null,表示取不到有效值。 */ - ProtectLevel?: string + Data?: Array /** - * 防护时长 + * 待查看数量 注意:此字段可能返回 null,表示取不到有效值。 */ - ProtectedDay?: number -} - -/** - * 任务ID列表Key - */ -export interface TaskIdListKey { + NotViewNumber?: number /** - * 任务ID + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - TaskId: string + RequestId?: string } /** - * 资产视角的端口风险对象 + * 漏洞详细信息 */ -export interface AssetViewPortRisk { +export interface BugInfoDetail { /** - * 端口 + * 漏洞编号 +注意:此字段可能返回 null,表示取不到有效值。 */ - Port?: number + Id?: number /** - * 影响资产 + * 漏洞对应pocId +注意:此字段可能返回 null,表示取不到有效值。 */ - AffectAsset?: string + PatchId?: string /** - * 风险等级 + * 漏洞名称 +注意:此字段可能返回 null,表示取不到有效值。 + */ + VULName?: string + /** + * 漏洞严重性:high,middle,low,info +注意:此字段可能返回 null,表示取不到有效值。 */ Level?: string /** - * 资产类型 + * cvss评分 +注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceType?: string + CVSSScore?: string /** - * 协议 + * cve编号 +注意:此字段可能返回 null,表示取不到有效值。 */ - Protocol?: string + CVEId?: string /** - * 组件 + * 漏洞标签 +注意:此字段可能返回 null,表示取不到有效值。 */ - Component?: string + Tag?: string /** - * 服务 + * 漏洞种类,1:web应用,2:系统组件漏洞,3:配置风险 +注意:此字段可能返回 null,表示取不到有效值。 */ - Service?: string + VULCategory?: number /** - * 最近识别时间 + * 漏洞影响系统 +注意:此字段可能返回 null,表示取不到有效值。 */ - RecentTime?: string + ImpactOs?: string /** - * 首次识别时间 + * 漏洞影响组件 +注意:此字段可能返回 null,表示取不到有效值。 */ - FirstTime?: string + ImpactCOMPENT?: string /** - * 处置建议,0保持现状、1限制访问、2封禁端口 + * 漏洞影响版本 +注意:此字段可能返回 null,表示取不到有效值。 */ - Suggestion?: number + ImpactVersion?: string /** - * 状态,0未处理、1已处置、2已忽略 + * 链接 +注意:此字段可能返回 null,表示取不到有效值。 */ - Status?: number + Reference?: string /** - * 资产唯一id + * 漏洞描述 +注意:此字段可能返回 null,表示取不到有效值。 */ - Id?: string + VULDescribe?: string /** - * 前端索引 + * 修复建议 +注意:此字段可能返回 null,表示取不到有效值。 */ - Index?: string + Fix?: string /** - * 实例id + * 产品支持状态,实时返回 +注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceId?: string + ProSupport?: number /** - * 实例名 + * 是否公开,0为未发布,1为发布 +注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceName?: string + IsPublish?: number /** - * 用户appid + * 释放时间 +注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: string + ReleaseTime?: string /** - * 用户昵称 + * 创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ - Nick?: string + CreateTime?: string /** - * 用户uin + * 更新时间 注意:此字段可能返回 null,表示取不到有效值。 */ - Uin?: string + UpdateTime?: string /** - * 来源 + * 漏洞子类别 +注意:此字段可能返回 null,表示取不到有效值。 */ - From?: string + SubCategory?: string } /** - * DescribeListenerList请求参数结构体 + * DescribeDomainAssets返回参数结构体 */ -export interface DescribeListenerListRequest { +export interface DescribeDomainAssetsResponse { /** * - +注意:此字段可能返回 null,表示取不到有效值。 */ - Filter?: Filter -} - -/** - * DescribeDomainAssets请求参数结构体 - */ -export interface DescribeDomainAssetsRequest { + Total?: number /** * - +注意:此字段可能返回 null,表示取不到有效值。 */ - Filter?: Filter -} - -/** - * vpc列表数据 - */ -export interface Vpc { + Data?: Array /** - * 子网(只支持32位) + * 防护状态列表 +注意:此字段可能返回 null,表示取不到有效值。 */ - Subnet?: number + DefenseStatusList?: Array /** - * 互通vpc(只支持32位) + * 资产归属地列表 +注意:此字段可能返回 null,表示取不到有效值。 */ - ConnectedVpc?: number + AssetLocationList?: Array /** - * 资产id + * 资产类型列表 +注意:此字段可能返回 null,表示取不到有效值。 */ - AssetId?: string + SourceTypeList?: Array /** - * region区域 + * 地域列表 +注意:此字段可能返回 null,表示取不到有效值。 */ - Region?: string + RegionList?: Array /** - * 云服务器(只支持32位) + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - CVM?: number + RequestId?: string +} + +/** + * DescribeDbAssets返回参数结构体 + */ +export interface DescribeDbAssetsResponse { /** - * 标签 + * 总数 +注意:此字段可能返回 null,表示取不到有效值。 + */ + Total?: number + /** + * 资产总数 +注意:此字段可能返回 null,表示取不到有效值。 + */ + Data?: Array + /** + * 地域枚举 +注意:此字段可能返回 null,表示取不到有效值。 + */ + RegionList?: Array + /** + * 资产类型枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: Array + AssetTypeList?: Array /** - * dns域名 + * Vpc枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - DNS?: Array + VpcList?: Array /** - * 资产名称 + * Appid枚举 +注意:此字段可能返回 null,表示取不到有效值。 */ - AssetName?: string + AppIdList?: Array /** - * cidr网段 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - CIDR?: string + RequestId?: string +} + +/** + * DescribeRiskCenterAssetViewVULRiskList返回参数结构体 + */ +export interface DescribeRiskCenterAssetViewVULRiskListResponse { /** - * 资产创建时间 + * 总条数 */ - CreateTime?: string + TotalCount?: number /** - * appid + * 资产视角的漏洞风险列表 */ - AppId?: string + Data?: Array /** - * uin + * 状态列表 */ - Uin?: string + StatusLists?: Array /** - * 昵称 + * 危险等级列表 */ - Nick?: string + LevelLists?: Array /** - * 是否新资产 1新 -注意:此字段可能返回 null,表示取不到有效值。 + * 来源列表 */ - IsNewAsset?: number + FromLists?: Array /** - * 是否核心资产1是 2不是 -注意:此字段可能返回 null,表示取不到有效值。 + * 漏洞类型列表 */ - IsCore?: number -} - -/** - * CreateDomainAndIp返回参数结构体 - */ -export interface CreateDomainAndIpResponse { + VULTypeLists?: Array /** - * 返回创建成功的数量 + * 资产类型列表 */ - Data?: number + InstanceTypeLists?: Array /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ @@ -2973,164 +3574,112 @@ export interface CreateDomainAndIpResponse { } /** - * DescribePublicIpAssets请求参数结构体 + * DescribeCVMAssets请求参数结构体 */ -export interface DescribePublicIpAssetsRequest { +export interface DescribeCVMAssetsRequest { /** - * filte过滤条件 + * - */ Filter?: Filter } /** - * DeleteDomainAndIp返回参数结构体 + * DescribeRiskCenterServerRiskList请求参数结构体 */ -export interface DeleteDomainAndIpResponse { - /** - * 删除的资产数量 - */ - Data?: number +export interface DescribeRiskCenterServerRiskListRequest { /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 过滤内容 */ - RequestId?: string + Filter?: Filter } /** - * 集群pod列表 + * clb实例和监听器信息 */ -export interface AssetClusterPod { - /** - * 租户id - */ - AppId?: number - /** - * 租户uin - */ - Uin?: string - /** - * 租户昵称 - */ - Nick?: string - /** - * 地域 -注意:此字段可能返回 null,表示取不到有效值。 - */ - Region?: string - /** - * pod id - */ - AssetId?: string - /** - * pod名称 - */ - AssetName?: string - /** - * pod创建时间 -注意:此字段可能返回 null,表示取不到有效值。 - */ - InstanceCreateTime?: string +export interface ClbListenerListInfo { /** - * 命名空间 + * 监听器id 注意:此字段可能返回 null,表示取不到有效值。 */ - Namespace?: string + ListenerId?: string /** - * 状态 + * 监听器名称 注意:此字段可能返回 null,表示取不到有效值。 */ - Status?: string + ListenerName?: string /** - * 集群id + * 负载均衡Id 注意:此字段可能返回 null,表示取不到有效值。 */ - ClusterId?: string + LoadBalancerId?: string /** - * 集群名称 + * 负载均衡名称 注意:此字段可能返回 null,表示取不到有效值。 */ - ClusterName?: string + LoadBalancerName?: string /** - * 主机id + * 协议 注意:此字段可能返回 null,表示取不到有效值。 */ - MachineId?: string + Protocol?: string /** - * 主机名 + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - MachineName?: string + Region?: string /** - * pod ip + * 负载均衡ip 注意:此字段可能返回 null,表示取不到有效值。 */ - PodIp?: string + Vip?: string /** - * 关联service数 + * 端口 注意:此字段可能返回 null,表示取不到有效值。 */ - ServiceCount?: number + VPort?: number /** - * 关联容器数 + * 区域 注意:此字段可能返回 null,表示取不到有效值。 */ - ContainerCount?: number + Zone?: string /** - * 公网ip + * 私有网络id 注意:此字段可能返回 null,表示取不到有效值。 */ - PublicIp?: string + NumericalVpcId?: number /** - * 内网ip + * 负载均衡类型 注意:此字段可能返回 null,表示取不到有效值。 */ - PrivateIp?: string + LoadBalancerType?: string /** - * 是否核心:1:核心,2:非核心 + * 监听器域名 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCore?: number + Domain?: string /** - * 是否新资产 1新 + * 负载均衡域名 注意:此字段可能返回 null,表示取不到有效值。 */ - IsNewAsset?: number + LoadBalancerDomain?: string } /** - * DescribeDbAssets返回参数结构体 + * DescribeRiskCenterServerRiskList返回参数结构体 */ -export interface DescribeDbAssetsResponse { - /** - * 总数 -注意:此字段可能返回 null,表示取不到有效值。 - */ - Total?: number +export interface DescribeRiskCenterServerRiskListResponse { /** - * 资产总数 -注意:此字段可能返回 null,表示取不到有效值。 + * 总条数 */ - Data?: Array + TotalCount?: number /** - * 地域枚举 -注意:此字段可能返回 null,表示取不到有效值。 + * 风险服务列表 */ - RegionList?: Array + Data?: Array /** * 资产类型枚举 -注意:此字段可能返回 null,表示取不到有效值。 - */ - AssetTypeList?: Array - /** - * Vpc枚举 -注意:此字段可能返回 null,表示取不到有效值。 - */ - VpcList?: Array - /** - * Appid枚举 -注意:此字段可能返回 null,表示取不到有效值。 */ - AppIdList?: Array + InstanceTypeLists?: Array /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ @@ -3138,13 +3687,19 @@ export interface DescribeDbAssetsResponse { } /** - * AddNewBindRoleUser返回参数结构体 + * DescribeListenerList请求参数结构体 */ -export interface AddNewBindRoleUserResponse { +export interface DescribeListenerListRequest { /** - * 0成功,其他失败 + * - */ - Status?: number + Filter?: Filter +} + +/** + * DeleteRiskScanTask返回参数结构体 + */ +export interface DeleteRiskScanTaskResponse { /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ @@ -3152,13 +3707,13 @@ export interface AddNewBindRoleUserResponse { } /** - * StopRiskCenterTask返回参数结构体 + * CreateDomainAndIp返回参数结构体 */ -export interface StopRiskCenterTaskResponse { +export interface CreateDomainAndIpResponse { /** - * Status为0, 停止成功 + * 返回创建成功的数量 */ - Status?: number + Data?: number /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ @@ -3166,34 +3721,51 @@ export interface StopRiskCenterTaskResponse { } /** - * DescribeCVMAssetInfo请求参数结构体 + * DescribeTaskLogList请求参数结构体 */ -export interface DescribeCVMAssetInfoRequest { +export interface DescribeTaskLogListRequest { /** - * - + * 过滤内容 */ - AssetId: string + Filter?: Filter } /** - * 过滤条件 + * DescribeRiskCenterAssetViewPortRiskList返回参数结构体 */ -export interface WhereFilter { +export interface DescribeRiskCenterAssetViewPortRiskListResponse { /** - * 过滤的项 + * 总条数 */ - Name: string + TotalCount?: number /** - * 过滤的值 + * 资产视角的配置风险列表 */ - Values: Array + Data?: Array /** - * 中台定义: -1等于 2大于 3小于 4大于等于 5小于等于 6不等于 9模糊匹配 13非模糊匹配 14按位与 -精确匹配填 7 模糊匹配填9 兼容 中台定的结构 - + * 状态列表 */ - OperatorType?: number + StatusLists?: Array + /** + * 危险等级列表 + */ + LevelLists?: Array + /** + * 建议列表 + */ + SuggestionLists?: Array + /** + * 资产类型列表 + */ + InstanceTypeLists?: Array + /** + * 来源列表 + */ + FromLists?: Array + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string } /** diff --git a/src/services/goosefs/v20220519/goosefs_models.ts b/src/services/goosefs/v20220519/goosefs_models.ts index d9c35a5b3..d4a171c3b 100644 --- a/src/services/goosefs/v20220519/goosefs_models.ts +++ b/src/services/goosefs/v20220519/goosefs_models.ts @@ -868,4 +868,18 @@ export interface MappedBucket { 注意:此字段可能返回 null,表示取不到有效值。 */ RuleDescription?: string + /** + * 桶关联状态 0:关联中 1:关联完成 + */ + Status?: number + /** + * 是否使用全球加速域名 +注意:此字段可能返回 null,表示取不到有效值。 + */ + AccelerateFlag?: boolean + /** + * 桶所在的园区 +注意:此字段可能返回 null,表示取不到有效值。 + */ + BucketRegion?: string } diff --git a/src/services/hcm/v20181106/hcm_models.ts b/src/services/hcm/v20181106/hcm_models.ts index efe1d0b7f..94e4ccc49 100644 --- a/src/services/hcm/v20181106/hcm_models.ts +++ b/src/services/hcm/v20181106/hcm_models.ts @@ -87,6 +87,7 @@ export interface EvaluationRequest { RejectNonArithmeticImage?: boolean /** * 异步模式标识,0:同步模式,1:异步模式。默认为同步模式 + * @deprecated */ IsAsync?: number /** @@ -130,6 +131,7 @@ export interface EvaluationResponse { Items?: Array /** * 任务 id,用于查询接口 + * @deprecated */ TaskId?: string /** diff --git a/src/services/sqlserver/v20180328/sqlserver_models.ts b/src/services/sqlserver/v20180328/sqlserver_models.ts index 99a950c16..dadf2d094 100644 --- a/src/services/sqlserver/v20180328/sqlserver_models.ts +++ b/src/services/sqlserver/v20180328/sqlserver_models.ts @@ -2163,6 +2163,10 @@ export interface DescribeDBInstancesRequest { * 实例类型 HA-高可用 RO-只读实例 SI-基础版 BI-商业智能服务 */ InstanceType?: string + /** + * 分页查询方式 offset-按照偏移量分页查询,pageNumber-按照页数分页查询,默认取值pageNumber + */ + PaginationType?: string } /** @@ -5923,11 +5927,11 @@ export interface DescribeDBInstancesResponse { /** * 符合条件的实例总数。分页返回的话,这个值指的是所有符合条件的实例的个数,而非当前根据Limit和Offset值返回的实例个数 */ - TotalCount: number + TotalCount?: number /** * 实例列表 */ - DBInstances: Array + DBInstances?: Array /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ diff --git a/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts b/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts index 8e45d259d..37041c0da 100644 --- a/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts +++ b/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts @@ -2655,11 +2655,11 @@ export interface DescribeTablesRequest { */ export interface KafkaInfo { /** - * kafaka address + * Kafka address */ Address: string /** - * kafaka topic + * Kafka topic */ Topic: string /** diff --git a/src/services/tse/v20201207/tse_models.ts b/src/services/tse/v20201207/tse_models.ts index 6a6ed41a9..336af44e0 100644 --- a/src/services/tse/v20201207/tse_models.ts +++ b/src/services/tse/v20201207/tse_models.ts @@ -2858,10 +2858,12 @@ export interface CreateCloudNativeAPIGatewayCertificateRequest { Name?: string /** * 证书私钥 + * @deprecated */ Key?: string /** * 证书pem格式 + * @deprecated */ Crt?: string } diff --git a/src/services/vpc/v20170312/vpc_models.ts b/src/services/vpc/v20170312/vpc_models.ts index e147bfcd6..402480dfc 100644 --- a/src/services/vpc/v20170312/vpc_models.ts +++ b/src/services/vpc/v20170312/vpc_models.ts @@ -6206,6 +6206,9 @@ export interface CreateBandwidthPackageRequest { * 带宽包类型, 默认值: BGP, 可选值:
  • BGP: 普通BGP共享带宽包
  • HIGH_QUALITY_BGP: 精品BGP共享带宽包
  • +
  • SINGLEISP_CMCC: 中国移动共享带宽包
  • +
  • SINGLEISP_CTCC: 中国电信共享带宽包
  • +
  • SINGLEISP_CUCC: 中国联通共享带宽包
  • */ NetworkType?: string /** @@ -6242,6 +6245,10 @@ export interface CreateBandwidthPackageRequest { * 预付费包月带宽包的购买时长,单位: 月,取值范围: 1~60。 */ TimeSpan?: number + /** + * 网络出口,默认值:center_egress1 + */ + Egress?: string } /** @@ -11218,35 +11225,40 @@ export interface BandwidthPackage { /** * 带宽包唯一标识Id */ - BandwidthPackageId: string + BandwidthPackageId?: string /** * 带宽包类型,包括'BGP','SINGLEISP','ANYCAST','SINGLEISP_CMCC','SINGLEISP_CTCC','SINGLEISP_CUCC' */ - NetworkType: string + NetworkType?: string /** * 带宽包计费类型,包括'TOP5_POSTPAID_BY_MONTH'和'PERCENT95_POSTPAID_BY_MONTH' */ - ChargeType: string + ChargeType?: string /** * 带宽包名称 */ - BandwidthPackageName: string + BandwidthPackageName?: string /** * 带宽包创建时间。按照`ISO8601`标准表示,并且使用`UTC`时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。 */ - CreatedTime: string + CreatedTime?: string /** * 带宽包状态,包括'CREATING','CREATED','DELETING','DELETED' */ - Status: string + Status?: string /** * 带宽包资源信息 */ - ResourceSet: Array + ResourceSet?: Array /** * 带宽包限速大小。单位:Mbps,-1表示不限速。 */ - Bandwidth: number + Bandwidth?: number + /** + * 网络出口 +注意:此字段可能返回 null,表示取不到有效值。 + */ + Egress?: string } /** diff --git a/src/services/waf/v20180125/waf_models.ts b/src/services/waf/v20180125/waf_models.ts index fb992dcfa..15d80f4da 100644 --- a/src/services/waf/v20180125/waf_models.ts +++ b/src/services/waf/v20180125/waf_models.ts @@ -909,11 +909,11 @@ export interface DomainInfo { */ Status: number /** - * 规则防御模式,0观察模式 1拦截模式 + * 规则引擎防护模式,0观察模式 1拦截模式 */ Mode: number /** - * AI防御模式,10规则引擎观察&&AI引擎关闭模式 11规则引擎观察&&AI引擎观察模式 12规则引擎观察&&AI引擎拦截模式 20规则引擎拦截&&AI引擎关闭模式 21规则引擎拦截&&AI引擎观察模式 22规则引擎拦截&&AI引擎拦截模式 + * 规则引擎和AI引擎防护模式联合状态,10规则引擎观察&&AI引擎关闭模式 11规则引擎观察&&AI引擎观察模式 12规则引擎观察&&AI引擎拦截模式 20规则引擎拦截&&AI引擎关闭模式 21规则引擎拦截&&AI引擎观察模式 22规则引擎拦截&&AI引擎拦截模式 */ Engine: number /** @@ -989,6 +989,11 @@ export interface DomainInfo { 注意:此字段可能返回 null,表示取不到有效值。 */ SgDetail?: string + /** + * 域名类型:hybrid表示混合云域名,public表示公有云域名 +注意:此字段可能返回 null,表示取不到有效值。 + */ + CloudType?: string } /** @@ -1240,7 +1245,7 @@ export interface ModifyDomainIpv6StatusRequest { */ DomainId: string /** - * 修改域名的Ipv6开关为Status (0:关闭 1:开启) + * 修改域名的Ipv6开关为Status (1:开启 2:关闭) */ Status: number } diff --git a/tencentcloud/common/sdk_version.d.ts b/tencentcloud/common/sdk_version.d.ts index 67afc1063..4701591bd 100644 --- a/tencentcloud/common/sdk_version.d.ts +++ b/tencentcloud/common/sdk_version.d.ts @@ -1 +1 @@ -export declare const sdkVersion = "4.0.694"; +export declare const sdkVersion = "4.0.695"; diff --git a/tencentcloud/common/sdk_version.js b/tencentcloud/common/sdk_version.js index 765985c7f..4b4ff1765 100644 --- a/tencentcloud/common/sdk_version.js +++ b/tencentcloud/common/sdk_version.js @@ -1,4 +1,4 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sdkVersion = void 0; -exports.sdkVersion = "4.0.694"; +exports.sdkVersion = "4.0.695"; diff --git a/tencentcloud/services/asr/v20190614/asr_models.d.ts b/tencentcloud/services/asr/v20190614/asr_models.d.ts index 391e87c54..174ce630c 100644 --- a/tencentcloud/services/asr/v20190614/asr_models.d.ts +++ b/tencentcloud/services/asr/v20190614/asr_models.d.ts @@ -186,7 +186,7 @@ export interface CreateAsyncRecognitionTaskRequest { AudioData?: boolean; } /** - * 热词的词和权重 + * [热词的词和权重](https://cloud.tencent.com/document/product/1093/41111#2.-.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0) */ export interface HotWord { /** @@ -336,7 +336,7 @@ export interface SentenceRecognitionRequest { InputSampleRate?: number; } /** - * 说话人验证数据 + * [说话人验证数据](https://cloud.tencent.com/document/product/1093/94481#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface VoicePrintVerifyData { /** @@ -823,42 +823,42 @@ export interface SetVocabStateRequest { State: number; } /** - * 词表内容 + * [词表内容](https://cloud.tencent.com/document/product/1093/41484#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface Vocab { /** * 热词表名称 */ - Name: string; + Name?: string; /** * 热词表描述 */ - Description: string; + Description?: string; /** * 热词表ID */ - VocabId: string; + VocabId?: string; /** * 词权重列表 */ - WordWeights: Array; + WordWeights?: Array; /** * 词表创建时间 */ - CreateTime: string; + CreateTime?: string; /** * 词表更新时间 */ - UpdateTime: string; + UpdateTime?: string; /** * 热词表状态,1为默认状态即在识别时默认加载该热词表进行识别,0为初始状态 */ - State: number; + State?: number; /** * 标签数组 注意:此字段可能返回 null,表示取不到有效值。 */ - TagInfos: Array; + TagInfos?: Array; } /** * CloseAsyncRecognitionTask请求参数结构体 @@ -870,23 +870,23 @@ export interface CloseAsyncRecognitionTaskRequest { TaskId: number; } /** - * 录音文件识别、实时语音异步识别请求的返回数据 + * [录音文件识别](https://cloud.tencent.com/document/product/1093/37823#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)、[实时语音异步识别](https://cloud.tencent.com/document/product/1093/52061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)请求的返回数据 */ export interface Task { /** * 任务ID,可通过此ID在轮询接口获取识别状态与结果。注意:TaskId数据类型为uint64 */ - TaskId: number; + TaskId?: number; } /** - * 音频流异步识别任务列表 + * [音频流异步识别任务列表](https://cloud.tencent.com/document/product/1093/52060#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface AsyncRecognitionTasks { /** * 任务列表 注意:此字段可能返回 null,表示取不到有效值。 */ - Tasks: Array; + Tasks?: Array; } /** * ModifyCustomization请求参数结构体 @@ -919,39 +919,39 @@ export interface DeleteCustomizationResponse { RequestId?: string; } /** - * 获取录音识别结果的返回参数 + * [获取录音识别结果的返回参数](https://cloud.tencent.com/document/product/1093/37822#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface TaskStatus { /** * 任务标识。注意:TaskId数据类型为uint64。 */ - TaskId: number; + TaskId?: number; /** * 任务状态码,0:任务等待,1:任务执行中,2:任务成功,3:任务失败。 */ - Status: number; + Status?: number; /** * 任务状态,waiting:任务等待,doing:任务执行中,success:任务成功,failed:任务失败。 */ - StatusStr: string; + StatusStr?: string; /** * 识别结果。 */ - Result: string; + Result?: string; /** * 失败原因说明。 */ - ErrorMsg: string; + ErrorMsg?: string; /** * 识别结果详情,包含每个句子中的词时间偏移,一般用于生成字幕的场景。(录音识别请求中ResTextFormat=1时该字段不为空) 注意:此字段可能返回 null,表示取不到有效值。 */ - ResultDetail: Array; + ResultDetail?: Array; /** * 音频时长(秒)。 注意:此字段可能返回 null,表示取不到有效值。 */ - AudioDuration: number; + AudioDuration?: number; } /** * DeleteAsrVocab请求参数结构体 @@ -1040,29 +1040,29 @@ export interface CreateAsrVocabResponse { RequestId?: string; } /** - * 自学习模型信息 + * [自学习模型信息](https://cloud.tencent.com/document/product/1093/90813#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface Model { /** * 模型名称 */ - ModelName: string; + ModelName?: string; /** * 模型文件名称 */ - DictName: string; + DictName?: string; /** * 模型Id */ - ModelId: string; + ModelId?: string; /** * 模型类型,“8k”或者”16k“ */ - ModelType: string; + ModelType?: string; /** * 服务类型 */ - ServiceType: string; + ServiceType?: string; /** * 模型状态: -2:模型训练失败; @@ -1072,16 +1072,16 @@ export interface Model { 3:上线中; 4:下线中; */ - ModelState: number; + ModelState?: number; /** * 最后更新时间 */ - AtUpdated: string; + AtUpdated?: string; /** * 标签信息 注意:此字段可能返回 null,表示取不到有效值。 */ - TagInfos: Array; + TagInfos?: Array; } /** * CreateAsrVocab请求参数结构体 @@ -1198,7 +1198,7 @@ export interface VoicePrintUpdateResponse { RequestId?: string; } /** - * 说话人基础数据,包括说话人id和说话人昵称 + * [说话人基础数据](https://cloud.tencent.com/document/product/1093/94483#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0),包括说话人id和说话人昵称 */ export interface VoicePrintBaseData { /** @@ -1235,17 +1235,17 @@ export interface VoicePrintCountResponse { RequestId?: string; } /** - * 音频流异步识别任务信息 + * [音频流异步识别](https://cloud.tencent.com/document/api/1093/37824#AsyncRecognitionTasks)任务信息 */ export interface AsyncRecognitionTaskInfo { /** * 任务ID */ - TaskId: number; + TaskId?: number; /** * 音频流Url */ - Url: string; + Url?: string; } /** * ModifyCustomizationState返回参数结构体 @@ -1292,21 +1292,21 @@ export interface GetAsrVocabListResponse { RequestId?: string; } /** - * 一句话识别返回的词时间戳 + * [一句话识别](https://cloud.tencent.com/document/product/1093/35646#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)返回的词时间戳 */ export interface SentenceWord { /** * 词结果 */ - Word: string; + Word?: string; /** * 词在音频中的开始时间 */ - StartTime: number; + StartTime?: number; /** * 词在音频中的结束时间 */ - EndTime: number; + EndTime?: number; } /** * 识别结果中词文本,以及对应时间偏移 @@ -1329,7 +1329,7 @@ export interface SentenceWords { OffsetEndMs: number; } /** - * 统计返回注册数量结构 + * 统计返回[说话人注册数量](https://cloud.tencent.com/document/product/1093/96061#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) */ export interface VoicePrintCountData { /** diff --git a/tencentcloud/services/csip/v20221121/csip_client.d.ts b/tencentcloud/services/csip/v20221121/csip_client.d.ts index 0a9c1ff52..d1d168f92 100644 --- a/tencentcloud/services/csip/v20221121/csip_client.d.ts +++ b/tencentcloud/services/csip/v20221121/csip_client.d.ts @@ -1,6 +1,6 @@ import { AbstractClient } from "../../../common/abstract_client"; import { ClientConfig } from "../../../common/interface"; -import { DescribeDomainAssetsResponse, DeleteDomainAndIpRequest, DescribeDbAssetInfoResponse, DeleteRiskScanTaskRequest, DescribeScanReportListRequest, DescribeRiskCenterAssetViewVULRiskListRequest, CreateDomainAndIpRequest, DescribeSearchBugInfoResponse, StopRiskCenterTaskRequest, DescribeScanTaskListResponse, DescribeScanTaskListRequest, DescribeVpcAssetsResponse, CreateRiskCenterScanTaskRequest, DescribeTaskLogListResponse, DescribeScanReportListResponse, DescribeSearchBugInfoRequest, DescribeClusterPodAssetsRequest, DescribeSubnetAssetsRequest, AddNewBindRoleUserRequest, DescribeCVMAssetInfoResponse, DescribePublicIpAssetsResponse, DescribeTaskLogListRequest, DescribeDbAssetsRequest, DescribeRiskCenterAssetViewVULRiskListResponse, DescribeCVMAssetsRequest, DescribeListenerListResponse, DescribeTaskLogURLResponse, CreateRiskCenterScanTaskResponse, DescribeRiskCenterAssetViewPortRiskListResponse, DescribeSubnetAssetsResponse, DescribeDbAssetInfoRequest, DescribeRiskCenterAssetViewPortRiskListRequest, DescribeCVMAssetsResponse, DescribeVpcAssetsRequest, DeleteRiskScanTaskResponse, DescribeClusterPodAssetsResponse, DescribeListenerListRequest, DescribeDomainAssetsRequest, CreateDomainAndIpResponse, DescribePublicIpAssetsRequest, DeleteDomainAndIpResponse, DescribeDbAssetsResponse, AddNewBindRoleUserResponse, StopRiskCenterTaskResponse, DescribeCVMAssetInfoRequest, DescribeTaskLogURLRequest } from "./csip_models"; +import { DescribeDbAssetInfoResponse, DeleteRiskScanTaskRequest, DescribeRiskCenterAssetViewWeakPasswordRiskListResponse, DescribeScanReportListRequest, DescribeVpcAssetsResponse, StopRiskCenterTaskRequest, DescribeDomainAssetsRequest, DescribeRiskCenterWebsiteRiskListResponse, DeleteDomainAndIpRequest, DescribeScanTaskListRequest, DeleteDomainAndIpResponse, DescribeScanReportListResponse, DescribeSearchBugInfoRequest, AddNewBindRoleUserRequest, DescribeListenerListResponse, CreateRiskCenterScanTaskResponse, DescribeSubnetAssetsResponse, DescribeRiskCenterAssetViewPortRiskListRequest, StopRiskCenterTaskResponse, DescribeVpcAssetsRequest, DescribeRiskCenterAssetViewWeakPasswordRiskListRequest, DescribeCVMAssetsResponse, DescribePublicIpAssetsRequest, DescribeCVMAssetInfoRequest, CreateRiskCenterScanTaskRequest, DescribeRiskCenterAssetViewCFGRiskListResponse, DescribeScanTaskListResponse, DescribeClusterPodAssetsRequest, DescribeCVMAssetInfoResponse, DescribePublicIpAssetsResponse, DescribeTaskLogURLResponse, DescribeDbAssetInfoRequest, DescribeRiskCenterWebsiteRiskListRequest, DescribeSubnetAssetsRequest, DescribeClusterPodAssetsResponse, DescribeRiskCenterAssetViewCFGRiskListRequest, AddNewBindRoleUserResponse, DescribeDbAssetsRequest, DescribeRiskCenterAssetViewVULRiskListRequest, DescribeSearchBugInfoResponse, CreateDomainAndIpRequest, DescribeTaskLogListResponse, DescribeDomainAssetsResponse, DescribeDbAssetsResponse, DescribeRiskCenterAssetViewVULRiskListResponse, DescribeCVMAssetsRequest, DescribeRiskCenterServerRiskListRequest, DescribeRiskCenterServerRiskListResponse, DescribeListenerListRequest, DeleteRiskScanTaskResponse, CreateDomainAndIpResponse, DescribeTaskLogListRequest, DescribeRiskCenterAssetViewPortRiskListResponse, DescribeTaskLogURLRequest } from "./csip_models"; /** * csip client * @class @@ -36,9 +36,9 @@ export declare class Client extends AbstractClient { */ DeleteRiskScanTask(req: DeleteRiskScanTaskRequest, cb?: (error: string, rep: DeleteRiskScanTaskResponse) => void): Promise; /** - * 获取任务扫描报告列表 + * 获取资产视角的弱口令风险列表 */ - DescribeTaskLogList(req: DescribeTaskLogListRequest, cb?: (error: string, rep: DescribeTaskLogListResponse) => void): Promise; + DescribeRiskCenterAssetViewWeakPasswordRiskList(req: DescribeRiskCenterAssetViewWeakPasswordRiskListRequest, cb?: (error: string, rep: DescribeRiskCenterAssetViewWeakPasswordRiskListResponse) => void): Promise; /** * 获取资产视角的漏洞风险列表 */ @@ -47,14 +47,26 @@ export declare class Client extends AbstractClient { * 集群pod列表 */ DescribeClusterPodAssets(req: DescribeClusterPodAssetsRequest, cb?: (error: string, rep: DescribeClusterPodAssetsResponse) => void): Promise; + /** + * 获取资产视角的配置风险列表 + */ + DescribeRiskCenterAssetViewCFGRiskList(req: DescribeRiskCenterAssetViewCFGRiskListRequest, cb?: (error: string, rep: DescribeRiskCenterAssetViewCFGRiskListResponse) => void): Promise; /** * 获取vpc列表 */ DescribeVpcAssets(req: DescribeVpcAssetsRequest, cb?: (error: string, rep: DescribeVpcAssetsResponse) => void): Promise; + /** + * 获取风险服务列表 + */ + DescribeRiskCenterServerRiskList(req: DescribeRiskCenterServerRiskListRequest, cb?: (error: string, rep: DescribeRiskCenterServerRiskListResponse) => void): Promise; /** * cvm列表 */ DescribeCVMAssets(req: DescribeCVMAssetsRequest, cb?: (error: string, rep: DescribeCVMAssetsResponse) => void): Promise; + /** + * 获取网站风险列表 + */ + DescribeRiskCenterWebsiteRiskList(req: DescribeRiskCenterWebsiteRiskListRequest, cb?: (error: string, rep: DescribeRiskCenterWebsiteRiskListResponse) => void): Promise; /** * 获取报告下载的临时链接 */ @@ -67,6 +79,10 @@ export declare class Client extends AbstractClient { * 立体防护中心查询漏洞信息 */ DescribeSearchBugInfo(req: DescribeSearchBugInfoRequest, cb?: (error: string, rep: DescribeSearchBugInfoResponse) => void): Promise; + /** + * 获取任务扫描报告列表 + */ + DescribeTaskLogList(req: DescribeTaskLogListRequest, cb?: (error: string, rep: DescribeTaskLogListResponse) => void): Promise; /** * 获取扫描报告列表 */ diff --git a/tencentcloud/services/csip/v20221121/csip_client.js b/tencentcloud/services/csip/v20221121/csip_client.js index 921eac04e..d2446190c 100644 --- a/tencentcloud/services/csip/v20221121/csip_client.js +++ b/tencentcloud/services/csip/v20221121/csip_client.js @@ -70,10 +70,10 @@ class Client extends abstract_client_1.AbstractClient { return this.request("DeleteRiskScanTask", req, cb); } /** - * 获取任务扫描报告列表 + * 获取资产视角的弱口令风险列表 */ - async DescribeTaskLogList(req, cb) { - return this.request("DescribeTaskLogList", req, cb); + async DescribeRiskCenterAssetViewWeakPasswordRiskList(req, cb) { + return this.request("DescribeRiskCenterAssetViewWeakPasswordRiskList", req, cb); } /** * 获取资产视角的漏洞风险列表 @@ -87,18 +87,36 @@ class Client extends abstract_client_1.AbstractClient { async DescribeClusterPodAssets(req, cb) { return this.request("DescribeClusterPodAssets", req, cb); } + /** + * 获取资产视角的配置风险列表 + */ + async DescribeRiskCenterAssetViewCFGRiskList(req, cb) { + return this.request("DescribeRiskCenterAssetViewCFGRiskList", req, cb); + } /** * 获取vpc列表 */ async DescribeVpcAssets(req, cb) { return this.request("DescribeVpcAssets", req, cb); } + /** + * 获取风险服务列表 + */ + async DescribeRiskCenterServerRiskList(req, cb) { + return this.request("DescribeRiskCenterServerRiskList", req, cb); + } /** * cvm列表 */ async DescribeCVMAssets(req, cb) { return this.request("DescribeCVMAssets", req, cb); } + /** + * 获取网站风险列表 + */ + async DescribeRiskCenterWebsiteRiskList(req, cb) { + return this.request("DescribeRiskCenterWebsiteRiskList", req, cb); + } /** * 获取报告下载的临时链接 */ @@ -117,6 +135,12 @@ class Client extends abstract_client_1.AbstractClient { async DescribeSearchBugInfo(req, cb) { return this.request("DescribeSearchBugInfo", req, cb); } + /** + * 获取任务扫描报告列表 + */ + async DescribeTaskLogList(req, cb) { + return this.request("DescribeTaskLogList", req, cb); + } /** * 获取扫描报告列表 */ diff --git a/tencentcloud/services/csip/v20221121/csip_models.d.ts b/tencentcloud/services/csip/v20221121/csip_models.d.ts index dbed32354..3729610b6 100644 --- a/tencentcloud/services/csip/v20221121/csip_models.d.ts +++ b/tencentcloud/services/csip/v20221121/csip_models.d.ts @@ -1,300 +1,884 @@ /** - * DescribeDomainAssets返回参数结构体 + * DescribeDbAssetInfo返回参数结构体 */ -export interface DescribeDomainAssetsResponse { +export interface DescribeDbAssetInfoResponse { /** - * - + * db资产详情 注意:此字段可能返回 null,表示取不到有效值。 */ - Total?: number; + Data?: DbAssetInfo; /** - * - - 注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - Data?: Array; + RequestId?: string; +} +/** + * DeleteRiskScanTask请求参数结构体 + */ +export interface DeleteRiskScanTaskRequest { /** - * 防护状态列表 - 注意:此字段可能返回 null,表示取不到有效值。 + * 任务id 列表 */ - DefenseStatusList?: Array; + TaskIdList: Array; +} +/** + * DescribeRiskCenterAssetViewWeakPasswordRiskList返回参数结构体 + */ +export interface DescribeRiskCenterAssetViewWeakPasswordRiskListResponse { /** - * 资产归属地列表 - 注意:此字段可能返回 null,表示取不到有效值。 + * 总条数 */ - AssetLocationList?: Array; + TotalCount?: number; + /** + * 风险列表 + */ + Data?: Array; + /** + * 状态列表 + */ + StatusLists?: Array; + /** + * 危险等级列表 + */ + LevelLists?: Array; + /** + * 来源列表 + */ + FromLists?: Array; /** * 资产类型列表 - 注意:此字段可能返回 null,表示取不到有效值。 */ - SourceTypeList?: Array; + InstanceTypeLists?: Array; /** - * 地域列表 - 注意:此字段可能返回 null,表示取不到有效值。 + * 弱口令类型列表 */ - RegionList?: Array; + PasswordTypeLists?: Array; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** - * DeleteDomainAndIp请求参数结构体 + * 弱口令风险高级配置 */ -export interface DeleteDomainAndIpRequest { +export interface TaskCenterWeakPwdRiskInputParam { /** - * - + * 检测项ID */ - Content: Array; + CheckItemId: number; /** - * 是否保留路径配置,1:保留,其他:不保留,默认不传为不保留 + * 是否开启,0-不开启,1-开启 */ - RetainPath?: number; + Enable: number; +} +/** + * 过滤数据对象 + */ +export interface FilterDataObject { /** - * 以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略 + * 英文翻译 */ - IgnoreAsset?: number; + Value?: string; + /** + * 中文翻译 + */ + Text?: string; } /** - * 扫描任务列表展示信息 + * 报告项key */ -export interface ScanTaskInfoList { +export interface ReportItemKey { /** - * 任务名称 - 注意:此字段可能返回 null,表示取不到有效值。 + * 日志Id列表 */ - TaskName?: string; + TaskLogList: Array; +} +/** + * 主机资产信息 + */ +export interface CVMAssetVO { /** - * 任务开始时间 + * 资产id 注意:此字段可能返回 null,表示取不到有效值。 */ - StartTime?: string; + AssetId?: string; /** - * 任务结束时间 + * 资产名 注意:此字段可能返回 null,表示取不到有效值。 */ - EndTime?: string; + AssetName?: string; /** - * corn + * 资产类型 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanPlanContent?: string; + AssetType?: string; /** - * 0-周期任务,1-立即扫描,2-定时扫描,3-自定义 + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskType?: number; + Region?: string; /** - * 创建时间 + * 防护状态 注意:此字段可能返回 null,表示取不到有效值。 */ - InsertTime?: string; + CWPStatus?: number; /** - * 任务ID + * 资产创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskId?: string; + AssetCreateTime?: string; /** - * 排除扫描资产信息 + * 公网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - SelfDefiningAssets?: Array; + PublicIp?: string; /** - * 预估时间 + * 私网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - PredictTime?: number; + PrivateIp?: string; /** - * 预估完成时间 + * vpc id 注意:此字段可能返回 null,表示取不到有效值。 */ - PredictEndTime?: string; + VpcId?: string; /** - * 报告数量 + * vpc 名 注意:此字段可能返回 null,表示取不到有效值。 */ - ReportNumber?: number; + VpcName?: string; /** - * 资产数量 + * appid信息 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetNumber?: number; + AppId?: number; /** - * 扫描状态 0 初始值 1正在扫描 2扫描完成 3扫描出错 + * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanStatus?: number; + Uin?: string; /** - * 任务进度 + * 昵称 注意:此字段可能返回 null,表示取不到有效值。 */ - Percent?: number; + NickName?: string; /** - * port/poc/weakpass/webcontent/configrisk + * 可用区 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanItem?: string; + AvailableArea?: string; /** - * 0-全扫,1-指定资产扫,2-排除资产扫 + * 是否核心 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanAssetType?: number; + IsCore?: number; /** - * vss子任务id + * 子网id 注意:此字段可能返回 null,表示取不到有效值。 */ - VSSTaskId?: string; + SubnetId?: string; /** - * cspm子任务id + * 子网名 注意:此字段可能返回 null,表示取不到有效值。 */ - CSPMTaskId?: string; + SubnetName?: string; /** - * 主机漏扫子任务id + * uuid 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPPOCId?: string; + InstanceUuid?: string; /** - * 主机基线子任务id + * qquid 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPBlId?: string; + InstanceQUuid?: string; /** - * vss子任务进度 + * os名 注意:此字段可能返回 null,表示取不到有效值。 */ - VSSTaskProcess?: number; + OsName?: string; /** - * cspm子任务进度 + * 分区 注意:此字段可能返回 null,表示取不到有效值。 */ - CSPMTaskProcess?: number; + PartitionCount?: number; /** - * 主机漏扫子任务进度 + * cpu信息 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPPOCProcess?: number; + CPUInfo?: string; /** - * 主机基线子任务进度 + * cpu大小 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPBlProcess?: number; + CPUSize?: number; /** - * 异常状态码 + * cpu负载 注意:此字段可能返回 null,表示取不到有效值。 */ - ErrorCode?: number; + CPULoad?: string; /** - * 异常信息 + * 内存大小 注意:此字段可能返回 null,表示取不到有效值。 */ - ErrorInfo?: string; + MemorySize?: string; /** - * 周期任务开始的天数 + * 内存负载 注意:此字段可能返回 null,表示取不到有效值。 */ - StartDay?: number; + MemoryLoad?: string; /** - * 扫描频率,单位天,1-每天,7-每周,30-月,0-扫描一次 + * 硬盘大小 注意:此字段可能返回 null,表示取不到有效值。 */ - Frequency?: number; + DiskSize?: string; /** - * 完成次数 + * 硬盘负载 注意:此字段可能返回 null,表示取不到有效值。 */ - CompleteNumber?: number; + DiskLoad?: string; /** - * 已完成资产个数 + * 账号数 注意:此字段可能返回 null,表示取不到有效值。 */ - CompleteAssetNumber?: number; + AccountCount?: string; /** - * 风险数 + * 进程数 注意:此字段可能返回 null,表示取不到有效值。 */ - RiskCount?: number; + ProcessCount?: string; /** - * 资产 + * 软件应用 注意:此字段可能返回 null,表示取不到有效值。 */ - Assets?: Array; + AppCount?: string; /** - * 用户Appid + * 监听端口 注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: string; + PortCount?: number; /** - * 用户主账户ID + * 网络攻击 注意:此字段可能返回 null,表示取不到有效值。 */ - UIN?: string; + Attack?: number; /** - * 用户名称 + * 网络访问 注意:此字段可能返回 null,表示取不到有效值。 */ - UserName?: string; + Access?: number; /** - * 体检模式,0-标准模式,1-快速模式,2-高级模式 + * 网络拦截 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskMode?: number; + Intercept?: number; /** - * 扫描来源 + * 入向峰值带宽 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanFrom?: string; + InBandwidth?: string; /** - * 是否限免体检0不是,1是 + * 出向峰值带宽 注意:此字段可能返回 null,表示取不到有效值。 */ - IsFree?: number; + OutBandwidth?: string; /** - * 是否可以删除,1-可以,0-不可以,对应多账户管理使用 + * 入向累计流量 注意:此字段可能返回 null,表示取不到有效值。 */ - IsDelete?: number; -} -/** - * DescribeDbAssetInfo返回参数结构体 - */ -export interface DescribeDbAssetInfoResponse { + InFlow?: string; /** - * db资产详情 + * 出向累计流量 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: DbAssetInfo; + OutFlow?: string; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 最近扫描时间 + 注意:此字段可能返回 null,表示取不到有效值。 */ - RequestId?: string; -} + LastScanTime?: string; + /** + * 恶意主动外联 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + NetWorkOut?: number; + /** + * 端口风险 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + PortRisk?: number; + /** + * 漏洞风险 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + VulnerabilityRisk?: number; + /** + * 配置风险 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + ConfigurationRisk?: number; + /** + * 扫描任务数 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + ScanTask?: number; + /** + * 标签 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Tag?: Array; + /** + * memberId + 注意:此字段可能返回 null,表示取不到有效值。 + */ + MemberId?: string; + /** + * os全称 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Os?: string; + /** + * 风险服务暴露 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + RiskExposure?: number; + /** + * 模拟攻击工具状态。0代表未安装,1代表已安装,2代表已离线 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + BASAgentStatus?: number; + /** + * 1新资产;0 非新资产 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + IsNewAsset?: number; +} +/** + * 资产视角配置风险 + */ +export interface AssetViewCFGRisk { + /** + * 唯一id + */ + Id?: string; + /** + * 配置名 + */ + CFGName?: string; + /** + * 检查类型 + */ + CheckType?: string; + /** + * 实例id + */ + InstanceId?: string; + /** + * 实例名 + */ + InstanceName?: string; + /** + * 实例类型 + */ + InstanceType?: string; + /** + * 影响资产 + */ + AffectAsset?: string; + /** + * 风险等级 + */ + Level?: string; + /** + * 首次识别时间 + */ + FirstTime?: string; + /** + * 最近识别时间 + */ + RecentTime?: string; + /** + * 来源 + */ + From?: string; + /** + * 状态 + */ + Status?: number; + /** + * - + */ + CFGSTD?: string; + /** + * 配置详情 + */ + CFGDescribe?: string; + /** + * 修复建议 + */ + CFGFix?: string; + /** + * 帮助文档链接 + */ + CFGHelpURL?: string; + /** + * 前端使用索引 + */ + Index?: string; + /** + * 用户appid + */ + AppId?: string; + /** + * 用户昵称 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Nick?: string; + /** + * 用户uin + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Uin?: string; +} +/** + * 资产视角的漏洞风险对象 + */ +export interface AssetViewVULRisk { + /** + * 影响资产 + */ + AffectAsset?: string; + /** + * 风险等级 + */ + Level?: string; + /** + * 资产类型 + */ + InstanceType?: string; + /** + * 组件 + */ + Component?: string; + /** + * 服务 + */ + Service?: string; + /** + * 最近识别时间 + */ + RecentTime?: string; + /** + * 首次识别时间 + */ + FirstTime?: string; + /** + * 状态,0未处理、1已处置、2已忽略 + */ + Status?: number; + /** + * 资产唯一id + */ + Id?: string; + /** + * 前端索引 + */ + Index?: string; + /** + * 实例id + */ + InstanceId?: string; + /** + * 实例名 + */ + InstanceName?: string; + /** + * 用户appid + */ + AppId?: string; + /** + * 用户昵称 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Nick?: string; + /** + * 用户uin + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Uin?: string; + /** + * 漏洞类型 + */ + VULType?: string; + /** + * 端口 + */ + Port?: string; + /** + * 描述 + */ + Describe?: string; + /** + * 版本名 + */ + AppName?: string; + /** + * 相关信息 + */ + References?: string; + /** + * 版本 + */ + AppVersion?: string; + /** + * 漏洞url + */ + VULURL?: string; + /** + * 漏洞名称 + */ + VULName?: string; + /** + * cve + */ + CVE?: string; + /** + * 修复建议 + */ + Fix?: string; + /** + * pocid + */ + POCId?: string; + /** + * 来源 + */ + From?: string; + /** + * 主机版本 + */ + CWPVersion?: number; + /** + * 是否支持修复 + */ + IsSupportRepair?: boolean; + /** + * 是否支持扫描 + */ + IsSupportDetect?: boolean; + /** + * 实例uuid + */ + InstanceUUID?: string; + /** + * 负载 + */ + Payload?: string; + /** + * 应急漏洞类型,1-应急漏洞,0-非应急漏洞 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + EMGCVulType?: number; +} +/** + * DescribeScanReportList请求参数结构体 + */ +export interface DescribeScanReportListRequest { + /** + * 列表过滤条件 + */ + Filter?: Filter; +} +/** + * DescribeVpcAssets返回参数结构体 + */ +export interface DescribeVpcAssetsResponse { + /** + * 列表 + */ + Data?: Array; + /** + * 总数 + */ + TotalCount?: number; + /** + * vpc列表 + */ + VpcList?: Array; + /** + * 地域列表 + */ + RegionList?: Array; + /** + * appid列表 + */ + AppIdList?: Array; + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string; +} +/** + * vpc列表数据 + */ +export interface Vpc { + /** + * 子网(只支持32位) + */ + Subnet?: number; + /** + * 互通vpc(只支持32位) + */ + ConnectedVpc?: number; + /** + * 资产id + */ + AssetId?: string; + /** + * region区域 + */ + Region?: string; + /** + * 云服务器(只支持32位) + */ + CVM?: number; + /** + * 标签 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Tag?: Array; + /** + * dns域名 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + DNS?: Array; + /** + * 资产名称 + */ + AssetName?: string; + /** + * cidr网段 + */ + CIDR?: string; + /** + * 资产创建时间 + */ + CreateTime?: string; + /** + * appid + */ + AppId?: string; + /** + * uin + */ + Uin?: string; + /** + * 昵称 + */ + Nick?: string; + /** + * 是否新资产 1新 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + IsNewAsset?: number; + /** + * 是否核心资产1是 2不是 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + IsCore?: number; +} +/** + * StopRiskCenterTask请求参数结构体 + */ +export interface StopRiskCenterTaskRequest { + /** + * 任务id 列表 + */ + TaskIdList: Array; +} +/** + * 漏洞和资产信息 + */ +export interface DataSearchBug { + /** + * 返回查询状态 + */ + StateCode?: string; + /** + * 无 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + DataBug?: Array; + /** + * 无 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + DataAsset?: Array; + /** + * true支持扫描。false不支持扫描 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + VSSScan?: boolean; + /** + * 0不支持,1支持 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + CWPScan?: string; + /** + * 1支持虚拟补丁,0或空不支持 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + CFWPatch?: string; + /** + * 0不支持,1支持 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + WafPatch?: number; + /** + * 0不支持,1支持 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + CWPFix?: number; +} +/** + * DescribeDomainAssets请求参数结构体 + */ +export interface DescribeDomainAssetsRequest { + /** + * - + */ + Filter?: Filter; +} /** - * DeleteRiskScanTask请求参数结构体 + * DescribeRiskCenterWebsiteRiskList返回参数结构体 */ -export interface DeleteRiskScanTaskRequest { +export interface DescribeRiskCenterWebsiteRiskListResponse { /** - * 任务id 列表 + * 总条数 */ - TaskIdList: Array; + TotalCount?: number; + /** + * 资产视角的端口风险列表 + */ + Data?: Array; + /** + * 状态列表 + */ + StatusLists?: Array; + /** + * 危险等级列表 + */ + LevelLists?: Array; + /** + * 资产类型列表 + */ + InstanceTypeLists?: Array; + /** + * 风险类型列表 + */ + DetectEngineLists?: Array; + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string; } /** - * 报告项key + * 标签 */ -export interface ReportItemKey { +export interface Tag { /** - * 日志Id列表 + * 标签名称 */ - TaskLogList: Array; + Name: string; + /** + * 标签内容 + */ + Value: string; } /** - * DescribeScanReportList请求参数结构体 + * DeleteDomainAndIp请求参数结构体 */ -export interface DescribeScanReportListRequest { +export interface DeleteDomainAndIpRequest { /** - * 列表过滤条件 + * - + */ + Content: Array; + /** + * 是否保留路径配置,1:保留,其他:不保留,默认不传为不保留 + */ + RetainPath?: number; + /** + * 以后是否忽略该资产,,1:忽略,其他:不忽略,默认不传为忽略 + */ + IgnoreAsset?: number; +} +/** + * DescribeScanTaskList请求参数结构体 + */ +export interface DescribeScanTaskListRequest { + /** + * 过滤内容 */ Filter?: Filter; } +/** + * 任务ID列表Key + */ +export interface TaskIdListKey { + /** + * 任务ID + */ + TaskId: string; +} +/** + * DeleteDomainAndIp返回参数结构体 + */ +export interface DeleteDomainAndIpResponse { + /** + * 删除的资产数量 + */ + Data?: number; + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string; +} +/** + * DescribeScanReportList返回参数结构体 + */ +export interface DescribeScanReportListResponse { + /** + * 总条数 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + TotalCount?: number; + /** + * 任务日志列表 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Data?: Array; + /** + * 主账户ID列表 + */ + UINList?: Array; + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string; +} +/** + * DescribeSearchBugInfo请求参数结构体 + */ +export interface DescribeSearchBugInfoRequest { + /** + * 无 + */ + Id: string; + /** + * id=3时传入该参数 + */ + CVEId?: string; +} /** * 报告pdf下载的临时链接 */ @@ -321,510 +905,518 @@ export interface TaskLogURL { AppId?: string; } /** - * DescribeRiskCenterAssetViewVULRiskList请求参数结构体 + * AddNewBindRoleUser请求参数结构体 */ -export interface DescribeRiskCenterAssetViewVULRiskListRequest { - /** - * 过滤内容 - */ - Filter?: Filter; -} +export declare type AddNewBindRoleUserRequest = null; /** - * 配置风险高级配置 + * DescribeListenerList返回参数结构体 */ -export interface TaskCenterCFGRiskInputParam { - /** - * 检测项ID - */ - ItemId: string; - /** - * 是否开启,0-不开启,1-开启 - */ - Enable: number; +export interface DescribeListenerListResponse { /** - * 资源类型 + * 总数 + 注意:此字段可能返回 null,表示取不到有效值。 */ - ResourceType: string; -} -/** - * 弱口令风险高级配置 - */ -export interface TaskCenterWeakPwdRiskInputParam { + Total?: number; /** - * 检测项ID + * 监听器列表 + 注意:此字段可能返回 null,表示取不到有效值。 */ - CheckItemId: number; + Data?: Array; /** - * 是否开启,0-不开启,1-开启 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - Enable: number; + RequestId?: string; } /** - * 任务报告信息 + * db资产输出字段 */ -export interface TaskLogInfo { +export interface DBAssetVO { /** - * 报告名称 + * 资产id 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskLogName?: string; - /** - * 报告ID - */ - TaskLogId?: string; + AssetId?: string; /** - * 关联资产个数 + * 资产名 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetsNumber?: number; + AssetName?: string; /** - * 安全风险数量 + * 资产类型 注意:此字段可能返回 null,表示取不到有效值。 */ - RiskNumber?: number; + AssetType?: string; /** - * 报告生成时间,任务结束时间 + * vpcid 注意:此字段可能返回 null,表示取不到有效值。 */ - Time?: string; + VpcId?: string; /** - * 任务状态码:0 初始值 1正在扫描 2扫描完成 3扫描出错,4停止,5暂停,6该任务已被重启过 + * vpc标签 注意:此字段可能返回 null,表示取不到有效值。 */ - Status?: number; + VpcName?: string; /** - * 关联任务名称 + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskName?: string; + Region?: string; /** - * 扫描开始时间 + * 域名 注意:此字段可能返回 null,表示取不到有效值。 */ - StartTime?: string; + Domain?: string; /** - * 任务中心扫描任务ID + * 资产创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskCenterTaskId?: string; + AssetCreateTime?: string; /** - * 租户ID + * 最近扫描时间 注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: string; + LastScanTime?: string; /** - * 主账户ID + * 配置风险 注意:此字段可能返回 null,表示取不到有效值。 */ - UIN?: string; + ConfigurationRisk?: number; /** - * 用户名称 + * 网络攻击 注意:此字段可能返回 null,表示取不到有效值。 */ - UserName?: string; -} -/** - * CreateDomainAndIp请求参数结构体 - */ -export interface CreateDomainAndIpRequest { + Attack?: number; /** - * - + * 网络访问 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Content: Array; -} -/** - * 域名资产 - */ -export interface DomainAssetVO { + Access?: number; /** - * 资产id + * 扫描任务 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetId?: Array; + ScanTask?: number; /** - * 资产名 + * 用户appid 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetName?: Array; + AppId?: number; /** - * 资产类型 + * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetType?: Array; + Uin?: string; /** - * 地域 + * 昵称别名 注意:此字段可能返回 null,表示取不到有效值。 */ - Region?: Array; + NickName?: string; /** - * Waf状态 + * 端口 注意:此字段可能返回 null,表示取不到有效值。 */ - WAFStatus?: number; + Port?: number; /** - * 资产创建时间 + * 标签 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetCreateTime?: string; + Tag?: Array; /** - * Appid + * 内网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: number; + PrivateIp?: string; /** - * 账号id + * 公网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - Uin?: string; + PublicIp?: string; /** - * 账号名称 + * 状态 注意:此字段可能返回 null,表示取不到有效值。 */ - NickName?: string; + Status?: number; /** * 是否核心 注意:此字段可能返回 null,表示取不到有效值。 */ IsCore?: number; /** - * 是否云上资产 + * 是否新资产: 1新 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCloud?: number; + IsNewAsset?: number; +} +/** + * 资产扫描结构细节 + */ +export interface AssetInfoDetail { /** - * 网络攻击 + * 用户appid 注意:此字段可能返回 null,表示取不到有效值。 */ - Attack?: number; + AppID?: string; /** - * 网络访问 + * CVE编号 注意:此字段可能返回 null,表示取不到有效值。 */ - Access?: number; + CVEId?: string; /** - * 网络拦截 + * 是扫描,0默认未扫描,1正在扫描,2扫描完成,3扫描出错 注意:此字段可能返回 null,表示取不到有效值。 */ - Intercept?: number; + IsScan?: number; /** - * 入站峰值带宽 + * 影响资产数目 注意:此字段可能返回 null,表示取不到有效值。 */ - InBandwidth?: string; + InfluenceAsset?: number; /** - * 出站峰值带宽 + * 未修复资产数目 注意:此字段可能返回 null,表示取不到有效值。 */ - OutBandwidth?: string; + NotRepairAsset?: number; /** - * 入站累计流量 + * 未防护资产数目 注意:此字段可能返回 null,表示取不到有效值。 */ - InFlow?: string; + NotProtectAsset?: number; /** - * 出站累计流量 + * 任务ID 注意:此字段可能返回 null,表示取不到有效值。 */ - OutFlow?: string; + TaskId?: string; /** - * 最近扫描时间 + * 任务百分比 注意:此字段可能返回 null,表示取不到有效值。 */ - LastScanTime?: string; + TaskPercent?: number; /** - * 端口风险 + * 任务时间 注意:此字段可能返回 null,表示取不到有效值。 */ - PortRisk?: number; + TaskTime?: number; /** - * 漏洞风险 + * 扫描时间 注意:此字段可能返回 null,表示取不到有效值。 */ - VulnerabilityRisk?: number; + ScanTime?: string; +} +/** + * 子网资产 + */ +export interface SubnetAsset { /** - * 配置风险 - 注意:此字段可能返回 null,表示取不到有效值。 + * appid */ - ConfigurationRisk?: number; + AppId?: string; /** - * 扫描任务 - 注意:此字段可能返回 null,表示取不到有效值。 + * uin */ - ScanTask?: number; + Uin?: string; /** - * 域名 - 注意:此字段可能返回 null,表示取不到有效值。 + * 资产ID */ - SubDomain?: string; + AssetId?: string; /** - * 解析ip - 注意:此字段可能返回 null,表示取不到有效值。 + * 资产名 */ - SeverIp?: Array; + AssetName?: string; /** - * boi访问数量 - 注意:此字段可能返回 null,表示取不到有效值。 + * 区域 */ - BotCount?: number; + Region?: string; /** - * 弱口令风险 - 注意:此字段可能返回 null,表示取不到有效值。 + * 私有网络id */ - WeakPassword?: number; + VpcId?: string; /** - * 内容风险 - 注意:此字段可能返回 null,表示取不到有效值。 + * 私有网络名 */ - WebContentRisk?: number; + VpcName?: string; /** - * tag标签 + * 标签 注意:此字段可能返回 null,表示取不到有效值。 */ Tag?: Array; /** - * 关联实例类型 - 注意:此字段可能返回 null,表示取不到有效值。 + * 昵称 */ - SourceType?: string; + Nick?: string; /** - * memberiD - 注意:此字段可能返回 null,表示取不到有效值。 + * cidr */ - MemberId?: string; + CIDR?: string; /** - * cc攻击 - 注意:此字段可能返回 null,表示取不到有效值。 + * 可用区 */ - CCAttack?: number; + Zone?: string; /** - * web攻击 - 注意:此字段可能返回 null,表示取不到有效值。 + * cvm数 */ - WebAttack?: number; + CVM?: number; /** - * 风险服务暴露数量 - 注意:此字段可能返回 null,表示取不到有效值。 + * 可用ip数 */ - ServiceRisk?: number; + AvailableIp?: number; /** - * 是否新资产 1新 - 注意:此字段可能返回 null,表示取不到有效值。 + * 创建时间 */ - IsNewAsset?: number; + CreateTime?: string; /** - * 待确认资产的随机三级域名 - 注意:此字段可能返回 null,表示取不到有效值。 + * 配置风险 */ - VerifyDomain?: string; + ConfigureRisk?: number; /** - * 待确认资产的TXT记录内容 - 注意:此字段可能返回 null,表示取不到有效值。 + * 任务数 */ - VerifyTXTRecord?: string; + ScanTask?: number; /** - * 待确认资产的认证状态,0-待认证,1-认证成功,2-认证中,3-txt认证失败,4-人工认证失败 + * 最后扫描时间 + */ + LastScanTime?: string; + /** + * 是否核心 注意:此字段可能返回 null,表示取不到有效值。 */ - VerifyStatus?: number; + IsCore?: number; /** - * bot访问数据 + * 是否新资产 1新 注意:此字段可能返回 null,表示取不到有效值。 */ - BotAccessCount?: number; + IsNewAsset?: number; } /** - * DescribeSearchBugInfo返回参数结构体 + * CreateRiskCenterScanTask返回参数结构体 */ -export interface DescribeSearchBugInfoResponse { +export interface CreateRiskCenterScanTaskResponse { /** - * 漏洞信息和资产信息 - 注意:此字段可能返回 null,表示取不到有效值。 + * 任务id */ - Data?: DataSearchBug; + TaskId?: string; /** - * 状态值,0:查询成功,非0:查询失败 + * 0,任务创建成功;小于0失败;-1为存在资产未认证 */ - ReturnCode?: number; + Status?: number; /** - * 状态信息,success:查询成功,fail:查询失败 + * 未认证资产列表 */ - ReturnMsg?: string; + UnAuthAsset?: Array; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** - * 漏洞风险高级配置 + * DescribeSubnetAssets返回参数结构体 */ -export interface TaskCenterVulRiskInputParam { +export interface DescribeSubnetAssetsResponse { /** - * 风险ID + * 列表 */ - RiskId: string; + Data?: Array; /** - * 是否开启,0-不开启,1-开启 + * 总数 */ - Enable: number; + TotalCount?: number; + /** + * 地域列表 + */ + RegionList?: Array; + /** + * vpc列表 + */ + VpcList?: Array; + /** + * appid列表 + */ + AppIdList?: Array; + /** + * 可用区列表 + */ + ZoneList?: Array; + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string; } /** - * StopRiskCenterTask请求参数结构体 + * DescribeRiskCenterAssetViewPortRiskList请求参数结构体 */ -export interface StopRiskCenterTaskRequest { +export interface DescribeRiskCenterAssetViewPortRiskListRequest { /** - * 任务id 列表 + * 过滤内容 */ - TaskIdList: Array; + Filter?: Filter; } /** - * DescribeScanTaskList返回参数结构体 + * StopRiskCenterTask返回参数结构体 */ -export interface DescribeScanTaskListResponse { +export interface StopRiskCenterTaskResponse { /** - * 总条数 - 注意:此字段可能返回 null,表示取不到有效值。 + * Status为0, 停止成功 */ - TotalCount?: number; + Status?: number; /** - * 任务日志列表 - 注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - Data?: Array; + RequestId?: string; +} +/** + * 服务风险 + */ +export interface ServerRisk { /** - * 主账户ID列表 - 注意:此字段可能返回 null,表示取不到有效值。 + * 测绘标签 */ - UINList?: Array; + ServiceTag?: string; /** - * 体检模式过滤列表 + * 端口 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskModeList?: Array; + Port?: number; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 影响资产 */ - RequestId?: string; -} -/** - * DescribeScanTaskList请求参数结构体 - */ -export interface DescribeScanTaskListRequest { + AffectAsset?: string; + /** + * 实例id + */ + InstanceId?: string; + /** + * 实例名 + */ + InstanceName?: string; + /** + * 资产类型 + */ + InstanceType?: string; /** - * 过滤内容 + * 风险等级 */ - Filter?: Filter; -} -/** - * DescribeVpcAssets返回参数结构体 - */ -export interface DescribeVpcAssetsResponse { + Level?: string; /** - * 列表 + * 协议 */ - Data?: Array; + Protocol?: string; /** - * 总数 + * 组件 */ - TotalCount?: number; + Component?: string; /** - * vpc列表 + * 服务 */ - VpcList?: Array; + Service?: string; /** - * 地域列表 + * 最近识别时间 */ - RegionList?: Array; + RecentTime?: string; /** - * appid列表 + * 首次识别时间 */ - AppIdList?: Array; + FirstTime?: string; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 风险详情 + 注意:此字段可能返回 null,表示取不到有效值。 */ - RequestId?: string; -} -/** - * 过滤数据对象 - */ -export interface FilterDataObject { + RiskDetails?: string; /** - * 英文翻译 + * 处置建议 */ - Value?: string; + Suggestion?: string; /** - * 中文翻译 + * 状态,0未处理、1已处置、2已忽略 */ - Text?: string; -} -/** - * CreateRiskCenterScanTask请求参数结构体 - */ -export interface CreateRiskCenterScanTaskRequest { + Status?: number; /** - * 任务名称 + * 资产唯一id */ - TaskName: string; + Id?: string; /** - * 0-全扫,1-指定资产扫,2-排除资产扫,3-手动填写扫;1和2则Assets字段必填,3则SelfDefiningAssets必填 + * 用户appid */ - ScanAssetType: number; + AppId?: string; /** - * 扫描项目;port/poc/weakpass/webcontent/configrisk/exposedserver + * 用户昵称 + 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanItem: Array; + Nick?: string; /** - * 0-周期任务,1-立即扫描,2-定时扫描,3-自定义;0,2,3则ScanPlanContent必填 + * 用户uin + 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanPlanType: number; + Uin?: string; /** - * 扫描资产信息列表 + * 服务快照 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Assets?: Array; + ServiceSnapshot?: string; /** - * 扫描计划详情 + * 服务访问的url + 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanPlanContent?: string; + Url?: string; /** - * ip/域名/url数组 + * 列表索引值 + 注意:此字段可能返回 null,表示取不到有效值。 */ - SelfDefiningAssets?: Array; + Index?: string; /** - * 高级配置 + * 风险列表 + 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskAdvanceCFG?: TaskAdvanceCFG; + RiskList?: Array; /** - * 体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式 + * 建议列表 + 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskMode?: number; + SuggestionList?: Array; + /** + * HTTP响应状态码 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + StatusCode?: string; } /** - * 任务高级配置 + * 任务资产项 */ -export interface TaskAdvanceCFG { +export interface TaskAssetObject { /** - * 漏洞风险高级配置 + * 资产名 + 注意:此字段可能返回 null,表示取不到有效值。 */ - VulRisk?: Array; + AssetName?: string; /** - * 弱口令风险高级配置 + * 资产类型 + 注意:此字段可能返回 null,表示取不到有效值。 */ - WeakPwdRisk?: Array; + InstanceType?: string; /** - * 配置风险高级配置 + * 资产分类 + 注意:此字段可能返回 null,表示取不到有效值。 */ - CFGRisk?: Array; + AssetType?: string; + /** + * ip/域名/资产id,数据库id等 + */ + Asset?: string; + /** + * 地域 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Region?: string; } /** - * 主机资产信息 + * ip列表 */ -export interface CVMAssetVO { +export interface IpAssetListVO { /** * 资产id 注意:此字段可能返回 null,表示取不到有效值。 */ AssetId?: string; /** - * 资产名 + * 资产name 注意:此字段可能返回 null,表示取不到有效值。 */ AssetName?: string; @@ -839,10 +1431,10 @@ export interface CVMAssetVO { */ Region?: string; /** - * 防护状态 + * 云防状态 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPStatus?: number; + CFWStatus?: number; /** * 资产创建时间 注意:此字段可能返回 null,表示取不到有效值。 @@ -854,22 +1446,22 @@ export interface CVMAssetVO { */ PublicIp?: string; /** - * 私网ip + * 公网ip类型 注意:此字段可能返回 null,表示取不到有效值。 */ - PrivateIp?: string; + PublicIpType?: number; /** - * vpc id + * vpc 注意:此字段可能返回 null,表示取不到有效值。 */ VpcId?: string; /** - * vpc 名 + * vpc名 注意:此字段可能返回 null,表示取不到有效值。 */ VpcName?: string; /** - * appid信息 + * appid 注意:此字段可能返回 null,表示取不到有效值。 */ AppId?: number; @@ -879,764 +1471,687 @@ export interface CVMAssetVO { */ Uin?: string; /** - * 昵称 + * 名称 注意:此字段可能返回 null,表示取不到有效值。 */ NickName?: string; /** - * 可用区 + * 核心 注意:此字段可能返回 null,表示取不到有效值。 */ - AvailableArea?: string; + IsCore?: number; /** - * 是否核心 + * 云上 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCore?: number; + IsCloud?: number; /** - * 子网id + * 网络攻击 注意:此字段可能返回 null,表示取不到有效值。 */ - SubnetId?: string; + Attack?: number; /** - * 子网名 + * 网络访问 注意:此字段可能返回 null,表示取不到有效值。 */ - SubnetName?: string; + Access?: number; /** - * uuid + * 网络拦截 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceUuid?: string; + Intercept?: number; /** - * qquid + * 入向带宽 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceQUuid?: string; + InBandwidth?: string; /** - * os名 + * 出向带宽 注意:此字段可能返回 null,表示取不到有效值。 */ - OsName?: string; + OutBandwidth?: string; /** - * 分区 + * 入向流量 注意:此字段可能返回 null,表示取不到有效值。 */ - PartitionCount?: number; + InFlow?: string; /** - * cpu信息 + * 出向流量 注意:此字段可能返回 null,表示取不到有效值。 */ - CPUInfo?: string; + OutFlow?: string; /** - * cpu大小 + * 最近扫描时间 注意:此字段可能返回 null,表示取不到有效值。 */ - CPUSize?: number; + LastScanTime?: string; /** - * cpu负载 + * 端口风险 注意:此字段可能返回 null,表示取不到有效值。 */ - CPULoad?: string; + PortRisk?: number; /** - * 内存大小 + * 漏洞风险 注意:此字段可能返回 null,表示取不到有效值。 */ - MemorySize?: string; + VulnerabilityRisk?: number; /** - * 内存负载 + * 配置风险 注意:此字段可能返回 null,表示取不到有效值。 */ - MemoryLoad?: string; + ConfigurationRisk?: number; /** - * 硬盘大小 + * 扫描任务 注意:此字段可能返回 null,表示取不到有效值。 */ - DiskSize?: string; + ScanTask?: number; /** - * 硬盘负载 + * 弱口令 注意:此字段可能返回 null,表示取不到有效值。 */ - DiskLoad?: string; + WeakPassword?: number; /** - * 账号数 + * 内容风险 注意:此字段可能返回 null,表示取不到有效值。 */ - AccountCount?: string; + WebContentRisk?: number; /** - * 进程数 + * 标签 注意:此字段可能返回 null,表示取不到有效值。 */ - ProcessCount?: string; + Tag?: Array; /** - * 软件应用 + * eip主键 注意:此字段可能返回 null,表示取不到有效值。 */ - AppCount?: string; + AddressId?: string; /** - * 监听端口 + * memberid信息 注意:此字段可能返回 null,表示取不到有效值。 */ - PortCount?: number; + MemberId?: string; /** - * 网络攻击 + * 风险服务暴露 注意:此字段可能返回 null,表示取不到有效值。 */ - Attack?: number; + RiskExposure?: number; + /** + * 是否新资产 1新 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + IsNewAsset?: number; + /** + * 资产认证状态,0-待认证,1-认证成功,2-认证中,3+-认证失败 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + VerifyStatus?: number; +} +/** + * DescribeVpcAssets请求参数结构体 + */ +export interface DescribeVpcAssetsRequest { + /** + * 过滤参数 + */ + Filter?: Filter; +} +/** + * DescribeRiskCenterAssetViewWeakPasswordRiskList请求参数结构体 + */ +export interface DescribeRiskCenterAssetViewWeakPasswordRiskListRequest { + /** + * 过滤内容 + */ + Filter?: Filter; +} +/** + * 公网IP和域名资产列表key + */ +export interface PublicIpDomainListKey { + /** + * 资产值 + */ + Asset: string; +} +/** + * DescribeCVMAssets返回参数结构体 + */ +export interface DescribeCVMAssetsResponse { /** - * 网络访问 + * - 注意:此字段可能返回 null,表示取不到有效值。 */ - Access?: number; + Total?: number; /** - * 网络拦截 + * - 注意:此字段可能返回 null,表示取不到有效值。 */ - Intercept?: number; + Data?: Array; /** - * 入向峰值带宽 + * 地域列表 注意:此字段可能返回 null,表示取不到有效值。 */ - InBandwidth?: string; + RegionList?: Array; /** - * 出向峰值带宽 + * 防护状态 注意:此字段可能返回 null,表示取不到有效值。 */ - OutBandwidth?: string; + DefenseStatusList?: Array; /** - * 入向累计流量 + * vpc枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - InFlow?: string; + VpcList?: Array; /** - * 出向累计流量 + * 资产类型枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - OutFlow?: string; + AssetTypeList?: Array; /** - * 最近扫描时间 + * 操作系统枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - LastScanTime?: string; + SystemTypeList?: Array; /** - * 恶意主动外联 + * ip列表 注意:此字段可能返回 null,表示取不到有效值。 */ - NetWorkOut?: number; + IpTypeList?: Array; /** - * 端口风险 + * appid列表 注意:此字段可能返回 null,表示取不到有效值。 */ - PortRisk?: number; + AppIdList?: Array; /** - * 漏洞风险 + * 可用区列表 注意:此字段可能返回 null,表示取不到有效值。 */ - VulnerabilityRisk?: number; + ZoneList?: Array; /** - * 配置风险 + * os列表 注意:此字段可能返回 null,表示取不到有效值。 */ - ConfigurationRisk?: number; + OsList?: Array; /** - * 扫描任务数 - 注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - ScanTask?: number; + RequestId?: string; +} +/** + * db资产详情 + */ +export interface DbAssetInfo { /** - * 标签 + * 云防状态 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: Array; + CFWStatus?: number; /** - * memberId + * 资产id 注意:此字段可能返回 null,表示取不到有效值。 */ - MemberId?: string; + AssetId?: string; /** - * os全称 + * vpc信息 注意:此字段可能返回 null,表示取不到有效值。 */ - Os?: string; + VpcName?: string; /** - * 风险服务暴露 + * 资产类型 注意:此字段可能返回 null,表示取不到有效值。 */ - RiskExposure?: number; + AssetType?: string; /** - * 模拟攻击工具状态。0代表未安装,1代表已安装,2代表已离线 + * 公网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - BASAgentStatus?: number; + PublicIp?: string; /** - * 1新资产;0 非新资产 + * 私网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - IsNewAsset?: number; -} -/** - * DescribeTaskLogList返回参数结构体 - */ -export interface DescribeTaskLogListResponse { + PrivateIp?: string; /** - * 总条数 + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - TotalCount?: number; + Region?: string; /** - * 报告列表 + * vpc信息 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: Array; + VpcId?: string; /** - * 待查看数量 + * 资产名 注意:此字段可能返回 null,表示取不到有效值。 */ - NotViewNumber?: number; - /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - */ - RequestId?: string; -} -/** - * DescribeScanReportList返回参数结构体 - */ -export interface DescribeScanReportListResponse { + AssetName?: string; /** - * 总条数 + * 云防保护版本 注意:此字段可能返回 null,表示取不到有效值。 */ - TotalCount?: number; + CFWProtectLevel?: number; /** - * 任务日志列表 + * tag信息 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: Array; - /** - * 主账户ID列表 - */ - UINList?: Array; - /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - */ - RequestId?: string; + Tag?: Array; } /** - * DescribeSearchBugInfo请求参数结构体 + * DescribePublicIpAssets请求参数结构体 */ -export interface DescribeSearchBugInfoRequest { - /** - * 无 - */ - Id: string; +export interface DescribePublicIpAssetsRequest { /** - * id=3时传入该参数 + * filte过滤条件 */ - CVEId?: string; + Filter?: Filter; } /** - * 漏洞详细信息 + * 集群pod列表 */ -export interface BugInfoDetail { +export interface AssetClusterPod { /** - * 漏洞编号 - 注意:此字段可能返回 null,表示取不到有效值。 + * 租户id */ - Id?: number; + AppId?: number; /** - * 漏洞对应pocId - 注意:此字段可能返回 null,表示取不到有效值。 + * 租户uin */ - PatchId?: string; + Uin?: string; /** - * 漏洞名称 - 注意:此字段可能返回 null,表示取不到有效值。 + * 租户昵称 */ - VULName?: string; + Nick?: string; /** - * 漏洞严重性:high,middle,low,info + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - Level?: string; + Region?: string; /** - * cvss评分 - 注意:此字段可能返回 null,表示取不到有效值。 + * pod id */ - CVSSScore?: string; + AssetId?: string; /** - * cve编号 - 注意:此字段可能返回 null,表示取不到有效值。 + * pod名称 */ - CVEId?: string; + AssetName?: string; /** - * 漏洞标签 + * pod创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: string; + InstanceCreateTime?: string; /** - * 漏洞种类,1:web应用,2:系统组件漏洞,3:配置风险 + * 命名空间 注意:此字段可能返回 null,表示取不到有效值。 */ - VULCategory?: number; + Namespace?: string; /** - * 漏洞影响系统 + * 状态 注意:此字段可能返回 null,表示取不到有效值。 */ - ImpactOs?: string; + Status?: string; /** - * 漏洞影响组件 + * 集群id 注意:此字段可能返回 null,表示取不到有效值。 */ - ImpactCOMPENT?: string; + ClusterId?: string; /** - * 漏洞影响版本 + * 集群名称 注意:此字段可能返回 null,表示取不到有效值。 */ - ImpactVersion?: string; + ClusterName?: string; /** - * 链接 + * 主机id 注意:此字段可能返回 null,表示取不到有效值。 */ - Reference?: string; + MachineId?: string; /** - * 漏洞描述 + * 主机名 注意:此字段可能返回 null,表示取不到有效值。 */ - VULDescribe?: string; + MachineName?: string; /** - * 修复建议 + * pod ip 注意:此字段可能返回 null,表示取不到有效值。 */ - Fix?: string; + PodIp?: string; /** - * 产品支持状态,实时返回 + * 关联service数 注意:此字段可能返回 null,表示取不到有效值。 */ - ProSupport?: number; + ServiceCount?: number; /** - * 是否公开,0为未发布,1为发布 + * 关联容器数 注意:此字段可能返回 null,表示取不到有效值。 */ - IsPublish?: number; + ContainerCount?: number; /** - * 释放时间 + * 公网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - ReleaseTime?: string; + PublicIp?: string; /** - * 创建时间 + * 内网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - CreateTime?: string; + PrivateIp?: string; /** - * 更新时间 + * 是否核心:1:核心,2:非核心 注意:此字段可能返回 null,表示取不到有效值。 */ - UpdateTime?: string; + IsCore?: number; /** - * 漏洞子类别 + * 是否新资产 1新 注意:此字段可能返回 null,表示取不到有效值。 */ - SubCategory?: string; -} -/** - * DescribeClusterPodAssets请求参数结构体 - */ -export interface DescribeClusterPodAssetsRequest { - /** - * 过滤 - */ - Filter?: Filter; -} -/** - * DescribeSubnetAssets请求参数结构体 - */ -export interface DescribeSubnetAssetsRequest { - /** - * 过滤参数 - */ - Filter?: Filter; + IsNewAsset?: number; } /** - * AddNewBindRoleUser请求参数结构体 - */ -export declare type AddNewBindRoleUserRequest = null; -/** - * DescribeCVMAssetInfo返回参数结构体 + * DescribeCVMAssetInfo请求参数结构体 */ -export interface DescribeCVMAssetInfoResponse { +export interface DescribeCVMAssetInfoRequest { /** * - - 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: AssetBaseInfoResponse; - /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - */ - RequestId?: string; + AssetId: string; } /** - * DescribePublicIpAssets返回参数结构体 + * 资产视角的弱口令风险 */ -export interface DescribePublicIpAssetsResponse { +export interface AssetViewWeakPassRisk { /** - * 列表 - 注意:此字段可能返回 null,表示取不到有效值。 + * 影响资产 */ - Data?: Array; + AffectAsset?: string; /** - * 总数 + * 风险等级 */ - Total?: number; + Level?: string; /** - * 资产归属地 - 注意:此字段可能返回 null,表示取不到有效值。 + * 资产类型 */ - AssetLocationList?: Array; + InstanceType?: string; /** - * ip列表枚举 - 注意:此字段可能返回 null,表示取不到有效值。 + * 组件 */ - IpTypeList?: Array; + Component?: string; /** - * 地域列表枚举 - 注意:此字段可能返回 null,表示取不到有效值。 + * 服务 */ - RegionList?: Array; + Service?: string; /** - * 防护枚举 - 注意:此字段可能返回 null,表示取不到有效值。 + * 最近识别时间 */ - DefenseStatusList?: Array; + RecentTime?: string; /** - * 资产类型枚举 - 注意:此字段可能返回 null,表示取不到有效值。 + * 首次识别时间 */ - AssetTypeList?: Array; + FirstTime?: string; /** - * AppId枚举 - 注意:此字段可能返回 null,表示取不到有效值。 + * 状态,0未处理、1已处置、2已忽略 */ - AppIdList?: Array; + Status?: number; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 资产唯一id */ - RequestId?: string; -} -/** - * DescribeTaskLogList请求参数结构体 - */ -export interface DescribeTaskLogListRequest { + Id?: string; /** - * 过滤内容 + * 前端索引 */ - Filter?: Filter; -} -/** - * DescribeDbAssets请求参数结构体 - */ -export interface DescribeDbAssetsRequest { + Index?: string; /** - * - + * 实例id */ - Filter?: Filter; -} -/** - * DescribeRiskCenterAssetViewVULRiskList返回参数结构体 - */ -export interface DescribeRiskCenterAssetViewVULRiskListResponse { + InstanceId?: string; /** - * 总条数 + * 实例名 */ - TotalCount?: number; + InstanceName?: string; /** - * 资产视角的漏洞风险列表 + * 用户appid */ - Data?: Array; + AppId?: string; /** - * 状态列表 + * 用户昵称 + 注意:此字段可能返回 null,表示取不到有效值。 */ - StatusLists?: Array; + Nick?: string; /** - * 危险等级列表 + * 用户uin + 注意:此字段可能返回 null,表示取不到有效值。 */ - LevelLists?: Array; + Uin?: string; /** - * 来源列表 + * 弱口令类型 */ - FromLists?: Array; + PasswordType?: string; /** - * 漏洞类型列表 + * 来源 */ - VULTypeLists?: Array; + From?: string; /** - * 资产类型列表 + * 漏洞类型 */ - InstanceTypeLists?: Array; + VULType?: string; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 漏洞url */ - RequestId?: string; -} -/** - * DescribeCVMAssets请求参数结构体 - */ -export interface DescribeCVMAssetsRequest { + VULURL?: string; /** - * - + * 修复建议 */ - Filter?: Filter; + Fix?: string; + /** + * 负载 + */ + Payload?: string; } /** - * DescribeListenerList返回参数结构体 + * 网站风险对象 */ -export interface DescribeListenerListResponse { +export interface WebsiteRisk { /** - * 总数 - 注意:此字段可能返回 null,表示取不到有效值。 + * 影响资产 */ - Total?: number; + AffectAsset?: string; /** - * 监听器列表 - 注意:此字段可能返回 null,表示取不到有效值。 + * 风险等级 */ - Data?: Array; + Level?: string; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 最近识别时间 */ - RequestId?: string; -} -/** - * DescribeTaskLogURL返回参数结构体 - */ -export interface DescribeTaskLogURLResponse { + RecentTime?: string; /** - * 返回报告临时下载url + * 首次识别时间 */ - Data?: Array; + FirstTime?: string; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 状态,0未处理、1已处置、2已忽略 */ - RequestId?: string; -} -/** - * db资产输出字段 - */ -export interface DBAssetVO { + Status?: number; /** - * 资产id - 注意:此字段可能返回 null,表示取不到有效值。 + * 资产唯一id */ - AssetId?: string; + Id?: string; /** - * 资产名 - 注意:此字段可能返回 null,表示取不到有效值。 + * 前端索引 */ - AssetName?: string; + Index?: string; /** - * 资产类型 - 注意:此字段可能返回 null,表示取不到有效值。 + * 实例id */ - AssetType?: string; + InstanceId?: string; /** - * vpcid - 注意:此字段可能返回 null,表示取不到有效值。 + * 实例名 */ - VpcId?: string; + InstanceName?: string; /** - * vpc标签 - 注意:此字段可能返回 null,表示取不到有效值。 + * 用户appid */ - VpcName?: string; + AppId?: string; /** - * 地域 + * 用户昵称 注意:此字段可能返回 null,表示取不到有效值。 */ - Region?: string; + Nick?: string; /** - * 域名 + * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ - Domain?: string; + Uin?: string; /** - * 资产创建时间 - 注意:此字段可能返回 null,表示取不到有效值。 + * 风险链接 */ - AssetCreateTime?: string; + URL?: string; /** - * 最近扫描时间 - 注意:此字段可能返回 null,表示取不到有效值。 + * 风险文件地址 */ - LastScanTime?: string; + URLPath?: string; /** - * 配置风险 - 注意:此字段可能返回 null,表示取不到有效值。 + * 实例类型 */ - ConfigurationRisk?: number; + InstanceType?: string; /** - * 网络攻击 - 注意:此字段可能返回 null,表示取不到有效值。 + * 类型 */ - Attack?: number; + DetectEngine?: string; /** - * 网络访问 - 注意:此字段可能返回 null,表示取不到有效值。 + * 结果描述 */ - Access?: number; + ResultDescribe?: string; /** - * 扫描任务 - 注意:此字段可能返回 null,表示取不到有效值。 + * 源地址url */ - ScanTask?: number; + SourceURL?: string; /** - * 用户appid - 注意:此字段可能返回 null,表示取不到有效值。 + * 源文件地址 */ - AppId?: number; + SourceURLPath?: string; +} +/** + * CreateRiskCenterScanTask请求参数结构体 + */ +export interface CreateRiskCenterScanTaskRequest { /** - * 用户uin - 注意:此字段可能返回 null,表示取不到有效值。 + * 任务名称 */ - Uin?: string; + TaskName: string; /** - * 昵称别名 - 注意:此字段可能返回 null,表示取不到有效值。 + * 0-全扫,1-指定资产扫,2-排除资产扫,3-手动填写扫;1和2则Assets字段必填,3则SelfDefiningAssets必填 */ - NickName?: string; + ScanAssetType: number; /** - * 端口 - 注意:此字段可能返回 null,表示取不到有效值。 + * 扫描项目;port/poc/weakpass/webcontent/configrisk/exposedserver */ - Port?: number; + ScanItem: Array; /** - * 标签 - 注意:此字段可能返回 null,表示取不到有效值。 + * 0-周期任务,1-立即扫描,2-定时扫描,3-自定义;0,2,3则ScanPlanContent必填 */ - Tag?: Array; + ScanPlanType: number; /** - * 内网ip - 注意:此字段可能返回 null,表示取不到有效值。 + * 扫描资产信息列表 */ - PrivateIp?: string; + Assets?: Array; /** - * 公网ip - 注意:此字段可能返回 null,表示取不到有效值。 + * 扫描计划详情 */ - PublicIp?: string; + ScanPlanContent?: string; /** - * 状态 - 注意:此字段可能返回 null,表示取不到有效值。 + * ip/域名/url数组 */ - Status?: number; + SelfDefiningAssets?: Array; /** - * 是否核心 - 注意:此字段可能返回 null,表示取不到有效值。 + * 高级配置 */ - IsCore?: number; + TaskAdvanceCFG?: TaskAdvanceCFG; /** - * 是否新资产: 1新 - 注意:此字段可能返回 null,表示取不到有效值。 + * 体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式 */ - IsNewAsset?: number; + TaskMode?: number; } /** - * 漏洞和资产信息 + * DescribeRiskCenterAssetViewCFGRiskList返回参数结构体 */ -export interface DataSearchBug { +export interface DescribeRiskCenterAssetViewCFGRiskListResponse { + /** + * 总条数 + */ + TotalCount?: number; /** - * 返回查询状态 + * 资产视角的配置风险列表 */ - StateCode?: string; + Data?: Array; /** - * 无 - 注意:此字段可能返回 null,表示取不到有效值。 + * 状态列表 */ - DataBug?: Array; + StatusLists?: Array; /** - * 无 - 注意:此字段可能返回 null,表示取不到有效值。 + * 危险等级列表 */ - DataAsset?: Array; + LevelLists?: Array; /** - * true支持扫描。false不支持扫描 - 注意:此字段可能返回 null,表示取不到有效值。 + * 配置名列表 */ - VSSScan?: boolean; + CFGNameLists?: Array; /** - * 0不支持,1支持 - 注意:此字段可能返回 null,表示取不到有效值。 + * 检查类型列表 */ - CWPScan?: string; + CheckTypeLists?: Array; /** - * 1支持虚拟补丁,0或空不支持 - 注意:此字段可能返回 null,表示取不到有效值。 + * 资产类型列表 */ - CFWPatch?: string; + InstanceTypeLists?: Array; /** - * 0不支持,1支持 - 注意:此字段可能返回 null,表示取不到有效值。 + * 来源列表 */ - WafPatch?: number; + FromLists?: Array; /** - * 0不支持,1支持 - 注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - CWPFix?: number; + RequestId?: string; } /** - * 资产扫描结构细节 + * 漏洞风险高级配置 */ -export interface AssetInfoDetail { - /** - * 用户appid - 注意:此字段可能返回 null,表示取不到有效值。 - */ - AppID?: string; - /** - * CVE编号 - 注意:此字段可能返回 null,表示取不到有效值。 - */ - CVEId?: string; - /** - * 是扫描,0默认未扫描,1正在扫描,2扫描完成,3扫描出错 - 注意:此字段可能返回 null,表示取不到有效值。 - */ - IsScan?: number; +export interface TaskCenterVulRiskInputParam { /** - * 影响资产数目 - 注意:此字段可能返回 null,表示取不到有效值。 + * 风险ID */ - InfluenceAsset?: number; + RiskId: string; /** - * 未修复资产数目 - 注意:此字段可能返回 null,表示取不到有效值。 + * 是否开启,0-不开启,1-开启 */ - NotRepairAsset?: number; + Enable: number; +} +/** + * DescribeScanTaskList返回参数结构体 + */ +export interface DescribeScanTaskListResponse { /** - * 未防护资产数目 + * 总条数 注意:此字段可能返回 null,表示取不到有效值。 */ - NotProtectAsset?: number; + TotalCount?: number; /** - * 任务ID + * 任务日志列表 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskId?: string; + Data?: Array; /** - * 任务百分比 + * 主账户ID列表 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskPercent?: number; + UINList?: Array; /** - * 任务时间 + * 体检模式过滤列表 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskTime?: number; + TaskModeList?: Array; /** - * 扫描时间 - 注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - ScanTime?: string; + RequestId?: string; } /** * 扫描任务详情 @@ -1704,1404 +2219,1448 @@ export interface ScanTaskInfo { UserName?: string; } /** - * 子网资产 + * DescribeClusterPodAssets请求参数结构体 */ -export interface SubnetAsset { - /** - * appid - */ - AppId?: string; - /** - * uin - */ - Uin?: string; - /** - * 资产ID - */ - AssetId?: string; - /** - * 资产名 - */ - AssetName?: string; +export interface DescribeClusterPodAssetsRequest { /** - * 区域 + * 过滤 */ - Region?: string; + Filter?: Filter; +} +/** + * DescribeCVMAssetInfo返回参数结构体 + */ +export interface DescribeCVMAssetInfoResponse { /** - * 私有网络id + * - + 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcId?: string; + Data?: AssetBaseInfoResponse; /** - * 私有网络名 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - VpcName?: string; + RequestId?: string; +} +/** + * DescribePublicIpAssets返回参数结构体 + */ +export interface DescribePublicIpAssetsResponse { /** - * 标签 + * 列表 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: Array; - /** - * 昵称 - */ - Nick?: string; + Data?: Array; /** - * cidr + * 总数 */ - CIDR?: string; + Total?: number; /** - * 可用区 + * 资产归属地 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Zone?: string; + AssetLocationList?: Array; /** - * cvm数 + * ip列表枚举 + 注意:此字段可能返回 null,表示取不到有效值。 */ - CVM?: number; + IpTypeList?: Array; /** - * 可用ip数 + * 地域列表枚举 + 注意:此字段可能返回 null,表示取不到有效值。 */ - AvailableIp?: number; + RegionList?: Array; /** - * 创建时间 + * 防护枚举 + 注意:此字段可能返回 null,表示取不到有效值。 */ - CreateTime?: string; + DefenseStatusList?: Array; /** - * 配置风险 + * 资产类型枚举 + 注意:此字段可能返回 null,表示取不到有效值。 */ - ConfigureRisk?: number; + AssetTypeList?: Array; /** - * 任务数 + * AppId枚举 + 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanTask?: number; + AppIdList?: Array; /** - * 最后扫描时间 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - LastScanTime?: string; + RequestId?: string; +} +/** + * DescribeTaskLogURL返回参数结构体 + */ +export interface DescribeTaskLogURLResponse { /** - * 是否核心 - 注意:此字段可能返回 null,表示取不到有效值。 + * 返回报告临时下载url */ - IsCore?: number; + Data?: Array; /** - * 是否新资产 1新 - 注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - IsNewAsset?: number; + RequestId?: string; } /** - * CreateRiskCenterScanTask返回参数结构体 + * DescribeDbAssetInfo请求参数结构体 */ -export interface CreateRiskCenterScanTaskResponse { +export interface DescribeDbAssetInfoRequest { /** - * 任务id + * 资产id */ - TaskId?: string; + AssetId: string; +} +/** + * 列表查询接口采用新filter 接口,直接传给后台供后台查询过滤 + */ +export interface Filter { /** - * 0,任务创建成功;小于0失败;-1为存在资产未认证 + * 查询数量限制 */ - Status?: number; + Limit?: number; /** - * 未认证资产列表 + * 查询偏移位置 */ - UnAuthAsset?: Array; + Offset?: number; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 排序采用升序还是降序 升:asc 降 desc */ - RequestId?: string; -} -/** - * DescribeRiskCenterAssetViewPortRiskList返回参数结构体 - */ -export interface DescribeRiskCenterAssetViewPortRiskListResponse { + Order?: string; /** - * 总条数 + * 需排序的字段 */ - TotalCount?: number; + By?: string; /** - * 资产视角的配置风险列表 + * 过滤的列及内容 */ - Data?: Array; + Filters?: Array; /** - * 状态列表 + * 可填无, 日志使用查询时间 */ - StatusLists?: Array; + StartTime?: string; /** - * 危险等级列表 + * 可填无, 日志使用查询时间 */ - LevelLists?: Array; + EndTime?: string; +} +/** + * DescribeRiskCenterWebsiteRiskList请求参数结构体 + */ +export interface DescribeRiskCenterWebsiteRiskListRequest { /** - * 建议列表 + * 过滤内容 */ - SuggestionLists?: Array; + Filter?: Filter; +} +/** + * 风险详情 + */ +export interface ServerRiskSuggestion { /** - * 资产类型列表 + * 标题 + 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceTypeLists?: Array; + Title?: string; /** - * 来源列表 + * 详情 + 注意:此字段可能返回 null,表示取不到有效值。 */ - FromLists?: Array; + Body?: string; +} +/** + * DescribeSubnetAssets请求参数结构体 + */ +export interface DescribeSubnetAssetsRequest { /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 过滤参数 */ - RequestId?: string; + Filter?: Filter; } /** - * DescribeSubnetAssets返回参数结构体 + * DescribeClusterPodAssets返回参数结构体 */ -export interface DescribeSubnetAssetsResponse { +export interface DescribeClusterPodAssetsResponse { /** * 列表 */ - Data?: Array; + Data?: Array; /** * 总数 */ TotalCount?: number; /** - * 地域列表 + * 集群pod状态枚举 */ - RegionList?: Array; + PodStatusList?: Array; /** - * vpc列表 + * 命名空间枚举 */ - VpcList?: Array; + NamespaceList?: Array; /** - * appid列表 + * 地域枚举 */ - AppIdList?: Array; + RegionList?: Array; /** - * 可用区列表 + * 租户枚举 */ - ZoneList?: Array; + AppIdList?: Array; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** - * DescribeDbAssetInfo请求参数结构体 - */ -export interface DescribeDbAssetInfoRequest { - /** - * 资产id - */ - AssetId: string; -} -/** - * DescribeRiskCenterAssetViewPortRiskList请求参数结构体 + * 主机资产详情 */ -export interface DescribeRiskCenterAssetViewPortRiskListRequest { +export interface AssetBaseInfoResponse { /** - * 过滤内容 + * vpc-id + 注意:此字段可能返回 null,表示取不到有效值。 */ - Filter?: Filter; -} -/** - * clb实例和监听器信息 - */ -export interface ClbListenerListInfo { + VpcId?: string; /** - * 监听器id + * vpc-name 注意:此字段可能返回 null,表示取不到有效值。 */ - ListenerId?: string; + VpcName?: string; /** - * 监听器名称 + * 资产名 注意:此字段可能返回 null,表示取不到有效值。 */ - ListenerName?: string; + AssetName?: string; /** - * 负载均衡Id + * 操作系统 注意:此字段可能返回 null,表示取不到有效值。 */ - LoadBalancerId?: string; + Os?: string; /** - * 负载均衡名称 + * 公网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - LoadBalancerName?: string; + PublicIp?: string; /** - * 协议 + * 内网ip 注意:此字段可能返回 null,表示取不到有效值。 */ - Protocol?: string; + PrivateIp?: string; /** * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ Region?: string; /** - * 负载均衡ip + * 资产类型 注意:此字段可能返回 null,表示取不到有效值。 */ - Vip?: string; + AssetType?: string; /** - * 端口 + * 资产id 注意:此字段可能返回 null,表示取不到有效值。 */ - VPort?: number; + AssetId?: string; /** - * 区域 + * 账号数量 注意:此字段可能返回 null,表示取不到有效值。 */ - Zone?: string; + AccountNum?: number; /** - * 私有网络id + * 端口数量 注意:此字段可能返回 null,表示取不到有效值。 */ - NumericalVpcId?: number; + PortNum?: number; /** - * 负载均衡类型 + * 进程数量 注意:此字段可能返回 null,表示取不到有效值。 */ - LoadBalancerType?: string; + ProcessNum?: number; /** - * 监听器域名 + * 软件应用数量 注意:此字段可能返回 null,表示取不到有效值。 */ - Domain?: string; + SoftApplicationNum?: number; /** - * 负载均衡域名 + * 数据库数量 注意:此字段可能返回 null,表示取不到有效值。 */ - LoadBalancerDomain?: string; -} -/** - * DescribeCVMAssets返回参数结构体 - */ -export interface DescribeCVMAssetsResponse { + DatabaseNum?: number; /** - * - + * Web应用数量 注意:此字段可能返回 null,表示取不到有效值。 */ - Total?: number; + WebApplicationNum?: number; /** - * - + * 服务数量 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: Array; + ServiceNum?: number; /** - * 地域列表 + * web框架数量 注意:此字段可能返回 null,表示取不到有效值。 */ - RegionList?: Array; + WebFrameworkNum?: number; /** - * 防护状态 + * Web站点数量 注意:此字段可能返回 null,表示取不到有效值。 */ - DefenseStatusList?: Array; + WebSiteNum?: number; /** - * vpc枚举 + * Jar包数量 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcList?: Array; + JarPackageNum?: number; /** - * 资产类型枚举 + * 启动服务数量 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetTypeList?: Array; + StartServiceNum?: number; /** - * 操作系统枚举 + * 计划任务数量 注意:此字段可能返回 null,表示取不到有效值。 */ - SystemTypeList?: Array; + ScheduledTaskNum?: number; /** - * ip列表 + * 环境变量数量 注意:此字段可能返回 null,表示取不到有效值。 */ - IpTypeList?: Array; + EnvironmentVariableNum?: number; /** - * appid列表 + * 内核模块数量 注意:此字段可能返回 null,表示取不到有效值。 */ - AppIdList?: Array; + KernelModuleNum?: number; /** - * 可用区列表 + * 系统安装包数量 注意:此字段可能返回 null,表示取不到有效值。 */ - ZoneList?: Array; + SystemInstallationPackageNum?: number; /** - * os列表 + * 剩余防护时长 注意:此字段可能返回 null,表示取不到有效值。 */ - OsList?: Array; + SurplusProtectDay?: number; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 客户端是否安装 1 已安装 0 未安装 + 注意:此字段可能返回 null,表示取不到有效值。 */ - RequestId?: string; -} -/** - * DescribeVpcAssets请求参数结构体 - */ -export interface DescribeVpcAssetsRequest { + CWPStatus?: number; /** - * 过滤参数 + * 标签 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Filter?: Filter; + Tag?: Array; + /** + * 防护等级 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + ProtectLevel?: string; + /** + * 防护时长 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + ProtectedDay?: number; } /** - * 任务资产项 + * 资产视角的端口风险对象 */ -export interface TaskAssetObject { +export interface AssetViewPortRisk { /** - * 资产名 - 注意:此字段可能返回 null,表示取不到有效值。 + * 端口 */ - AssetName?: string; + Port?: number; /** - * 资产类型 - 注意:此字段可能返回 null,表示取不到有效值。 + * 影响资产 + */ + AffectAsset?: string; + /** + * 风险等级 + */ + Level?: string; + /** + * 资产类型 */ InstanceType?: string; /** - * 资产分类 - 注意:此字段可能返回 null,表示取不到有效值。 + * 协议 */ - AssetType?: string; + Protocol?: string; /** - * ip/域名/资产id,数据库id等 + * 组件 */ - Asset?: string; + Component?: string; /** - * 地域 - 注意:此字段可能返回 null,表示取不到有效值。 + * 服务 */ - Region?: string; -} -/** - * 列表查询接口采用新filter 接口,直接传给后台供后台查询过滤 - */ -export interface Filter { + Service?: string; /** - * 查询数量限制 + * 最近识别时间 */ - Limit?: number; + RecentTime?: string; /** - * 查询偏移位置 + * 首次识别时间 */ - Offset?: number; + FirstTime?: string; /** - * 排序采用升序还是降序 升:asc 降 desc + * 处置建议,0保持现状、1限制访问、2封禁端口 */ - Order?: string; + Suggestion?: number; /** - * 需排序的字段 + * 状态,0未处理、1已处置、2已忽略 */ - By?: string; + Status?: number; /** - * 过滤的列及内容 + * 资产唯一id */ - Filters?: Array; + Id?: string; /** - * 可填无, 日志使用查询时间 + * 前端索引 */ - StartTime?: string; + Index?: string; /** - * 可填无, 日志使用查询时间 + * 实例id */ - EndTime?: string; -} -/** - * db资产详情 - */ -export interface DbAssetInfo { + InstanceId?: string; /** - * 云防状态 - 注意:此字段可能返回 null,表示取不到有效值。 + * 实例名 */ - CFWStatus?: number; + InstanceName?: string; /** - * 资产id - 注意:此字段可能返回 null,表示取不到有效值。 + * 用户appid */ - AssetId?: string; + AppId?: string; /** - * vpc信息 + * 用户昵称 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcName?: string; + Nick?: string; /** - * 资产类型 + * 用户uin 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetType?: string; + Uin?: string; /** - * 公网ip - 注意:此字段可能返回 null,表示取不到有效值。 + * 来源 */ - PublicIp?: string; + From?: string; +} +/** + * DescribeRiskCenterAssetViewCFGRiskList请求参数结构体 + */ +export interface DescribeRiskCenterAssetViewCFGRiskListRequest { /** - * 私网ip - 注意:此字段可能返回 null,表示取不到有效值。 + * 过滤内容 */ - PrivateIp?: string; + Filter?: Filter; +} +/** + * 任务高级配置 + */ +export interface TaskAdvanceCFG { /** - * 地域 - 注意:此字段可能返回 null,表示取不到有效值。 + * 漏洞风险高级配置 */ - Region?: string; + VulRisk?: Array; /** - * vpc信息 - 注意:此字段可能返回 null,表示取不到有效值。 + * 弱口令风险高级配置 */ - VpcId?: string; + WeakPwdRisk?: Array; /** - * 资产名 - 注意:此字段可能返回 null,表示取不到有效值。 + * 配置风险高级配置 */ - AssetName?: string; + CFGRisk?: Array; +} +/** + * AddNewBindRoleUser返回参数结构体 + */ +export interface AddNewBindRoleUserResponse { /** - * 云防保护版本 - 注意:此字段可能返回 null,表示取不到有效值。 + * 0成功,其他失败 */ - CFWProtectLevel?: number; + Status?: number; /** - * tag信息 - 注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - Tag?: Array; + RequestId?: string; } /** - * 标签 + * 过滤条件 */ -export interface Tag { +export interface WhereFilter { /** - * 标签名称 + * 过滤的项 */ Name: string; /** - * 标签内容 + * 过滤的值 */ - Value: string; + Values: Array; + /** + * 中台定义: + 1等于 2大于 3小于 4大于等于 5小于等于 6不等于 9模糊匹配 13非模糊匹配 14按位与 + 精确匹配填 7 模糊匹配填9 兼容 中台定的结构 + + */ + OperatorType?: number; } /** - * ip列表 + * 扫描任务列表展示信息 */ -export interface IpAssetListVO { +export interface ScanTaskInfoList { /** - * 资产id + * 任务名称 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetId?: string; + TaskName?: string; /** - * 资产name + * 任务开始时间 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetName?: string; + StartTime?: string; /** - * 资产类型 + * 任务结束时间 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetType?: string; + EndTime?: string; /** - * 地域 + * corn 注意:此字段可能返回 null,表示取不到有效值。 */ - Region?: string; + ScanPlanContent?: string; /** - * 云防状态 + * 0-周期任务,1-立即扫描,2-定时扫描,3-自定义 注意:此字段可能返回 null,表示取不到有效值。 */ - CFWStatus?: number; + TaskType?: number; /** - * 资产创建时间 + * 创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetCreateTime?: string; + InsertTime?: string; /** - * 公网ip + * 任务ID 注意:此字段可能返回 null,表示取不到有效值。 */ - PublicIp?: string; + TaskId?: string; /** - * 公网ip类型 + * 排除扫描资产信息 注意:此字段可能返回 null,表示取不到有效值。 */ - PublicIpType?: number; + SelfDefiningAssets?: Array; /** - * vpc + * 预估时间 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcId?: string; + PredictTime?: number; /** - * vpc名 + * 预估完成时间 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcName?: string; + PredictEndTime?: string; /** - * appid + * 报告数量 注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: number; + ReportNumber?: number; /** - * 用户uin + * 资产数量 注意:此字段可能返回 null,表示取不到有效值。 */ - Uin?: string; + AssetNumber?: number; /** - * 名称 + * 扫描状态 0 初始值 1正在扫描 2扫描完成 3扫描出错 注意:此字段可能返回 null,表示取不到有效值。 */ - NickName?: string; + ScanStatus?: number; /** - * 核心 + * 任务进度 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCore?: number; + Percent?: number; /** - * 云上 + * port/poc/weakpass/webcontent/configrisk 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCloud?: number; + ScanItem?: string; /** - * 网络攻击 + * 0-全扫,1-指定资产扫,2-排除资产扫 注意:此字段可能返回 null,表示取不到有效值。 */ - Attack?: number; + ScanAssetType?: number; /** - * 网络访问 + * vss子任务id 注意:此字段可能返回 null,表示取不到有效值。 */ - Access?: number; + VSSTaskId?: string; /** - * 网络拦截 + * cspm子任务id 注意:此字段可能返回 null,表示取不到有效值。 */ - Intercept?: number; + CSPMTaskId?: string; /** - * 入向带宽 + * 主机漏扫子任务id 注意:此字段可能返回 null,表示取不到有效值。 */ - InBandwidth?: string; + CWPPOCId?: string; /** - * 出向带宽 + * 主机基线子任务id 注意:此字段可能返回 null,表示取不到有效值。 */ - OutBandwidth?: string; + CWPBlId?: string; /** - * 入向流量 + * vss子任务进度 注意:此字段可能返回 null,表示取不到有效值。 */ - InFlow?: string; + VSSTaskProcess?: number; /** - * 出向流量 + * cspm子任务进度 注意:此字段可能返回 null,表示取不到有效值。 */ - OutFlow?: string; + CSPMTaskProcess?: number; /** - * 最近扫描时间 + * 主机漏扫子任务进度 注意:此字段可能返回 null,表示取不到有效值。 */ - LastScanTime?: string; + CWPPOCProcess?: number; /** - * 端口风险 + * 主机基线子任务进度 注意:此字段可能返回 null,表示取不到有效值。 */ - PortRisk?: number; + CWPBlProcess?: number; /** - * 漏洞风险 + * 异常状态码 注意:此字段可能返回 null,表示取不到有效值。 */ - VulnerabilityRisk?: number; + ErrorCode?: number; /** - * 配置风险 + * 异常信息 注意:此字段可能返回 null,表示取不到有效值。 */ - ConfigurationRisk?: number; + ErrorInfo?: string; /** - * 扫描任务 + * 周期任务开始的天数 注意:此字段可能返回 null,表示取不到有效值。 */ - ScanTask?: number; + StartDay?: number; /** - * 弱口令 + * 扫描频率,单位天,1-每天,7-每周,30-月,0-扫描一次 注意:此字段可能返回 null,表示取不到有效值。 */ - WeakPassword?: number; + Frequency?: number; /** - * 内容风险 + * 完成次数 注意:此字段可能返回 null,表示取不到有效值。 */ - WebContentRisk?: number; + CompleteNumber?: number; /** - * 标签 + * 已完成资产个数 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: Array; + CompleteAssetNumber?: number; /** - * eip主键 + * 风险数 注意:此字段可能返回 null,表示取不到有效值。 */ - AddressId?: string; + RiskCount?: number; /** - * memberid信息 + * 资产 注意:此字段可能返回 null,表示取不到有效值。 */ - MemberId?: string; + Assets?: Array; /** - * 风险服务暴露 + * 用户Appid 注意:此字段可能返回 null,表示取不到有效值。 */ - RiskExposure?: number; + AppId?: string; /** - * 是否新资产 1新 + * 用户主账户ID 注意:此字段可能返回 null,表示取不到有效值。 */ - IsNewAsset?: number; + UIN?: string; /** - * 资产认证状态,0-待认证,1-认证成功,2-认证中,3+-认证失败 + * 用户名称 注意:此字段可能返回 null,表示取不到有效值。 */ - VerifyStatus?: number; -} -/** - * DeleteRiskScanTask返回参数结构体 - */ -export interface DeleteRiskScanTaskResponse { + UserName?: string; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 体检模式,0-标准模式,1-快速模式,2-高级模式 + 注意:此字段可能返回 null,表示取不到有效值。 */ - RequestId?: string; -} -/** - * 公网IP和域名资产列表key - */ -export interface PublicIpDomainListKey { + TaskMode?: number; /** - * 资产值 + * 扫描来源 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Asset: string; + ScanFrom?: string; + /** + * 是否限免体检0不是,1是 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + IsFree?: number; + /** + * 是否可以删除,1-可以,0-不可以,对应多账户管理使用 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + IsDelete?: number; } /** - * 资产视角的漏洞风险对象 + * DescribeDbAssets请求参数结构体 */ -export interface AssetViewVULRisk { - /** - * 影响资产 - */ - AffectAsset?: string; +export interface DescribeDbAssetsRequest { /** - * 风险等级 + * - */ - Level?: string; + Filter?: Filter; +} +/** + * 任务报告信息 + */ +export interface TaskLogInfo { /** - * 资产类型 + * 报告名称 + 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceType?: string; + TaskLogName?: string; /** - * 组件 + * 报告ID */ - Component?: string; + TaskLogId?: string; /** - * 服务 + * 关联资产个数 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Service?: string; + AssetsNumber?: number; /** - * 最近识别时间 + * 安全风险数量 + 注意:此字段可能返回 null,表示取不到有效值。 */ - RecentTime?: string; + RiskNumber?: number; /** - * 首次识别时间 + * 报告生成时间,任务结束时间 + 注意:此字段可能返回 null,表示取不到有效值。 */ - FirstTime?: string; + Time?: string; /** - * 状态,0未处理、1已处置、2已忽略 + * 任务状态码:0 初始值 1正在扫描 2扫描完成 3扫描出错,4停止,5暂停,6该任务已被重启过 + 注意:此字段可能返回 null,表示取不到有效值。 */ Status?: number; /** - * 资产唯一id - */ - Id?: string; - /** - * 前端索引 + * 关联任务名称 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Index?: string; + TaskName?: string; /** - * 实例id + * 扫描开始时间 + 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceId?: string; + StartTime?: string; /** - * 实例名 + * 任务中心扫描任务ID + 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceName?: string; + TaskCenterTaskId?: string; /** - * 用户appid + * 租户ID + 注意:此字段可能返回 null,表示取不到有效值。 */ AppId?: string; /** - * 用户昵称 + * 主账户ID 注意:此字段可能返回 null,表示取不到有效值。 */ - Nick?: string; + UIN?: string; /** - * 用户uin + * 用户名称 注意:此字段可能返回 null,表示取不到有效值。 */ - Uin?: string; - /** - * 漏洞类型 - */ - VULType?: string; - /** - * 端口 - */ - Port?: string; + UserName?: string; +} +/** + * DescribeRiskCenterAssetViewVULRiskList请求参数结构体 + */ +export interface DescribeRiskCenterAssetViewVULRiskListRequest { /** - * 描述 + * 过滤内容 */ - Describe?: string; + Filter?: Filter; +} +/** + * DescribeSearchBugInfo返回参数结构体 + */ +export interface DescribeSearchBugInfoResponse { /** - * 版本名 + * 漏洞信息和资产信息 + 注意:此字段可能返回 null,表示取不到有效值。 */ - AppName?: string; + Data?: DataSearchBug; /** - * 相关信息 + * 状态值,0:查询成功,非0:查询失败 */ - References?: string; + ReturnCode?: number; /** - * 版本 + * 状态信息,success:查询成功,fail:查询失败 */ - AppVersion?: string; + ReturnMsg?: string; /** - * 漏洞url + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - VULURL?: string; + RequestId?: string; +} +/** + * CreateDomainAndIp请求参数结构体 + */ +export interface CreateDomainAndIpRequest { /** - * 漏洞名称 + * - */ - VULName?: string; + Content: Array; +} +/** + * 域名资产 + */ +export interface DomainAssetVO { /** - * cve + * 资产id + 注意:此字段可能返回 null,表示取不到有效值。 */ - CVE?: string; + AssetId?: Array; /** - * 修复建议 + * 资产名 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Fix?: string; + AssetName?: Array; /** - * pocid + * 资产类型 + 注意:此字段可能返回 null,表示取不到有效值。 */ - POCId?: string; + AssetType?: Array; /** - * 来源 + * 地域 + 注意:此字段可能返回 null,表示取不到有效值。 */ - From?: string; + Region?: Array; /** - * 主机版本 + * Waf状态 + 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPVersion?: number; + WAFStatus?: number; /** - * 是否支持修复 + * 资产创建时间 + 注意:此字段可能返回 null,表示取不到有效值。 */ - IsSupportRepair?: boolean; + AssetCreateTime?: string; /** - * 是否支持扫描 + * Appid + 注意:此字段可能返回 null,表示取不到有效值。 */ - IsSupportDetect?: boolean; + AppId?: number; /** - * 实例uuid + * 账号id + 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceUUID?: string; + Uin?: string; /** - * 负载 + * 账号名称 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Payload?: string; + NickName?: string; /** - * 应急漏洞类型,1-应急漏洞,0-非应急漏洞 + * 是否核心 注意:此字段可能返回 null,表示取不到有效值。 */ - EMGCVulType?: number; -} -/** - * DescribeClusterPodAssets返回参数结构体 - */ -export interface DescribeClusterPodAssetsResponse { + IsCore?: number; /** - * 列表 + * 是否云上资产 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Data?: Array; + IsCloud?: number; /** - * 总数 + * 网络攻击 + 注意:此字段可能返回 null,表示取不到有效值。 */ - TotalCount?: number; + Attack?: number; /** - * 集群pod状态枚举 + * 网络访问 + 注意:此字段可能返回 null,表示取不到有效值。 */ - PodStatusList?: Array; + Access?: number; /** - * 命名空间枚举 + * 网络拦截 + 注意:此字段可能返回 null,表示取不到有效值。 */ - NamespaceList?: Array; + Intercept?: number; /** - * 地域枚举 + * 入站峰值带宽 + 注意:此字段可能返回 null,表示取不到有效值。 */ - RegionList?: Array; + InBandwidth?: string; /** - * 租户枚举 + * 出站峰值带宽 + 注意:此字段可能返回 null,表示取不到有效值。 */ - AppIdList?: Array; + OutBandwidth?: string; /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 入站累计流量 + 注意:此字段可能返回 null,表示取不到有效值。 */ - RequestId?: string; -} -/** - * 主机资产详情 - */ -export interface AssetBaseInfoResponse { + InFlow?: string; /** - * vpc-id + * 出站累计流量 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcId?: string; + OutFlow?: string; /** - * vpc-name + * 最近扫描时间 注意:此字段可能返回 null,表示取不到有效值。 */ - VpcName?: string; + LastScanTime?: string; /** - * 资产名 + * 端口风险 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetName?: string; + PortRisk?: number; /** - * 操作系统 + * 漏洞风险 注意:此字段可能返回 null,表示取不到有效值。 */ - Os?: string; + VulnerabilityRisk?: number; /** - * 公网ip + * 配置风险 注意:此字段可能返回 null,表示取不到有效值。 */ - PublicIp?: string; + ConfigurationRisk?: number; /** - * 内网ip + * 扫描任务 注意:此字段可能返回 null,表示取不到有效值。 */ - PrivateIp?: string; + ScanTask?: number; /** - * 地域 + * 域名 注意:此字段可能返回 null,表示取不到有效值。 */ - Region?: string; + SubDomain?: string; /** - * 资产类型 + * 解析ip 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetType?: string; + SeverIp?: Array; /** - * 资产id + * boi访问数量 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetId?: string; + BotCount?: number; /** - * 账号数量 + * 弱口令风险 注意:此字段可能返回 null,表示取不到有效值。 */ - AccountNum?: number; + WeakPassword?: number; /** - * 端口数量 + * 内容风险 注意:此字段可能返回 null,表示取不到有效值。 */ - PortNum?: number; + WebContentRisk?: number; /** - * 进程数量 + * tag标签 注意:此字段可能返回 null,表示取不到有效值。 */ - ProcessNum?: number; + Tag?: Array; /** - * 软件应用数量 + * 关联实例类型 注意:此字段可能返回 null,表示取不到有效值。 */ - SoftApplicationNum?: number; + SourceType?: string; /** - * 数据库数量 + * memberiD 注意:此字段可能返回 null,表示取不到有效值。 */ - DatabaseNum?: number; + MemberId?: string; /** - * Web应用数量 + * cc攻击 注意:此字段可能返回 null,表示取不到有效值。 */ - WebApplicationNum?: number; + CCAttack?: number; /** - * 服务数量 + * web攻击 注意:此字段可能返回 null,表示取不到有效值。 */ - ServiceNum?: number; + WebAttack?: number; /** - * web框架数量 + * 风险服务暴露数量 注意:此字段可能返回 null,表示取不到有效值。 */ - WebFrameworkNum?: number; + ServiceRisk?: number; /** - * Web站点数量 + * 是否新资产 1新 注意:此字段可能返回 null,表示取不到有效值。 */ - WebSiteNum?: number; + IsNewAsset?: number; /** - * Jar包数量 + * 待确认资产的随机三级域名 注意:此字段可能返回 null,表示取不到有效值。 */ - JarPackageNum?: number; + VerifyDomain?: string; /** - * 启动服务数量 + * 待确认资产的TXT记录内容 注意:此字段可能返回 null,表示取不到有效值。 */ - StartServiceNum?: number; + VerifyTXTRecord?: string; /** - * 计划任务数量 + * 待确认资产的认证状态,0-待认证,1-认证成功,2-认证中,3-txt认证失败,4-人工认证失败 注意:此字段可能返回 null,表示取不到有效值。 */ - ScheduledTaskNum?: number; + VerifyStatus?: number; /** - * 环境变量数量 + * bot访问数据 注意:此字段可能返回 null,表示取不到有效值。 */ - EnvironmentVariableNum?: number; + BotAccessCount?: number; +} +/** + * 配置风险高级配置 + */ +export interface TaskCenterCFGRiskInputParam { /** - * 内核模块数量 - 注意:此字段可能返回 null,表示取不到有效值。 + * 检测项ID */ - KernelModuleNum?: number; + ItemId: string; /** - * 系统安装包数量 - 注意:此字段可能返回 null,表示取不到有效值。 + * 是否开启,0-不开启,1-开启 */ - SystemInstallationPackageNum?: number; + Enable: number; /** - * 剩余防护时长 - 注意:此字段可能返回 null,表示取不到有效值。 + * 资源类型 */ - SurplusProtectDay?: number; + ResourceType: string; +} +/** + * DescribeTaskLogList返回参数结构体 + */ +export interface DescribeTaskLogListResponse { /** - * 客户端是否安装 1 已安装 0 未安装 + * 总条数 注意:此字段可能返回 null,表示取不到有效值。 */ - CWPStatus?: number; + TotalCount?: number; /** - * 标签 + * 报告列表 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: Array; + Data?: Array; /** - * 防护等级 + * 待查看数量 注意:此字段可能返回 null,表示取不到有效值。 */ - ProtectLevel?: string; + NotViewNumber?: number; /** - * 防护时长 - 注意:此字段可能返回 null,表示取不到有效值。 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - ProtectedDay?: number; + RequestId?: string; } /** - * 任务ID列表Key + * 漏洞详细信息 */ -export interface TaskIdListKey { +export interface BugInfoDetail { /** - * 任务ID + * 漏洞编号 + 注意:此字段可能返回 null,表示取不到有效值。 */ - TaskId: string; -} -/** - * 资产视角的端口风险对象 - */ -export interface AssetViewPortRisk { + Id?: number; /** - * 端口 + * 漏洞对应pocId + 注意:此字段可能返回 null,表示取不到有效值。 */ - Port?: number; + PatchId?: string; /** - * 影响资产 + * 漏洞名称 + 注意:此字段可能返回 null,表示取不到有效值。 */ - AffectAsset?: string; + VULName?: string; /** - * 风险等级 + * 漏洞严重性:high,middle,low,info + 注意:此字段可能返回 null,表示取不到有效值。 */ Level?: string; /** - * 资产类型 + * cvss评分 + 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceType?: string; + CVSSScore?: string; /** - * 协议 + * cve编号 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Protocol?: string; + CVEId?: string; /** - * 组件 + * 漏洞标签 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Component?: string; + Tag?: string; /** - * 服务 + * 漏洞种类,1:web应用,2:系统组件漏洞,3:配置风险 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Service?: string; + VULCategory?: number; /** - * 最近识别时间 + * 漏洞影响系统 + 注意:此字段可能返回 null,表示取不到有效值。 */ - RecentTime?: string; + ImpactOs?: string; /** - * 首次识别时间 + * 漏洞影响组件 + 注意:此字段可能返回 null,表示取不到有效值。 */ - FirstTime?: string; + ImpactCOMPENT?: string; /** - * 处置建议,0保持现状、1限制访问、2封禁端口 + * 漏洞影响版本 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Suggestion?: number; + ImpactVersion?: string; /** - * 状态,0未处理、1已处置、2已忽略 + * 链接 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Status?: number; + Reference?: string; /** - * 资产唯一id + * 漏洞描述 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Id?: string; + VULDescribe?: string; /** - * 前端索引 + * 修复建议 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Index?: string; + Fix?: string; /** - * 实例id + * 产品支持状态,实时返回 + 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceId?: string; + ProSupport?: number; /** - * 实例名 + * 是否公开,0为未发布,1为发布 + 注意:此字段可能返回 null,表示取不到有效值。 */ - InstanceName?: string; + IsPublish?: number; /** - * 用户appid + * 释放时间 + 注意:此字段可能返回 null,表示取不到有效值。 */ - AppId?: string; + ReleaseTime?: string; /** - * 用户昵称 + * 创建时间 注意:此字段可能返回 null,表示取不到有效值。 */ - Nick?: string; + CreateTime?: string; /** - * 用户uin + * 更新时间 注意:此字段可能返回 null,表示取不到有效值。 */ - Uin?: string; + UpdateTime?: string; /** - * 来源 + * 漏洞子类别 + 注意:此字段可能返回 null,表示取不到有效值。 */ - From?: string; + SubCategory?: string; } /** - * DescribeListenerList请求参数结构体 + * DescribeDomainAssets返回参数结构体 */ -export interface DescribeListenerListRequest { +export interface DescribeDomainAssetsResponse { /** * - + 注意:此字段可能返回 null,表示取不到有效值。 */ - Filter?: Filter; -} -/** - * DescribeDomainAssets请求参数结构体 - */ -export interface DescribeDomainAssetsRequest { + Total?: number; /** * - + 注意:此字段可能返回 null,表示取不到有效值。 */ - Filter?: Filter; -} -/** - * vpc列表数据 - */ -export interface Vpc { + Data?: Array; /** - * 子网(只支持32位) + * 防护状态列表 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Subnet?: number; + DefenseStatusList?: Array; /** - * 互通vpc(只支持32位) + * 资产归属地列表 + 注意:此字段可能返回 null,表示取不到有效值。 */ - ConnectedVpc?: number; + AssetLocationList?: Array; /** - * 资产id + * 资产类型列表 + 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetId?: string; + SourceTypeList?: Array; /** - * region区域 + * 地域列表 + 注意:此字段可能返回 null,表示取不到有效值。 */ - Region?: string; + RegionList?: Array; /** - * 云服务器(只支持32位) + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - CVM?: number; + RequestId?: string; +} +/** + * DescribeDbAssets返回参数结构体 + */ +export interface DescribeDbAssetsResponse { + /** + * 总数 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Total?: number; + /** + * 资产总数 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Data?: Array; + /** + * 地域枚举 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + RegionList?: Array; /** - * 标签 + * 资产类型枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - Tag?: Array; + AssetTypeList?: Array; /** - * dns域名 + * Vpc枚举 注意:此字段可能返回 null,表示取不到有效值。 */ - DNS?: Array; + VpcList?: Array; /** - * 资产名称 + * Appid枚举 + 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetName?: string; + AppIdList?: Array; /** - * cidr网段 + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ - CIDR?: string; + RequestId?: string; +} +/** + * DescribeRiskCenterAssetViewVULRiskList返回参数结构体 + */ +export interface DescribeRiskCenterAssetViewVULRiskListResponse { /** - * 资产创建时间 + * 总条数 */ - CreateTime?: string; + TotalCount?: number; /** - * appid + * 资产视角的漏洞风险列表 */ - AppId?: string; + Data?: Array; /** - * uin + * 状态列表 */ - Uin?: string; + StatusLists?: Array; /** - * 昵称 + * 危险等级列表 */ - Nick?: string; + LevelLists?: Array; /** - * 是否新资产 1新 - 注意:此字段可能返回 null,表示取不到有效值。 + * 来源列表 */ - IsNewAsset?: number; + FromLists?: Array; /** - * 是否核心资产1是 2不是 - 注意:此字段可能返回 null,表示取不到有效值。 + * 漏洞类型列表 */ - IsCore?: number; -} -/** - * CreateDomainAndIp返回参数结构体 - */ -export interface CreateDomainAndIpResponse { + VULTypeLists?: Array; /** - * 返回创建成功的数量 + * 资产类型列表 */ - Data?: number; + InstanceTypeLists?: Array; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** - * DescribePublicIpAssets请求参数结构体 + * DescribeCVMAssets请求参数结构体 */ -export interface DescribePublicIpAssetsRequest { +export interface DescribeCVMAssetsRequest { /** - * filte过滤条件 + * - */ Filter?: Filter; } /** - * DeleteDomainAndIp返回参数结构体 + * DescribeRiskCenterServerRiskList请求参数结构体 */ -export interface DeleteDomainAndIpResponse { - /** - * 删除的资产数量 - */ - Data?: number; +export interface DescribeRiskCenterServerRiskListRequest { /** - * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + * 过滤内容 */ - RequestId?: string; + Filter?: Filter; } /** - * 集群pod列表 + * clb实例和监听器信息 */ -export interface AssetClusterPod { - /** - * 租户id - */ - AppId?: number; - /** - * 租户uin - */ - Uin?: string; - /** - * 租户昵称 - */ - Nick?: string; - /** - * 地域 - 注意:此字段可能返回 null,表示取不到有效值。 - */ - Region?: string; - /** - * pod id - */ - AssetId?: string; - /** - * pod名称 - */ - AssetName?: string; - /** - * pod创建时间 - 注意:此字段可能返回 null,表示取不到有效值。 - */ - InstanceCreateTime?: string; +export interface ClbListenerListInfo { /** - * 命名空间 + * 监听器id 注意:此字段可能返回 null,表示取不到有效值。 */ - Namespace?: string; + ListenerId?: string; /** - * 状态 + * 监听器名称 注意:此字段可能返回 null,表示取不到有效值。 */ - Status?: string; + ListenerName?: string; /** - * 集群id + * 负载均衡Id 注意:此字段可能返回 null,表示取不到有效值。 */ - ClusterId?: string; + LoadBalancerId?: string; /** - * 集群名称 + * 负载均衡名称 注意:此字段可能返回 null,表示取不到有效值。 */ - ClusterName?: string; + LoadBalancerName?: string; /** - * 主机id + * 协议 注意:此字段可能返回 null,表示取不到有效值。 */ - MachineId?: string; + Protocol?: string; /** - * 主机名 + * 地域 注意:此字段可能返回 null,表示取不到有效值。 */ - MachineName?: string; + Region?: string; /** - * pod ip + * 负载均衡ip 注意:此字段可能返回 null,表示取不到有效值。 */ - PodIp?: string; + Vip?: string; /** - * 关联service数 + * 端口 注意:此字段可能返回 null,表示取不到有效值。 */ - ServiceCount?: number; + VPort?: number; /** - * 关联容器数 + * 区域 注意:此字段可能返回 null,表示取不到有效值。 */ - ContainerCount?: number; + Zone?: string; /** - * 公网ip + * 私有网络id 注意:此字段可能返回 null,表示取不到有效值。 */ - PublicIp?: string; + NumericalVpcId?: number; /** - * 内网ip + * 负载均衡类型 注意:此字段可能返回 null,表示取不到有效值。 */ - PrivateIp?: string; + LoadBalancerType?: string; /** - * 是否核心:1:核心,2:非核心 + * 监听器域名 注意:此字段可能返回 null,表示取不到有效值。 */ - IsCore?: number; + Domain?: string; /** - * 是否新资产 1新 + * 负载均衡域名 注意:此字段可能返回 null,表示取不到有效值。 */ - IsNewAsset?: number; + LoadBalancerDomain?: string; } /** - * DescribeDbAssets返回参数结构体 + * DescribeRiskCenterServerRiskList返回参数结构体 */ -export interface DescribeDbAssetsResponse { - /** - * 总数 - 注意:此字段可能返回 null,表示取不到有效值。 - */ - Total?: number; +export interface DescribeRiskCenterServerRiskListResponse { /** - * 资产总数 - 注意:此字段可能返回 null,表示取不到有效值。 + * 总条数 */ - Data?: Array; + TotalCount?: number; /** - * 地域枚举 - 注意:此字段可能返回 null,表示取不到有效值。 + * 风险服务列表 */ - RegionList?: Array; + Data?: Array; /** * 资产类型枚举 - 注意:此字段可能返回 null,表示取不到有效值。 */ - AssetTypeList?: Array; - /** - * Vpc枚举 - 注意:此字段可能返回 null,表示取不到有效值。 - */ - VpcList?: Array; - /** - * Appid枚举 - 注意:此字段可能返回 null,表示取不到有效值。 - */ - AppIdList?: Array; + InstanceTypeLists?: Array; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** - * AddNewBindRoleUser返回参数结构体 + * DescribeListenerList请求参数结构体 */ -export interface AddNewBindRoleUserResponse { +export interface DescribeListenerListRequest { /** - * 0成功,其他失败 + * - */ - Status?: number; + Filter?: Filter; +} +/** + * DeleteRiskScanTask返回参数结构体 + */ +export interface DeleteRiskScanTaskResponse { /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** - * StopRiskCenterTask返回参数结构体 + * CreateDomainAndIp返回参数结构体 */ -export interface StopRiskCenterTaskResponse { +export interface CreateDomainAndIpResponse { /** - * Status为0, 停止成功 + * 返回创建成功的数量 */ - Status?: number; + Data?: number; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** - * DescribeCVMAssetInfo请求参数结构体 + * DescribeTaskLogList请求参数结构体 */ -export interface DescribeCVMAssetInfoRequest { +export interface DescribeTaskLogListRequest { /** - * - + * 过滤内容 */ - AssetId: string; + Filter?: Filter; } /** - * 过滤条件 + * DescribeRiskCenterAssetViewPortRiskList返回参数结构体 */ -export interface WhereFilter { +export interface DescribeRiskCenterAssetViewPortRiskListResponse { /** - * 过滤的项 + * 总条数 */ - Name: string; + TotalCount?: number; /** - * 过滤的值 + * 资产视角的配置风险列表 */ - Values: Array; + Data?: Array; /** - * 中台定义: - 1等于 2大于 3小于 4大于等于 5小于等于 6不等于 9模糊匹配 13非模糊匹配 14按位与 - 精确匹配填 7 模糊匹配填9 兼容 中台定的结构 - + * 状态列表 */ - OperatorType?: number; + StatusLists?: Array; + /** + * 危险等级列表 + */ + LevelLists?: Array; + /** + * 建议列表 + */ + SuggestionLists?: Array; + /** + * 资产类型列表 + */ + InstanceTypeLists?: Array; + /** + * 来源列表 + */ + FromLists?: Array; + /** + * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + */ + RequestId?: string; } /** * DescribeTaskLogURL请求参数结构体 diff --git a/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts b/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts index 3a1362119..5d746d989 100644 --- a/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +++ b/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts @@ -800,4 +800,18 @@ export interface MappedBucket { 注意:此字段可能返回 null,表示取不到有效值。 */ RuleDescription?: string; + /** + * 桶关联状态 0:关联中 1:关联完成 + */ + Status?: number; + /** + * 是否使用全球加速域名 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + AccelerateFlag?: boolean; + /** + * 桶所在的园区 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + BucketRegion?: string; } diff --git a/tencentcloud/services/hcm/v20181106/hcm_models.d.ts b/tencentcloud/services/hcm/v20181106/hcm_models.d.ts index 3e8703a19..425c08f30 100644 --- a/tencentcloud/services/hcm/v20181106/hcm_models.d.ts +++ b/tencentcloud/services/hcm/v20181106/hcm_models.d.ts @@ -69,6 +69,7 @@ export interface EvaluationRequest { RejectNonArithmeticImage?: boolean; /** * 异步模式标识,0:同步模式,1:异步模式。默认为同步模式 + * @deprecated */ IsAsync?: number; /** @@ -111,6 +112,7 @@ export interface EvaluationResponse { Items?: Array; /** * 任务 id,用于查询接口 + * @deprecated */ TaskId?: string; /** diff --git a/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts b/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts index 4ea8b2e0f..97b356aae 100644 --- a/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +++ b/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts @@ -2055,6 +2055,10 @@ export interface DescribeDBInstancesRequest { * 实例类型 HA-高可用 RO-只读实例 SI-基础版 BI-商业智能服务 */ InstanceType?: string; + /** + * 分页查询方式 offset-按照偏移量分页查询,pageNumber-按照页数分页查询,默认取值pageNumber + */ + PaginationType?: string; } /** * CreateCloudReadOnlyDBInstances请求参数结构体 @@ -5653,11 +5657,11 @@ export interface DescribeDBInstancesResponse { /** * 符合条件的实例总数。分页返回的话,这个值指的是所有符合条件的实例的个数,而非当前根据Limit和Offset值返回的实例个数 */ - TotalCount: number; + TotalCount?: number; /** * 实例列表 */ - DBInstances: Array; + DBInstances?: Array; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ diff --git a/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts b/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts index 42d5287fb..0314816e4 100644 --- a/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +++ b/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts @@ -2526,11 +2526,11 @@ export interface DescribeTablesRequest { */ export interface KafkaInfo { /** - * kafaka address + * Kafka address */ Address: string; /** - * kafaka topic + * Kafka topic */ Topic: string; /** diff --git a/tencentcloud/services/tse/v20201207/tse_models.d.ts b/tencentcloud/services/tse/v20201207/tse_models.d.ts index 3b1760666..682547841 100644 --- a/tencentcloud/services/tse/v20201207/tse_models.d.ts +++ b/tencentcloud/services/tse/v20201207/tse_models.d.ts @@ -2727,10 +2727,12 @@ export interface CreateCloudNativeAPIGatewayCertificateRequest { Name?: string; /** * 证书私钥 + * @deprecated */ Key?: string; /** * 证书pem格式 + * @deprecated */ Crt?: string; } diff --git a/tencentcloud/services/vpc/v20170312/vpc_models.d.ts b/tencentcloud/services/vpc/v20170312/vpc_models.d.ts index 66b9efa76..8744884ed 100644 --- a/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +++ b/tencentcloud/services/vpc/v20170312/vpc_models.d.ts @@ -5887,6 +5887,9 @@ export interface CreateBandwidthPackageRequest { * 带宽包类型, 默认值: BGP, 可选值:
  • BGP: 普通BGP共享带宽包
  • HIGH_QUALITY_BGP: 精品BGP共享带宽包
  • +
  • SINGLEISP_CMCC: 中国移动共享带宽包
  • +
  • SINGLEISP_CTCC: 中国电信共享带宽包
  • +
  • SINGLEISP_CUCC: 中国联通共享带宽包
  • */ NetworkType?: string; /** @@ -5923,6 +5926,10 @@ export interface CreateBandwidthPackageRequest { * 预付费包月带宽包的购买时长,单位: 月,取值范围: 1~60。 */ TimeSpan?: number; + /** + * 网络出口,默认值:center_egress1 + */ + Egress?: string; } /** * DescribeIp6Addresses返回参数结构体 @@ -10657,35 +10664,40 @@ export interface BandwidthPackage { /** * 带宽包唯一标识Id */ - BandwidthPackageId: string; + BandwidthPackageId?: string; /** * 带宽包类型,包括'BGP','SINGLEISP','ANYCAST','SINGLEISP_CMCC','SINGLEISP_CTCC','SINGLEISP_CUCC' */ - NetworkType: string; + NetworkType?: string; /** * 带宽包计费类型,包括'TOP5_POSTPAID_BY_MONTH'和'PERCENT95_POSTPAID_BY_MONTH' */ - ChargeType: string; + ChargeType?: string; /** * 带宽包名称 */ - BandwidthPackageName: string; + BandwidthPackageName?: string; /** * 带宽包创建时间。按照`ISO8601`标准表示,并且使用`UTC`时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。 */ - CreatedTime: string; + CreatedTime?: string; /** * 带宽包状态,包括'CREATING','CREATED','DELETING','DELETED' */ - Status: string; + Status?: string; /** * 带宽包资源信息 */ - ResourceSet: Array; + ResourceSet?: Array; /** * 带宽包限速大小。单位:Mbps,-1表示不限速。 */ - Bandwidth: number; + Bandwidth?: number; + /** + * 网络出口 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + Egress?: string; } /** * ModifyVpcAttribute请求参数结构体 diff --git a/tencentcloud/services/waf/v20180125/waf_models.d.ts b/tencentcloud/services/waf/v20180125/waf_models.d.ts index c9a719c3d..21de0a04e 100644 --- a/tencentcloud/services/waf/v20180125/waf_models.d.ts +++ b/tencentcloud/services/waf/v20180125/waf_models.d.ts @@ -852,11 +852,11 @@ export interface DomainInfo { */ Status: number; /** - * 规则防御模式,0观察模式 1拦截模式 + * 规则引擎防护模式,0观察模式 1拦截模式 */ Mode: number; /** - * AI防御模式,10规则引擎观察&&AI引擎关闭模式 11规则引擎观察&&AI引擎观察模式 12规则引擎观察&&AI引擎拦截模式 20规则引擎拦截&&AI引擎关闭模式 21规则引擎拦截&&AI引擎观察模式 22规则引擎拦截&&AI引擎拦截模式 + * 规则引擎和AI引擎防护模式联合状态,10规则引擎观察&&AI引擎关闭模式 11规则引擎观察&&AI引擎观察模式 12规则引擎观察&&AI引擎拦截模式 20规则引擎拦截&&AI引擎关闭模式 21规则引擎拦截&&AI引擎观察模式 22规则引擎拦截&&AI引擎拦截模式 */ Engine: number; /** @@ -932,6 +932,11 @@ export interface DomainInfo { 注意:此字段可能返回 null,表示取不到有效值。 */ SgDetail?: string; + /** + * 域名类型:hybrid表示混合云域名,public表示公有云域名 + 注意:此字段可能返回 null,表示取不到有效值。 + */ + CloudType?: string; } /** * DescribeAntiInfoLeakRules返回的规则元素中的具体的规则元素 @@ -1165,7 +1170,7 @@ export interface ModifyDomainIpv6StatusRequest { */ DomainId: string; /** - * 修改域名的Ipv6开关为Status (0:关闭 1:开启) + * 修改域名的Ipv6开关为Status (1:开启 2:关闭) */ Status: number; } diff --git a/test/csip.v20221121.test.js b/test/csip.v20221121.test.js index e7dcbd8fb..24d3d50ec 100644 --- a/test/csip.v20221121.test.js +++ b/test/csip.v20221121.test.js @@ -88,9 +88,9 @@ it("csip.v20221121.DeleteRiskScanTask", async function () { } }) -it("csip.v20221121.DescribeTaskLogList", async function () { +it("csip.v20221121.DescribeRiskCenterAssetViewWeakPasswordRiskList", async function () { try { - const data = await client.DescribeTaskLogList({}) + const data = await client.DescribeRiskCenterAssetViewWeakPasswordRiskList({}) expect(data).to.be.ok } catch(error) { expect(error.requestId).to.be.ok @@ -118,6 +118,16 @@ it("csip.v20221121.DescribeClusterPodAssets", async function () { } }) +it("csip.v20221121.DescribeRiskCenterAssetViewCFGRiskList", async function () { + try { + const data = await client.DescribeRiskCenterAssetViewCFGRiskList({}) + expect(data).to.be.ok + } catch(error) { + expect(error.requestId).to.be.ok + expect(error.code).to.be.ok + } +}) + it("csip.v20221121.DescribeVpcAssets", async function () { try { const data = await client.DescribeVpcAssets({}) @@ -128,6 +138,16 @@ it("csip.v20221121.DescribeVpcAssets", async function () { } }) +it("csip.v20221121.DescribeRiskCenterServerRiskList", async function () { + try { + const data = await client.DescribeRiskCenterServerRiskList({}) + expect(data).to.be.ok + } catch(error) { + expect(error.requestId).to.be.ok + expect(error.code).to.be.ok + } +}) + it("csip.v20221121.DescribeCVMAssets", async function () { try { const data = await client.DescribeCVMAssets({}) @@ -138,6 +158,16 @@ it("csip.v20221121.DescribeCVMAssets", async function () { } }) +it("csip.v20221121.DescribeRiskCenterWebsiteRiskList", async function () { + try { + const data = await client.DescribeRiskCenterWebsiteRiskList({}) + expect(data).to.be.ok + } catch(error) { + expect(error.requestId).to.be.ok + expect(error.code).to.be.ok + } +}) + it("csip.v20221121.DescribeTaskLogURL", async function () { try { const data = await client.DescribeTaskLogURL({}) @@ -168,6 +198,16 @@ it("csip.v20221121.DescribeSearchBugInfo", async function () { } }) +it("csip.v20221121.DescribeTaskLogList", async function () { + try { + const data = await client.DescribeTaskLogList({}) + expect(data).to.be.ok + } catch(error) { + expect(error.requestId).to.be.ok + expect(error.code).to.be.ok + } +}) + it("csip.v20221121.DescribeScanReportList", async function () { try { const data = await client.DescribeScanReportList({})