@alicloud/sas20181203 2.19.0 → 2.19.1
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 +59 -2
- package/dist/client.js +157 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +213 -4
package/dist/client.d.ts
CHANGED
|
@@ -2733,8 +2733,10 @@ export declare class CreateOrUpdateDingTalkResponse extends $tea.Model {
|
|
|
2733
2733
|
});
|
|
2734
2734
|
}
|
|
2735
2735
|
export declare class CreateOssBucketScanTaskRequest extends $tea.Model {
|
|
2736
|
+
allKeyPrefix?: boolean;
|
|
2736
2737
|
bucketNameList?: string[];
|
|
2737
2738
|
excludeKeySuffixList?: string[];
|
|
2739
|
+
keyPrefixList?: string[];
|
|
2738
2740
|
keySuffixList?: string[];
|
|
2739
2741
|
scanMode?: number;
|
|
2740
2742
|
static names(): {
|
|
@@ -2776,10 +2778,13 @@ export declare class CreateOssBucketScanTaskResponse extends $tea.Model {
|
|
|
2776
2778
|
});
|
|
2777
2779
|
}
|
|
2778
2780
|
export declare class CreateOssScanConfigRequest extends $tea.Model {
|
|
2781
|
+
allKeyPrefix?: boolean;
|
|
2779
2782
|
bucketNameList?: string[];
|
|
2780
2783
|
enable?: number;
|
|
2781
2784
|
endTime?: string;
|
|
2785
|
+
keyPrefixList?: string[];
|
|
2782
2786
|
keySuffixList?: string[];
|
|
2787
|
+
name?: string;
|
|
2783
2788
|
scanDayList?: number[];
|
|
2784
2789
|
startTime?: string;
|
|
2785
2790
|
static names(): {
|
|
@@ -2793,6 +2798,7 @@ export declare class CreateOssScanConfigRequest extends $tea.Model {
|
|
|
2793
2798
|
});
|
|
2794
2799
|
}
|
|
2795
2800
|
export declare class CreateOssScanConfigResponseBody extends $tea.Model {
|
|
2801
|
+
id?: number;
|
|
2796
2802
|
requestId?: string;
|
|
2797
2803
|
static names(): {
|
|
2798
2804
|
[key: string]: string;
|
|
@@ -6118,10 +6124,12 @@ export declare class DescribeCheckFixDetailsResponse extends $tea.Model {
|
|
|
6118
6124
|
});
|
|
6119
6125
|
}
|
|
6120
6126
|
export declare class DescribeCheckWarningDetailRequest extends $tea.Model {
|
|
6127
|
+
checkId?: string;
|
|
6121
6128
|
checkWarningId?: number;
|
|
6122
6129
|
lang?: string;
|
|
6123
6130
|
resourceDirectoryAccountId?: number;
|
|
6124
6131
|
sourceIp?: string;
|
|
6132
|
+
uuid?: string;
|
|
6125
6133
|
static names(): {
|
|
6126
6134
|
[key: string]: string;
|
|
6127
6135
|
};
|
|
@@ -18578,6 +18586,19 @@ export declare class GetOssBucketScanStatisticResponse extends $tea.Model {
|
|
|
18578
18586
|
[key: string]: any;
|
|
18579
18587
|
});
|
|
18580
18588
|
}
|
|
18589
|
+
export declare class GetOssScanConfigRequest extends $tea.Model {
|
|
18590
|
+
bucketName?: string;
|
|
18591
|
+
id?: string;
|
|
18592
|
+
static names(): {
|
|
18593
|
+
[key: string]: string;
|
|
18594
|
+
};
|
|
18595
|
+
static types(): {
|
|
18596
|
+
[key: string]: any;
|
|
18597
|
+
};
|
|
18598
|
+
constructor(map?: {
|
|
18599
|
+
[key: string]: any;
|
|
18600
|
+
});
|
|
18601
|
+
}
|
|
18581
18602
|
export declare class GetOssScanConfigResponseBody extends $tea.Model {
|
|
18582
18603
|
data?: GetOssScanConfigResponseBodyData;
|
|
18583
18604
|
requestId?: string;
|
|
@@ -19298,6 +19319,7 @@ export declare class HandleSimilarSecurityEventsResponse extends $tea.Model {
|
|
|
19298
19319
|
}
|
|
19299
19320
|
export declare class IgnoreCheckItemsRequest extends $tea.Model {
|
|
19300
19321
|
checkAndRiskTypeList?: IgnoreCheckItemsRequestCheckAndRiskTypeList[];
|
|
19322
|
+
checkIds?: number[];
|
|
19301
19323
|
lang?: string;
|
|
19302
19324
|
reason?: string;
|
|
19303
19325
|
source?: string;
|
|
@@ -20322,6 +20344,7 @@ export declare class ListCheckItemWarningMachineRequest extends $tea.Model {
|
|
|
20322
20344
|
riskType?: string;
|
|
20323
20345
|
source?: string;
|
|
20324
20346
|
status?: number;
|
|
20347
|
+
uuidList?: string[];
|
|
20325
20348
|
static names(): {
|
|
20326
20349
|
[key: string]: string;
|
|
20327
20350
|
};
|
|
@@ -20522,6 +20545,8 @@ export declare class ListCheckTypesRequest extends $tea.Model {
|
|
|
20522
20545
|
lang?: string;
|
|
20523
20546
|
pageSize?: number;
|
|
20524
20547
|
riskId?: number;
|
|
20548
|
+
showChecks?: boolean;
|
|
20549
|
+
source?: string;
|
|
20525
20550
|
uuid?: string;
|
|
20526
20551
|
static names(): {
|
|
20527
20552
|
[key: string]: string;
|
|
@@ -29646,10 +29671,14 @@ export declare class UpdateOpaStrategyNewResponse extends $tea.Model {
|
|
|
29646
29671
|
});
|
|
29647
29672
|
}
|
|
29648
29673
|
export declare class UpdateOssScanConfigRequest extends $tea.Model {
|
|
29674
|
+
allKeyPrefix?: boolean;
|
|
29649
29675
|
bucketNameList?: string[];
|
|
29650
29676
|
enable?: number;
|
|
29651
29677
|
endTime?: string;
|
|
29678
|
+
id?: string;
|
|
29679
|
+
keyPrefixList?: string[];
|
|
29652
29680
|
keySuffixList?: string[];
|
|
29681
|
+
name?: string;
|
|
29653
29682
|
scanDayList?: number[];
|
|
29654
29683
|
startTime?: string;
|
|
29655
29684
|
static names(): {
|
|
@@ -35269,6 +35298,7 @@ export declare class DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteList
|
|
|
35269
35298
|
alias?: string;
|
|
35270
35299
|
checkDetails?: DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetails[];
|
|
35271
35300
|
on?: boolean;
|
|
35301
|
+
supportedOs?: string;
|
|
35272
35302
|
typeName?: string;
|
|
35273
35303
|
static names(): {
|
|
35274
35304
|
[key: string]: string;
|
|
@@ -38352,10 +38382,17 @@ export declare class GetOssBucketScanStatisticResponseBodyData extends $tea.Mode
|
|
|
38352
38382
|
});
|
|
38353
38383
|
}
|
|
38354
38384
|
export declare class GetOssScanConfigResponseBodyData extends $tea.Model {
|
|
38385
|
+
allKeyPrefix?: boolean;
|
|
38386
|
+
bucketCount?: number;
|
|
38387
|
+
bucketName?: string;
|
|
38355
38388
|
bucketNameList?: string[];
|
|
38356
38389
|
enable?: number;
|
|
38357
38390
|
endTime?: string;
|
|
38391
|
+
id?: string;
|
|
38392
|
+
keyPrefixList?: string[];
|
|
38358
38393
|
keySuffixList?: string[];
|
|
38394
|
+
lastUpdateTime?: number;
|
|
38395
|
+
name?: string;
|
|
38359
38396
|
scanDayList?: number[];
|
|
38360
38397
|
startTime?: string;
|
|
38361
38398
|
static names(): {
|
|
@@ -39258,10 +39295,12 @@ export declare class ListCheckItemWarningMachineResponseBodyList extends $tea.Mo
|
|
|
39258
39295
|
containerId?: string;
|
|
39259
39296
|
containerName?: string;
|
|
39260
39297
|
fixList?: ListCheckItemWarningMachineResponseBodyListFixList[];
|
|
39298
|
+
fixStatus?: number;
|
|
39261
39299
|
instanceId?: string;
|
|
39262
39300
|
instanceName?: string;
|
|
39263
39301
|
internetIp?: string;
|
|
39264
39302
|
intranetIp?: string;
|
|
39303
|
+
lastHandleTime?: number;
|
|
39265
39304
|
lastScanTime?: number;
|
|
39266
39305
|
portOpen?: boolean;
|
|
39267
39306
|
prompt?: string;
|
|
@@ -39421,7 +39460,23 @@ export declare class ListCheckStandardResponseBodyStandards extends $tea.Model {
|
|
|
39421
39460
|
[key: string]: any;
|
|
39422
39461
|
});
|
|
39423
39462
|
}
|
|
39463
|
+
export declare class ListCheckTypesResponseBodyDataCheckDetails extends $tea.Model {
|
|
39464
|
+
affiliatedRiskTypes?: string[];
|
|
39465
|
+
affiliatedRisks?: string[];
|
|
39466
|
+
checkId?: number;
|
|
39467
|
+
checkItem?: string;
|
|
39468
|
+
static names(): {
|
|
39469
|
+
[key: string]: string;
|
|
39470
|
+
};
|
|
39471
|
+
static types(): {
|
|
39472
|
+
[key: string]: any;
|
|
39473
|
+
};
|
|
39474
|
+
constructor(map?: {
|
|
39475
|
+
[key: string]: any;
|
|
39476
|
+
});
|
|
39477
|
+
}
|
|
39424
39478
|
export declare class ListCheckTypesResponseBodyData extends $tea.Model {
|
|
39479
|
+
checkDetails?: ListCheckTypesResponseBodyDataCheckDetails[];
|
|
39425
39480
|
checkType?: string;
|
|
39426
39481
|
checkTypeDisName?: string;
|
|
39427
39482
|
static names(): {
|
|
@@ -40766,6 +40821,7 @@ export declare class ListOssBucketResponseBodyData extends $tea.Model {
|
|
|
40766
40821
|
regionId?: string;
|
|
40767
40822
|
storageClass?: string;
|
|
40768
40823
|
support?: boolean;
|
|
40824
|
+
supportConfig?: string;
|
|
40769
40825
|
static names(): {
|
|
40770
40826
|
[key: string]: string;
|
|
40771
40827
|
};
|
|
@@ -40778,6 +40834,7 @@ export declare class ListOssBucketResponseBodyData extends $tea.Model {
|
|
|
40778
40834
|
}
|
|
40779
40835
|
export declare class ListOssBucketScanInfoResponseBodyData extends $tea.Model {
|
|
40780
40836
|
bucketName?: string;
|
|
40837
|
+
configStatus?: number;
|
|
40781
40838
|
highRisk?: number;
|
|
40782
40839
|
lastScanEndTime?: number;
|
|
40783
40840
|
lastScanTime?: number;
|
|
@@ -43618,8 +43675,8 @@ export default class Client extends OpenApi {
|
|
|
43618
43675
|
getOpaStrategyTemplateSummary(): Promise<GetOpaStrategyTemplateSummaryResponse>;
|
|
43619
43676
|
getOssBucketScanStatisticWithOptions(request: GetOssBucketScanStatisticRequest, runtime: $Util.RuntimeOptions): Promise<GetOssBucketScanStatisticResponse>;
|
|
43620
43677
|
getOssBucketScanStatistic(request: GetOssBucketScanStatisticRequest): Promise<GetOssBucketScanStatisticResponse>;
|
|
43621
|
-
getOssScanConfigWithOptions(runtime: $Util.RuntimeOptions): Promise<GetOssScanConfigResponse>;
|
|
43622
|
-
getOssScanConfig(): Promise<GetOssScanConfigResponse>;
|
|
43678
|
+
getOssScanConfigWithOptions(request: GetOssScanConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetOssScanConfigResponse>;
|
|
43679
|
+
getOssScanConfig(request: GetOssScanConfigRequest): Promise<GetOssScanConfigResponse>;
|
|
43623
43680
|
getPropertyScheduleConfigWithOptions(request: GetPropertyScheduleConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetPropertyScheduleConfigResponse>;
|
|
43624
43681
|
getPropertyScheduleConfig(request: GetPropertyScheduleConfigRequest): Promise<GetPropertyScheduleConfigResponse>;
|
|
43625
43682
|
getRulesCountWithOptions(runtime: $Util.RuntimeOptions): Promise<GetRulesCountResponse>;
|
package/dist/client.js
CHANGED
|
@@ -3817,16 +3817,20 @@ class CreateOssBucketScanTaskRequest extends $tea.Model {
|
|
|
3817
3817
|
}
|
|
3818
3818
|
static names() {
|
|
3819
3819
|
return {
|
|
3820
|
+
allKeyPrefix: 'AllKeyPrefix',
|
|
3820
3821
|
bucketNameList: 'BucketNameList',
|
|
3821
3822
|
excludeKeySuffixList: 'ExcludeKeySuffixList',
|
|
3823
|
+
keyPrefixList: 'KeyPrefixList',
|
|
3822
3824
|
keySuffixList: 'KeySuffixList',
|
|
3823
3825
|
scanMode: 'ScanMode',
|
|
3824
3826
|
};
|
|
3825
3827
|
}
|
|
3826
3828
|
static types() {
|
|
3827
3829
|
return {
|
|
3830
|
+
allKeyPrefix: 'boolean',
|
|
3828
3831
|
bucketNameList: { 'type': 'array', 'itemType': 'string' },
|
|
3829
3832
|
excludeKeySuffixList: { 'type': 'array', 'itemType': 'string' },
|
|
3833
|
+
keyPrefixList: { 'type': 'array', 'itemType': 'string' },
|
|
3830
3834
|
keySuffixList: { 'type': 'array', 'itemType': 'string' },
|
|
3831
3835
|
scanMode: 'number',
|
|
3832
3836
|
};
|
|
@@ -3875,20 +3879,26 @@ class CreateOssScanConfigRequest extends $tea.Model {
|
|
|
3875
3879
|
}
|
|
3876
3880
|
static names() {
|
|
3877
3881
|
return {
|
|
3882
|
+
allKeyPrefix: 'AllKeyPrefix',
|
|
3878
3883
|
bucketNameList: 'BucketNameList',
|
|
3879
3884
|
enable: 'Enable',
|
|
3880
3885
|
endTime: 'EndTime',
|
|
3886
|
+
keyPrefixList: 'KeyPrefixList',
|
|
3881
3887
|
keySuffixList: 'KeySuffixList',
|
|
3888
|
+
name: 'Name',
|
|
3882
3889
|
scanDayList: 'ScanDayList',
|
|
3883
3890
|
startTime: 'StartTime',
|
|
3884
3891
|
};
|
|
3885
3892
|
}
|
|
3886
3893
|
static types() {
|
|
3887
3894
|
return {
|
|
3895
|
+
allKeyPrefix: 'boolean',
|
|
3888
3896
|
bucketNameList: { 'type': 'array', 'itemType': 'string' },
|
|
3889
3897
|
enable: 'number',
|
|
3890
3898
|
endTime: 'string',
|
|
3899
|
+
keyPrefixList: { 'type': 'array', 'itemType': 'string' },
|
|
3891
3900
|
keySuffixList: { 'type': 'array', 'itemType': 'string' },
|
|
3901
|
+
name: 'string',
|
|
3892
3902
|
scanDayList: { 'type': 'array', 'itemType': 'number' },
|
|
3893
3903
|
startTime: 'string',
|
|
3894
3904
|
};
|
|
@@ -3901,11 +3911,13 @@ class CreateOssScanConfigResponseBody extends $tea.Model {
|
|
|
3901
3911
|
}
|
|
3902
3912
|
static names() {
|
|
3903
3913
|
return {
|
|
3914
|
+
id: 'Id',
|
|
3904
3915
|
requestId: 'RequestId',
|
|
3905
3916
|
};
|
|
3906
3917
|
}
|
|
3907
3918
|
static types() {
|
|
3908
3919
|
return {
|
|
3920
|
+
id: 'number',
|
|
3909
3921
|
requestId: 'string',
|
|
3910
3922
|
};
|
|
3911
3923
|
}
|
|
@@ -8427,18 +8439,22 @@ class DescribeCheckWarningDetailRequest extends $tea.Model {
|
|
|
8427
8439
|
}
|
|
8428
8440
|
static names() {
|
|
8429
8441
|
return {
|
|
8442
|
+
checkId: 'CheckId',
|
|
8430
8443
|
checkWarningId: 'CheckWarningId',
|
|
8431
8444
|
lang: 'Lang',
|
|
8432
8445
|
resourceDirectoryAccountId: 'ResourceDirectoryAccountId',
|
|
8433
8446
|
sourceIp: 'SourceIp',
|
|
8447
|
+
uuid: 'Uuid',
|
|
8434
8448
|
};
|
|
8435
8449
|
}
|
|
8436
8450
|
static types() {
|
|
8437
8451
|
return {
|
|
8452
|
+
checkId: 'string',
|
|
8438
8453
|
checkWarningId: 'number',
|
|
8439
8454
|
lang: 'string',
|
|
8440
8455
|
resourceDirectoryAccountId: 'number',
|
|
8441
8456
|
sourceIp: 'string',
|
|
8457
|
+
uuid: 'string',
|
|
8442
8458
|
};
|
|
8443
8459
|
}
|
|
8444
8460
|
}
|
|
@@ -25763,6 +25779,24 @@ class GetOssBucketScanStatisticResponse extends $tea.Model {
|
|
|
25763
25779
|
}
|
|
25764
25780
|
}
|
|
25765
25781
|
exports.GetOssBucketScanStatisticResponse = GetOssBucketScanStatisticResponse;
|
|
25782
|
+
class GetOssScanConfigRequest extends $tea.Model {
|
|
25783
|
+
constructor(map) {
|
|
25784
|
+
super(map);
|
|
25785
|
+
}
|
|
25786
|
+
static names() {
|
|
25787
|
+
return {
|
|
25788
|
+
bucketName: 'BucketName',
|
|
25789
|
+
id: 'Id',
|
|
25790
|
+
};
|
|
25791
|
+
}
|
|
25792
|
+
static types() {
|
|
25793
|
+
return {
|
|
25794
|
+
bucketName: 'string',
|
|
25795
|
+
id: 'string',
|
|
25796
|
+
};
|
|
25797
|
+
}
|
|
25798
|
+
}
|
|
25799
|
+
exports.GetOssScanConfigRequest = GetOssScanConfigRequest;
|
|
25766
25800
|
class GetOssScanConfigResponseBody extends $tea.Model {
|
|
25767
25801
|
constructor(map) {
|
|
25768
25802
|
super(map);
|
|
@@ -26734,6 +26768,7 @@ class IgnoreCheckItemsRequest extends $tea.Model {
|
|
|
26734
26768
|
static names() {
|
|
26735
26769
|
return {
|
|
26736
26770
|
checkAndRiskTypeList: 'CheckAndRiskTypeList',
|
|
26771
|
+
checkIds: 'CheckIds',
|
|
26737
26772
|
lang: 'Lang',
|
|
26738
26773
|
reason: 'Reason',
|
|
26739
26774
|
source: 'Source',
|
|
@@ -26744,6 +26779,7 @@ class IgnoreCheckItemsRequest extends $tea.Model {
|
|
|
26744
26779
|
static types() {
|
|
26745
26780
|
return {
|
|
26746
26781
|
checkAndRiskTypeList: { 'type': 'array', 'itemType': IgnoreCheckItemsRequestCheckAndRiskTypeList },
|
|
26782
|
+
checkIds: { 'type': 'array', 'itemType': 'number' },
|
|
26747
26783
|
lang: 'string',
|
|
26748
26784
|
reason: 'string',
|
|
26749
26785
|
source: 'string',
|
|
@@ -28140,6 +28176,7 @@ class ListCheckItemWarningMachineRequest extends $tea.Model {
|
|
|
28140
28176
|
riskType: 'RiskType',
|
|
28141
28177
|
source: 'Source',
|
|
28142
28178
|
status: 'Status',
|
|
28179
|
+
uuidList: 'UuidList',
|
|
28143
28180
|
};
|
|
28144
28181
|
}
|
|
28145
28182
|
static types() {
|
|
@@ -28155,6 +28192,7 @@ class ListCheckItemWarningMachineRequest extends $tea.Model {
|
|
|
28155
28192
|
riskType: 'string',
|
|
28156
28193
|
source: 'string',
|
|
28157
28194
|
status: 'number',
|
|
28195
|
+
uuidList: { 'type': 'array', 'itemType': 'string' },
|
|
28158
28196
|
};
|
|
28159
28197
|
}
|
|
28160
28198
|
}
|
|
@@ -28435,6 +28473,8 @@ class ListCheckTypesRequest extends $tea.Model {
|
|
|
28435
28473
|
lang: 'Lang',
|
|
28436
28474
|
pageSize: 'PageSize',
|
|
28437
28475
|
riskId: 'RiskId',
|
|
28476
|
+
showChecks: 'ShowChecks',
|
|
28477
|
+
source: 'Source',
|
|
28438
28478
|
uuid: 'Uuid',
|
|
28439
28479
|
};
|
|
28440
28480
|
}
|
|
@@ -28444,6 +28484,8 @@ class ListCheckTypesRequest extends $tea.Model {
|
|
|
28444
28484
|
lang: 'string',
|
|
28445
28485
|
pageSize: 'number',
|
|
28446
28486
|
riskId: 'number',
|
|
28487
|
+
showChecks: 'boolean',
|
|
28488
|
+
source: 'string',
|
|
28447
28489
|
uuid: 'string',
|
|
28448
28490
|
};
|
|
28449
28491
|
}
|
|
@@ -40983,20 +41025,28 @@ class UpdateOssScanConfigRequest extends $tea.Model {
|
|
|
40983
41025
|
}
|
|
40984
41026
|
static names() {
|
|
40985
41027
|
return {
|
|
41028
|
+
allKeyPrefix: 'AllKeyPrefix',
|
|
40986
41029
|
bucketNameList: 'BucketNameList',
|
|
40987
41030
|
enable: 'Enable',
|
|
40988
41031
|
endTime: 'EndTime',
|
|
41032
|
+
id: 'Id',
|
|
41033
|
+
keyPrefixList: 'KeyPrefixList',
|
|
40989
41034
|
keySuffixList: 'KeySuffixList',
|
|
41035
|
+
name: 'Name',
|
|
40990
41036
|
scanDayList: 'ScanDayList',
|
|
40991
41037
|
startTime: 'StartTime',
|
|
40992
41038
|
};
|
|
40993
41039
|
}
|
|
40994
41040
|
static types() {
|
|
40995
41041
|
return {
|
|
41042
|
+
allKeyPrefix: 'boolean',
|
|
40996
41043
|
bucketNameList: { 'type': 'array', 'itemType': 'string' },
|
|
40997
41044
|
enable: 'number',
|
|
40998
41045
|
endTime: 'string',
|
|
41046
|
+
id: 'string',
|
|
41047
|
+
keyPrefixList: { 'type': 'array', 'itemType': 'string' },
|
|
40999
41048
|
keySuffixList: { 'type': 'array', 'itemType': 'string' },
|
|
41049
|
+
name: 'string',
|
|
41000
41050
|
scanDayList: { 'type': 'array', 'itemType': 'number' },
|
|
41001
41051
|
startTime: 'string',
|
|
41002
41052
|
};
|
|
@@ -49618,6 +49668,7 @@ class DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultList
|
|
|
49618
49668
|
alias: 'Alias',
|
|
49619
49669
|
checkDetails: 'CheckDetails',
|
|
49620
49670
|
on: 'On',
|
|
49671
|
+
supportedOs: 'SupportedOs',
|
|
49621
49672
|
typeName: 'TypeName',
|
|
49622
49673
|
};
|
|
49623
49674
|
}
|
|
@@ -49626,6 +49677,7 @@ class DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultList
|
|
|
49626
49677
|
alias: 'string',
|
|
49627
49678
|
checkDetails: { 'type': 'array', 'itemType': DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetails },
|
|
49628
49679
|
on: 'boolean',
|
|
49680
|
+
supportedOs: 'string',
|
|
49629
49681
|
typeName: 'string',
|
|
49630
49682
|
};
|
|
49631
49683
|
}
|
|
@@ -54331,20 +54383,34 @@ class GetOssScanConfigResponseBodyData extends $tea.Model {
|
|
|
54331
54383
|
}
|
|
54332
54384
|
static names() {
|
|
54333
54385
|
return {
|
|
54386
|
+
allKeyPrefix: 'AllKeyPrefix',
|
|
54387
|
+
bucketCount: 'BucketCount',
|
|
54388
|
+
bucketName: 'BucketName',
|
|
54334
54389
|
bucketNameList: 'BucketNameList',
|
|
54335
54390
|
enable: 'Enable',
|
|
54336
54391
|
endTime: 'EndTime',
|
|
54392
|
+
id: 'Id',
|
|
54393
|
+
keyPrefixList: 'KeyPrefixList',
|
|
54337
54394
|
keySuffixList: 'KeySuffixList',
|
|
54395
|
+
lastUpdateTime: 'LastUpdateTime',
|
|
54396
|
+
name: 'Name',
|
|
54338
54397
|
scanDayList: 'ScanDayList',
|
|
54339
54398
|
startTime: 'StartTime',
|
|
54340
54399
|
};
|
|
54341
54400
|
}
|
|
54342
54401
|
static types() {
|
|
54343
54402
|
return {
|
|
54403
|
+
allKeyPrefix: 'boolean',
|
|
54404
|
+
bucketCount: 'number',
|
|
54405
|
+
bucketName: 'string',
|
|
54344
54406
|
bucketNameList: { 'type': 'array', 'itemType': 'string' },
|
|
54345
54407
|
enable: 'number',
|
|
54346
54408
|
endTime: 'string',
|
|
54409
|
+
id: 'string',
|
|
54410
|
+
keyPrefixList: { 'type': 'array', 'itemType': 'string' },
|
|
54347
54411
|
keySuffixList: { 'type': 'array', 'itemType': 'string' },
|
|
54412
|
+
lastUpdateTime: 'number',
|
|
54413
|
+
name: 'string',
|
|
54348
54414
|
scanDayList: { 'type': 'array', 'itemType': 'number' },
|
|
54349
54415
|
startTime: 'string',
|
|
54350
54416
|
};
|
|
@@ -55690,10 +55756,12 @@ class ListCheckItemWarningMachineResponseBodyList extends $tea.Model {
|
|
|
55690
55756
|
containerId: 'ContainerId',
|
|
55691
55757
|
containerName: 'ContainerName',
|
|
55692
55758
|
fixList: 'FixList',
|
|
55759
|
+
fixStatus: 'FixStatus',
|
|
55693
55760
|
instanceId: 'InstanceId',
|
|
55694
55761
|
instanceName: 'InstanceName',
|
|
55695
55762
|
internetIp: 'InternetIp',
|
|
55696
55763
|
intranetIp: 'IntranetIp',
|
|
55764
|
+
lastHandleTime: 'LastHandleTime',
|
|
55697
55765
|
lastScanTime: 'LastScanTime',
|
|
55698
55766
|
portOpen: 'PortOpen',
|
|
55699
55767
|
prompt: 'Prompt',
|
|
@@ -55713,10 +55781,12 @@ class ListCheckItemWarningMachineResponseBodyList extends $tea.Model {
|
|
|
55713
55781
|
containerId: 'string',
|
|
55714
55782
|
containerName: 'string',
|
|
55715
55783
|
fixList: { 'type': 'array', 'itemType': ListCheckItemWarningMachineResponseBodyListFixList },
|
|
55784
|
+
fixStatus: 'number',
|
|
55716
55785
|
instanceId: 'string',
|
|
55717
55786
|
instanceName: 'string',
|
|
55718
55787
|
internetIp: 'string',
|
|
55719
55788
|
intranetIp: 'string',
|
|
55789
|
+
lastHandleTime: 'number',
|
|
55720
55790
|
lastScanTime: 'number',
|
|
55721
55791
|
portOpen: 'boolean',
|
|
55722
55792
|
prompt: 'string',
|
|
@@ -55945,18 +56015,42 @@ class ListCheckStandardResponseBodyStandards extends $tea.Model {
|
|
|
55945
56015
|
}
|
|
55946
56016
|
}
|
|
55947
56017
|
exports.ListCheckStandardResponseBodyStandards = ListCheckStandardResponseBodyStandards;
|
|
56018
|
+
class ListCheckTypesResponseBodyDataCheckDetails extends $tea.Model {
|
|
56019
|
+
constructor(map) {
|
|
56020
|
+
super(map);
|
|
56021
|
+
}
|
|
56022
|
+
static names() {
|
|
56023
|
+
return {
|
|
56024
|
+
affiliatedRiskTypes: 'AffiliatedRiskTypes',
|
|
56025
|
+
affiliatedRisks: 'AffiliatedRisks',
|
|
56026
|
+
checkId: 'CheckId',
|
|
56027
|
+
checkItem: 'CheckItem',
|
|
56028
|
+
};
|
|
56029
|
+
}
|
|
56030
|
+
static types() {
|
|
56031
|
+
return {
|
|
56032
|
+
affiliatedRiskTypes: { 'type': 'array', 'itemType': 'string' },
|
|
56033
|
+
affiliatedRisks: { 'type': 'array', 'itemType': 'string' },
|
|
56034
|
+
checkId: 'number',
|
|
56035
|
+
checkItem: 'string',
|
|
56036
|
+
};
|
|
56037
|
+
}
|
|
56038
|
+
}
|
|
56039
|
+
exports.ListCheckTypesResponseBodyDataCheckDetails = ListCheckTypesResponseBodyDataCheckDetails;
|
|
55948
56040
|
class ListCheckTypesResponseBodyData extends $tea.Model {
|
|
55949
56041
|
constructor(map) {
|
|
55950
56042
|
super(map);
|
|
55951
56043
|
}
|
|
55952
56044
|
static names() {
|
|
55953
56045
|
return {
|
|
56046
|
+
checkDetails: 'CheckDetails',
|
|
55954
56047
|
checkType: 'CheckType',
|
|
55955
56048
|
checkTypeDisName: 'CheckTypeDisName',
|
|
55956
56049
|
};
|
|
55957
56050
|
}
|
|
55958
56051
|
static types() {
|
|
55959
56052
|
return {
|
|
56053
|
+
checkDetails: { 'type': 'array', 'itemType': ListCheckTypesResponseBodyDataCheckDetails },
|
|
55960
56054
|
checkType: 'string',
|
|
55961
56055
|
checkTypeDisName: 'string',
|
|
55962
56056
|
};
|
|
@@ -58018,6 +58112,7 @@ class ListOssBucketResponseBodyData extends $tea.Model {
|
|
|
58018
58112
|
regionId: 'RegionId',
|
|
58019
58113
|
storageClass: 'StorageClass',
|
|
58020
58114
|
support: 'Support',
|
|
58115
|
+
supportConfig: 'SupportConfig',
|
|
58021
58116
|
};
|
|
58022
58117
|
}
|
|
58023
58118
|
static types() {
|
|
@@ -58027,6 +58122,7 @@ class ListOssBucketResponseBodyData extends $tea.Model {
|
|
|
58027
58122
|
regionId: 'string',
|
|
58028
58123
|
storageClass: 'string',
|
|
58029
58124
|
support: 'boolean',
|
|
58125
|
+
supportConfig: 'string',
|
|
58030
58126
|
};
|
|
58031
58127
|
}
|
|
58032
58128
|
}
|
|
@@ -58038,6 +58134,7 @@ class ListOssBucketScanInfoResponseBodyData extends $tea.Model {
|
|
|
58038
58134
|
static names() {
|
|
58039
58135
|
return {
|
|
58040
58136
|
bucketName: 'BucketName',
|
|
58137
|
+
configStatus: 'ConfigStatus',
|
|
58041
58138
|
highRisk: 'HighRisk',
|
|
58042
58139
|
lastScanEndTime: 'LastScanEndTime',
|
|
58043
58140
|
lastScanTime: 'LastScanTime',
|
|
@@ -58056,6 +58153,7 @@ class ListOssBucketScanInfoResponseBodyData extends $tea.Model {
|
|
|
58056
58153
|
static types() {
|
|
58057
58154
|
return {
|
|
58058
58155
|
bucketName: 'string',
|
|
58156
|
+
configStatus: 'number',
|
|
58059
58157
|
highRisk: 'number',
|
|
58060
58158
|
lastScanEndTime: 'number',
|
|
58061
58159
|
lastScanTime: 'number',
|
|
@@ -62803,12 +62901,18 @@ class Client extends openapi_client_1.default {
|
|
|
62803
62901
|
async createOssBucketScanTaskWithOptions(request, runtime) {
|
|
62804
62902
|
tea_util_1.default.validateModel(request);
|
|
62805
62903
|
let query = {};
|
|
62904
|
+
if (!tea_util_1.default.isUnset(request.allKeyPrefix)) {
|
|
62905
|
+
query["AllKeyPrefix"] = request.allKeyPrefix;
|
|
62906
|
+
}
|
|
62806
62907
|
if (!tea_util_1.default.isUnset(request.bucketNameList)) {
|
|
62807
62908
|
query["BucketNameList"] = request.bucketNameList;
|
|
62808
62909
|
}
|
|
62809
62910
|
if (!tea_util_1.default.isUnset(request.excludeKeySuffixList)) {
|
|
62810
62911
|
query["ExcludeKeySuffixList"] = request.excludeKeySuffixList;
|
|
62811
62912
|
}
|
|
62913
|
+
if (!tea_util_1.default.isUnset(request.keyPrefixList)) {
|
|
62914
|
+
query["KeyPrefixList"] = request.keyPrefixList;
|
|
62915
|
+
}
|
|
62812
62916
|
if (!tea_util_1.default.isUnset(request.keySuffixList)) {
|
|
62813
62917
|
query["KeySuffixList"] = request.keySuffixList;
|
|
62814
62918
|
}
|
|
@@ -62838,6 +62942,9 @@ class Client extends openapi_client_1.default {
|
|
|
62838
62942
|
async createOssScanConfigWithOptions(request, runtime) {
|
|
62839
62943
|
tea_util_1.default.validateModel(request);
|
|
62840
62944
|
let query = {};
|
|
62945
|
+
if (!tea_util_1.default.isUnset(request.allKeyPrefix)) {
|
|
62946
|
+
query["AllKeyPrefix"] = request.allKeyPrefix;
|
|
62947
|
+
}
|
|
62841
62948
|
if (!tea_util_1.default.isUnset(request.bucketNameList)) {
|
|
62842
62949
|
query["BucketNameList"] = request.bucketNameList;
|
|
62843
62950
|
}
|
|
@@ -62847,9 +62954,15 @@ class Client extends openapi_client_1.default {
|
|
|
62847
62954
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
62848
62955
|
query["EndTime"] = request.endTime;
|
|
62849
62956
|
}
|
|
62957
|
+
if (!tea_util_1.default.isUnset(request.keyPrefixList)) {
|
|
62958
|
+
query["KeyPrefixList"] = request.keyPrefixList;
|
|
62959
|
+
}
|
|
62850
62960
|
if (!tea_util_1.default.isUnset(request.keySuffixList)) {
|
|
62851
62961
|
query["KeySuffixList"] = request.keySuffixList;
|
|
62852
62962
|
}
|
|
62963
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
62964
|
+
query["Name"] = request.name;
|
|
62965
|
+
}
|
|
62853
62966
|
if (!tea_util_1.default.isUnset(request.scanDayList)) {
|
|
62854
62967
|
query["ScanDayList"] = request.scanDayList;
|
|
62855
62968
|
}
|
|
@@ -65381,6 +65494,9 @@ class Client extends openapi_client_1.default {
|
|
|
65381
65494
|
async describeCheckWarningDetailWithOptions(request, runtime) {
|
|
65382
65495
|
tea_util_1.default.validateModel(request);
|
|
65383
65496
|
let query = {};
|
|
65497
|
+
if (!tea_util_1.default.isUnset(request.checkId)) {
|
|
65498
|
+
query["CheckId"] = request.checkId;
|
|
65499
|
+
}
|
|
65384
65500
|
if (!tea_util_1.default.isUnset(request.checkWarningId)) {
|
|
65385
65501
|
query["CheckWarningId"] = request.checkWarningId;
|
|
65386
65502
|
}
|
|
@@ -65393,6 +65509,9 @@ class Client extends openapi_client_1.default {
|
|
|
65393
65509
|
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
65394
65510
|
query["SourceIp"] = request.sourceIp;
|
|
65395
65511
|
}
|
|
65512
|
+
if (!tea_util_1.default.isUnset(request.uuid)) {
|
|
65513
|
+
query["Uuid"] = request.uuid;
|
|
65514
|
+
}
|
|
65396
65515
|
let req = new $OpenApi.OpenApiRequest({
|
|
65397
65516
|
query: openapi_util_1.default.query(query),
|
|
65398
65517
|
});
|
|
@@ -75251,8 +75370,18 @@ class Client extends openapi_client_1.default {
|
|
|
75251
75370
|
let runtime = new $Util.RuntimeOptions({});
|
|
75252
75371
|
return await this.getOssBucketScanStatisticWithOptions(request, runtime);
|
|
75253
75372
|
}
|
|
75254
|
-
async getOssScanConfigWithOptions(runtime) {
|
|
75255
|
-
|
|
75373
|
+
async getOssScanConfigWithOptions(request, runtime) {
|
|
75374
|
+
tea_util_1.default.validateModel(request);
|
|
75375
|
+
let query = {};
|
|
75376
|
+
if (!tea_util_1.default.isUnset(request.bucketName)) {
|
|
75377
|
+
query["BucketName"] = request.bucketName;
|
|
75378
|
+
}
|
|
75379
|
+
if (!tea_util_1.default.isUnset(request.id)) {
|
|
75380
|
+
query["Id"] = request.id;
|
|
75381
|
+
}
|
|
75382
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
75383
|
+
query: openapi_util_1.default.query(query),
|
|
75384
|
+
});
|
|
75256
75385
|
let params = new $OpenApi.Params({
|
|
75257
75386
|
action: "GetOssScanConfig",
|
|
75258
75387
|
version: "2018-12-03",
|
|
@@ -75266,9 +75395,9 @@ class Client extends openapi_client_1.default {
|
|
|
75266
75395
|
});
|
|
75267
75396
|
return $tea.cast(await this.callApi(params, req, runtime), new GetOssScanConfigResponse({}));
|
|
75268
75397
|
}
|
|
75269
|
-
async getOssScanConfig() {
|
|
75398
|
+
async getOssScanConfig(request) {
|
|
75270
75399
|
let runtime = new $Util.RuntimeOptions({});
|
|
75271
|
-
return await this.getOssScanConfigWithOptions(runtime);
|
|
75400
|
+
return await this.getOssScanConfigWithOptions(request, runtime);
|
|
75272
75401
|
}
|
|
75273
75402
|
async getPropertyScheduleConfigWithOptions(request, runtime) {
|
|
75274
75403
|
tea_util_1.default.validateModel(request);
|
|
@@ -75745,6 +75874,9 @@ class Client extends openapi_client_1.default {
|
|
|
75745
75874
|
if (!tea_util_1.default.isUnset(request.checkAndRiskTypeList)) {
|
|
75746
75875
|
query["CheckAndRiskTypeList"] = request.checkAndRiskTypeList;
|
|
75747
75876
|
}
|
|
75877
|
+
if (!tea_util_1.default.isUnset(request.checkIds)) {
|
|
75878
|
+
query["CheckIds"] = request.checkIds;
|
|
75879
|
+
}
|
|
75748
75880
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
75749
75881
|
query["Lang"] = request.lang;
|
|
75750
75882
|
}
|
|
@@ -76615,6 +76747,9 @@ class Client extends openapi_client_1.default {
|
|
|
76615
76747
|
if (!tea_util_1.default.isUnset(request.status)) {
|
|
76616
76748
|
query["Status"] = request.status;
|
|
76617
76749
|
}
|
|
76750
|
+
if (!tea_util_1.default.isUnset(request.uuidList)) {
|
|
76751
|
+
query["UuidList"] = request.uuidList;
|
|
76752
|
+
}
|
|
76618
76753
|
let req = new $OpenApi.OpenApiRequest({
|
|
76619
76754
|
query: openapi_util_1.default.query(query),
|
|
76620
76755
|
});
|
|
@@ -76818,6 +76953,12 @@ class Client extends openapi_client_1.default {
|
|
|
76818
76953
|
if (!tea_util_1.default.isUnset(request.riskId)) {
|
|
76819
76954
|
query["RiskId"] = request.riskId;
|
|
76820
76955
|
}
|
|
76956
|
+
if (!tea_util_1.default.isUnset(request.showChecks)) {
|
|
76957
|
+
query["ShowChecks"] = request.showChecks;
|
|
76958
|
+
}
|
|
76959
|
+
if (!tea_util_1.default.isUnset(request.source)) {
|
|
76960
|
+
query["Source"] = request.source;
|
|
76961
|
+
}
|
|
76821
76962
|
if (!tea_util_1.default.isUnset(request.uuid)) {
|
|
76822
76963
|
query["Uuid"] = request.uuid;
|
|
76823
76964
|
}
|
|
@@ -83965,6 +84106,9 @@ class Client extends openapi_client_1.default {
|
|
|
83965
84106
|
async updateOssScanConfigWithOptions(request, runtime) {
|
|
83966
84107
|
tea_util_1.default.validateModel(request);
|
|
83967
84108
|
let query = {};
|
|
84109
|
+
if (!tea_util_1.default.isUnset(request.allKeyPrefix)) {
|
|
84110
|
+
query["AllKeyPrefix"] = request.allKeyPrefix;
|
|
84111
|
+
}
|
|
83968
84112
|
if (!tea_util_1.default.isUnset(request.bucketNameList)) {
|
|
83969
84113
|
query["BucketNameList"] = request.bucketNameList;
|
|
83970
84114
|
}
|
|
@@ -83974,9 +84118,18 @@ class Client extends openapi_client_1.default {
|
|
|
83974
84118
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
83975
84119
|
query["EndTime"] = request.endTime;
|
|
83976
84120
|
}
|
|
84121
|
+
if (!tea_util_1.default.isUnset(request.id)) {
|
|
84122
|
+
query["Id"] = request.id;
|
|
84123
|
+
}
|
|
84124
|
+
if (!tea_util_1.default.isUnset(request.keyPrefixList)) {
|
|
84125
|
+
query["KeyPrefixList"] = request.keyPrefixList;
|
|
84126
|
+
}
|
|
83977
84127
|
if (!tea_util_1.default.isUnset(request.keySuffixList)) {
|
|
83978
84128
|
query["KeySuffixList"] = request.keySuffixList;
|
|
83979
84129
|
}
|
|
84130
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
84131
|
+
query["Name"] = request.name;
|
|
84132
|
+
}
|
|
83980
84133
|
if (!tea_util_1.default.isUnset(request.scanDayList)) {
|
|
83981
84134
|
query["ScanDayList"] = request.scanDayList;
|
|
83982
84135
|
}
|