tencentcloud-sdk-nodejs-tcss 4.0.738 → 4.0.739
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/products.md +23 -24
- package/src/services/tcss/v20201101/tcss_client.ts +2 -1
- package/src/services/tcss/v20201101/tcss_models.ts +235 -83
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +234 -83
|
@@ -372,6 +372,11 @@ export interface ImageVul {
|
|
|
372
372
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
373
373
|
*/
|
|
374
374
|
AttackLevel?: number;
|
|
375
|
+
/**
|
|
376
|
+
* 镜像层信息列表
|
|
377
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
378
|
+
*/
|
|
379
|
+
LayerInfos?: Array<ImageVulLayerInfo>;
|
|
375
380
|
}
|
|
376
381
|
/**
|
|
377
382
|
* CreateVulImageExportJob返回参数结构体
|
|
@@ -807,6 +812,10 @@ export interface AddAssetImageRegistryRegistryDetailRequest {
|
|
|
807
812
|
* 联通性检测的记录ID
|
|
808
813
|
*/
|
|
809
814
|
ConnDetectConfig?: Array<ConnDetectConfig>;
|
|
815
|
+
/**
|
|
816
|
+
* ”授权&扫描"开关
|
|
817
|
+
*/
|
|
818
|
+
NeedScan?: boolean;
|
|
810
819
|
}
|
|
811
820
|
/**
|
|
812
821
|
* AddIgnoreVul返回参数结构体
|
|
@@ -1600,7 +1609,7 @@ export interface CreateAssetImageScanTaskResponse {
|
|
|
1600
1609
|
/**
|
|
1601
1610
|
* 任务id
|
|
1602
1611
|
*/
|
|
1603
|
-
TaskID
|
|
1612
|
+
TaskID?: string;
|
|
1604
1613
|
/**
|
|
1605
1614
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1606
1615
|
*/
|
|
@@ -3744,7 +3753,8 @@ export interface CreateAssetImageScanSettingRequest {
|
|
|
3744
3753
|
*/
|
|
3745
3754
|
Enable: boolean;
|
|
3746
3755
|
/**
|
|
3747
|
-
*
|
|
3756
|
+
* 扫描开始时间
|
|
3757
|
+
01:00 时分
|
|
3748
3758
|
*/
|
|
3749
3759
|
ScanTime: string;
|
|
3750
3760
|
/**
|
|
@@ -3765,12 +3775,26 @@ export interface CreateAssetImageScanSettingRequest {
|
|
|
3765
3775
|
ScanVul: boolean;
|
|
3766
3776
|
/**
|
|
3767
3777
|
* 全部镜像
|
|
3778
|
+
* @deprecated
|
|
3768
3779
|
*/
|
|
3769
|
-
All
|
|
3780
|
+
All?: boolean;
|
|
3770
3781
|
/**
|
|
3771
3782
|
* 自定义镜像
|
|
3772
3783
|
*/
|
|
3773
3784
|
Images?: Array<string>;
|
|
3785
|
+
/**
|
|
3786
|
+
* 镜像是否存在运行中的容器
|
|
3787
|
+
*/
|
|
3788
|
+
ContainerRunning?: boolean;
|
|
3789
|
+
/**
|
|
3790
|
+
* 扫描范围 0 全部授权镜像,1自选镜像,2 推荐扫描
|
|
3791
|
+
*/
|
|
3792
|
+
ScanScope?: number;
|
|
3793
|
+
/**
|
|
3794
|
+
* 扫描结束时间
|
|
3795
|
+
02:00 时分
|
|
3796
|
+
*/
|
|
3797
|
+
ScanEndTime?: string;
|
|
3774
3798
|
}
|
|
3775
3799
|
/**
|
|
3776
3800
|
* 逃逸白名单
|
|
@@ -3960,6 +3984,22 @@ export interface DescribeAssetSummaryResponse {
|
|
|
3960
3984
|
* 超级节点运行个数
|
|
3961
3985
|
*/
|
|
3962
3986
|
SuperNodeRunningCnt?: number;
|
|
3987
|
+
/**
|
|
3988
|
+
* 今日新增镜像个数
|
|
3989
|
+
*/
|
|
3990
|
+
TodayNewImageCnt?: number;
|
|
3991
|
+
/**
|
|
3992
|
+
* 今日新增风险镜像个数
|
|
3993
|
+
*/
|
|
3994
|
+
TodayUnsafeImageCnt?: number;
|
|
3995
|
+
/**
|
|
3996
|
+
* 推荐处置镜像个数
|
|
3997
|
+
*/
|
|
3998
|
+
RecommendedFixImageCnt?: number;
|
|
3999
|
+
/**
|
|
4000
|
+
* 已扫描镜像个数
|
|
4001
|
+
*/
|
|
4002
|
+
ScannedImageCnt?: number;
|
|
3963
4003
|
/**
|
|
3964
4004
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3965
4005
|
*/
|
|
@@ -5137,6 +5177,14 @@ export interface RenewImageAuthorizeStateRequest {
|
|
|
5137
5177
|
* 镜像ids
|
|
5138
5178
|
*/
|
|
5139
5179
|
ImageIds?: Array<string>;
|
|
5180
|
+
/**
|
|
5181
|
+
* 是否授权后自动扫描
|
|
5182
|
+
*/
|
|
5183
|
+
NeedScan?: boolean;
|
|
5184
|
+
/**
|
|
5185
|
+
* 扫描类型
|
|
5186
|
+
*/
|
|
5187
|
+
ScanType?: Array<string>;
|
|
5140
5188
|
}
|
|
5141
5189
|
/**
|
|
5142
5190
|
* DescribeVirusAutoIsolateSetting请求参数结构体
|
|
@@ -5685,73 +5733,78 @@ export interface ImagesVul {
|
|
|
5685
5733
|
/**
|
|
5686
5734
|
* 漏洞id
|
|
5687
5735
|
*/
|
|
5688
|
-
CVEID
|
|
5736
|
+
CVEID?: string;
|
|
5689
5737
|
/**
|
|
5690
5738
|
* 漏洞名称
|
|
5691
5739
|
*/
|
|
5692
|
-
Name
|
|
5740
|
+
Name?: string;
|
|
5693
5741
|
/**
|
|
5694
5742
|
* 组件
|
|
5695
5743
|
*/
|
|
5696
|
-
Component
|
|
5744
|
+
Component?: string;
|
|
5697
5745
|
/**
|
|
5698
5746
|
* 版本
|
|
5699
5747
|
*/
|
|
5700
|
-
Version
|
|
5748
|
+
Version?: string;
|
|
5701
5749
|
/**
|
|
5702
5750
|
* 分类
|
|
5703
5751
|
*/
|
|
5704
|
-
Category
|
|
5752
|
+
Category?: string;
|
|
5705
5753
|
/**
|
|
5706
5754
|
* 分类2
|
|
5707
5755
|
*/
|
|
5708
|
-
CategoryType
|
|
5756
|
+
CategoryType?: string;
|
|
5709
5757
|
/**
|
|
5710
5758
|
* 风险等级
|
|
5711
5759
|
*/
|
|
5712
|
-
Level
|
|
5760
|
+
Level?: number;
|
|
5713
5761
|
/**
|
|
5714
5762
|
* 描述
|
|
5715
5763
|
*/
|
|
5716
|
-
Des
|
|
5764
|
+
Des?: string;
|
|
5717
5765
|
/**
|
|
5718
5766
|
* 解决方案
|
|
5719
5767
|
*/
|
|
5720
|
-
OfficialSolution
|
|
5768
|
+
OfficialSolution?: string;
|
|
5721
5769
|
/**
|
|
5722
5770
|
* 引用
|
|
5723
5771
|
*/
|
|
5724
|
-
Reference
|
|
5772
|
+
Reference?: string;
|
|
5725
5773
|
/**
|
|
5726
5774
|
* 防御方案
|
|
5727
5775
|
*/
|
|
5728
|
-
DefenseSolution
|
|
5776
|
+
DefenseSolution?: string;
|
|
5729
5777
|
/**
|
|
5730
5778
|
* 提交时间
|
|
5731
5779
|
*/
|
|
5732
|
-
SubmitTime
|
|
5780
|
+
SubmitTime?: string;
|
|
5733
5781
|
/**
|
|
5734
5782
|
* CVSS V3分数
|
|
5735
5783
|
*/
|
|
5736
|
-
CVSSV3Score
|
|
5784
|
+
CVSSV3Score?: number;
|
|
5737
5785
|
/**
|
|
5738
5786
|
* CVSS V3描述
|
|
5739
5787
|
*/
|
|
5740
|
-
CVSSV3Desc
|
|
5788
|
+
CVSSV3Desc?: string;
|
|
5741
5789
|
/**
|
|
5742
5790
|
* 是否是重点关注:true:是,false:不是
|
|
5743
5791
|
*/
|
|
5744
|
-
IsSuggest
|
|
5792
|
+
IsSuggest?: boolean;
|
|
5745
5793
|
/**
|
|
5746
5794
|
* 修复版本号
|
|
5747
5795
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5748
5796
|
*/
|
|
5749
|
-
FixedVersions
|
|
5797
|
+
FixedVersions?: string;
|
|
5750
5798
|
/**
|
|
5751
5799
|
* 漏洞标签:"CanBeFixed","DynamicLevelPoc","DynamicLevelExp"
|
|
5752
5800
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5753
5801
|
*/
|
|
5754
|
-
Tag
|
|
5802
|
+
Tag?: Array<string>;
|
|
5803
|
+
/**
|
|
5804
|
+
* 攻击热度
|
|
5805
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5806
|
+
*/
|
|
5807
|
+
AttackLevel?: number;
|
|
5755
5808
|
}
|
|
5756
5809
|
/**
|
|
5757
5810
|
* DescribePromotionActivity返回参数结构体
|
|
@@ -6769,6 +6822,21 @@ export interface DescribeSecLogDeliveryClsOptionsResponse {
|
|
|
6769
6822
|
*/
|
|
6770
6823
|
RequestId?: string;
|
|
6771
6824
|
}
|
|
6825
|
+
/**
|
|
6826
|
+
* 漏洞列表中的层信息
|
|
6827
|
+
*/
|
|
6828
|
+
export interface ImageVulLayerInfo {
|
|
6829
|
+
/**
|
|
6830
|
+
* 层id
|
|
6831
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6832
|
+
*/
|
|
6833
|
+
LayerId?: string;
|
|
6834
|
+
/**
|
|
6835
|
+
* 层cmd
|
|
6836
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6837
|
+
*/
|
|
6838
|
+
LayerCmd?: string;
|
|
6839
|
+
}
|
|
6772
6840
|
/**
|
|
6773
6841
|
* DeleteMachine请求参数结构体
|
|
6774
6842
|
*/
|
|
@@ -7964,136 +8032,140 @@ export interface DescribeAssetImageDetailResponse {
|
|
|
7964
8032
|
/**
|
|
7965
8033
|
* 镜像ID
|
|
7966
8034
|
*/
|
|
7967
|
-
ImageID
|
|
8035
|
+
ImageID?: string;
|
|
7968
8036
|
/**
|
|
7969
8037
|
* 镜像名称
|
|
7970
8038
|
*/
|
|
7971
|
-
ImageName
|
|
8039
|
+
ImageName?: string;
|
|
8040
|
+
/**
|
|
8041
|
+
* 镜像摘要
|
|
8042
|
+
*/
|
|
8043
|
+
ImageDigest?: string;
|
|
7972
8044
|
/**
|
|
7973
8045
|
* 创建时间
|
|
7974
8046
|
*/
|
|
7975
|
-
CreateTime
|
|
8047
|
+
CreateTime?: string;
|
|
7976
8048
|
/**
|
|
7977
8049
|
* 镜像大小
|
|
7978
8050
|
*/
|
|
7979
|
-
Size
|
|
8051
|
+
Size?: number;
|
|
7980
8052
|
/**
|
|
7981
8053
|
* 关联主机个数
|
|
7982
8054
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7983
8055
|
*/
|
|
7984
|
-
HostCnt
|
|
8056
|
+
HostCnt?: number;
|
|
7985
8057
|
/**
|
|
7986
8058
|
* 关联容器个数
|
|
7987
8059
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7988
8060
|
*/
|
|
7989
|
-
ContainerCnt
|
|
8061
|
+
ContainerCnt?: number;
|
|
7990
8062
|
/**
|
|
7991
8063
|
* 最近扫描时间
|
|
7992
8064
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7993
8065
|
*/
|
|
7994
|
-
ScanTime
|
|
8066
|
+
ScanTime?: string;
|
|
7995
8067
|
/**
|
|
7996
8068
|
* 漏洞个数
|
|
7997
8069
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7998
8070
|
*/
|
|
7999
|
-
VulCnt
|
|
8071
|
+
VulCnt?: number;
|
|
8000
8072
|
/**
|
|
8001
8073
|
* 风险行为数
|
|
8002
8074
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8003
8075
|
*/
|
|
8004
|
-
RiskCnt
|
|
8076
|
+
RiskCnt?: number;
|
|
8005
8077
|
/**
|
|
8006
8078
|
* 敏感信息数
|
|
8007
8079
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8008
8080
|
*/
|
|
8009
|
-
SensitiveInfoCnt
|
|
8081
|
+
SensitiveInfoCnt?: number;
|
|
8010
8082
|
/**
|
|
8011
8083
|
* 是否信任镜像
|
|
8012
8084
|
*/
|
|
8013
|
-
IsTrustImage
|
|
8085
|
+
IsTrustImage?: boolean;
|
|
8014
8086
|
/**
|
|
8015
8087
|
* 镜像系统
|
|
8016
8088
|
*/
|
|
8017
|
-
OsName
|
|
8089
|
+
OsName?: string;
|
|
8018
8090
|
/**
|
|
8019
8091
|
* agent镜像扫描错误
|
|
8020
8092
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8021
8093
|
*/
|
|
8022
|
-
AgentError
|
|
8094
|
+
AgentError?: string;
|
|
8023
8095
|
/**
|
|
8024
8096
|
* 后端镜像扫描错误
|
|
8025
8097
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8026
8098
|
*/
|
|
8027
|
-
ScanError
|
|
8099
|
+
ScanError?: string;
|
|
8028
8100
|
/**
|
|
8029
8101
|
* 系统架构
|
|
8030
8102
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8031
8103
|
*/
|
|
8032
|
-
Architecture
|
|
8104
|
+
Architecture?: string;
|
|
8033
8105
|
/**
|
|
8034
8106
|
* 作者
|
|
8035
8107
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8036
8108
|
*/
|
|
8037
|
-
Author
|
|
8109
|
+
Author?: string;
|
|
8038
8110
|
/**
|
|
8039
8111
|
* 构建历史
|
|
8040
8112
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8041
8113
|
*/
|
|
8042
|
-
BuildHistory
|
|
8114
|
+
BuildHistory?: string;
|
|
8043
8115
|
/**
|
|
8044
8116
|
* 木马扫描进度
|
|
8045
8117
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8046
8118
|
*/
|
|
8047
|
-
ScanVirusProgress
|
|
8119
|
+
ScanVirusProgress?: number;
|
|
8048
8120
|
/**
|
|
8049
8121
|
* 漏洞扫进度
|
|
8050
8122
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8051
8123
|
*/
|
|
8052
|
-
ScanVulProgress
|
|
8124
|
+
ScanVulProgress?: number;
|
|
8053
8125
|
/**
|
|
8054
8126
|
* 敏感信息扫描进度
|
|
8055
8127
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8056
8128
|
*/
|
|
8057
|
-
ScanRiskProgress
|
|
8129
|
+
ScanRiskProgress?: number;
|
|
8058
8130
|
/**
|
|
8059
8131
|
* 木马扫描错误
|
|
8060
8132
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8061
8133
|
*/
|
|
8062
|
-
ScanVirusError
|
|
8134
|
+
ScanVirusError?: string;
|
|
8063
8135
|
/**
|
|
8064
8136
|
* 漏洞扫描错误
|
|
8065
8137
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8066
8138
|
*/
|
|
8067
|
-
ScanVulError
|
|
8139
|
+
ScanVulError?: string;
|
|
8068
8140
|
/**
|
|
8069
8141
|
* 敏感信息错误
|
|
8070
8142
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8071
8143
|
*/
|
|
8072
|
-
ScanRiskError
|
|
8144
|
+
ScanRiskError?: string;
|
|
8073
8145
|
/**
|
|
8074
8146
|
* 镜像扫描状态
|
|
8075
8147
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8076
8148
|
*/
|
|
8077
|
-
ScanStatus
|
|
8149
|
+
ScanStatus?: string;
|
|
8078
8150
|
/**
|
|
8079
8151
|
* 木马病毒数
|
|
8080
8152
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8081
8153
|
*/
|
|
8082
|
-
VirusCnt
|
|
8154
|
+
VirusCnt?: number;
|
|
8083
8155
|
/**
|
|
8084
8156
|
* 镜像扫描状态
|
|
8085
8157
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8086
8158
|
*/
|
|
8087
|
-
Status
|
|
8159
|
+
Status?: number;
|
|
8088
8160
|
/**
|
|
8089
8161
|
* 剩余扫描时间
|
|
8090
8162
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8091
8163
|
*/
|
|
8092
|
-
RemainScanTime
|
|
8164
|
+
RemainScanTime?: number;
|
|
8093
8165
|
/**
|
|
8094
8166
|
* 授权为:1,未授权为:0
|
|
8095
8167
|
*/
|
|
8096
|
-
IsAuthorized
|
|
8168
|
+
IsAuthorized?: number;
|
|
8097
8169
|
/**
|
|
8098
8170
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8099
8171
|
*/
|
|
@@ -8573,6 +8645,10 @@ export interface ImageRepoInfo {
|
|
|
8573
8645
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8574
8646
|
*/
|
|
8575
8647
|
SensitiveInfoCnt?: number;
|
|
8648
|
+
/**
|
|
8649
|
+
* 是否推荐处置
|
|
8650
|
+
*/
|
|
8651
|
+
RecommendedFix?: boolean;
|
|
8576
8652
|
}
|
|
8577
8653
|
/**
|
|
8578
8654
|
* CreateAssetImageRegistryScanTask返回参数结构体
|
|
@@ -12744,7 +12820,16 @@ export interface CompliancePolicyAssetSetItem {
|
|
|
12744
12820
|
/**
|
|
12745
12821
|
* SyncAssetImageRegistryAsset请求参数结构体
|
|
12746
12822
|
*/
|
|
12747
|
-
export
|
|
12823
|
+
export interface SyncAssetImageRegistryAssetRequest {
|
|
12824
|
+
/**
|
|
12825
|
+
* 是否同步所有镜像仓库
|
|
12826
|
+
*/
|
|
12827
|
+
All?: boolean;
|
|
12828
|
+
/**
|
|
12829
|
+
* 需要同步的部分镜像仓库
|
|
12830
|
+
*/
|
|
12831
|
+
RegistryIds?: Array<number | bigint>;
|
|
12832
|
+
}
|
|
12748
12833
|
/**
|
|
12749
12834
|
* DescribeComplianceScanFailedAssetList请求参数结构体
|
|
12750
12835
|
*/
|
|
@@ -14476,6 +14561,14 @@ export interface AddEditImageAutoAuthorizedRuleRequest {
|
|
|
14476
14561
|
* 根据条件过滤而且排除指定主机id
|
|
14477
14562
|
*/
|
|
14478
14563
|
ExcludeHostIdSet?: Array<string>;
|
|
14564
|
+
/**
|
|
14565
|
+
* 自动扫描开关
|
|
14566
|
+
*/
|
|
14567
|
+
AutoScanEnabled?: number;
|
|
14568
|
+
/**
|
|
14569
|
+
* 自动扫描范围
|
|
14570
|
+
*/
|
|
14571
|
+
ScanType?: Array<string>;
|
|
14479
14572
|
}
|
|
14480
14573
|
/**
|
|
14481
14574
|
* SwitchImageAutoAuthorizedRule请求参数结构体
|
|
@@ -14883,87 +14976,111 @@ export interface ImagesInfo {
|
|
|
14883
14976
|
/**
|
|
14884
14977
|
* 镜像id
|
|
14885
14978
|
*/
|
|
14886
|
-
ImageID
|
|
14979
|
+
ImageID?: string;
|
|
14887
14980
|
/**
|
|
14888
14981
|
* 镜像名称
|
|
14889
14982
|
*/
|
|
14890
|
-
ImageName
|
|
14983
|
+
ImageName?: string;
|
|
14891
14984
|
/**
|
|
14892
14985
|
* 创建时间
|
|
14893
14986
|
*/
|
|
14894
|
-
CreateTime
|
|
14987
|
+
CreateTime?: string;
|
|
14895
14988
|
/**
|
|
14896
14989
|
* 镜像大小
|
|
14897
14990
|
*/
|
|
14898
|
-
Size
|
|
14991
|
+
Size?: number;
|
|
14899
14992
|
/**
|
|
14900
14993
|
* 主机个数
|
|
14901
14994
|
*/
|
|
14902
|
-
HostCnt
|
|
14995
|
+
HostCnt?: number;
|
|
14903
14996
|
/**
|
|
14904
14997
|
* 容器个数
|
|
14905
14998
|
*/
|
|
14906
|
-
ContainerCnt
|
|
14999
|
+
ContainerCnt?: number;
|
|
14907
15000
|
/**
|
|
14908
15001
|
* 扫描时间
|
|
14909
15002
|
*/
|
|
14910
|
-
ScanTime
|
|
15003
|
+
ScanTime?: string;
|
|
14911
15004
|
/**
|
|
14912
15005
|
* 漏洞个数
|
|
14913
15006
|
*/
|
|
14914
|
-
VulCnt
|
|
15007
|
+
VulCnt?: number;
|
|
14915
15008
|
/**
|
|
14916
15009
|
* 病毒个数
|
|
14917
15010
|
*/
|
|
14918
|
-
VirusCnt
|
|
15011
|
+
VirusCnt?: number;
|
|
14919
15012
|
/**
|
|
14920
15013
|
* 敏感信息个数
|
|
14921
15014
|
*/
|
|
14922
|
-
RiskCnt
|
|
15015
|
+
RiskCnt?: number;
|
|
14923
15016
|
/**
|
|
14924
15017
|
* 是否信任镜像
|
|
14925
15018
|
*/
|
|
14926
|
-
IsTrustImage
|
|
15019
|
+
IsTrustImage?: boolean;
|
|
14927
15020
|
/**
|
|
14928
15021
|
* 镜像系统
|
|
14929
15022
|
*/
|
|
14930
|
-
OsName
|
|
15023
|
+
OsName?: string;
|
|
14931
15024
|
/**
|
|
14932
15025
|
* agent镜像扫描错误
|
|
14933
15026
|
*/
|
|
14934
|
-
AgentError
|
|
15027
|
+
AgentError?: string;
|
|
14935
15028
|
/**
|
|
14936
15029
|
* 后端镜像扫描错误
|
|
14937
15030
|
*/
|
|
14938
|
-
ScanError
|
|
15031
|
+
ScanError?: string;
|
|
14939
15032
|
/**
|
|
14940
15033
|
* 扫描状态
|
|
14941
15034
|
*/
|
|
14942
|
-
ScanStatus
|
|
15035
|
+
ScanStatus?: string;
|
|
14943
15036
|
/**
|
|
14944
15037
|
* 木马扫描错误信息
|
|
14945
15038
|
*/
|
|
14946
|
-
ScanVirusError
|
|
15039
|
+
ScanVirusError?: string;
|
|
14947
15040
|
/**
|
|
14948
15041
|
* 漏洞扫描错误信息
|
|
14949
15042
|
*/
|
|
14950
|
-
ScanVulError
|
|
15043
|
+
ScanVulError?: string;
|
|
14951
15044
|
/**
|
|
14952
15045
|
* 风险扫描错误信息
|
|
14953
15046
|
*/
|
|
14954
|
-
ScanRiskError
|
|
15047
|
+
ScanRiskError?: string;
|
|
14955
15048
|
/**
|
|
14956
15049
|
* 是否是重点关注镜像,为0不是,非0是
|
|
14957
15050
|
*/
|
|
14958
|
-
IsSuggest
|
|
15051
|
+
IsSuggest?: number;
|
|
14959
15052
|
/**
|
|
14960
15053
|
* 是否授权,1是0否
|
|
14961
15054
|
*/
|
|
14962
|
-
IsAuthorized
|
|
15055
|
+
IsAuthorized?: number;
|
|
14963
15056
|
/**
|
|
14964
15057
|
* 组件个数
|
|
14965
15058
|
*/
|
|
14966
|
-
ComponentCnt
|
|
15059
|
+
ComponentCnt?: number;
|
|
15060
|
+
/**
|
|
15061
|
+
* 严重漏洞数
|
|
15062
|
+
*/
|
|
15063
|
+
CriticalLevelVulCnt?: number;
|
|
15064
|
+
/**
|
|
15065
|
+
* 高危漏洞数
|
|
15066
|
+
*/
|
|
15067
|
+
HighLevelVulCnt?: number;
|
|
15068
|
+
/**
|
|
15069
|
+
* 中危漏洞数
|
|
15070
|
+
*/
|
|
15071
|
+
MediumLevelVulCnt?: number;
|
|
15072
|
+
/**
|
|
15073
|
+
* 低危漏洞数
|
|
15074
|
+
*/
|
|
15075
|
+
LowLevelVulCnt?: number;
|
|
15076
|
+
/**
|
|
15077
|
+
* 是否最新版本镜像
|
|
15078
|
+
*/
|
|
15079
|
+
IsLatestImage?: boolean;
|
|
15080
|
+
/**
|
|
15081
|
+
* 是否推荐处置
|
|
15082
|
+
*/
|
|
15083
|
+
RecommendedFix?: boolean;
|
|
14967
15084
|
}
|
|
14968
15085
|
/**
|
|
14969
15086
|
* ModifyVirusAutoIsolateExampleSwitch请求参数结构体
|
|
@@ -17108,35 +17225,48 @@ export interface DescribeAssetImageScanSettingResponse {
|
|
|
17108
17225
|
/**
|
|
17109
17226
|
* 开关
|
|
17110
17227
|
*/
|
|
17111
|
-
Enable
|
|
17228
|
+
Enable?: boolean;
|
|
17112
17229
|
/**
|
|
17113
17230
|
* 扫描时刻(完整时间;后端按0时区解析时分秒)
|
|
17114
17231
|
*/
|
|
17115
|
-
ScanTime
|
|
17232
|
+
ScanTime?: string;
|
|
17116
17233
|
/**
|
|
17117
17234
|
* 扫描间隔
|
|
17118
17235
|
*/
|
|
17119
|
-
ScanPeriod
|
|
17236
|
+
ScanPeriod?: number;
|
|
17120
17237
|
/**
|
|
17121
17238
|
* 扫描木马
|
|
17122
17239
|
*/
|
|
17123
|
-
ScanVirus
|
|
17240
|
+
ScanVirus?: boolean;
|
|
17124
17241
|
/**
|
|
17125
17242
|
* 扫描敏感信息
|
|
17126
17243
|
*/
|
|
17127
|
-
ScanRisk
|
|
17244
|
+
ScanRisk?: boolean;
|
|
17128
17245
|
/**
|
|
17129
17246
|
* 扫描漏洞
|
|
17130
17247
|
*/
|
|
17131
|
-
ScanVul
|
|
17248
|
+
ScanVul?: boolean;
|
|
17132
17249
|
/**
|
|
17133
17250
|
* 扫描全部镜像
|
|
17251
|
+
* @deprecated
|
|
17134
17252
|
*/
|
|
17135
|
-
All
|
|
17253
|
+
All?: boolean;
|
|
17136
17254
|
/**
|
|
17137
17255
|
* 自定义扫描镜像
|
|
17138
17256
|
*/
|
|
17139
|
-
Images
|
|
17257
|
+
Images?: Array<string>;
|
|
17258
|
+
/**
|
|
17259
|
+
* 镜像是否存在运行中的容器
|
|
17260
|
+
*/
|
|
17261
|
+
ContainerRunning?: boolean;
|
|
17262
|
+
/**
|
|
17263
|
+
* 扫描范围 0 全部授权镜像,1自选镜像,2 推荐扫描
|
|
17264
|
+
*/
|
|
17265
|
+
ScanScope?: number;
|
|
17266
|
+
/**
|
|
17267
|
+
* 扫描结束时间 02:00 时分
|
|
17268
|
+
*/
|
|
17269
|
+
ScanEndTime?: string;
|
|
17140
17270
|
/**
|
|
17141
17271
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
17142
17272
|
*/
|
|
@@ -17335,6 +17465,7 @@ export interface DescribeContainerAssetSummaryResponse {
|
|
|
17335
17465
|
export interface CreateAssetImageScanTaskRequest {
|
|
17336
17466
|
/**
|
|
17337
17467
|
* 是否扫描全部镜像;全部镜像,镜像列表和根据过滤条件筛选三选一。
|
|
17468
|
+
* @deprecated
|
|
17338
17469
|
*/
|
|
17339
17470
|
All?: boolean;
|
|
17340
17471
|
/**
|
|
@@ -17361,6 +17492,18 @@ export interface CreateAssetImageScanTaskRequest {
|
|
|
17361
17492
|
* 根据过滤条件筛选出镜像,再排除个别镜像
|
|
17362
17493
|
*/
|
|
17363
17494
|
ExcludeImageIds?: Array<string>;
|
|
17495
|
+
/**
|
|
17496
|
+
* 镜像是否存在运行中的容器
|
|
17497
|
+
*/
|
|
17498
|
+
ContainerRunning?: boolean;
|
|
17499
|
+
/**
|
|
17500
|
+
* 扫描范围 0 全部授权镜像,1自选镜像,2 推荐扫描
|
|
17501
|
+
*/
|
|
17502
|
+
ScanScope?: number;
|
|
17503
|
+
/**
|
|
17504
|
+
* 任务超时时长单位秒,默认1小时
|
|
17505
|
+
*/
|
|
17506
|
+
Timeout?: number;
|
|
17364
17507
|
}
|
|
17365
17508
|
/**
|
|
17366
17509
|
* CreateSearchTemplate请求参数结构体
|
|
@@ -18576,27 +18719,35 @@ export interface DescribeImageAutoAuthorizedRuleResponse {
|
|
|
18576
18719
|
/**
|
|
18577
18720
|
* 规则是否生效,0:不生效,1:已生效
|
|
18578
18721
|
*/
|
|
18579
|
-
IsEnabled
|
|
18722
|
+
IsEnabled?: number;
|
|
18580
18723
|
/**
|
|
18581
18724
|
* 授权范围类别,MANUAL:自选主机节点,ALL:全部镜像
|
|
18582
18725
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18583
18726
|
*/
|
|
18584
|
-
RangeType
|
|
18727
|
+
RangeType?: string;
|
|
18585
18728
|
/**
|
|
18586
18729
|
* 授权范围是自选主机时的主机数量
|
|
18587
18730
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18588
18731
|
*/
|
|
18589
|
-
HostCount
|
|
18732
|
+
HostCount?: number;
|
|
18590
18733
|
/**
|
|
18591
18734
|
* 每天最大的镜像授权数限制, 0表示无限制
|
|
18592
18735
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18593
18736
|
*/
|
|
18594
|
-
MaxDailyCount
|
|
18737
|
+
MaxDailyCount?: number;
|
|
18595
18738
|
/**
|
|
18596
18739
|
* 规则id,用未设置时为0
|
|
18597
18740
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18598
18741
|
*/
|
|
18599
|
-
RuleId
|
|
18742
|
+
RuleId?: number;
|
|
18743
|
+
/**
|
|
18744
|
+
* 自动扫描开关,0:关闭,1:开启
|
|
18745
|
+
*/
|
|
18746
|
+
AutoScanEnabled?: number;
|
|
18747
|
+
/**
|
|
18748
|
+
* 自动扫描范围
|
|
18749
|
+
*/
|
|
18750
|
+
ScanType?: Array<string>;
|
|
18600
18751
|
/**
|
|
18601
18752
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
18602
18753
|
*/
|