@alicloud/sas20181203 1.1.19 → 1.1.22
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/client.d.ts +161 -0
- package/dist/client.js +331 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +424 -0
package/dist/client.d.ts
CHANGED
|
@@ -1796,6 +1796,7 @@ export declare class DescribeCheckWarningSummaryResponse extends $tea.Model {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
export declare class DescribeCheckWarningsRequest extends $tea.Model {
|
|
1798
1798
|
checkId?: number;
|
|
1799
|
+
checkType?: string;
|
|
1799
1800
|
currentPage?: number;
|
|
1800
1801
|
lang?: string;
|
|
1801
1802
|
pageSize?: number;
|
|
@@ -6821,6 +6822,59 @@ export declare class InstallCloudMonitorResponse extends $tea.Model {
|
|
|
6821
6822
|
[key: string]: any;
|
|
6822
6823
|
});
|
|
6823
6824
|
}
|
|
6825
|
+
export declare class ListCheckResultRequest extends $tea.Model {
|
|
6826
|
+
checkKey?: string;
|
|
6827
|
+
currentPage?: number;
|
|
6828
|
+
instanceIds?: string[];
|
|
6829
|
+
instanceTypes?: string[];
|
|
6830
|
+
lang?: string;
|
|
6831
|
+
pageSize?: number;
|
|
6832
|
+
requirementIds?: number[];
|
|
6833
|
+
riskLevels?: string[];
|
|
6834
|
+
sortTypes?: string[];
|
|
6835
|
+
standardIds?: number[];
|
|
6836
|
+
statuses?: string[];
|
|
6837
|
+
vendors?: string[];
|
|
6838
|
+
static names(): {
|
|
6839
|
+
[key: string]: string;
|
|
6840
|
+
};
|
|
6841
|
+
static types(): {
|
|
6842
|
+
[key: string]: any;
|
|
6843
|
+
};
|
|
6844
|
+
constructor(map?: {
|
|
6845
|
+
[key: string]: any;
|
|
6846
|
+
});
|
|
6847
|
+
}
|
|
6848
|
+
export declare class ListCheckResultResponseBody extends $tea.Model {
|
|
6849
|
+
checks?: ListCheckResultResponseBodyChecks[];
|
|
6850
|
+
pageInfo?: ListCheckResultResponseBodyPageInfo;
|
|
6851
|
+
requestId?: string;
|
|
6852
|
+
static names(): {
|
|
6853
|
+
[key: string]: string;
|
|
6854
|
+
};
|
|
6855
|
+
static types(): {
|
|
6856
|
+
[key: string]: any;
|
|
6857
|
+
};
|
|
6858
|
+
constructor(map?: {
|
|
6859
|
+
[key: string]: any;
|
|
6860
|
+
});
|
|
6861
|
+
}
|
|
6862
|
+
export declare class ListCheckResultResponse extends $tea.Model {
|
|
6863
|
+
headers: {
|
|
6864
|
+
[key: string]: string;
|
|
6865
|
+
};
|
|
6866
|
+
statusCode: number;
|
|
6867
|
+
body: ListCheckResultResponseBody;
|
|
6868
|
+
static names(): {
|
|
6869
|
+
[key: string]: string;
|
|
6870
|
+
};
|
|
6871
|
+
static types(): {
|
|
6872
|
+
[key: string]: any;
|
|
6873
|
+
};
|
|
6874
|
+
constructor(map?: {
|
|
6875
|
+
[key: string]: any;
|
|
6876
|
+
});
|
|
6877
|
+
}
|
|
6824
6878
|
export declare class ListVulAutoRepairConfigRequest extends $tea.Model {
|
|
6825
6879
|
aliasName?: string;
|
|
6826
6880
|
currentPage?: number;
|
|
@@ -7066,6 +7120,49 @@ export declare class ModifyBackupPolicyStatusResponse extends $tea.Model {
|
|
|
7066
7120
|
[key: string]: any;
|
|
7067
7121
|
});
|
|
7068
7122
|
}
|
|
7123
|
+
export declare class ModifyClearLogstoreStorageRequest extends $tea.Model {
|
|
7124
|
+
from?: string;
|
|
7125
|
+
lang?: string;
|
|
7126
|
+
userLogStore?: string;
|
|
7127
|
+
userProject?: string;
|
|
7128
|
+
static names(): {
|
|
7129
|
+
[key: string]: string;
|
|
7130
|
+
};
|
|
7131
|
+
static types(): {
|
|
7132
|
+
[key: string]: any;
|
|
7133
|
+
};
|
|
7134
|
+
constructor(map?: {
|
|
7135
|
+
[key: string]: any;
|
|
7136
|
+
});
|
|
7137
|
+
}
|
|
7138
|
+
export declare class ModifyClearLogstoreStorageResponseBody extends $tea.Model {
|
|
7139
|
+
requestId?: string;
|
|
7140
|
+
static names(): {
|
|
7141
|
+
[key: string]: string;
|
|
7142
|
+
};
|
|
7143
|
+
static types(): {
|
|
7144
|
+
[key: string]: any;
|
|
7145
|
+
};
|
|
7146
|
+
constructor(map?: {
|
|
7147
|
+
[key: string]: any;
|
|
7148
|
+
});
|
|
7149
|
+
}
|
|
7150
|
+
export declare class ModifyClearLogstoreStorageResponse extends $tea.Model {
|
|
7151
|
+
headers: {
|
|
7152
|
+
[key: string]: string;
|
|
7153
|
+
};
|
|
7154
|
+
statusCode: number;
|
|
7155
|
+
body: ModifyClearLogstoreStorageResponseBody;
|
|
7156
|
+
static names(): {
|
|
7157
|
+
[key: string]: string;
|
|
7158
|
+
};
|
|
7159
|
+
static types(): {
|
|
7160
|
+
[key: string]: any;
|
|
7161
|
+
};
|
|
7162
|
+
constructor(map?: {
|
|
7163
|
+
[key: string]: any;
|
|
7164
|
+
});
|
|
7165
|
+
}
|
|
7069
7166
|
export declare class ModifyCreateVulWhitelistRequest extends $tea.Model {
|
|
7070
7167
|
reason?: string;
|
|
7071
7168
|
targetInfo?: string;
|
|
@@ -9558,6 +9655,8 @@ export declare class DescribeBruteForceSummaryResponseBodyBruteForceSummary exte
|
|
|
9558
9655
|
}
|
|
9559
9656
|
export declare class DescribeCheckWarningSummaryResponseBodyWarningSummarys extends $tea.Model {
|
|
9560
9657
|
checkCount?: number;
|
|
9658
|
+
checkExploit?: boolean;
|
|
9659
|
+
databaseRisk?: boolean;
|
|
9561
9660
|
highWarningCount?: number;
|
|
9562
9661
|
lastFoundTime?: string;
|
|
9563
9662
|
level?: string;
|
|
@@ -9581,8 +9680,10 @@ export declare class DescribeCheckWarningSummaryResponseBodyWarningSummarys exte
|
|
|
9581
9680
|
export declare class DescribeCheckWarningsResponseBodyCheckWarnings extends $tea.Model {
|
|
9582
9681
|
checkId?: number;
|
|
9583
9682
|
checkWarningId?: number;
|
|
9683
|
+
fixStatus?: number;
|
|
9584
9684
|
item?: string;
|
|
9585
9685
|
level?: string;
|
|
9686
|
+
reason?: string;
|
|
9586
9687
|
status?: number;
|
|
9587
9688
|
type?: string;
|
|
9588
9689
|
uuid?: string;
|
|
@@ -12147,6 +12248,8 @@ export declare class DescribeVulWhitelistResponseBodyVulWhitelists extends $tea.
|
|
|
12147
12248
|
});
|
|
12148
12249
|
}
|
|
12149
12250
|
export declare class DescribeWarningMachinesResponseBodyWarningMachines extends $tea.Model {
|
|
12251
|
+
authVersion?: number;
|
|
12252
|
+
bind?: boolean;
|
|
12150
12253
|
highWarningCount?: number;
|
|
12151
12254
|
instanceId?: string;
|
|
12152
12255
|
instanceName?: string;
|
|
@@ -12269,6 +12372,60 @@ export declare class HandleSecurityEventsResponseBodyHandleSecurityEventsRespons
|
|
|
12269
12372
|
[key: string]: any;
|
|
12270
12373
|
});
|
|
12271
12374
|
}
|
|
12375
|
+
export declare class ListCheckResultResponseBodyChecksCheckPolicies extends $tea.Model {
|
|
12376
|
+
requirementId?: number;
|
|
12377
|
+
requirementShowName?: string;
|
|
12378
|
+
sectionId?: number;
|
|
12379
|
+
sectionShowName?: string;
|
|
12380
|
+
standardId?: number;
|
|
12381
|
+
standardShowName?: string;
|
|
12382
|
+
static names(): {
|
|
12383
|
+
[key: string]: string;
|
|
12384
|
+
};
|
|
12385
|
+
static types(): {
|
|
12386
|
+
[key: string]: any;
|
|
12387
|
+
};
|
|
12388
|
+
constructor(map?: {
|
|
12389
|
+
[key: string]: any;
|
|
12390
|
+
});
|
|
12391
|
+
}
|
|
12392
|
+
export declare class ListCheckResultResponseBodyChecks extends $tea.Model {
|
|
12393
|
+
checkId?: number;
|
|
12394
|
+
checkPolicies?: ListCheckResultResponseBodyChecksCheckPolicies[];
|
|
12395
|
+
checkShowName?: string;
|
|
12396
|
+
instanceSubType?: string;
|
|
12397
|
+
instanceType?: string;
|
|
12398
|
+
lastCheckTime?: number;
|
|
12399
|
+
riskLevel?: string;
|
|
12400
|
+
status?: string;
|
|
12401
|
+
taskId?: string;
|
|
12402
|
+
vendor?: string;
|
|
12403
|
+
vendorShowName?: string;
|
|
12404
|
+
static names(): {
|
|
12405
|
+
[key: string]: string;
|
|
12406
|
+
};
|
|
12407
|
+
static types(): {
|
|
12408
|
+
[key: string]: any;
|
|
12409
|
+
};
|
|
12410
|
+
constructor(map?: {
|
|
12411
|
+
[key: string]: any;
|
|
12412
|
+
});
|
|
12413
|
+
}
|
|
12414
|
+
export declare class ListCheckResultResponseBodyPageInfo extends $tea.Model {
|
|
12415
|
+
count?: number;
|
|
12416
|
+
currentPage?: number;
|
|
12417
|
+
pageSize?: number;
|
|
12418
|
+
totalCount?: number;
|
|
12419
|
+
static names(): {
|
|
12420
|
+
[key: string]: string;
|
|
12421
|
+
};
|
|
12422
|
+
static types(): {
|
|
12423
|
+
[key: string]: any;
|
|
12424
|
+
};
|
|
12425
|
+
constructor(map?: {
|
|
12426
|
+
[key: string]: any;
|
|
12427
|
+
});
|
|
12428
|
+
}
|
|
12272
12429
|
export declare class ListVulAutoRepairConfigResponseBodyPageInfo extends $tea.Model {
|
|
12273
12430
|
count?: number;
|
|
12274
12431
|
currentPage?: number;
|
|
@@ -12758,6 +12915,8 @@ export default class Client extends OpenApi {
|
|
|
12758
12915
|
installBackupClient(request: InstallBackupClientRequest): Promise<InstallBackupClientResponse>;
|
|
12759
12916
|
installCloudMonitorWithOptions(request: InstallCloudMonitorRequest, runtime: $Util.RuntimeOptions): Promise<InstallCloudMonitorResponse>;
|
|
12760
12917
|
installCloudMonitor(request: InstallCloudMonitorRequest): Promise<InstallCloudMonitorResponse>;
|
|
12918
|
+
listCheckResultWithOptions(request: ListCheckResultRequest, runtime: $Util.RuntimeOptions): Promise<ListCheckResultResponse>;
|
|
12919
|
+
listCheckResult(request: ListCheckResultRequest): Promise<ListCheckResultResponse>;
|
|
12761
12920
|
listVulAutoRepairConfigWithOptions(request: ListVulAutoRepairConfigRequest, runtime: $Util.RuntimeOptions): Promise<ListVulAutoRepairConfigResponse>;
|
|
12762
12921
|
listVulAutoRepairConfig(request: ListVulAutoRepairConfigRequest): Promise<ListVulAutoRepairConfigResponse>;
|
|
12763
12922
|
modifyAntiBruteForceRuleWithOptions(request: ModifyAntiBruteForceRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAntiBruteForceRuleResponse>;
|
|
@@ -12768,6 +12927,8 @@ export default class Client extends OpenApi {
|
|
|
12768
12927
|
modifyBackupPolicy(request: ModifyBackupPolicyRequest): Promise<ModifyBackupPolicyResponse>;
|
|
12769
12928
|
modifyBackupPolicyStatusWithOptions(request: ModifyBackupPolicyStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyBackupPolicyStatusResponse>;
|
|
12770
12929
|
modifyBackupPolicyStatus(request: ModifyBackupPolicyStatusRequest): Promise<ModifyBackupPolicyStatusResponse>;
|
|
12930
|
+
modifyClearLogstoreStorageWithOptions(request: ModifyClearLogstoreStorageRequest, runtime: $Util.RuntimeOptions): Promise<ModifyClearLogstoreStorageResponse>;
|
|
12931
|
+
modifyClearLogstoreStorage(request: ModifyClearLogstoreStorageRequest): Promise<ModifyClearLogstoreStorageResponse>;
|
|
12771
12932
|
modifyCreateVulWhitelistWithOptions(request: ModifyCreateVulWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCreateVulWhitelistResponse>;
|
|
12772
12933
|
modifyCreateVulWhitelist(request: ModifyCreateVulWhitelistRequest): Promise<ModifyCreateVulWhitelistResponse>;
|
|
12773
12934
|
modifyEmgVulSubmitWithOptions(request: ModifyEmgVulSubmitRequest, runtime: $Util.RuntimeOptions): Promise<ModifyEmgVulSubmitResponse>;
|
package/dist/client.js
CHANGED
|
@@ -2486,6 +2486,7 @@ class DescribeCheckWarningsRequest extends $tea.Model {
|
|
|
2486
2486
|
static names() {
|
|
2487
2487
|
return {
|
|
2488
2488
|
checkId: 'CheckId',
|
|
2489
|
+
checkType: 'CheckType',
|
|
2489
2490
|
currentPage: 'CurrentPage',
|
|
2490
2491
|
lang: 'Lang',
|
|
2491
2492
|
pageSize: 'PageSize',
|
|
@@ -2497,6 +2498,7 @@ class DescribeCheckWarningsRequest extends $tea.Model {
|
|
|
2497
2498
|
static types() {
|
|
2498
2499
|
return {
|
|
2499
2500
|
checkId: 'number',
|
|
2501
|
+
checkType: 'string',
|
|
2500
2502
|
currentPage: 'number',
|
|
2501
2503
|
lang: 'string',
|
|
2502
2504
|
pageSize: 'number',
|
|
@@ -9529,6 +9531,84 @@ class InstallCloudMonitorResponse extends $tea.Model {
|
|
|
9529
9531
|
}
|
|
9530
9532
|
}
|
|
9531
9533
|
exports.InstallCloudMonitorResponse = InstallCloudMonitorResponse;
|
|
9534
|
+
class ListCheckResultRequest extends $tea.Model {
|
|
9535
|
+
constructor(map) {
|
|
9536
|
+
super(map);
|
|
9537
|
+
}
|
|
9538
|
+
static names() {
|
|
9539
|
+
return {
|
|
9540
|
+
checkKey: 'CheckKey',
|
|
9541
|
+
currentPage: 'CurrentPage',
|
|
9542
|
+
instanceIds: 'InstanceIds',
|
|
9543
|
+
instanceTypes: 'InstanceTypes',
|
|
9544
|
+
lang: 'Lang',
|
|
9545
|
+
pageSize: 'PageSize',
|
|
9546
|
+
requirementIds: 'RequirementIds',
|
|
9547
|
+
riskLevels: 'RiskLevels',
|
|
9548
|
+
sortTypes: 'SortTypes',
|
|
9549
|
+
standardIds: 'StandardIds',
|
|
9550
|
+
statuses: 'Statuses',
|
|
9551
|
+
vendors: 'Vendors',
|
|
9552
|
+
};
|
|
9553
|
+
}
|
|
9554
|
+
static types() {
|
|
9555
|
+
return {
|
|
9556
|
+
checkKey: 'string',
|
|
9557
|
+
currentPage: 'number',
|
|
9558
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
9559
|
+
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
9560
|
+
lang: 'string',
|
|
9561
|
+
pageSize: 'number',
|
|
9562
|
+
requirementIds: { 'type': 'array', 'itemType': 'number' },
|
|
9563
|
+
riskLevels: { 'type': 'array', 'itemType': 'string' },
|
|
9564
|
+
sortTypes: { 'type': 'array', 'itemType': 'string' },
|
|
9565
|
+
standardIds: { 'type': 'array', 'itemType': 'number' },
|
|
9566
|
+
statuses: { 'type': 'array', 'itemType': 'string' },
|
|
9567
|
+
vendors: { 'type': 'array', 'itemType': 'string' },
|
|
9568
|
+
};
|
|
9569
|
+
}
|
|
9570
|
+
}
|
|
9571
|
+
exports.ListCheckResultRequest = ListCheckResultRequest;
|
|
9572
|
+
class ListCheckResultResponseBody extends $tea.Model {
|
|
9573
|
+
constructor(map) {
|
|
9574
|
+
super(map);
|
|
9575
|
+
}
|
|
9576
|
+
static names() {
|
|
9577
|
+
return {
|
|
9578
|
+
checks: 'Checks',
|
|
9579
|
+
pageInfo: 'PageInfo',
|
|
9580
|
+
requestId: 'RequestId',
|
|
9581
|
+
};
|
|
9582
|
+
}
|
|
9583
|
+
static types() {
|
|
9584
|
+
return {
|
|
9585
|
+
checks: { 'type': 'array', 'itemType': ListCheckResultResponseBodyChecks },
|
|
9586
|
+
pageInfo: ListCheckResultResponseBodyPageInfo,
|
|
9587
|
+
requestId: 'string',
|
|
9588
|
+
};
|
|
9589
|
+
}
|
|
9590
|
+
}
|
|
9591
|
+
exports.ListCheckResultResponseBody = ListCheckResultResponseBody;
|
|
9592
|
+
class ListCheckResultResponse extends $tea.Model {
|
|
9593
|
+
constructor(map) {
|
|
9594
|
+
super(map);
|
|
9595
|
+
}
|
|
9596
|
+
static names() {
|
|
9597
|
+
return {
|
|
9598
|
+
headers: 'headers',
|
|
9599
|
+
statusCode: 'statusCode',
|
|
9600
|
+
body: 'body',
|
|
9601
|
+
};
|
|
9602
|
+
}
|
|
9603
|
+
static types() {
|
|
9604
|
+
return {
|
|
9605
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9606
|
+
statusCode: 'number',
|
|
9607
|
+
body: ListCheckResultResponseBody,
|
|
9608
|
+
};
|
|
9609
|
+
}
|
|
9610
|
+
}
|
|
9611
|
+
exports.ListCheckResultResponse = ListCheckResultResponse;
|
|
9532
9612
|
class ListVulAutoRepairConfigRequest extends $tea.Model {
|
|
9533
9613
|
constructor(map) {
|
|
9534
9614
|
super(map);
|
|
@@ -9867,6 +9947,64 @@ class ModifyBackupPolicyStatusResponse extends $tea.Model {
|
|
|
9867
9947
|
}
|
|
9868
9948
|
}
|
|
9869
9949
|
exports.ModifyBackupPolicyStatusResponse = ModifyBackupPolicyStatusResponse;
|
|
9950
|
+
class ModifyClearLogstoreStorageRequest extends $tea.Model {
|
|
9951
|
+
constructor(map) {
|
|
9952
|
+
super(map);
|
|
9953
|
+
}
|
|
9954
|
+
static names() {
|
|
9955
|
+
return {
|
|
9956
|
+
from: 'From',
|
|
9957
|
+
lang: 'Lang',
|
|
9958
|
+
userLogStore: 'UserLogStore',
|
|
9959
|
+
userProject: 'UserProject',
|
|
9960
|
+
};
|
|
9961
|
+
}
|
|
9962
|
+
static types() {
|
|
9963
|
+
return {
|
|
9964
|
+
from: 'string',
|
|
9965
|
+
lang: 'string',
|
|
9966
|
+
userLogStore: 'string',
|
|
9967
|
+
userProject: 'string',
|
|
9968
|
+
};
|
|
9969
|
+
}
|
|
9970
|
+
}
|
|
9971
|
+
exports.ModifyClearLogstoreStorageRequest = ModifyClearLogstoreStorageRequest;
|
|
9972
|
+
class ModifyClearLogstoreStorageResponseBody extends $tea.Model {
|
|
9973
|
+
constructor(map) {
|
|
9974
|
+
super(map);
|
|
9975
|
+
}
|
|
9976
|
+
static names() {
|
|
9977
|
+
return {
|
|
9978
|
+
requestId: 'RequestId',
|
|
9979
|
+
};
|
|
9980
|
+
}
|
|
9981
|
+
static types() {
|
|
9982
|
+
return {
|
|
9983
|
+
requestId: 'string',
|
|
9984
|
+
};
|
|
9985
|
+
}
|
|
9986
|
+
}
|
|
9987
|
+
exports.ModifyClearLogstoreStorageResponseBody = ModifyClearLogstoreStorageResponseBody;
|
|
9988
|
+
class ModifyClearLogstoreStorageResponse extends $tea.Model {
|
|
9989
|
+
constructor(map) {
|
|
9990
|
+
super(map);
|
|
9991
|
+
}
|
|
9992
|
+
static names() {
|
|
9993
|
+
return {
|
|
9994
|
+
headers: 'headers',
|
|
9995
|
+
statusCode: 'statusCode',
|
|
9996
|
+
body: 'body',
|
|
9997
|
+
};
|
|
9998
|
+
}
|
|
9999
|
+
static types() {
|
|
10000
|
+
return {
|
|
10001
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10002
|
+
statusCode: 'number',
|
|
10003
|
+
body: ModifyClearLogstoreStorageResponseBody,
|
|
10004
|
+
};
|
|
10005
|
+
}
|
|
10006
|
+
}
|
|
10007
|
+
exports.ModifyClearLogstoreStorageResponse = ModifyClearLogstoreStorageResponse;
|
|
9870
10008
|
class ModifyCreateVulWhitelistRequest extends $tea.Model {
|
|
9871
10009
|
constructor(map) {
|
|
9872
10010
|
super(map);
|
|
@@ -13370,6 +13508,8 @@ class DescribeCheckWarningSummaryResponseBodyWarningSummarys extends $tea.Model
|
|
|
13370
13508
|
static names() {
|
|
13371
13509
|
return {
|
|
13372
13510
|
checkCount: 'CheckCount',
|
|
13511
|
+
checkExploit: 'CheckExploit',
|
|
13512
|
+
databaseRisk: 'DatabaseRisk',
|
|
13373
13513
|
highWarningCount: 'HighWarningCount',
|
|
13374
13514
|
lastFoundTime: 'LastFoundTime',
|
|
13375
13515
|
level: 'Level',
|
|
@@ -13385,6 +13525,8 @@ class DescribeCheckWarningSummaryResponseBodyWarningSummarys extends $tea.Model
|
|
|
13385
13525
|
static types() {
|
|
13386
13526
|
return {
|
|
13387
13527
|
checkCount: 'number',
|
|
13528
|
+
checkExploit: 'boolean',
|
|
13529
|
+
databaseRisk: 'boolean',
|
|
13388
13530
|
highWarningCount: 'number',
|
|
13389
13531
|
lastFoundTime: 'string',
|
|
13390
13532
|
level: 'string',
|
|
@@ -13407,8 +13549,10 @@ class DescribeCheckWarningsResponseBodyCheckWarnings extends $tea.Model {
|
|
|
13407
13549
|
return {
|
|
13408
13550
|
checkId: 'CheckId',
|
|
13409
13551
|
checkWarningId: 'CheckWarningId',
|
|
13552
|
+
fixStatus: 'FixStatus',
|
|
13410
13553
|
item: 'Item',
|
|
13411
13554
|
level: 'Level',
|
|
13555
|
+
reason: 'Reason',
|
|
13412
13556
|
status: 'Status',
|
|
13413
13557
|
type: 'Type',
|
|
13414
13558
|
uuid: 'Uuid',
|
|
@@ -13418,8 +13562,10 @@ class DescribeCheckWarningsResponseBodyCheckWarnings extends $tea.Model {
|
|
|
13418
13562
|
return {
|
|
13419
13563
|
checkId: 'number',
|
|
13420
13564
|
checkWarningId: 'number',
|
|
13565
|
+
fixStatus: 'number',
|
|
13421
13566
|
item: 'string',
|
|
13422
13567
|
level: 'string',
|
|
13568
|
+
reason: 'string',
|
|
13423
13569
|
status: 'number',
|
|
13424
13570
|
type: 'string',
|
|
13425
13571
|
uuid: 'string',
|
|
@@ -17413,6 +17559,8 @@ class DescribeWarningMachinesResponseBodyWarningMachines extends $tea.Model {
|
|
|
17413
17559
|
}
|
|
17414
17560
|
static names() {
|
|
17415
17561
|
return {
|
|
17562
|
+
authVersion: 'AuthVersion',
|
|
17563
|
+
bind: 'Bind',
|
|
17416
17564
|
highWarningCount: 'HighWarningCount',
|
|
17417
17565
|
instanceId: 'InstanceId',
|
|
17418
17566
|
instanceName: 'InstanceName',
|
|
@@ -17429,6 +17577,8 @@ class DescribeWarningMachinesResponseBodyWarningMachines extends $tea.Model {
|
|
|
17429
17577
|
}
|
|
17430
17578
|
static types() {
|
|
17431
17579
|
return {
|
|
17580
|
+
authVersion: 'number',
|
|
17581
|
+
bind: 'boolean',
|
|
17432
17582
|
highWarningCount: 'number',
|
|
17433
17583
|
instanceId: 'string',
|
|
17434
17584
|
instanceName: 'string',
|
|
@@ -17597,6 +17747,90 @@ class HandleSecurityEventsResponseBodyHandleSecurityEventsResponse extends $tea.
|
|
|
17597
17747
|
}
|
|
17598
17748
|
}
|
|
17599
17749
|
exports.HandleSecurityEventsResponseBodyHandleSecurityEventsResponse = HandleSecurityEventsResponseBodyHandleSecurityEventsResponse;
|
|
17750
|
+
class ListCheckResultResponseBodyChecksCheckPolicies extends $tea.Model {
|
|
17751
|
+
constructor(map) {
|
|
17752
|
+
super(map);
|
|
17753
|
+
}
|
|
17754
|
+
static names() {
|
|
17755
|
+
return {
|
|
17756
|
+
requirementId: 'RequirementId',
|
|
17757
|
+
requirementShowName: 'RequirementShowName',
|
|
17758
|
+
sectionId: 'SectionId',
|
|
17759
|
+
sectionShowName: 'SectionShowName',
|
|
17760
|
+
standardId: 'StandardId',
|
|
17761
|
+
standardShowName: 'StandardShowName',
|
|
17762
|
+
};
|
|
17763
|
+
}
|
|
17764
|
+
static types() {
|
|
17765
|
+
return {
|
|
17766
|
+
requirementId: 'number',
|
|
17767
|
+
requirementShowName: 'string',
|
|
17768
|
+
sectionId: 'number',
|
|
17769
|
+
sectionShowName: 'string',
|
|
17770
|
+
standardId: 'number',
|
|
17771
|
+
standardShowName: 'string',
|
|
17772
|
+
};
|
|
17773
|
+
}
|
|
17774
|
+
}
|
|
17775
|
+
exports.ListCheckResultResponseBodyChecksCheckPolicies = ListCheckResultResponseBodyChecksCheckPolicies;
|
|
17776
|
+
class ListCheckResultResponseBodyChecks extends $tea.Model {
|
|
17777
|
+
constructor(map) {
|
|
17778
|
+
super(map);
|
|
17779
|
+
}
|
|
17780
|
+
static names() {
|
|
17781
|
+
return {
|
|
17782
|
+
checkId: 'CheckId',
|
|
17783
|
+
checkPolicies: 'CheckPolicies',
|
|
17784
|
+
checkShowName: 'CheckShowName',
|
|
17785
|
+
instanceSubType: 'InstanceSubType',
|
|
17786
|
+
instanceType: 'InstanceType',
|
|
17787
|
+
lastCheckTime: 'LastCheckTime',
|
|
17788
|
+
riskLevel: 'RiskLevel',
|
|
17789
|
+
status: 'Status',
|
|
17790
|
+
taskId: 'TaskId',
|
|
17791
|
+
vendor: 'Vendor',
|
|
17792
|
+
vendorShowName: 'VendorShowName',
|
|
17793
|
+
};
|
|
17794
|
+
}
|
|
17795
|
+
static types() {
|
|
17796
|
+
return {
|
|
17797
|
+
checkId: 'number',
|
|
17798
|
+
checkPolicies: { 'type': 'array', 'itemType': ListCheckResultResponseBodyChecksCheckPolicies },
|
|
17799
|
+
checkShowName: 'string',
|
|
17800
|
+
instanceSubType: 'string',
|
|
17801
|
+
instanceType: 'string',
|
|
17802
|
+
lastCheckTime: 'number',
|
|
17803
|
+
riskLevel: 'string',
|
|
17804
|
+
status: 'string',
|
|
17805
|
+
taskId: 'string',
|
|
17806
|
+
vendor: 'string',
|
|
17807
|
+
vendorShowName: 'string',
|
|
17808
|
+
};
|
|
17809
|
+
}
|
|
17810
|
+
}
|
|
17811
|
+
exports.ListCheckResultResponseBodyChecks = ListCheckResultResponseBodyChecks;
|
|
17812
|
+
class ListCheckResultResponseBodyPageInfo extends $tea.Model {
|
|
17813
|
+
constructor(map) {
|
|
17814
|
+
super(map);
|
|
17815
|
+
}
|
|
17816
|
+
static names() {
|
|
17817
|
+
return {
|
|
17818
|
+
count: 'Count',
|
|
17819
|
+
currentPage: 'CurrentPage',
|
|
17820
|
+
pageSize: 'PageSize',
|
|
17821
|
+
totalCount: 'TotalCount',
|
|
17822
|
+
};
|
|
17823
|
+
}
|
|
17824
|
+
static types() {
|
|
17825
|
+
return {
|
|
17826
|
+
count: 'number',
|
|
17827
|
+
currentPage: 'number',
|
|
17828
|
+
pageSize: 'number',
|
|
17829
|
+
totalCount: 'number',
|
|
17830
|
+
};
|
|
17831
|
+
}
|
|
17832
|
+
}
|
|
17833
|
+
exports.ListCheckResultResponseBodyPageInfo = ListCheckResultResponseBodyPageInfo;
|
|
17600
17834
|
class ListVulAutoRepairConfigResponseBodyPageInfo extends $tea.Model {
|
|
17601
17835
|
constructor(map) {
|
|
17602
17836
|
super(map);
|
|
@@ -19319,6 +19553,9 @@ class Client extends openapi_client_1.default {
|
|
|
19319
19553
|
if (!tea_util_1.default.isUnset(request.checkId)) {
|
|
19320
19554
|
query["CheckId"] = request.checkId;
|
|
19321
19555
|
}
|
|
19556
|
+
if (!tea_util_1.default.isUnset(request.checkType)) {
|
|
19557
|
+
query["CheckType"] = request.checkType;
|
|
19558
|
+
}
|
|
19322
19559
|
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
19323
19560
|
query["CurrentPage"] = request.currentPage;
|
|
19324
19561
|
}
|
|
@@ -23418,6 +23655,65 @@ class Client extends openapi_client_1.default {
|
|
|
23418
23655
|
let runtime = new $Util.RuntimeOptions({});
|
|
23419
23656
|
return await this.installCloudMonitorWithOptions(request, runtime);
|
|
23420
23657
|
}
|
|
23658
|
+
async listCheckResultWithOptions(request, runtime) {
|
|
23659
|
+
tea_util_1.default.validateModel(request);
|
|
23660
|
+
let query = {};
|
|
23661
|
+
if (!tea_util_1.default.isUnset(request.checkKey)) {
|
|
23662
|
+
query["CheckKey"] = request.checkKey;
|
|
23663
|
+
}
|
|
23664
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
23665
|
+
query["CurrentPage"] = request.currentPage;
|
|
23666
|
+
}
|
|
23667
|
+
if (!tea_util_1.default.isUnset(request.instanceIds)) {
|
|
23668
|
+
query["InstanceIds"] = request.instanceIds;
|
|
23669
|
+
}
|
|
23670
|
+
if (!tea_util_1.default.isUnset(request.instanceTypes)) {
|
|
23671
|
+
query["InstanceTypes"] = request.instanceTypes;
|
|
23672
|
+
}
|
|
23673
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
23674
|
+
query["Lang"] = request.lang;
|
|
23675
|
+
}
|
|
23676
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
23677
|
+
query["PageSize"] = request.pageSize;
|
|
23678
|
+
}
|
|
23679
|
+
if (!tea_util_1.default.isUnset(request.requirementIds)) {
|
|
23680
|
+
query["RequirementIds"] = request.requirementIds;
|
|
23681
|
+
}
|
|
23682
|
+
if (!tea_util_1.default.isUnset(request.riskLevels)) {
|
|
23683
|
+
query["RiskLevels"] = request.riskLevels;
|
|
23684
|
+
}
|
|
23685
|
+
if (!tea_util_1.default.isUnset(request.sortTypes)) {
|
|
23686
|
+
query["SortTypes"] = request.sortTypes;
|
|
23687
|
+
}
|
|
23688
|
+
if (!tea_util_1.default.isUnset(request.standardIds)) {
|
|
23689
|
+
query["StandardIds"] = request.standardIds;
|
|
23690
|
+
}
|
|
23691
|
+
if (!tea_util_1.default.isUnset(request.statuses)) {
|
|
23692
|
+
query["Statuses"] = request.statuses;
|
|
23693
|
+
}
|
|
23694
|
+
if (!tea_util_1.default.isUnset(request.vendors)) {
|
|
23695
|
+
query["Vendors"] = request.vendors;
|
|
23696
|
+
}
|
|
23697
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
23698
|
+
query: openapi_util_1.default.query(query),
|
|
23699
|
+
});
|
|
23700
|
+
let params = new $OpenApi.Params({
|
|
23701
|
+
action: "ListCheckResult",
|
|
23702
|
+
version: "2018-12-03",
|
|
23703
|
+
protocol: "HTTPS",
|
|
23704
|
+
pathname: "/",
|
|
23705
|
+
method: "POST",
|
|
23706
|
+
authType: "AK",
|
|
23707
|
+
style: "RPC",
|
|
23708
|
+
reqBodyType: "formData",
|
|
23709
|
+
bodyType: "json",
|
|
23710
|
+
});
|
|
23711
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListCheckResultResponse({}));
|
|
23712
|
+
}
|
|
23713
|
+
async listCheckResult(request) {
|
|
23714
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
23715
|
+
return await this.listCheckResultWithOptions(request, runtime);
|
|
23716
|
+
}
|
|
23421
23717
|
async listVulAutoRepairConfigWithOptions(request, runtime) {
|
|
23422
23718
|
tea_util_1.default.validateModel(request);
|
|
23423
23719
|
let query = {};
|
|
@@ -23613,6 +23909,41 @@ class Client extends openapi_client_1.default {
|
|
|
23613
23909
|
let runtime = new $Util.RuntimeOptions({});
|
|
23614
23910
|
return await this.modifyBackupPolicyStatusWithOptions(request, runtime);
|
|
23615
23911
|
}
|
|
23912
|
+
async modifyClearLogstoreStorageWithOptions(request, runtime) {
|
|
23913
|
+
tea_util_1.default.validateModel(request);
|
|
23914
|
+
let query = {};
|
|
23915
|
+
if (!tea_util_1.default.isUnset(request.from)) {
|
|
23916
|
+
query["From"] = request.from;
|
|
23917
|
+
}
|
|
23918
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
23919
|
+
query["Lang"] = request.lang;
|
|
23920
|
+
}
|
|
23921
|
+
if (!tea_util_1.default.isUnset(request.userLogStore)) {
|
|
23922
|
+
query["UserLogStore"] = request.userLogStore;
|
|
23923
|
+
}
|
|
23924
|
+
if (!tea_util_1.default.isUnset(request.userProject)) {
|
|
23925
|
+
query["UserProject"] = request.userProject;
|
|
23926
|
+
}
|
|
23927
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
23928
|
+
query: openapi_util_1.default.query(query),
|
|
23929
|
+
});
|
|
23930
|
+
let params = new $OpenApi.Params({
|
|
23931
|
+
action: "ModifyClearLogstoreStorage",
|
|
23932
|
+
version: "2018-12-03",
|
|
23933
|
+
protocol: "HTTPS",
|
|
23934
|
+
pathname: "/",
|
|
23935
|
+
method: "POST",
|
|
23936
|
+
authType: "AK",
|
|
23937
|
+
style: "RPC",
|
|
23938
|
+
reqBodyType: "formData",
|
|
23939
|
+
bodyType: "json",
|
|
23940
|
+
});
|
|
23941
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClearLogstoreStorageResponse({}));
|
|
23942
|
+
}
|
|
23943
|
+
async modifyClearLogstoreStorage(request) {
|
|
23944
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
23945
|
+
return await this.modifyClearLogstoreStorageWithOptions(request, runtime);
|
|
23946
|
+
}
|
|
23616
23947
|
async modifyCreateVulWhitelistWithOptions(request, runtime) {
|
|
23617
23948
|
tea_util_1.default.validateModel(request);
|
|
23618
23949
|
let query = {};
|