@alicloud/sas20181203 8.0.1 → 9.0.0
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/dist/models/DescribeCriteriaResponseBody.d.ts +147 -26
- package/dist/models/DescribeCriteriaResponseBody.js.map +1 -1
- package/dist/models/ModifyCreateVulWhitelistResponseBody.d.ts +2 -5
- package/dist/models/ModifyCreateVulWhitelistResponseBody.js +3 -3
- package/dist/models/ModifyCreateVulWhitelistResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/models/DescribeCriteriaResponseBody.ts +147 -26
- package/src/models/ModifyCreateVulWhitelistResponseBody.ts +5 -8
|
@@ -14,31 +14,50 @@ export declare class DescribeCriteriaResponseBodyCriteriaList extends $dara.Mode
|
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
16
|
* The name of the search condition. Valid values:
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
17
|
+
* - **internetIp**: Public IP Address.
|
|
18
|
+
* - **intranetIp**: Private IP Address.
|
|
19
|
+
* - **instanceName**: Instance Name.
|
|
20
|
+
* - **instanceId**: Instance ID.
|
|
21
|
+
* - **machineType**: Instance Type.
|
|
22
|
+
* - **clusterIdList**: Cluster ID list.
|
|
23
|
+
* - **vpcInstanceId**: VPC ID.
|
|
24
|
+
* - **osName**: OS.
|
|
25
|
+
* - **osType**: OS type.
|
|
26
|
+
* - **hcStatus**: Whether Baseline Risk Exists.
|
|
27
|
+
* - **vulStatus**: Whether Vulnerability Exists.
|
|
28
|
+
* - **asapVulStatus**: Whether there is an urgent vulnerability.
|
|
29
|
+
* - **alarmStatus**: Whether Alert Exists.
|
|
30
|
+
* - **riskStatus**: Whether there is a risk.
|
|
31
|
+
* - **clientStatus**: Whether it is online.
|
|
32
|
+
* - **clientSubStatus**: Client sub-status.
|
|
33
|
+
* - **runningStatus**: Power-on status.
|
|
34
|
+
* - **tagName**: Tag name.
|
|
35
|
+
* - **vendorAuthAlias**: Authorized account remarks.
|
|
36
|
+
* - **vendorUid**: Authorized account ID.
|
|
37
|
+
* - **vendorUserName**: Authorized account name.
|
|
38
|
+
* - **namespace**: Namespace.
|
|
39
|
+
* - **appName**: Application name.
|
|
40
|
+
* - **groupName**: Group name.
|
|
41
|
+
* - **regionId**: Region.
|
|
42
|
+
* - **groupId**: Group ID.
|
|
43
|
+
* - **newInstance**: Whether it is a new asset.
|
|
44
|
+
* - **containerStatus**: Whether there is a container.
|
|
45
|
+
* - **importance**: Asset importance.
|
|
46
|
+
* - **exposedStatus**: Whether it is an exposed server.
|
|
47
|
+
* - **clusterId**: Cluster ID.
|
|
48
|
+
* - **authVersion**: Authorization version.
|
|
49
|
+
* - **flag**: Cloud provider.
|
|
50
|
+
* - **ipList**: IP list.
|
|
51
|
+
* - **uuidList**: UUID.
|
|
52
|
+
* - **aiStatus**: Whether there is an AI component.
|
|
53
|
+
* - **tagKeyValue**: ECS tag.
|
|
54
|
+
* - **ecsType**: Server type.
|
|
55
|
+
* - **alisecguardStatus**: Self-protection status.
|
|
56
|
+
* - **alihipsStatus**: AliHips status.
|
|
57
|
+
* - **alinetStatus**: AliNet status.
|
|
58
|
+
* - **alidetectStatus**: Endpoint engine status.
|
|
59
|
+
* - **yundunMonitorStatus**: Information collection component status.
|
|
60
|
+
* - **clusterNodeStatus**: Whether it is a cluster node.
|
|
42
61
|
*
|
|
43
62
|
* @example
|
|
44
63
|
* internetIp
|
|
@@ -58,6 +77,108 @@ export declare class DescribeCriteriaResponseBodyCriteriaList extends $dara.Mode
|
|
|
58
77
|
/**
|
|
59
78
|
* @remarks
|
|
60
79
|
* The attribute values of the assets that match the keyword.
|
|
80
|
+
* > - When **Name** is **machineType**, the enum values are:
|
|
81
|
+
* >>- **38**: Elastic Container Instance.
|
|
82
|
+
* >>- **51**: RunD Container Instance.
|
|
83
|
+
* >>- **52**: RunC Container Instance.
|
|
84
|
+
* >- When **Name** is **osType**, the enum values are:
|
|
85
|
+
* >>- **linux**: Linux.
|
|
86
|
+
* >>- **windows**: Windows.
|
|
87
|
+
* >- When **Name** is **hcStatus**, the enum values are:
|
|
88
|
+
* >>- **NO**: No.
|
|
89
|
+
* >>- **YES**: Yes.
|
|
90
|
+
* >- When **Name** is **vulStatus**, the enum values are:
|
|
91
|
+
* >>- **NO**: No.
|
|
92
|
+
* >>- **YES**: Yes.
|
|
93
|
+
* >- When **Name** is **asapVulStatus**, the enum values are:
|
|
94
|
+
* >>- **NO**: No.
|
|
95
|
+
* >>- **YES**: Yes.
|
|
96
|
+
* >- When **Name** is **alarmStatus**, the enum values are:
|
|
97
|
+
* >>- **NO**: No.
|
|
98
|
+
* >>- **YES**: Yes.
|
|
99
|
+
* >- When **Name** is **riskStatus**, the enum values are:
|
|
100
|
+
* >>- **NO**: No.
|
|
101
|
+
* >>- **YES**: Yes.
|
|
102
|
+
* >>- **UNKNOWN**: Unknown.
|
|
103
|
+
* >- When **Name** is **clientStatus**, the enum values are:
|
|
104
|
+
* >>- **online**: Online.
|
|
105
|
+
* >>- **offline**: Offline.
|
|
106
|
+
* >>- **pause**: Protection Suspended.
|
|
107
|
+
* >- When **Name** is **clientSubStatus**, the enum values are:
|
|
108
|
+
* >>- **online**: Online.
|
|
109
|
+
* >>- **offline**: Offline.
|
|
110
|
+
* >>- **pause**: Protection Suspended.
|
|
111
|
+
* >>- **stopped**: Server Shutdown.
|
|
112
|
+
* >>- **uninstalled**: Not Installed.
|
|
113
|
+
* >- When **Name** is **runningStatus**, the enum values are:
|
|
114
|
+
* >>- **Running**: On.
|
|
115
|
+
* >>- **notRunning**: Off.
|
|
116
|
+
* >>- **UNKNOWN**: Unknown.
|
|
117
|
+
* >- When **Name** is **importance**, the enum values are:
|
|
118
|
+
* >>- **important**: Important.
|
|
119
|
+
* >>- **general**: Normal.
|
|
120
|
+
* >>- **test**: Test.
|
|
121
|
+
* >- When **Name** is **containerStatus**, the enum values are:
|
|
122
|
+
* >>- **NO**: No.
|
|
123
|
+
* >>- **YES**: Yes.
|
|
124
|
+
* >- When **Name** is **exposedStatus**, the enum values are:
|
|
125
|
+
* >>- **NO**: No.
|
|
126
|
+
* >>- **YES**: Yes.
|
|
127
|
+
* >- When **Name** is **authVersion**, the enum values are:
|
|
128
|
+
* >>- **1**: Basic.
|
|
129
|
+
* >>- **3**: Enterprise.
|
|
130
|
+
* >>- **5**: Advanced.
|
|
131
|
+
* >>- **6**: Anti-virus.
|
|
132
|
+
* >>- **7**: Ultimate.
|
|
133
|
+
* >- When **Name** is **flag**, the enum values are:
|
|
134
|
+
* >>- **0|8|15**: Alibaba Cloud.
|
|
135
|
+
* >>- **1**: External Host.
|
|
136
|
+
* >>- **2**: IDC.
|
|
137
|
+
* >>- **3**: Tencent Cloud.
|
|
138
|
+
* >>- **4**: Huawei Cloud.
|
|
139
|
+
* >>- **5**: Azure.
|
|
140
|
+
* >>- **7**: AWS.
|
|
141
|
+
* >>- **9**: SAE.
|
|
142
|
+
* >>- **10**: PAI.
|
|
143
|
+
* >>- **13**: ACS.
|
|
144
|
+
* >>- **14**: Volcano Cloud.
|
|
145
|
+
* >>- **16**: Google Cloud.
|
|
146
|
+
* >- When **Name** is **aiStatus**, the enum values are:
|
|
147
|
+
* >>- **NO**: No.
|
|
148
|
+
* >>- **YES**: Yes.
|
|
149
|
+
* >- When **Name** is **ecsType**, the enum values are:
|
|
150
|
+
* >>- **8**: Simple Application Server.
|
|
151
|
+
* >>- **11**: LINGJUN GPU-accelerated Bare Metal Instance.
|
|
152
|
+
* >>- **15**: RDS Custom.
|
|
153
|
+
* >>- **!8**: Host.
|
|
154
|
+
* >- When **Name** is **alisecguardStatus**, the enum values are:
|
|
155
|
+
* >>- **0**: Plug-in Online.
|
|
156
|
+
* >>- **1**: Plug-in Disabled.
|
|
157
|
+
* >>- **2**: Plug-in Offline.
|
|
158
|
+
* >>- **-99**: The installation failed.
|
|
159
|
+
* >- When **Name** is **alihipsStatus**, the enum values are:
|
|
160
|
+
* >>- **0**: Plug-in Online.
|
|
161
|
+
* >>- **1**: Plug-in Disabled.
|
|
162
|
+
* >>- **2**: Plug-in Offline.
|
|
163
|
+
* >>- **-99**: The installation failed.
|
|
164
|
+
* >- When **Name** is **alinetStatus**, the enum values are:
|
|
165
|
+
* >>- **0**: Plug-in Online.
|
|
166
|
+
* >>- **1**: Plug-in Disabled.
|
|
167
|
+
* >>- **2**: Plug-in Offline.
|
|
168
|
+
* >>- **-99**: The installation failed.
|
|
169
|
+
* >- When **Name** is **alidetectStatus**, the enum values are:
|
|
170
|
+
* >>- **0**: Plug-in Online.
|
|
171
|
+
* >>- **1**: Plug-in Disabled.
|
|
172
|
+
* >>- **2**: Plug-in Offline.
|
|
173
|
+
* >>- **-99**: The installation failed.
|
|
174
|
+
* >- When **Name** is **yundunMonitorStatus**, the enum values are:
|
|
175
|
+
* >>- **0**: Plug-in Online.
|
|
176
|
+
* >>- **1**: Plug-in Disabled.
|
|
177
|
+
* >>- **2**: Plug-in Offline.
|
|
178
|
+
* >>- **-99**: The installation failed.
|
|
179
|
+
* >- When **Name** is **clusterNodeStatus**, the enum values are:
|
|
180
|
+
* >>- **false**: No.
|
|
181
|
+
* >>- **true**: Yes.
|
|
61
182
|
*
|
|
62
183
|
* @example
|
|
63
184
|
* 47.96.XX.XX
|
|
@@ -77,7 +198,7 @@ export declare class DescribeCriteriaResponseBodyCriteriaList extends $dara.Mode
|
|
|
77
198
|
export declare class DescribeCriteriaResponseBody extends $dara.Model {
|
|
78
199
|
/**
|
|
79
200
|
* @remarks
|
|
80
|
-
*
|
|
201
|
+
* List of asset query condition information.
|
|
81
202
|
*/
|
|
82
203
|
criteriaList?: DescribeCriteriaResponseBodyCriteriaList[];
|
|
83
204
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeCriteriaResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeCriteriaResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeCriteriaResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeCriteriaResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAyLvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlND,4FAkNC;AAED,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAc3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,wCAAwC,EAAE;YACvF,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,oEAsCC"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ModifyCreateVulWhitelistResponseBodyVulWhitelistList extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
-
* @remarks
|
|
5
|
-
* The ID of the whitelist.
|
|
6
|
-
*
|
|
7
4
|
* @example
|
|
8
|
-
*
|
|
5
|
+
* 1002
|
|
9
6
|
*/
|
|
10
7
|
id?: number;
|
|
11
8
|
static names(): {
|
|
@@ -32,7 +29,7 @@ export declare class ModifyCreateVulWhitelistResponseBody extends $dara.Model {
|
|
|
32
29
|
* @remarks
|
|
33
30
|
* An array that consists of the information about the whitelist.
|
|
34
31
|
*/
|
|
35
|
-
vulWhitelistList?: ModifyCreateVulWhitelistResponseBodyVulWhitelistList
|
|
32
|
+
vulWhitelistList?: ModifyCreateVulWhitelistResponseBodyVulWhitelistList;
|
|
36
33
|
static names(): {
|
|
37
34
|
[key: string]: string;
|
|
38
35
|
};
|
|
@@ -65,12 +65,12 @@ class ModifyCreateVulWhitelistResponseBody extends $dara.Model {
|
|
|
65
65
|
static types() {
|
|
66
66
|
return {
|
|
67
67
|
requestId: 'string',
|
|
68
|
-
vulWhitelistList:
|
|
68
|
+
vulWhitelistList: ModifyCreateVulWhitelistResponseBodyVulWhitelistList,
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
validate() {
|
|
72
|
-
if (
|
|
73
|
-
|
|
72
|
+
if (this.vulWhitelistList && typeof this.vulWhitelistList.validate === 'function') {
|
|
73
|
+
this.vulWhitelistList.validate();
|
|
74
74
|
}
|
|
75
75
|
super.validate();
|
|
76
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyCreateVulWhitelistResponseBody.js","sourceRoot":"","sources":["../../src/models/ModifyCreateVulWhitelistResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oDAAqD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyCreateVulWhitelistResponseBody.js","sourceRoot":"","sources":["../../src/models/ModifyCreateVulWhitelistResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oDAAqD,SAAQ,KAAK,CAAC,KAAK;IAMnF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,IAAI;SACT,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,QAAQ;SACb,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzBD,oHAyBC;AAED,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAcnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,oDAAoD;SACvE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,gBAAgB,IAAI,OAAQ,IAAI,CAAC,gBAAwB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzF,IAAI,CAAC,gBAAwB,CAAC,QAAQ,EAAE,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,oFAsCC"}
|
package/package.json
CHANGED
|
@@ -17,31 +17,50 @@ export class DescribeCriteriaResponseBodyCriteriaList extends $dara.Model {
|
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
19
|
* The name of the search condition. Valid values:
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
20
|
+
* - **internetIp**: Public IP Address.
|
|
21
|
+
* - **intranetIp**: Private IP Address.
|
|
22
|
+
* - **instanceName**: Instance Name.
|
|
23
|
+
* - **instanceId**: Instance ID.
|
|
24
|
+
* - **machineType**: Instance Type.
|
|
25
|
+
* - **clusterIdList**: Cluster ID list.
|
|
26
|
+
* - **vpcInstanceId**: VPC ID.
|
|
27
|
+
* - **osName**: OS.
|
|
28
|
+
* - **osType**: OS type.
|
|
29
|
+
* - **hcStatus**: Whether Baseline Risk Exists.
|
|
30
|
+
* - **vulStatus**: Whether Vulnerability Exists.
|
|
31
|
+
* - **asapVulStatus**: Whether there is an urgent vulnerability.
|
|
32
|
+
* - **alarmStatus**: Whether Alert Exists.
|
|
33
|
+
* - **riskStatus**: Whether there is a risk.
|
|
34
|
+
* - **clientStatus**: Whether it is online.
|
|
35
|
+
* - **clientSubStatus**: Client sub-status.
|
|
36
|
+
* - **runningStatus**: Power-on status.
|
|
37
|
+
* - **tagName**: Tag name.
|
|
38
|
+
* - **vendorAuthAlias**: Authorized account remarks.
|
|
39
|
+
* - **vendorUid**: Authorized account ID.
|
|
40
|
+
* - **vendorUserName**: Authorized account name.
|
|
41
|
+
* - **namespace**: Namespace.
|
|
42
|
+
* - **appName**: Application name.
|
|
43
|
+
* - **groupName**: Group name.
|
|
44
|
+
* - **regionId**: Region.
|
|
45
|
+
* - **groupId**: Group ID.
|
|
46
|
+
* - **newInstance**: Whether it is a new asset.
|
|
47
|
+
* - **containerStatus**: Whether there is a container.
|
|
48
|
+
* - **importance**: Asset importance.
|
|
49
|
+
* - **exposedStatus**: Whether it is an exposed server.
|
|
50
|
+
* - **clusterId**: Cluster ID.
|
|
51
|
+
* - **authVersion**: Authorization version.
|
|
52
|
+
* - **flag**: Cloud provider.
|
|
53
|
+
* - **ipList**: IP list.
|
|
54
|
+
* - **uuidList**: UUID.
|
|
55
|
+
* - **aiStatus**: Whether there is an AI component.
|
|
56
|
+
* - **tagKeyValue**: ECS tag.
|
|
57
|
+
* - **ecsType**: Server type.
|
|
58
|
+
* - **alisecguardStatus**: Self-protection status.
|
|
59
|
+
* - **alihipsStatus**: AliHips status.
|
|
60
|
+
* - **alinetStatus**: AliNet status.
|
|
61
|
+
* - **alidetectStatus**: Endpoint engine status.
|
|
62
|
+
* - **yundunMonitorStatus**: Information collection component status.
|
|
63
|
+
* - **clusterNodeStatus**: Whether it is a cluster node.
|
|
45
64
|
*
|
|
46
65
|
* @example
|
|
47
66
|
* internetIp
|
|
@@ -61,6 +80,108 @@ export class DescribeCriteriaResponseBodyCriteriaList extends $dara.Model {
|
|
|
61
80
|
/**
|
|
62
81
|
* @remarks
|
|
63
82
|
* The attribute values of the assets that match the keyword.
|
|
83
|
+
* > - When **Name** is **machineType**, the enum values are:
|
|
84
|
+
* >>- **38**: Elastic Container Instance.
|
|
85
|
+
* >>- **51**: RunD Container Instance.
|
|
86
|
+
* >>- **52**: RunC Container Instance.
|
|
87
|
+
* >- When **Name** is **osType**, the enum values are:
|
|
88
|
+
* >>- **linux**: Linux.
|
|
89
|
+
* >>- **windows**: Windows.
|
|
90
|
+
* >- When **Name** is **hcStatus**, the enum values are:
|
|
91
|
+
* >>- **NO**: No.
|
|
92
|
+
* >>- **YES**: Yes.
|
|
93
|
+
* >- When **Name** is **vulStatus**, the enum values are:
|
|
94
|
+
* >>- **NO**: No.
|
|
95
|
+
* >>- **YES**: Yes.
|
|
96
|
+
* >- When **Name** is **asapVulStatus**, the enum values are:
|
|
97
|
+
* >>- **NO**: No.
|
|
98
|
+
* >>- **YES**: Yes.
|
|
99
|
+
* >- When **Name** is **alarmStatus**, the enum values are:
|
|
100
|
+
* >>- **NO**: No.
|
|
101
|
+
* >>- **YES**: Yes.
|
|
102
|
+
* >- When **Name** is **riskStatus**, the enum values are:
|
|
103
|
+
* >>- **NO**: No.
|
|
104
|
+
* >>- **YES**: Yes.
|
|
105
|
+
* >>- **UNKNOWN**: Unknown.
|
|
106
|
+
* >- When **Name** is **clientStatus**, the enum values are:
|
|
107
|
+
* >>- **online**: Online.
|
|
108
|
+
* >>- **offline**: Offline.
|
|
109
|
+
* >>- **pause**: Protection Suspended.
|
|
110
|
+
* >- When **Name** is **clientSubStatus**, the enum values are:
|
|
111
|
+
* >>- **online**: Online.
|
|
112
|
+
* >>- **offline**: Offline.
|
|
113
|
+
* >>- **pause**: Protection Suspended.
|
|
114
|
+
* >>- **stopped**: Server Shutdown.
|
|
115
|
+
* >>- **uninstalled**: Not Installed.
|
|
116
|
+
* >- When **Name** is **runningStatus**, the enum values are:
|
|
117
|
+
* >>- **Running**: On.
|
|
118
|
+
* >>- **notRunning**: Off.
|
|
119
|
+
* >>- **UNKNOWN**: Unknown.
|
|
120
|
+
* >- When **Name** is **importance**, the enum values are:
|
|
121
|
+
* >>- **important**: Important.
|
|
122
|
+
* >>- **general**: Normal.
|
|
123
|
+
* >>- **test**: Test.
|
|
124
|
+
* >- When **Name** is **containerStatus**, the enum values are:
|
|
125
|
+
* >>- **NO**: No.
|
|
126
|
+
* >>- **YES**: Yes.
|
|
127
|
+
* >- When **Name** is **exposedStatus**, the enum values are:
|
|
128
|
+
* >>- **NO**: No.
|
|
129
|
+
* >>- **YES**: Yes.
|
|
130
|
+
* >- When **Name** is **authVersion**, the enum values are:
|
|
131
|
+
* >>- **1**: Basic.
|
|
132
|
+
* >>- **3**: Enterprise.
|
|
133
|
+
* >>- **5**: Advanced.
|
|
134
|
+
* >>- **6**: Anti-virus.
|
|
135
|
+
* >>- **7**: Ultimate.
|
|
136
|
+
* >- When **Name** is **flag**, the enum values are:
|
|
137
|
+
* >>- **0|8|15**: Alibaba Cloud.
|
|
138
|
+
* >>- **1**: External Host.
|
|
139
|
+
* >>- **2**: IDC.
|
|
140
|
+
* >>- **3**: Tencent Cloud.
|
|
141
|
+
* >>- **4**: Huawei Cloud.
|
|
142
|
+
* >>- **5**: Azure.
|
|
143
|
+
* >>- **7**: AWS.
|
|
144
|
+
* >>- **9**: SAE.
|
|
145
|
+
* >>- **10**: PAI.
|
|
146
|
+
* >>- **13**: ACS.
|
|
147
|
+
* >>- **14**: Volcano Cloud.
|
|
148
|
+
* >>- **16**: Google Cloud.
|
|
149
|
+
* >- When **Name** is **aiStatus**, the enum values are:
|
|
150
|
+
* >>- **NO**: No.
|
|
151
|
+
* >>- **YES**: Yes.
|
|
152
|
+
* >- When **Name** is **ecsType**, the enum values are:
|
|
153
|
+
* >>- **8**: Simple Application Server.
|
|
154
|
+
* >>- **11**: LINGJUN GPU-accelerated Bare Metal Instance.
|
|
155
|
+
* >>- **15**: RDS Custom.
|
|
156
|
+
* >>- **!8**: Host.
|
|
157
|
+
* >- When **Name** is **alisecguardStatus**, the enum values are:
|
|
158
|
+
* >>- **0**: Plug-in Online.
|
|
159
|
+
* >>- **1**: Plug-in Disabled.
|
|
160
|
+
* >>- **2**: Plug-in Offline.
|
|
161
|
+
* >>- **-99**: The installation failed.
|
|
162
|
+
* >- When **Name** is **alihipsStatus**, the enum values are:
|
|
163
|
+
* >>- **0**: Plug-in Online.
|
|
164
|
+
* >>- **1**: Plug-in Disabled.
|
|
165
|
+
* >>- **2**: Plug-in Offline.
|
|
166
|
+
* >>- **-99**: The installation failed.
|
|
167
|
+
* >- When **Name** is **alinetStatus**, the enum values are:
|
|
168
|
+
* >>- **0**: Plug-in Online.
|
|
169
|
+
* >>- **1**: Plug-in Disabled.
|
|
170
|
+
* >>- **2**: Plug-in Offline.
|
|
171
|
+
* >>- **-99**: The installation failed.
|
|
172
|
+
* >- When **Name** is **alidetectStatus**, the enum values are:
|
|
173
|
+
* >>- **0**: Plug-in Online.
|
|
174
|
+
* >>- **1**: Plug-in Disabled.
|
|
175
|
+
* >>- **2**: Plug-in Offline.
|
|
176
|
+
* >>- **-99**: The installation failed.
|
|
177
|
+
* >- When **Name** is **yundunMonitorStatus**, the enum values are:
|
|
178
|
+
* >>- **0**: Plug-in Online.
|
|
179
|
+
* >>- **1**: Plug-in Disabled.
|
|
180
|
+
* >>- **2**: Plug-in Offline.
|
|
181
|
+
* >>- **-99**: The installation failed.
|
|
182
|
+
* >- When **Name** is **clusterNodeStatus**, the enum values are:
|
|
183
|
+
* >>- **false**: No.
|
|
184
|
+
* >>- **true**: Yes.
|
|
64
185
|
*
|
|
65
186
|
* @example
|
|
66
187
|
* 47.96.XX.XX
|
|
@@ -96,7 +217,7 @@ export class DescribeCriteriaResponseBodyCriteriaList extends $dara.Model {
|
|
|
96
217
|
export class DescribeCriteriaResponseBody extends $dara.Model {
|
|
97
218
|
/**
|
|
98
219
|
* @remarks
|
|
99
|
-
*
|
|
220
|
+
* List of asset query condition information.
|
|
100
221
|
*/
|
|
101
222
|
criteriaList?: DescribeCriteriaResponseBodyCriteriaList[];
|
|
102
223
|
/**
|
|
@@ -4,11 +4,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ModifyCreateVulWhitelistResponseBodyVulWhitelistList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The ID of the whitelist.
|
|
9
|
-
*
|
|
10
7
|
* @example
|
|
11
|
-
*
|
|
8
|
+
* 1002
|
|
12
9
|
*/
|
|
13
10
|
id?: number;
|
|
14
11
|
static names(): { [key: string]: string } {
|
|
@@ -45,7 +42,7 @@ export class ModifyCreateVulWhitelistResponseBody extends $dara.Model {
|
|
|
45
42
|
* @remarks
|
|
46
43
|
* An array that consists of the information about the whitelist.
|
|
47
44
|
*/
|
|
48
|
-
vulWhitelistList?: ModifyCreateVulWhitelistResponseBodyVulWhitelistList
|
|
45
|
+
vulWhitelistList?: ModifyCreateVulWhitelistResponseBodyVulWhitelistList;
|
|
49
46
|
static names(): { [key: string]: string } {
|
|
50
47
|
return {
|
|
51
48
|
requestId: 'RequestId',
|
|
@@ -56,13 +53,13 @@ export class ModifyCreateVulWhitelistResponseBody extends $dara.Model {
|
|
|
56
53
|
static types(): { [key: string]: any } {
|
|
57
54
|
return {
|
|
58
55
|
requestId: 'string',
|
|
59
|
-
vulWhitelistList:
|
|
56
|
+
vulWhitelistList: ModifyCreateVulWhitelistResponseBodyVulWhitelistList,
|
|
60
57
|
};
|
|
61
58
|
}
|
|
62
59
|
|
|
63
60
|
validate() {
|
|
64
|
-
if(
|
|
65
|
-
|
|
61
|
+
if(this.vulWhitelistList && typeof (this.vulWhitelistList as any).validate === 'function') {
|
|
62
|
+
(this.vulWhitelistList as any).validate();
|
|
66
63
|
}
|
|
67
64
|
super.validate();
|
|
68
65
|
}
|