@alicloud/sas20181203 9.0.2 → 9.1.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/client.d.ts +118 -0
- package/dist/client.js +392 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeCloudVendorAccountAklistRequest.d.ts +9 -0
- package/dist/models/DescribeCloudVendorAccountAklistRequest.js.map +1 -1
- package/dist/models/DescribeImageBaselineStrategyResponseBody.d.ts +1 -0
- package/dist/models/DescribeImageBaselineStrategyResponseBody.js +2 -0
- package/dist/models/DescribeImageBaselineStrategyResponseBody.js.map +1 -1
- package/dist/models/DescribePropertyScaDetailRequest.d.ts +10 -0
- package/dist/models/DescribePropertyScaDetailRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +8 -0
- package/dist/models/DescribeSnapshotsResponseBody.js +2 -0
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/DescribeSuspEventsRequest.d.ts +7 -0
- package/dist/models/DescribeSuspEventsRequest.js.map +1 -1
- package/dist/models/DescribeSuspEventsResponseBody.d.ts +7 -0
- package/dist/models/DescribeSuspEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeSuspEventsShrinkRequest.d.ts +7 -0
- package/dist/models/DescribeSuspEventsShrinkRequest.js.map +1 -1
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponse.d.ts +19 -0
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponse.js +69 -0
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponse.js.map +1 -0
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponseBody.d.ts +104 -0
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponseBody.js +132 -0
- package/dist/models/DescribeSuspiciousSecurityEventyStatisticsResponseBody.js.map +1 -0
- package/dist/models/ExportVulRequest.d.ts +10 -0
- package/dist/models/ExportVulRequest.js.map +1 -1
- package/dist/models/GetAssetsPropertyDetailResponseBody.d.ts +47 -0
- package/dist/models/GetAssetsPropertyDetailResponseBody.js.map +1 -1
- package/dist/models/GetAttackEventDashboardRequest.d.ts +40 -0
- package/dist/models/GetAttackEventDashboardRequest.js +62 -0
- package/dist/models/GetAttackEventDashboardRequest.js.map +1 -0
- package/dist/models/GetAttackEventDashboardResponse.d.ts +19 -0
- package/dist/models/GetAttackEventDashboardResponse.js +69 -0
- package/dist/models/GetAttackEventDashboardResponse.js.map +1 -0
- package/dist/models/GetAttackEventDashboardResponseBody.d.ts +212 -0
- package/dist/models/GetAttackEventDashboardResponseBody.js +194 -0
- package/dist/models/GetAttackEventDashboardResponseBody.js.map +1 -0
- package/dist/models/GetAttackEventDetailRequest.d.ts +31 -0
- package/dist/models/GetAttackEventDetailRequest.js +60 -0
- package/dist/models/GetAttackEventDetailRequest.js.map +1 -0
- package/dist/models/GetAttackEventDetailResponse.d.ts +19 -0
- package/dist/models/GetAttackEventDetailResponse.js +69 -0
- package/dist/models/GetAttackEventDetailResponse.js.map +1 -0
- package/dist/models/GetAttackEventDetailResponseBody.d.ts +113 -0
- package/dist/models/GetAttackEventDetailResponseBody.js +116 -0
- package/dist/models/GetAttackEventDetailResponseBody.js.map +1 -0
- package/dist/models/GetCheckCountStatisticRequest.d.ts +6 -0
- package/dist/models/GetCheckCountStatisticRequest.js.map +1 -1
- package/dist/models/GetCheckCountStatisticResponseBody.d.ts +6 -0
- package/dist/models/GetCheckCountStatisticResponseBody.js.map +1 -1
- package/dist/models/GetClusterCheckSummaryRequest.d.ts +23 -0
- package/dist/models/GetClusterCheckSummaryRequest.js +58 -0
- package/dist/models/GetClusterCheckSummaryRequest.js.map +1 -0
- package/dist/models/GetClusterCheckSummaryResponse.d.ts +19 -0
- package/dist/models/GetClusterCheckSummaryResponse.js +69 -0
- package/dist/models/GetClusterCheckSummaryResponse.js.map +1 -0
- package/dist/models/GetClusterCheckSummaryResponseBody.d.ts +70 -0
- package/dist/models/GetClusterCheckSummaryResponseBody.js +88 -0
- package/dist/models/GetClusterCheckSummaryResponseBody.js.map +1 -0
- package/dist/models/GetSupportedModulesResponseBody.d.ts +9 -0
- package/dist/models/GetSupportedModulesResponseBody.js.map +1 -1
- package/dist/models/GetValidDeductInstancesRequest.d.ts +41 -0
- package/dist/models/GetValidDeductInstancesRequest.js +62 -0
- package/dist/models/GetValidDeductInstancesRequest.js.map +1 -0
- package/dist/models/GetValidDeductInstancesResponse.d.ts +19 -0
- package/dist/models/GetValidDeductInstancesResponse.js +69 -0
- package/dist/models/GetValidDeductInstancesResponse.js.map +1 -0
- package/dist/models/GetValidDeductInstancesResponseBody.d.ts +134 -0
- package/dist/models/GetValidDeductInstancesResponseBody.js +120 -0
- package/dist/models/GetValidDeductInstancesResponseBody.js.map +1 -0
- package/dist/models/ListAttackEventInfoRequest.d.ts +104 -0
- package/dist/models/ListAttackEventInfoRequest.js +74 -0
- package/dist/models/ListAttackEventInfoRequest.js.map +1 -0
- package/dist/models/ListAttackEventInfoResponse.d.ts +19 -0
- package/dist/models/ListAttackEventInfoResponse.js +69 -0
- package/dist/models/ListAttackEventInfoResponse.js.map +1 -0
- package/dist/models/ListAttackEventInfoResponseBody.d.ts +284 -0
- package/dist/models/ListAttackEventInfoResponseBody.js +150 -0
- package/dist/models/ListAttackEventInfoResponseBody.js.map +1 -0
- package/dist/models/ListClusterCheckResultRequest.d.ts +80 -0
- package/dist/models/ListClusterCheckResultRequest.js +78 -0
- package/dist/models/ListClusterCheckResultRequest.js.map +1 -0
- package/dist/models/ListClusterCheckResultResponse.d.ts +19 -0
- package/dist/models/ListClusterCheckResultResponse.js +69 -0
- package/dist/models/ListClusterCheckResultResponse.js.map +1 -0
- package/dist/models/ListClusterCheckResultResponseBody.d.ts +293 -0
- package/dist/models/ListClusterCheckResultResponseBody.js +170 -0
- package/dist/models/ListClusterCheckResultResponseBody.js.map +1 -0
- package/dist/models/ListKspmInstancesRequest.d.ts +144 -0
- package/dist/models/ListKspmInstancesRequest.js +94 -0
- package/dist/models/ListKspmInstancesRequest.js.map +1 -0
- package/dist/models/ListKspmInstancesResponse.d.ts +19 -0
- package/dist/models/ListKspmInstancesResponse.js +69 -0
- package/dist/models/ListKspmInstancesResponse.js.map +1 -0
- package/dist/models/ListKspmInstancesResponseBody.d.ts +210 -0
- package/dist/models/ListKspmInstancesResponseBody.js +143 -0
- package/dist/models/ListKspmInstancesResponseBody.js.map +1 -0
- package/dist/models/ListPrivateRegistryListResponseBody.d.ts +1 -0
- package/dist/models/ListPrivateRegistryListResponseBody.js +2 -0
- package/dist/models/ListPrivateRegistryListResponseBody.js.map +1 -1
- package/dist/models/ModifyImageRegistryRequest.d.ts +3 -0
- package/dist/models/ModifyImageRegistryRequest.js +6 -0
- package/dist/models/ModifyImageRegistryRequest.js.map +1 -1
- package/dist/models/ModifyPostPayModuleSwitchRequest.d.ts +3 -0
- package/dist/models/ModifyPostPayModuleSwitchRequest.js.map +1 -1
- package/dist/models/SaveImageBaselineStrategyRequest.d.ts +1 -0
- package/dist/models/SaveImageBaselineStrategyRequest.js +2 -0
- package/dist/models/SaveImageBaselineStrategyRequest.js.map +1 -1
- package/dist/models/model.d.ts +44 -0
- package/dist/models/model.js +157 -68
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +444 -0
- package/src/models/DescribeCloudVendorAccountAklistRequest.ts +9 -0
- package/src/models/DescribeImageBaselineStrategyResponseBody.ts +3 -0
- package/src/models/DescribePropertyScaDetailRequest.ts +10 -0
- package/src/models/DescribeSnapshotsResponseBody.ts +10 -0
- package/src/models/DescribeSuspEventsRequest.ts +7 -0
- package/src/models/DescribeSuspEventsResponseBody.ts +7 -0
- package/src/models/DescribeSuspEventsShrinkRequest.ts +7 -0
- package/src/models/DescribeSuspiciousSecurityEventyStatisticsResponse.ts +40 -0
- package/src/models/DescribeSuspiciousSecurityEventyStatisticsResponseBody.ts +164 -0
- package/src/models/ExportVulRequest.ts +10 -0
- package/src/models/GetAssetsPropertyDetailResponseBody.ts +47 -0
- package/src/models/GetAttackEventDashboardRequest.ts +57 -0
- package/src/models/GetAttackEventDashboardResponse.ts +40 -0
- package/src/models/GetAttackEventDashboardResponseBody.ts +316 -0
- package/src/models/GetAttackEventDetailRequest.ts +46 -0
- package/src/models/GetAttackEventDetailResponse.ts +40 -0
- package/src/models/GetAttackEventDetailResponseBody.ts +166 -0
- package/src/models/GetCheckCountStatisticRequest.ts +6 -0
- package/src/models/GetCheckCountStatisticResponseBody.ts +6 -0
- package/src/models/GetClusterCheckSummaryRequest.ts +36 -0
- package/src/models/GetClusterCheckSummaryResponse.ts +40 -0
- package/src/models/GetClusterCheckSummaryResponseBody.ts +104 -0
- package/src/models/GetSupportedModulesResponseBody.ts +9 -0
- package/src/models/GetValidDeductInstancesRequest.ts +58 -0
- package/src/models/GetValidDeductInstancesResponse.ts +40 -0
- package/src/models/GetValidDeductInstancesResponseBody.ts +191 -0
- package/src/models/ListAttackEventInfoRequest.ts +133 -0
- package/src/models/ListAttackEventInfoResponse.ts +40 -0
- package/src/models/ListAttackEventInfoResponseBody.ts +371 -0
- package/src/models/ListClusterCheckResultRequest.ts +113 -0
- package/src/models/ListClusterCheckResultResponse.ts +40 -0
- package/src/models/ListClusterCheckResultResponseBody.ts +391 -0
- package/src/models/ListKspmInstancesRequest.ts +184 -0
- package/src/models/ListKspmInstancesResponse.ts +40 -0
- package/src/models/ListKspmInstancesResponseBody.ts +290 -0
- package/src/models/ListPrivateRegistryListResponseBody.ts +3 -0
- package/src/models/ModifyImageRegistryRequest.ts +9 -0
- package/src/models/ModifyPostPayModuleSwitchRequest.ts +3 -0
- package/src/models/SaveImageBaselineStrategyRequest.ts +3 -0
- package/src/models/model.ts +44 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -22514,6 +22514,38 @@ export default class Client extends OpenApi {
|
|
|
22514
22514
|
return await this.describeSuspiciousOverallConfigWithOptions(request, runtime);
|
|
22515
22515
|
}
|
|
22516
22516
|
|
|
22517
|
+
/**
|
|
22518
|
+
* Query Alarm Security Event Statistics
|
|
22519
|
+
*
|
|
22520
|
+
* @param request - DescribeSuspiciousSecurityEventyStatisticsRequest
|
|
22521
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
22522
|
+
* @returns DescribeSuspiciousSecurityEventyStatisticsResponse
|
|
22523
|
+
*/
|
|
22524
|
+
async describeSuspiciousSecurityEventyStatisticsWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSuspiciousSecurityEventyStatisticsResponse> {
|
|
22525
|
+
let req = new $OpenApiUtil.OpenApiRequest({ });
|
|
22526
|
+
let params = new $OpenApiUtil.Params({
|
|
22527
|
+
action: "DescribeSuspiciousSecurityEventyStatistics",
|
|
22528
|
+
version: "2018-12-03",
|
|
22529
|
+
protocol: "HTTPS",
|
|
22530
|
+
pathname: "/",
|
|
22531
|
+
method: "POST",
|
|
22532
|
+
authType: "AK",
|
|
22533
|
+
style: "RPC",
|
|
22534
|
+
reqBodyType: "formData",
|
|
22535
|
+
bodyType: "json",
|
|
22536
|
+
});
|
|
22537
|
+
return $dara.cast<$_model.DescribeSuspiciousSecurityEventyStatisticsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeSuspiciousSecurityEventyStatisticsResponse({}));
|
|
22538
|
+
}
|
|
22539
|
+
|
|
22540
|
+
/**
|
|
22541
|
+
* Query Alarm Security Event Statistics
|
|
22542
|
+
* @returns DescribeSuspiciousSecurityEventyStatisticsResponse
|
|
22543
|
+
*/
|
|
22544
|
+
async describeSuspiciousSecurityEventyStatistics(): Promise<$_model.DescribeSuspiciousSecurityEventyStatisticsResponse> {
|
|
22545
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
22546
|
+
return await this.describeSuspiciousSecurityEventyStatisticsWithOptions(runtime);
|
|
22547
|
+
}
|
|
22548
|
+
|
|
22517
22549
|
/**
|
|
22518
22550
|
* Queries the UUIDs of servers on which proactive defense of a specified type takes effect.
|
|
22519
22551
|
*
|
|
@@ -27391,6 +27423,102 @@ export default class Client extends OpenApi {
|
|
|
27391
27423
|
return await this.getAssetsPropertyItemWithOptions(request, runtime);
|
|
27392
27424
|
}
|
|
27393
27425
|
|
|
27426
|
+
/**
|
|
27427
|
+
* Get Attack Analysis Dashboard Information
|
|
27428
|
+
*
|
|
27429
|
+
* @param request - GetAttackEventDashboardRequest
|
|
27430
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27431
|
+
* @returns GetAttackEventDashboardResponse
|
|
27432
|
+
*/
|
|
27433
|
+
async getAttackEventDashboardWithOptions(request: $_model.GetAttackEventDashboardRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAttackEventDashboardResponse> {
|
|
27434
|
+
request.validate();
|
|
27435
|
+
let query = { };
|
|
27436
|
+
if (!$dara.isNull(request.endTime)) {
|
|
27437
|
+
query["EndTime"] = request.endTime;
|
|
27438
|
+
}
|
|
27439
|
+
|
|
27440
|
+
if (!$dara.isNull(request.lang)) {
|
|
27441
|
+
query["Lang"] = request.lang;
|
|
27442
|
+
}
|
|
27443
|
+
|
|
27444
|
+
if (!$dara.isNull(request.startTime)) {
|
|
27445
|
+
query["StartTime"] = request.startTime;
|
|
27446
|
+
}
|
|
27447
|
+
|
|
27448
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
27449
|
+
query: OpenApiUtil.query(query),
|
|
27450
|
+
});
|
|
27451
|
+
let params = new $OpenApiUtil.Params({
|
|
27452
|
+
action: "GetAttackEventDashboard",
|
|
27453
|
+
version: "2018-12-03",
|
|
27454
|
+
protocol: "HTTPS",
|
|
27455
|
+
pathname: "/",
|
|
27456
|
+
method: "POST",
|
|
27457
|
+
authType: "AK",
|
|
27458
|
+
style: "RPC",
|
|
27459
|
+
reqBodyType: "formData",
|
|
27460
|
+
bodyType: "json",
|
|
27461
|
+
});
|
|
27462
|
+
return $dara.cast<$_model.GetAttackEventDashboardResponse>(await this.callApi(params, req, runtime), new $_model.GetAttackEventDashboardResponse({}));
|
|
27463
|
+
}
|
|
27464
|
+
|
|
27465
|
+
/**
|
|
27466
|
+
* Get Attack Analysis Dashboard Information
|
|
27467
|
+
*
|
|
27468
|
+
* @param request - GetAttackEventDashboardRequest
|
|
27469
|
+
* @returns GetAttackEventDashboardResponse
|
|
27470
|
+
*/
|
|
27471
|
+
async getAttackEventDashboard(request: $_model.GetAttackEventDashboardRequest): Promise<$_model.GetAttackEventDashboardResponse> {
|
|
27472
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
27473
|
+
return await this.getAttackEventDashboardWithOptions(request, runtime);
|
|
27474
|
+
}
|
|
27475
|
+
|
|
27476
|
+
/**
|
|
27477
|
+
* Get Attack Analysis Event Details
|
|
27478
|
+
*
|
|
27479
|
+
* @param request - GetAttackEventDetailRequest
|
|
27480
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27481
|
+
* @returns GetAttackEventDetailResponse
|
|
27482
|
+
*/
|
|
27483
|
+
async getAttackEventDetailWithOptions(request: $_model.GetAttackEventDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAttackEventDetailResponse> {
|
|
27484
|
+
request.validate();
|
|
27485
|
+
let query = { };
|
|
27486
|
+
if (!$dara.isNull(request.id)) {
|
|
27487
|
+
query["Id"] = request.id;
|
|
27488
|
+
}
|
|
27489
|
+
|
|
27490
|
+
if (!$dara.isNull(request.lang)) {
|
|
27491
|
+
query["Lang"] = request.lang;
|
|
27492
|
+
}
|
|
27493
|
+
|
|
27494
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
27495
|
+
query: OpenApiUtil.query(query),
|
|
27496
|
+
});
|
|
27497
|
+
let params = new $OpenApiUtil.Params({
|
|
27498
|
+
action: "GetAttackEventDetail",
|
|
27499
|
+
version: "2018-12-03",
|
|
27500
|
+
protocol: "HTTPS",
|
|
27501
|
+
pathname: "/",
|
|
27502
|
+
method: "POST",
|
|
27503
|
+
authType: "AK",
|
|
27504
|
+
style: "RPC",
|
|
27505
|
+
reqBodyType: "formData",
|
|
27506
|
+
bodyType: "json",
|
|
27507
|
+
});
|
|
27508
|
+
return $dara.cast<$_model.GetAttackEventDetailResponse>(await this.callApi(params, req, runtime), new $_model.GetAttackEventDetailResponse({}));
|
|
27509
|
+
}
|
|
27510
|
+
|
|
27511
|
+
/**
|
|
27512
|
+
* Get Attack Analysis Event Details
|
|
27513
|
+
*
|
|
27514
|
+
* @param request - GetAttackEventDetailRequest
|
|
27515
|
+
* @returns GetAttackEventDetailResponse
|
|
27516
|
+
*/
|
|
27517
|
+
async getAttackEventDetail(request: $_model.GetAttackEventDetailRequest): Promise<$_model.GetAttackEventDetailResponse> {
|
|
27518
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
27519
|
+
return await this.getAttackEventDetailWithOptions(request, runtime);
|
|
27520
|
+
}
|
|
27521
|
+
|
|
27394
27522
|
/**
|
|
27395
27523
|
* Query Attack Path Event Details.
|
|
27396
27524
|
*
|
|
@@ -28543,6 +28671,48 @@ export default class Client extends OpenApi {
|
|
|
28543
28671
|
return await this.getClusterCheckItemWarningStatisticsWithOptions(request, runtime);
|
|
28544
28672
|
}
|
|
28545
28673
|
|
|
28674
|
+
/**
|
|
28675
|
+
* Query the number of cluster inspection item risks
|
|
28676
|
+
*
|
|
28677
|
+
* @param request - GetClusterCheckSummaryRequest
|
|
28678
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
28679
|
+
* @returns GetClusterCheckSummaryResponse
|
|
28680
|
+
*/
|
|
28681
|
+
async getClusterCheckSummaryWithOptions(request: $_model.GetClusterCheckSummaryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetClusterCheckSummaryResponse> {
|
|
28682
|
+
request.validate();
|
|
28683
|
+
let query = { };
|
|
28684
|
+
if (!$dara.isNull(request.clusterId)) {
|
|
28685
|
+
query["ClusterId"] = request.clusterId;
|
|
28686
|
+
}
|
|
28687
|
+
|
|
28688
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
28689
|
+
query: OpenApiUtil.query(query),
|
|
28690
|
+
});
|
|
28691
|
+
let params = new $OpenApiUtil.Params({
|
|
28692
|
+
action: "GetClusterCheckSummary",
|
|
28693
|
+
version: "2018-12-03",
|
|
28694
|
+
protocol: "HTTPS",
|
|
28695
|
+
pathname: "/",
|
|
28696
|
+
method: "POST",
|
|
28697
|
+
authType: "AK",
|
|
28698
|
+
style: "RPC",
|
|
28699
|
+
reqBodyType: "formData",
|
|
28700
|
+
bodyType: "json",
|
|
28701
|
+
});
|
|
28702
|
+
return $dara.cast<$_model.GetClusterCheckSummaryResponse>(await this.callApi(params, req, runtime), new $_model.GetClusterCheckSummaryResponse({}));
|
|
28703
|
+
}
|
|
28704
|
+
|
|
28705
|
+
/**
|
|
28706
|
+
* Query the number of cluster inspection item risks
|
|
28707
|
+
*
|
|
28708
|
+
* @param request - GetClusterCheckSummaryRequest
|
|
28709
|
+
* @returns GetClusterCheckSummaryResponse
|
|
28710
|
+
*/
|
|
28711
|
+
async getClusterCheckSummary(request: $_model.GetClusterCheckSummaryRequest): Promise<$_model.GetClusterCheckSummaryResponse> {
|
|
28712
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
28713
|
+
return await this.getClusterCheckSummaryWithOptions(request, runtime);
|
|
28714
|
+
}
|
|
28715
|
+
|
|
28546
28716
|
/**
|
|
28547
28717
|
* Queries the overall information about cluster defense rules that are configured for the container firewall feature.
|
|
28548
28718
|
*
|
|
@@ -31779,6 +31949,56 @@ export default class Client extends OpenApi {
|
|
|
31779
31949
|
return await this.getUserLangWithOptions(runtime);
|
|
31780
31950
|
}
|
|
31781
31951
|
|
|
31952
|
+
/**
|
|
31953
|
+
* Get Valid Resource Package Instances
|
|
31954
|
+
*
|
|
31955
|
+
* @param request - GetValidDeductInstancesRequest
|
|
31956
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
31957
|
+
* @returns GetValidDeductInstancesResponse
|
|
31958
|
+
*/
|
|
31959
|
+
async getValidDeductInstancesWithOptions(request: $_model.GetValidDeductInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetValidDeductInstancesResponse> {
|
|
31960
|
+
request.validate();
|
|
31961
|
+
let query = { };
|
|
31962
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
31963
|
+
query["InstanceId"] = request.instanceId;
|
|
31964
|
+
}
|
|
31965
|
+
|
|
31966
|
+
if (!$dara.isNull(request.modules)) {
|
|
31967
|
+
query["Modules"] = request.modules;
|
|
31968
|
+
}
|
|
31969
|
+
|
|
31970
|
+
if (!$dara.isNull(request.status)) {
|
|
31971
|
+
query["Status"] = request.status;
|
|
31972
|
+
}
|
|
31973
|
+
|
|
31974
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
31975
|
+
query: OpenApiUtil.query(query),
|
|
31976
|
+
});
|
|
31977
|
+
let params = new $OpenApiUtil.Params({
|
|
31978
|
+
action: "GetValidDeductInstances",
|
|
31979
|
+
version: "2018-12-03",
|
|
31980
|
+
protocol: "HTTPS",
|
|
31981
|
+
pathname: "/",
|
|
31982
|
+
method: "POST",
|
|
31983
|
+
authType: "AK",
|
|
31984
|
+
style: "RPC",
|
|
31985
|
+
reqBodyType: "formData",
|
|
31986
|
+
bodyType: "json",
|
|
31987
|
+
});
|
|
31988
|
+
return $dara.cast<$_model.GetValidDeductInstancesResponse>(await this.callApi(params, req, runtime), new $_model.GetValidDeductInstancesResponse({}));
|
|
31989
|
+
}
|
|
31990
|
+
|
|
31991
|
+
/**
|
|
31992
|
+
* Get Valid Resource Package Instances
|
|
31993
|
+
*
|
|
31994
|
+
* @param request - GetValidDeductInstancesRequest
|
|
31995
|
+
* @returns GetValidDeductInstancesResponse
|
|
31996
|
+
*/
|
|
31997
|
+
async getValidDeductInstances(request: $_model.GetValidDeductInstancesRequest): Promise<$_model.GetValidDeductInstancesResponse> {
|
|
31998
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
31999
|
+
return await this.getValidDeductInstancesWithOptions(request, runtime);
|
|
32000
|
+
}
|
|
32001
|
+
|
|
31782
32002
|
/**
|
|
31783
32003
|
* Queries the configurations of a periodic virus scan task.
|
|
31784
32004
|
*
|
|
@@ -33584,6 +33804,80 @@ export default class Client extends OpenApi {
|
|
|
33584
33804
|
return await this.listAssetSelectionTargetWithOptions(request, runtime);
|
|
33585
33805
|
}
|
|
33586
33806
|
|
|
33807
|
+
/**
|
|
33808
|
+
* Get Attack Analysis Event List
|
|
33809
|
+
*
|
|
33810
|
+
* @param request - ListAttackEventInfoRequest
|
|
33811
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
33812
|
+
* @returns ListAttackEventInfoResponse
|
|
33813
|
+
*/
|
|
33814
|
+
async listAttackEventInfoWithOptions(request: $_model.ListAttackEventInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAttackEventInfoResponse> {
|
|
33815
|
+
request.validate();
|
|
33816
|
+
let query = { };
|
|
33817
|
+
if (!$dara.isNull(request.attackInstance)) {
|
|
33818
|
+
query["AttackInstance"] = request.attackInstance;
|
|
33819
|
+
}
|
|
33820
|
+
|
|
33821
|
+
if (!$dara.isNull(request.attackType)) {
|
|
33822
|
+
query["AttackType"] = request.attackType;
|
|
33823
|
+
}
|
|
33824
|
+
|
|
33825
|
+
if (!$dara.isNull(request.currentPage)) {
|
|
33826
|
+
query["CurrentPage"] = request.currentPage;
|
|
33827
|
+
}
|
|
33828
|
+
|
|
33829
|
+
if (!$dara.isNull(request.dstPort)) {
|
|
33830
|
+
query["DstPort"] = request.dstPort;
|
|
33831
|
+
}
|
|
33832
|
+
|
|
33833
|
+
if (!$dara.isNull(request.endTime)) {
|
|
33834
|
+
query["EndTime"] = request.endTime;
|
|
33835
|
+
}
|
|
33836
|
+
|
|
33837
|
+
if (!$dara.isNull(request.lang)) {
|
|
33838
|
+
query["Lang"] = request.lang;
|
|
33839
|
+
}
|
|
33840
|
+
|
|
33841
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
33842
|
+
query["PageSize"] = request.pageSize;
|
|
33843
|
+
}
|
|
33844
|
+
|
|
33845
|
+
if (!$dara.isNull(request.srcIp)) {
|
|
33846
|
+
query["SrcIp"] = request.srcIp;
|
|
33847
|
+
}
|
|
33848
|
+
|
|
33849
|
+
if (!$dara.isNull(request.startTime)) {
|
|
33850
|
+
query["StartTime"] = request.startTime;
|
|
33851
|
+
}
|
|
33852
|
+
|
|
33853
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
33854
|
+
query: OpenApiUtil.query(query),
|
|
33855
|
+
});
|
|
33856
|
+
let params = new $OpenApiUtil.Params({
|
|
33857
|
+
action: "ListAttackEventInfo",
|
|
33858
|
+
version: "2018-12-03",
|
|
33859
|
+
protocol: "HTTPS",
|
|
33860
|
+
pathname: "/",
|
|
33861
|
+
method: "POST",
|
|
33862
|
+
authType: "AK",
|
|
33863
|
+
style: "RPC",
|
|
33864
|
+
reqBodyType: "formData",
|
|
33865
|
+
bodyType: "json",
|
|
33866
|
+
});
|
|
33867
|
+
return $dara.cast<$_model.ListAttackEventInfoResponse>(await this.callApi(params, req, runtime), new $_model.ListAttackEventInfoResponse({}));
|
|
33868
|
+
}
|
|
33869
|
+
|
|
33870
|
+
/**
|
|
33871
|
+
* Get Attack Analysis Event List
|
|
33872
|
+
*
|
|
33873
|
+
* @param request - ListAttackEventInfoRequest
|
|
33874
|
+
* @returns ListAttackEventInfoResponse
|
|
33875
|
+
*/
|
|
33876
|
+
async listAttackEventInfo(request: $_model.ListAttackEventInfoRequest): Promise<$_model.ListAttackEventInfoResponse> {
|
|
33877
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
33878
|
+
return await this.listAttackEventInfoWithOptions(request, runtime);
|
|
33879
|
+
}
|
|
33880
|
+
|
|
33587
33881
|
/**
|
|
33588
33882
|
* Query Attack Path Events.
|
|
33589
33883
|
*
|
|
@@ -35060,6 +35354,76 @@ export default class Client extends OpenApi {
|
|
|
35060
35354
|
return await this.listCloudVendorRegionsWithOptions(request, runtime);
|
|
35061
35355
|
}
|
|
35062
35356
|
|
|
35357
|
+
/**
|
|
35358
|
+
* Query Cluster Check Item Scan Results
|
|
35359
|
+
*
|
|
35360
|
+
* @param request - ListClusterCheckResultRequest
|
|
35361
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
35362
|
+
* @returns ListClusterCheckResultResponse
|
|
35363
|
+
*/
|
|
35364
|
+
async listClusterCheckResultWithOptions(request: $_model.ListClusterCheckResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterCheckResultResponse> {
|
|
35365
|
+
request.validate();
|
|
35366
|
+
let query = { };
|
|
35367
|
+
if (!$dara.isNull(request.checkKey)) {
|
|
35368
|
+
query["CheckKey"] = request.checkKey;
|
|
35369
|
+
}
|
|
35370
|
+
|
|
35371
|
+
if (!$dara.isNull(request.clusterId)) {
|
|
35372
|
+
query["ClusterId"] = request.clusterId;
|
|
35373
|
+
}
|
|
35374
|
+
|
|
35375
|
+
if (!$dara.isNull(request.currentPage)) {
|
|
35376
|
+
query["CurrentPage"] = request.currentPage;
|
|
35377
|
+
}
|
|
35378
|
+
|
|
35379
|
+
if (!$dara.isNull(request.lang)) {
|
|
35380
|
+
query["Lang"] = request.lang;
|
|
35381
|
+
}
|
|
35382
|
+
|
|
35383
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
35384
|
+
query["PageSize"] = request.pageSize;
|
|
35385
|
+
}
|
|
35386
|
+
|
|
35387
|
+
if (!$dara.isNull(request.riskLevels)) {
|
|
35388
|
+
query["RiskLevels"] = request.riskLevels;
|
|
35389
|
+
}
|
|
35390
|
+
|
|
35391
|
+
if (!$dara.isNull(request.sortType)) {
|
|
35392
|
+
query["SortType"] = request.sortType;
|
|
35393
|
+
}
|
|
35394
|
+
|
|
35395
|
+
if (!$dara.isNull(request.statuses)) {
|
|
35396
|
+
query["Statuses"] = request.statuses;
|
|
35397
|
+
}
|
|
35398
|
+
|
|
35399
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
35400
|
+
query: OpenApiUtil.query(query),
|
|
35401
|
+
});
|
|
35402
|
+
let params = new $OpenApiUtil.Params({
|
|
35403
|
+
action: "ListClusterCheckResult",
|
|
35404
|
+
version: "2018-12-03",
|
|
35405
|
+
protocol: "HTTPS",
|
|
35406
|
+
pathname: "/",
|
|
35407
|
+
method: "POST",
|
|
35408
|
+
authType: "AK",
|
|
35409
|
+
style: "RPC",
|
|
35410
|
+
reqBodyType: "formData",
|
|
35411
|
+
bodyType: "json",
|
|
35412
|
+
});
|
|
35413
|
+
return $dara.cast<$_model.ListClusterCheckResultResponse>(await this.callApi(params, req, runtime), new $_model.ListClusterCheckResultResponse({}));
|
|
35414
|
+
}
|
|
35415
|
+
|
|
35416
|
+
/**
|
|
35417
|
+
* Query Cluster Check Item Scan Results
|
|
35418
|
+
*
|
|
35419
|
+
* @param request - ListClusterCheckResultRequest
|
|
35420
|
+
* @returns ListClusterCheckResultResponse
|
|
35421
|
+
*/
|
|
35422
|
+
async listClusterCheckResult(request: $_model.ListClusterCheckResultRequest): Promise<$_model.ListClusterCheckResultResponse> {
|
|
35423
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
35424
|
+
return await this.listClusterCheckResultWithOptions(request, runtime);
|
|
35425
|
+
}
|
|
35426
|
+
|
|
35063
35427
|
/**
|
|
35064
35428
|
* Queries the protection status of the container firewall.
|
|
35065
35429
|
*
|
|
@@ -36888,6 +37252,68 @@ export default class Client extends OpenApi {
|
|
|
36888
37252
|
return await this.listK8sAccessInfoWithOptions(request, runtime);
|
|
36889
37253
|
}
|
|
36890
37254
|
|
|
37255
|
+
/**
|
|
37256
|
+
* Get KSPM Asset List
|
|
37257
|
+
*
|
|
37258
|
+
* @param request - ListKspmInstancesRequest
|
|
37259
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
37260
|
+
* @returns ListKspmInstancesResponse
|
|
37261
|
+
*/
|
|
37262
|
+
async listKspmInstancesWithOptions(request: $_model.ListKspmInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListKspmInstancesResponse> {
|
|
37263
|
+
request.validate();
|
|
37264
|
+
let query = { };
|
|
37265
|
+
if (!$dara.isNull(request.cloudAssetTypes)) {
|
|
37266
|
+
query["CloudAssetTypes"] = request.cloudAssetTypes;
|
|
37267
|
+
}
|
|
37268
|
+
|
|
37269
|
+
if (!$dara.isNull(request.criteria)) {
|
|
37270
|
+
query["Criteria"] = request.criteria;
|
|
37271
|
+
}
|
|
37272
|
+
|
|
37273
|
+
if (!$dara.isNull(request.currentPage)) {
|
|
37274
|
+
query["CurrentPage"] = request.currentPage;
|
|
37275
|
+
}
|
|
37276
|
+
|
|
37277
|
+
if (!$dara.isNull(request.logicalExp)) {
|
|
37278
|
+
query["LogicalExp"] = request.logicalExp;
|
|
37279
|
+
}
|
|
37280
|
+
|
|
37281
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
37282
|
+
query["PageSize"] = request.pageSize;
|
|
37283
|
+
}
|
|
37284
|
+
|
|
37285
|
+
if (!$dara.isNull(request.regionId)) {
|
|
37286
|
+
query["RegionId"] = request.regionId;
|
|
37287
|
+
}
|
|
37288
|
+
|
|
37289
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
37290
|
+
query: OpenApiUtil.query(query),
|
|
37291
|
+
});
|
|
37292
|
+
let params = new $OpenApiUtil.Params({
|
|
37293
|
+
action: "ListKspmInstances",
|
|
37294
|
+
version: "2018-12-03",
|
|
37295
|
+
protocol: "HTTPS",
|
|
37296
|
+
pathname: "/",
|
|
37297
|
+
method: "POST",
|
|
37298
|
+
authType: "AK",
|
|
37299
|
+
style: "RPC",
|
|
37300
|
+
reqBodyType: "formData",
|
|
37301
|
+
bodyType: "json",
|
|
37302
|
+
});
|
|
37303
|
+
return $dara.cast<$_model.ListKspmInstancesResponse>(await this.callApi(params, req, runtime), new $_model.ListKspmInstancesResponse({}));
|
|
37304
|
+
}
|
|
37305
|
+
|
|
37306
|
+
/**
|
|
37307
|
+
* Get KSPM Asset List
|
|
37308
|
+
*
|
|
37309
|
+
* @param request - ListKspmInstancesRequest
|
|
37310
|
+
* @returns ListKspmInstancesResponse
|
|
37311
|
+
*/
|
|
37312
|
+
async listKspmInstances(request: $_model.ListKspmInstancesRequest): Promise<$_model.ListKspmInstancesResponse> {
|
|
37313
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
37314
|
+
return await this.listKspmInstancesWithOptions(request, runtime);
|
|
37315
|
+
}
|
|
37316
|
+
|
|
36891
37317
|
/**
|
|
36892
37318
|
* Queries the regions supported by the log delivery feature that uses the pay-as-you-go billing method.
|
|
36893
37319
|
*
|
|
@@ -41049,6 +41475,19 @@ export default class Client extends OpenApi {
|
|
|
41049
41475
|
*/
|
|
41050
41476
|
async modifyImageRegistryWithOptions(request: $_model.ModifyImageRegistryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyImageRegistryResponse> {
|
|
41051
41477
|
request.validate();
|
|
41478
|
+
let query = { };
|
|
41479
|
+
if (!$dara.isNull(request.domainName)) {
|
|
41480
|
+
query["DomainName"] = request.domainName;
|
|
41481
|
+
}
|
|
41482
|
+
|
|
41483
|
+
if (!$dara.isNull(request.port)) {
|
|
41484
|
+
query["Port"] = request.port;
|
|
41485
|
+
}
|
|
41486
|
+
|
|
41487
|
+
if (!$dara.isNull(request.registryHostIp)) {
|
|
41488
|
+
query["RegistryHostIp"] = request.registryHostIp;
|
|
41489
|
+
}
|
|
41490
|
+
|
|
41052
41491
|
let body : {[key: string ]: any} = { };
|
|
41053
41492
|
if (!$dara.isNull(request.id)) {
|
|
41054
41493
|
body["Id"] = request.id;
|
|
@@ -41067,6 +41506,7 @@ export default class Client extends OpenApi {
|
|
|
41067
41506
|
}
|
|
41068
41507
|
|
|
41069
41508
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
41509
|
+
query: OpenApiUtil.query(query),
|
|
41070
41510
|
body: OpenApiUtil.parseToMap(body),
|
|
41071
41511
|
});
|
|
41072
41512
|
let params = new $OpenApiUtil.Params({
|
|
@@ -45958,6 +46398,10 @@ export default class Client extends OpenApi {
|
|
|
45958
46398
|
query["BaselineItemList"] = request.baselineItemList;
|
|
45959
46399
|
}
|
|
45960
46400
|
|
|
46401
|
+
if (!$dara.isNull(request.imageVulClean)) {
|
|
46402
|
+
query["ImageVulClean"] = request.imageVulClean;
|
|
46403
|
+
}
|
|
46404
|
+
|
|
45961
46405
|
if (!$dara.isNull(request.lang)) {
|
|
45962
46406
|
query["Lang"] = request.lang;
|
|
45963
46407
|
}
|
|
@@ -57,6 +57,15 @@ export class DescribeCloudVendorAccountAKListRequest extends $dara.Model {
|
|
|
57
57
|
* AlibabaCloud_***
|
|
58
58
|
*/
|
|
59
59
|
subAccountName?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* Cloud asset vendor. Values:
|
|
63
|
+
* - **Tencent**: Tencent Cloud
|
|
64
|
+
* - **AWS**: Amazon Web Services
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* VOLCENGINE
|
|
68
|
+
*/
|
|
60
69
|
vendor?: string;
|
|
61
70
|
/**
|
|
62
71
|
* @remarks
|
|
@@ -66,6 +66,7 @@ export class DescribeImageBaselineStrategyResponseBodyStrategy extends $dara.Mod
|
|
|
66
66
|
* An array that contains the baselines.
|
|
67
67
|
*/
|
|
68
68
|
baselineItemList?: DescribeImageBaselineStrategyResponseBodyStrategyBaselineItemList[];
|
|
69
|
+
imageVulClean?: number;
|
|
69
70
|
/**
|
|
70
71
|
* @remarks
|
|
71
72
|
* The number of selected baseline check items.
|
|
@@ -114,6 +115,7 @@ export class DescribeImageBaselineStrategyResponseBodyStrategy extends $dara.Mod
|
|
|
114
115
|
return {
|
|
115
116
|
baselineItem: 'BaselineItem',
|
|
116
117
|
baselineItemList: 'BaselineItemList',
|
|
118
|
+
imageVulClean: 'ImageVulClean',
|
|
117
119
|
selectedItemCount: 'SelectedItemCount',
|
|
118
120
|
strategyId: 'StrategyId',
|
|
119
121
|
strategyName: 'StrategyName',
|
|
@@ -126,6 +128,7 @@ export class DescribeImageBaselineStrategyResponseBodyStrategy extends $dara.Mod
|
|
|
126
128
|
return {
|
|
127
129
|
baselineItem: 'string',
|
|
128
130
|
baselineItemList: { 'type': 'array', 'itemType': DescribeImageBaselineStrategyResponseBodyStrategyBaselineItemList },
|
|
131
|
+
imageVulClean: 'number',
|
|
129
132
|
selectedItemCount: 'number',
|
|
130
133
|
strategyId: 'number',
|
|
131
134
|
strategyName: 'string',
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribePropertyScaDetailRequestSearchCriteriaList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 搜索条件名称
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* Name
|
|
9
12
|
*/
|
|
10
13
|
name?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* 搜索条件过滤值
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* test
|
|
14
20
|
*/
|
|
@@ -180,6 +186,10 @@ export class DescribePropertyScaDetailRequest extends $dara.Model {
|
|
|
180
186
|
* 1.0.2k
|
|
181
187
|
*/
|
|
182
188
|
scaVersion?: string;
|
|
189
|
+
/**
|
|
190
|
+
* @remarks
|
|
191
|
+
* 搜索条件列表
|
|
192
|
+
*/
|
|
183
193
|
searchCriteriaList?: DescribePropertyScaDetailRequestSearchCriteriaList[];
|
|
184
194
|
/**
|
|
185
195
|
* @remarks
|
|
@@ -139,6 +139,14 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
|
|
|
139
139
|
* s-0008ndhgrflh55i5****.csv
|
|
140
140
|
*/
|
|
141
141
|
errorFile?: string;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* Snapshot expiration timestamp. Unit: milliseconds.
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* 1799132915000
|
|
148
|
+
*/
|
|
149
|
+
expireTime?: number;
|
|
142
150
|
/**
|
|
143
151
|
* @remarks
|
|
144
152
|
* The ID of the ECS instance.
|
|
@@ -287,6 +295,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
|
|
|
287
295
|
clientVersion: 'ClientVersion',
|
|
288
296
|
createdTime: 'CreatedTime',
|
|
289
297
|
errorFile: 'ErrorFile',
|
|
298
|
+
expireTime: 'ExpireTime',
|
|
290
299
|
instanceId: 'InstanceId',
|
|
291
300
|
itemsDone: 'ItemsDone',
|
|
292
301
|
itemsTotal: 'ItemsTotal',
|
|
@@ -316,6 +325,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
|
|
|
316
325
|
clientVersion: 'string',
|
|
317
326
|
createdTime: 'number',
|
|
318
327
|
errorFile: 'string',
|
|
328
|
+
expireTime: 'number',
|
|
319
329
|
instanceId: 'string',
|
|
320
330
|
itemsDone: 'number',
|
|
321
331
|
itemsTotal: 'number',
|
|
@@ -295,6 +295,13 @@ export class DescribeSuspEventsResponseBodySuspEvents extends $dara.Model {
|
|
|
295
295
|
* The details of the alert event.
|
|
296
296
|
*/
|
|
297
297
|
details?: DescribeSuspEventsResponseBodySuspEventsDetails[];
|
|
298
|
+
/**
|
|
299
|
+
* @remarks
|
|
300
|
+
* Source of discovery (invalid field)
|
|
301
|
+
*
|
|
302
|
+
* @example
|
|
303
|
+
* linux
|
|
304
|
+
*/
|
|
298
305
|
detectSource?: string;
|
|
299
306
|
/**
|
|
300
307
|
* @remarks
|