tencentcloud-sdk-nodejs-cfw 4.1.94 → 4.1.121

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.
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cfw",
3
- "version": "4.1.94",
3
+ "version": "4.1.121",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -12,7 +12,8 @@
12
12
  "build:es": "tsc -p tsconfig.es.json",
13
13
  "build:slim": "node ./scripts/build_slim.js",
14
14
  "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
15
- "clean": "rimraf tencentcloud es"
15
+ "clean": "rimraf tencentcloud es",
16
+ "test:common": "vitest run"
16
17
  },
17
18
  "engines": {
18
19
  "node": ">=10"
@@ -44,9 +45,9 @@
44
45
  "url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
45
46
  },
46
47
  "devDependencies": {
47
- "@types/form-data": "^2.5.0",
48
+ "@types/ini": "^4.1.1",
48
49
  "@types/json-bigint": "^1.0.1",
49
- "@types/node": "^14.0.26",
50
+ "@types/node": "^18.0.0",
50
51
  "@types/node-fetch": "^2.5.7",
51
52
  "@types/uuid": "^9.0.8",
52
53
  "@typescript-eslint/eslint-plugin": "^2.34.0",
@@ -61,6 +62,7 @@
61
62
  "prettier": "^2.3.0",
62
63
  "rimraf": "^5.0.10",
63
64
  "ts-node": "^8.10.2",
64
- "typescript": "^3.9.7"
65
+ "typescript": "^5.9.2",
66
+ "vitest": "2.1.9"
65
67
  }
66
68
  }
