@alicloud/cloudfw20171207 3.1.0 → 3.2.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 +116 -9
- package/dist/client.js +185 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +241 -9
package/dist/client.d.ts
CHANGED
|
@@ -3801,6 +3801,7 @@ export declare class DescribeAssetListRequest extends $tea.Model {
|
|
|
3801
3801
|
* discovered in 1 hour
|
|
3802
3802
|
*/
|
|
3803
3803
|
newResourceTag?: string;
|
|
3804
|
+
outStatistic?: string;
|
|
3804
3805
|
/**
|
|
3805
3806
|
* @remarks
|
|
3806
3807
|
* The number of entries per page. Valid values: 1 to 50.
|
|
@@ -3849,6 +3850,7 @@ export declare class DescribeAssetListRequest extends $tea.Model {
|
|
|
3849
3850
|
* 192.0.XX.XX
|
|
3850
3851
|
*/
|
|
3851
3852
|
searchItem?: string;
|
|
3853
|
+
sensitiveStatus?: string;
|
|
3852
3854
|
/**
|
|
3853
3855
|
* @remarks
|
|
3854
3856
|
* The status of the security group policy. Valid values:
|
|
@@ -4059,6 +4061,56 @@ export declare class DescribeAssetRiskListResponse extends $tea.Model {
|
|
|
4059
4061
|
[key: string]: any;
|
|
4060
4062
|
});
|
|
4061
4063
|
}
|
|
4064
|
+
export declare class DescribeAssetStatisticRequest extends $tea.Model {
|
|
4065
|
+
/**
|
|
4066
|
+
* @example
|
|
4067
|
+
* zh
|
|
4068
|
+
*/
|
|
4069
|
+
lang?: string;
|
|
4070
|
+
sourceIp?: string;
|
|
4071
|
+
static names(): {
|
|
4072
|
+
[key: string]: string;
|
|
4073
|
+
};
|
|
4074
|
+
static types(): {
|
|
4075
|
+
[key: string]: any;
|
|
4076
|
+
};
|
|
4077
|
+
constructor(map?: {
|
|
4078
|
+
[key: string]: any;
|
|
4079
|
+
});
|
|
4080
|
+
}
|
|
4081
|
+
export declare class DescribeAssetStatisticResponseBody extends $tea.Model {
|
|
4082
|
+
/**
|
|
4083
|
+
* @example
|
|
4084
|
+
* 850A84******25g4d2
|
|
4085
|
+
*/
|
|
4086
|
+
requestId?: string;
|
|
4087
|
+
resourceSpecStatistic?: DescribeAssetStatisticResponseBodyResourceSpecStatistic;
|
|
4088
|
+
static names(): {
|
|
4089
|
+
[key: string]: string;
|
|
4090
|
+
};
|
|
4091
|
+
static types(): {
|
|
4092
|
+
[key: string]: any;
|
|
4093
|
+
};
|
|
4094
|
+
constructor(map?: {
|
|
4095
|
+
[key: string]: any;
|
|
4096
|
+
});
|
|
4097
|
+
}
|
|
4098
|
+
export declare class DescribeAssetStatisticResponse extends $tea.Model {
|
|
4099
|
+
headers?: {
|
|
4100
|
+
[key: string]: string;
|
|
4101
|
+
};
|
|
4102
|
+
statusCode?: number;
|
|
4103
|
+
body?: DescribeAssetStatisticResponseBody;
|
|
4104
|
+
static names(): {
|
|
4105
|
+
[key: string]: string;
|
|
4106
|
+
};
|
|
4107
|
+
static types(): {
|
|
4108
|
+
[key: string]: any;
|
|
4109
|
+
};
|
|
4110
|
+
constructor(map?: {
|
|
4111
|
+
[key: string]: any;
|
|
4112
|
+
});
|
|
4113
|
+
}
|
|
4062
4114
|
export declare class DescribeCfwRiskLevelSummaryRequest extends $tea.Model {
|
|
4063
4115
|
/**
|
|
4064
4116
|
* @remarks
|
|
@@ -5902,9 +5954,7 @@ export declare class DescribeNatFirewallListRequest extends $tea.Model {
|
|
|
5902
5954
|
* @remarks
|
|
5903
5955
|
* The number of entries per page.
|
|
5904
5956
|
*
|
|
5905
|
-
* Default value: 10
|
|
5906
|
-
*
|
|
5907
|
-
* Maximum value: 50.
|
|
5957
|
+
* Default value: **10**.**** Maximum value: **50**.
|
|
5908
5958
|
*
|
|
5909
5959
|
* @example
|
|
5910
5960
|
* 10
|
|
@@ -7535,6 +7585,9 @@ export declare class DescribeRiskEventPayloadResponseBody extends $tea.Model {
|
|
|
7535
7585
|
* vpc-bp10w5nb30r4jzfyc****
|
|
7536
7586
|
*/
|
|
7537
7587
|
dstVpcId?: string;
|
|
7588
|
+
hitContentType?: number;
|
|
7589
|
+
hitTo?: number;
|
|
7590
|
+
parsedContent?: string;
|
|
7538
7591
|
/**
|
|
7539
7592
|
* @remarks
|
|
7540
7593
|
* The attack payload of the intrusion event.
|
|
@@ -14198,6 +14251,7 @@ export declare class DescribeAssetListResponseBodyAssets extends $tea.Model {
|
|
|
14198
14251
|
* 4
|
|
14199
14252
|
*/
|
|
14200
14253
|
ipVersion?: number;
|
|
14254
|
+
last7DayOutTrafficBytes?: number;
|
|
14201
14255
|
/**
|
|
14202
14256
|
* @remarks
|
|
14203
14257
|
* The UID of the member.
|
|
@@ -14311,6 +14365,7 @@ export declare class DescribeAssetListResponseBodyAssets extends $tea.Model {
|
|
|
14311
14365
|
* low
|
|
14312
14366
|
*/
|
|
14313
14367
|
riskLevel?: string;
|
|
14368
|
+
sensitiveDataStatus?: string;
|
|
14314
14369
|
/**
|
|
14315
14370
|
* @remarks
|
|
14316
14371
|
* The status of the security group policy. Valid values:
|
|
@@ -14412,6 +14467,34 @@ export declare class DescribeAssetRiskListResponseBodyAssetList extends $tea.Mod
|
|
|
14412
14467
|
[key: string]: any;
|
|
14413
14468
|
});
|
|
14414
14469
|
}
|
|
14470
|
+
export declare class DescribeAssetStatisticResponseBodyResourceSpecStatistic extends $tea.Model {
|
|
14471
|
+
/**
|
|
14472
|
+
* @example
|
|
14473
|
+
* 20
|
|
14474
|
+
*/
|
|
14475
|
+
ipNumSpec?: number;
|
|
14476
|
+
/**
|
|
14477
|
+
* @example
|
|
14478
|
+
* 10
|
|
14479
|
+
*/
|
|
14480
|
+
ipNumUsed?: number;
|
|
14481
|
+
isIpNumEnough?: number;
|
|
14482
|
+
isRegionNumEnough?: number;
|
|
14483
|
+
isSuggestUpdate?: number;
|
|
14484
|
+
regionNumSpec?: number;
|
|
14485
|
+
regionNumUsed?: number;
|
|
14486
|
+
sensitiveDataIpNumSpec?: number;
|
|
14487
|
+
sensitiveDataIpNumUsed?: number;
|
|
14488
|
+
static names(): {
|
|
14489
|
+
[key: string]: string;
|
|
14490
|
+
};
|
|
14491
|
+
static types(): {
|
|
14492
|
+
[key: string]: any;
|
|
14493
|
+
};
|
|
14494
|
+
constructor(map?: {
|
|
14495
|
+
[key: string]: any;
|
|
14496
|
+
});
|
|
14497
|
+
}
|
|
14415
14498
|
export declare class DescribeCfwRiskLevelSummaryResponseBodyRiskList extends $tea.Model {
|
|
14416
14499
|
/**
|
|
14417
14500
|
* @remarks
|
|
@@ -16332,6 +16415,7 @@ export declare class DescribeOutgoingDestinationIPResponseBodyDstIPList extends
|
|
|
16332
16415
|
* The application ports.
|
|
16333
16416
|
*/
|
|
16334
16417
|
applicationPortList?: DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList[];
|
|
16418
|
+
assetCount?: number;
|
|
16335
16419
|
/**
|
|
16336
16420
|
* @remarks
|
|
16337
16421
|
* The type of the tag. Valid values:
|
|
@@ -16423,6 +16507,7 @@ export declare class DescribeOutgoingDestinationIPResponseBodyDstIPList extends
|
|
|
16423
16507
|
* true
|
|
16424
16508
|
*/
|
|
16425
16509
|
isMarkNormal?: boolean;
|
|
16510
|
+
locationName?: string;
|
|
16426
16511
|
/**
|
|
16427
16512
|
* @remarks
|
|
16428
16513
|
* The outbound traffic. Unit: bytes.
|
|
@@ -16431,6 +16516,7 @@ export declare class DescribeOutgoingDestinationIPResponseBodyDstIPList extends
|
|
|
16431
16516
|
* 965
|
|
16432
16517
|
*/
|
|
16433
16518
|
outBytes?: number;
|
|
16519
|
+
privateAssetCount?: number;
|
|
16434
16520
|
/**
|
|
16435
16521
|
* @remarks
|
|
16436
16522
|
* The UUID of the access control policy.
|
|
@@ -16604,6 +16690,8 @@ export declare class DescribeOutgoingDomainResponseBodyDomainList extends $tea.M
|
|
|
16604
16690
|
* fdad-fdafa-dafa-dfa****
|
|
16605
16691
|
*/
|
|
16606
16692
|
addressGroupUUID?: string;
|
|
16693
|
+
applicationNameList?: string[];
|
|
16694
|
+
assetCount?: number;
|
|
16607
16695
|
/**
|
|
16608
16696
|
* @remarks
|
|
16609
16697
|
* The website service.
|
|
@@ -16719,6 +16807,7 @@ export declare class DescribeOutgoingDomainResponseBodyDomainList extends $tea.M
|
|
|
16719
16807
|
* 4582
|
|
16720
16808
|
*/
|
|
16721
16809
|
outBytes?: number;
|
|
16810
|
+
privateAssetCount?: number;
|
|
16722
16811
|
/**
|
|
16723
16812
|
* @remarks
|
|
16724
16813
|
* The ID of the access control policy.
|
|
@@ -17656,6 +17745,7 @@ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtecte
|
|
|
17656
17745
|
* 1
|
|
17657
17746
|
*/
|
|
17658
17747
|
count?: number;
|
|
17748
|
+
ecrList?: string[];
|
|
17659
17749
|
/**
|
|
17660
17750
|
* @remarks
|
|
17661
17751
|
* The protected peer transit routers.
|
|
@@ -17695,6 +17785,7 @@ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotec
|
|
|
17695
17785
|
* 1
|
|
17696
17786
|
*/
|
|
17697
17787
|
count?: number;
|
|
17788
|
+
ecrList?: string[];
|
|
17698
17789
|
/**
|
|
17699
17790
|
* @remarks
|
|
17700
17791
|
* The unprotected peer transit routers.
|
|
@@ -17742,6 +17833,7 @@ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends
|
|
|
17742
17833
|
* cen_swas
|
|
17743
17834
|
*/
|
|
17744
17835
|
cenName?: string;
|
|
17836
|
+
cloudFirewallVpcOrderType?: string;
|
|
17745
17837
|
/**
|
|
17746
17838
|
* @remarks
|
|
17747
17839
|
* The instance ID of the VPC firewall.
|
|
@@ -20844,6 +20936,21 @@ export default class Client extends OpenApi {
|
|
|
20844
20936
|
* @returns DescribeAssetRiskListResponse
|
|
20845
20937
|
*/
|
|
20846
20938
|
describeAssetRiskList(request: DescribeAssetRiskListRequest): Promise<DescribeAssetRiskListResponse>;
|
|
20939
|
+
/**
|
|
20940
|
+
* 获取资产统计信息
|
|
20941
|
+
*
|
|
20942
|
+
* @param request - DescribeAssetStatisticRequest
|
|
20943
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
20944
|
+
* @returns DescribeAssetStatisticResponse
|
|
20945
|
+
*/
|
|
20946
|
+
describeAssetStatisticWithOptions(request: DescribeAssetStatisticRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetStatisticResponse>;
|
|
20947
|
+
/**
|
|
20948
|
+
* 获取资产统计信息
|
|
20949
|
+
*
|
|
20950
|
+
* @param request - DescribeAssetStatisticRequest
|
|
20951
|
+
* @returns DescribeAssetStatisticResponse
|
|
20952
|
+
*/
|
|
20953
|
+
describeAssetStatistic(request: DescribeAssetStatisticRequest): Promise<DescribeAssetStatisticResponse>;
|
|
20847
20954
|
/**
|
|
20848
20955
|
* Queries the firewall risk level.
|
|
20849
20956
|
*
|
|
@@ -22211,9 +22318,9 @@ export default class Client extends OpenApi {
|
|
|
22211
22318
|
* Enables firewalls for specific assets.
|
|
22212
22319
|
*
|
|
22213
22320
|
* @remarks
|
|
22214
|
-
* You can call
|
|
22215
|
-
* ## Limits
|
|
22216
|
-
* You can call this operation up to
|
|
22321
|
+
* You can call this operation to enable a firewall. After you enable a firewall, traffic passes through Cloud Firewall.
|
|
22322
|
+
* ## [](#qps-)Limits
|
|
22323
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
22217
22324
|
*
|
|
22218
22325
|
* @param request - PutEnableFwSwitchRequest
|
|
22219
22326
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22224,9 +22331,9 @@ export default class Client extends OpenApi {
|
|
|
22224
22331
|
* Enables firewalls for specific assets.
|
|
22225
22332
|
*
|
|
22226
22333
|
* @remarks
|
|
22227
|
-
* You can call
|
|
22228
|
-
* ## Limits
|
|
22229
|
-
* You can call this operation up to
|
|
22334
|
+
* You can call this operation to enable a firewall. After you enable a firewall, traffic passes through Cloud Firewall.
|
|
22335
|
+
* ## [](#qps-)Limits
|
|
22336
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
22230
22337
|
*
|
|
22231
22338
|
* @param request - PutEnableFwSwitchRequest
|
|
22232
22339
|
* @returns PutEnableFwSwitchResponse
|