@@ -18,11 +18,11 @@ export interface ModifyEWRuleStatusResponse {
18
18
  /**
19
19
  * DescribeNatFwInstance请求参数结构体
20
20
  */
21
- export declare type DescribeNatFwInstanceRequest = null;
21
+ export type DescribeNatFwInstanceRequest = null;
22
22
  /**
23
23
  * DescribeNatFwInstanceWithRegion请求参数结构体
24
24
  */
25
- export declare type DescribeNatFwInstanceWithRegionRequest = null;
25
+ export type DescribeNatFwInstanceWithRegionRequest = null;
26
26
  /**
27
27
  * DescribeLogs请求参数结构体
28
28
  */
@@ -148,7 +148,7 @@ export interface CreateBlockIgnoreRuleNewRequest {
148
148
  */
149
149
  RuleType: number;
150
150
  /**
151
- * 是否覆盖重复数据,1覆盖,非1不覆盖,跳过重复数据
151
+ * 删除白名单冲突地址并继续添加/删除封禁列表冲突地址并继续添加;表示是否覆盖重复数据,1为覆盖,非1不覆盖,跳过重复数据
152
152
  */
153
153
  CoverDuplicate?: number;
154
154
  }
@@ -2382,6 +2382,18 @@ export interface DescribeLogStorageStatisticResponse {
2382
2382
  * 后付费模式存储状态,0正常,1欠费停止写入
2383
2383
  */
2384
2384
  ArrearsStopWriting?: number;
2385
+ /**
2386
+ * NDR流量日志存储量,单位B
2387
+ */
2388
+ NDRNetFlowSize?: number;
2389
+ /**
2390
+ * NDR风险日志存储量,单位B
2391
+ */
2392
+ NDRRiskSize?: number;
2393
+ /**
2394
+ * NDR日志存储天数
2395
+ */
2396
+ NDRStorageDay?: number;
2385
2397
  /**
2386
2398
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2387
2399
  */
@@ -2644,7 +2656,7 @@ export interface SecurityGroupOrderIndexData {
2644
2656
  /**
2645
2657
  * DescribeCfwInsStatus请求参数结构体
2646
2658
  */
2647
- export declare type DescribeCfwInsStatusRequest = null;
2659
+ export type DescribeCfwInsStatusRequest = null;
2648
2660
  /**
2649
2661
  * DescribeSourceAsset返回参数结构体
2650
2662
  */
@@ -2715,7 +2727,7 @@ export interface LogItem {
2715
2727
  /**
2716
2728
  * DescribeEnterpriseSGRuleProgress请求参数结构体
2717
2729
  */
2718
- export declare type DescribeEnterpriseSGRuleProgressRequest = null;
2730
+ export type DescribeEnterpriseSGRuleProgressRequest = null;
2719
2731
  /**
2720
2732
  * vpc的防火墙网段
2721
2733
  */
@@ -3003,7 +3015,7 @@ export interface CommonFilter {
3003
3015
  /**
3004
3016
  * DescribeLogStorageStatistic请求参数结构体
3005
3017
  */
3006
- export declare type DescribeLogStorageStatisticRequest = null;
3018
+ export type DescribeLogStorageStatisticRequest = null;
3007
3019
  /**
3008
3020
  * AddVpcAcRule请求参数结构体
3009
3021
  */
@@ -3235,7 +3247,7 @@ export interface DescribeNatFwInfoCountResponse {
3235
3247
  /**
3236
3248
  * DescribeDefenseSwitch请求参数结构体
3237
3249
  */
3238
- export declare type DescribeDefenseSwitchRequest = null;
3250
+ export type DescribeDefenseSwitchRequest = null;
3239
3251
  /**
3240
3252
  * ModifyVpcFwGroup请求参数结构体
3241
3253
  */
@@ -3527,7 +3539,7 @@ export interface RemoveNatAcRuleRequest {
3527
3539
  /**
3528
3540
  * DescribeAssetSync请求参数结构体
3529
3541
  */
3530
- export declare type DescribeAssetSyncRequest = null;
3542
+ export type DescribeAssetSyncRequest = null;
3531
3543
  /**
3532
3544
  * DeleteVpcFwGroup请求参数结构体
3533
3545
  */
@@ -4188,6 +4200,14 @@ export interface VpcRuleItem {
4188
4200
  * 是否是无效规则,0 表示有效规则,1 表示无效规则,出参场景返回使用
4189
4201
  */
4190
4202
  Invalid?: number;
4203
+ /**
4204
+ * 规则创建时间
4205
+ */
4206
+ CreateTime?: string;
4207
+ /**
4208
+ * 规则最近更新时间
4209
+ */
4210
+ UpdateTime?: string;
4191
4211
  }
4192
4212
  /**
4193
4213
  * ModifyBlockTop请求参数结构体
@@ -4691,6 +4711,14 @@ export interface EnterpriseSecurityGroupRuleRuleInfo {
4691
4711
  * 域名解析的IP统计
4692
4712
  */
4693
4713
  DnsParseCount?: SgDnsParseCount;
4714
+ /**
4715
+ * 规则创建时间
4716
+ */
4717
+ CreateTime?: string;
4718
+ /**
4719
+ * 规则最近更新时间
4720
+ */
4721
+ UpdateTime?: string;
4694
4722
  }
4695
4723
  /**
4696
4724
  * 封禁放通IOC列表
@@ -4990,7 +5018,7 @@ export interface DescribeAcListsRequest {
4990
5018
  /**
4991
5019
  * DescribeGuideScanInfo请求参数结构体
4992
5020
  */
4993
- export declare type DescribeGuideScanInfoRequest = null;
5021
+ export type DescribeGuideScanInfoRequest = null;
4994
5022
  /**
4995
5023
  * 未处置事件详情
4996
5024
  */
@@ -5468,7 +5496,7 @@ export interface MultiTopicSearchInformation {
5468
5496
  /**
5469
5497
  * DescribeNatFwInfoCount请求参数结构体
5470
5498
  */
5471
- export declare type DescribeNatFwInfoCountRequest = null;
5499
+ export type DescribeNatFwInfoCountRequest = null;
5472
5500
  /**
5473
5501
  * 封禁列表和放通列表结构体
5474
5502
  */
@@ -5945,11 +5973,11 @@ export interface ModifySecurityGroupItemRuleStatusRequest {
5945
5973
  /**
5946
5974
  * ModifyStorageSetting请求参数结构体
5947
5975
  */
5948
- export declare type ModifyStorageSettingRequest = null;
5976
+ export type ModifyStorageSettingRequest = null;
5949
5977
  /**
5950
5978
  * ModifyAssetSync请求参数结构体
5951
5979
  */
5952
- export declare type ModifyAssetSyncRequest = null;
5980
+ export type ModifyAssetSyncRequest = null;
5953
5981
  /**
5954
5982
  * DescribeNatFwVpcDnsLst返回参数结构体
5955
5983
  */
@@ -6116,6 +6144,14 @@ export interface DescAcItem {
6116
6144
  * 省份、城市简称
6117
6145
  */
6118
6146
  CityKey?: string;
6147
+ /**
6148
+ * 规则创建时间
6149
+ */
6150
+ CreateTime?: string;
6151
+ /**
6152
+ * 规则最近更新时间
6153
+ */
6154
+ UpdateTime?: string;
6119
6155
  }
6120
6156
  /**
6121
6157
  * CreateChooseVpcs请求参数结构体
@@ -7314,6 +7350,14 @@ export interface StorageHistogram {
7314
7350
  注意:此字段可能返回 null,表示取不到有效值。
7315
7351
  */
7316
7352
  Time?: string;
7353
+ /**
7354
+ * NDR流量日志存储量,单位B
7355
+ */
7356
+ NDRNetflowSize?: number;
7357
+ /**
7358
+ * NDR风险日志存储量,单位B
7359
+ */
7360
+ NDRRiskSize?: number;
7317
7361
  }
7318
7362
  /**
7319
7363
  * vpc 防火墙下单防火墙实例结构体
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cfw = void 0;
3
4
  var cfw_1 = require("./cfw");
4
5
  Object.defineProperty(exports, "cfw", { enumerable: true, get: function () { return cfw_1.cfw; } });