tencentcloud-sdk-nodejs 4.0.552 → 4.0.554
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/CHANGELOG.md +404 -0
- package/SERVICE_CHANGELOG.md +441 -49
- package/package.json +1 -1
- package/products.md +30 -30
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bpaas/v20181217/bpaas_models.ts +6 -0
- package/src/services/ccc/v20200210/ccc_models.ts +10 -5
- package/src/services/clb/v20180317/clb_models.ts +13 -1
- package/src/services/cwp/v20180228/cwp_client.ts +445 -84
- package/src/services/cwp/v20180228/cwp_models.ts +2230 -688
- package/src/services/dlc/v20210125/dlc_client.ts +103 -30
- package/src/services/dlc/v20210125/dlc_models.ts +437 -150
- package/src/services/essbasic/v20210526/essbasic_client.ts +18 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +256 -17
- package/src/services/monitor/v20180724/monitor_models.ts +27 -2
- package/src/services/tcbr/v20220217/tcbr_models.ts +7 -2
- package/src/services/tdmq/v20200217/tdmq_models.ts +24 -16
- package/src/services/tke/v20180525/tke_models.ts +19 -19
- package/src/services/trtc/v20190722/trtc_client.ts +1 -0
- package/src/services/trtc/v20190722/trtc_models.ts +55 -1
- package/src/services/tse/v20201207/tse_client.ts +1 -0
- package/src/services/tse/v20201207/tse_models.ts +28 -0
- package/src/services/wedata/v20210820/wedata_client.ts +1 -0
- package/src/services/wedata/v20210820/wedata_models.ts +111 -22
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +5 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +8 -4
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +11 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +137 -21
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +204 -30
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1860 -544
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +33 -9
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +48 -12
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +368 -128
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +219 -17
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +24 -2
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +6 -2
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +22 -15
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +19 -19
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +46 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +24 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +93 -18
- package/test/cwp.v20180228.test.js +310 -20
- package/test/dlc.v20210125.test.js +68 -8
- package/test/essbasic.v20210526.test.js +10 -0
|
@@ -48,6 +48,16 @@ it("cwp.v20180228.TrustMalwares", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("cwp.v20180228.DeleteBaselineRule", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DeleteBaselineRule({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
51
61
|
it("cwp.v20180228.DescribeAssetPortInfoList", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.DescribeAssetPortInfoList({})
|
|
@@ -128,9 +138,9 @@ it("cwp.v20180228.DescribeAssetPlanTaskList", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("cwp.v20180228.
|
|
141
|
+
it("cwp.v20180228.DeleteBaselineRuleIgnore", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.DeleteBaselineRuleIgnore({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -158,6 +168,16 @@ it("cwp.v20180228.DescribeAssetSystemPackageList", async function () {
|
|
|
158
168
|
}
|
|
159
169
|
})
|
|
160
170
|
|
|
171
|
+
it("cwp.v20180228.DescribeBaselineStrategyDetail", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeBaselineStrategyDetail({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
161
181
|
it("cwp.v20180228.DescribeAssetWebAppPluginList", async function () {
|
|
162
182
|
try {
|
|
163
183
|
const data = await client.DescribeAssetWebAppPluginList({})
|
|
@@ -248,9 +268,9 @@ it("cwp.v20180228.DescribeBashRules", async function () {
|
|
|
248
268
|
}
|
|
249
269
|
})
|
|
250
270
|
|
|
251
|
-
it("cwp.v20180228.
|
|
271
|
+
it("cwp.v20180228.DescribeBaselineRuleList", async function () {
|
|
252
272
|
try {
|
|
253
|
-
const data = await client.
|
|
273
|
+
const data = await client.DescribeBaselineRuleList({})
|
|
254
274
|
expect(data).to.be.ok
|
|
255
275
|
} catch(error) {
|
|
256
276
|
expect(error.requestId).to.be.ok
|
|
@@ -338,9 +358,19 @@ it("cwp.v20180228.DeleteBashEvents", async function () {
|
|
|
338
358
|
}
|
|
339
359
|
})
|
|
340
360
|
|
|
341
|
-
it("cwp.v20180228.
|
|
361
|
+
it("cwp.v20180228.DescribeBaselineDetectList", async function () {
|
|
342
362
|
try {
|
|
343
|
-
const data = await client.
|
|
363
|
+
const data = await client.DescribeBaselineDetectList({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
371
|
+
it("cwp.v20180228.ExportBaselineFixList", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.ExportBaselineFixList({})
|
|
344
374
|
expect(data).to.be.ok
|
|
345
375
|
} catch(error) {
|
|
346
376
|
expect(error.requestId).to.be.ok
|
|
@@ -488,6 +518,16 @@ it("cwp.v20180228.DescribeProtectDirRelatedServer", async function () {
|
|
|
488
518
|
}
|
|
489
519
|
})
|
|
490
520
|
|
|
521
|
+
it("cwp.v20180228.ExportBaselineHostDetectList", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.ExportBaselineHostDetectList({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
491
531
|
it("cwp.v20180228.DeleteProtectDir", async function () {
|
|
492
532
|
try {
|
|
493
533
|
const data = await client.DeleteProtectDir({})
|
|
@@ -548,6 +588,16 @@ it("cwp.v20180228.DescribeAssetAppList", async function () {
|
|
|
548
588
|
}
|
|
549
589
|
})
|
|
550
590
|
|
|
591
|
+
it("cwp.v20180228.ExportAssetWebServiceInfoList", async function () {
|
|
592
|
+
try {
|
|
593
|
+
const data = await client.ExportAssetWebServiceInfoList({})
|
|
594
|
+
expect(data).to.be.ok
|
|
595
|
+
} catch(error) {
|
|
596
|
+
expect(error.requestId).to.be.ok
|
|
597
|
+
expect(error.code).to.be.ok
|
|
598
|
+
}
|
|
599
|
+
})
|
|
600
|
+
|
|
551
601
|
it("cwp.v20180228.DescribeWebPageGeneralize", async function () {
|
|
552
602
|
try {
|
|
553
603
|
const data = await client.DescribeWebPageGeneralize({})
|
|
@@ -558,9 +608,9 @@ it("cwp.v20180228.DescribeWebPageGeneralize", async function () {
|
|
|
558
608
|
}
|
|
559
609
|
})
|
|
560
610
|
|
|
561
|
-
it("cwp.v20180228.
|
|
611
|
+
it("cwp.v20180228.DescribeBanMode", async function () {
|
|
562
612
|
try {
|
|
563
|
-
const data = await client.
|
|
613
|
+
const data = await client.DescribeBanMode({})
|
|
564
614
|
expect(data).to.be.ok
|
|
565
615
|
} catch(error) {
|
|
566
616
|
expect(error.requestId).to.be.ok
|
|
@@ -648,6 +698,16 @@ it("cwp.v20180228.DescribeBaselineScanSchedule", async function () {
|
|
|
648
698
|
}
|
|
649
699
|
})
|
|
650
700
|
|
|
701
|
+
it("cwp.v20180228.DescribeBaselineDownloadList", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.DescribeBaselineDownloadList({})
|
|
704
|
+
expect(data).to.be.ok
|
|
705
|
+
} catch(error) {
|
|
706
|
+
expect(error.requestId).to.be.ok
|
|
707
|
+
expect(error.code).to.be.ok
|
|
708
|
+
}
|
|
709
|
+
})
|
|
710
|
+
|
|
651
711
|
it("cwp.v20180228.ExportIgnoreBaselineRule", async function () {
|
|
652
712
|
try {
|
|
653
713
|
const data = await client.ExportIgnoreBaselineRule({})
|
|
@@ -688,6 +748,26 @@ it("cwp.v20180228.DescribeAssetJarList", async function () {
|
|
|
688
748
|
}
|
|
689
749
|
})
|
|
690
750
|
|
|
751
|
+
it("cwp.v20180228.DeleteBaselineWeakPassword", async function () {
|
|
752
|
+
try {
|
|
753
|
+
const data = await client.DeleteBaselineWeakPassword({})
|
|
754
|
+
expect(data).to.be.ok
|
|
755
|
+
} catch(error) {
|
|
756
|
+
expect(error.requestId).to.be.ok
|
|
757
|
+
expect(error.code).to.be.ok
|
|
758
|
+
}
|
|
759
|
+
})
|
|
760
|
+
|
|
761
|
+
it("cwp.v20180228.ModifyBaselineRuleIgnore", async function () {
|
|
762
|
+
try {
|
|
763
|
+
const data = await client.ModifyBaselineRuleIgnore({})
|
|
764
|
+
expect(data).to.be.ok
|
|
765
|
+
} catch(error) {
|
|
766
|
+
expect(error.requestId).to.be.ok
|
|
767
|
+
expect(error.code).to.be.ok
|
|
768
|
+
}
|
|
769
|
+
})
|
|
770
|
+
|
|
691
771
|
it("cwp.v20180228.DeleteNonlocalLoginPlaces", async function () {
|
|
692
772
|
try {
|
|
693
773
|
const data = await client.DeleteNonlocalLoginPlaces({})
|
|
@@ -748,9 +828,9 @@ it("cwp.v20180228.DescribeTagMachines", async function () {
|
|
|
748
828
|
}
|
|
749
829
|
})
|
|
750
830
|
|
|
751
|
-
it("cwp.v20180228.
|
|
831
|
+
it("cwp.v20180228.FixBaselineDetect", async function () {
|
|
752
832
|
try {
|
|
753
|
-
const data = await client.
|
|
833
|
+
const data = await client.FixBaselineDetect({})
|
|
754
834
|
expect(data).to.be.ok
|
|
755
835
|
} catch(error) {
|
|
756
836
|
expect(error.requestId).to.be.ok
|
|
@@ -758,9 +838,9 @@ it("cwp.v20180228.UpdateMachineTags", async function () {
|
|
|
758
838
|
}
|
|
759
839
|
})
|
|
760
840
|
|
|
761
|
-
it("cwp.v20180228.
|
|
841
|
+
it("cwp.v20180228.DescribeBaselineRuleDetectList", async function () {
|
|
762
842
|
try {
|
|
763
|
-
const data = await client.
|
|
843
|
+
const data = await client.DescribeBaselineRuleDetectList({})
|
|
764
844
|
expect(data).to.be.ok
|
|
765
845
|
} catch(error) {
|
|
766
846
|
expect(error.requestId).to.be.ok
|
|
@@ -798,6 +878,16 @@ it("cwp.v20180228.DescribeOverviewStatistics", async function () {
|
|
|
798
878
|
}
|
|
799
879
|
})
|
|
800
880
|
|
|
881
|
+
it("cwp.v20180228.ExportBaselineItemDetectList", async function () {
|
|
882
|
+
try {
|
|
883
|
+
const data = await client.ExportBaselineItemDetectList({})
|
|
884
|
+
expect(data).to.be.ok
|
|
885
|
+
} catch(error) {
|
|
886
|
+
expect(error.requestId).to.be.ok
|
|
887
|
+
expect(error.code).to.be.ok
|
|
888
|
+
}
|
|
889
|
+
})
|
|
890
|
+
|
|
801
891
|
it("cwp.v20180228.DescribeAvailableExpertServiceDetail", async function () {
|
|
802
892
|
try {
|
|
803
893
|
const data = await client.DescribeAvailableExpertServiceDetail({})
|
|
@@ -838,6 +928,16 @@ it("cwp.v20180228.ScanAsset", async function () {
|
|
|
838
928
|
}
|
|
839
929
|
})
|
|
840
930
|
|
|
931
|
+
it("cwp.v20180228.ScanVul", async function () {
|
|
932
|
+
try {
|
|
933
|
+
const data = await client.ScanVul({})
|
|
934
|
+
expect(data).to.be.ok
|
|
935
|
+
} catch(error) {
|
|
936
|
+
expect(error.requestId).to.be.ok
|
|
937
|
+
expect(error.code).to.be.ok
|
|
938
|
+
}
|
|
939
|
+
})
|
|
940
|
+
|
|
841
941
|
it("cwp.v20180228.DeleteLicenseRecord", async function () {
|
|
842
942
|
try {
|
|
843
943
|
const data = await client.DeleteLicenseRecord({})
|
|
@@ -988,6 +1088,16 @@ it("cwp.v20180228.DeleteLoginWhiteList", async function () {
|
|
|
988
1088
|
}
|
|
989
1089
|
})
|
|
990
1090
|
|
|
1091
|
+
it("cwp.v20180228.DescribeTags", async function () {
|
|
1092
|
+
try {
|
|
1093
|
+
const data = await client.DescribeTags({})
|
|
1094
|
+
expect(data).to.be.ok
|
|
1095
|
+
} catch(error) {
|
|
1096
|
+
expect(error.requestId).to.be.ok
|
|
1097
|
+
expect(error.code).to.be.ok
|
|
1098
|
+
}
|
|
1099
|
+
})
|
|
1100
|
+
|
|
991
1101
|
it("cwp.v20180228.DescribeWarningList", async function () {
|
|
992
1102
|
try {
|
|
993
1103
|
const data = await client.DescribeWarningList({})
|
|
@@ -1008,6 +1118,16 @@ it("cwp.v20180228.UpdateBaselineStrategy", async function () {
|
|
|
1008
1118
|
}
|
|
1009
1119
|
})
|
|
1010
1120
|
|
|
1121
|
+
it("cwp.v20180228.DescribeBaselineRuleIgnoreList", async function () {
|
|
1122
|
+
try {
|
|
1123
|
+
const data = await client.DescribeBaselineRuleIgnoreList({})
|
|
1124
|
+
expect(data).to.be.ok
|
|
1125
|
+
} catch(error) {
|
|
1126
|
+
expect(error.requestId).to.be.ok
|
|
1127
|
+
expect(error.code).to.be.ok
|
|
1128
|
+
}
|
|
1129
|
+
})
|
|
1130
|
+
|
|
1011
1131
|
it("cwp.v20180228.ModifyMachineRemark", async function () {
|
|
1012
1132
|
try {
|
|
1013
1133
|
const data = await client.ModifyMachineRemark({})
|
|
@@ -1098,6 +1218,16 @@ it("cwp.v20180228.DescribeSaveOrUpdateWarnings", async function () {
|
|
|
1098
1218
|
}
|
|
1099
1219
|
})
|
|
1100
1220
|
|
|
1221
|
+
it("cwp.v20180228.ExportBaselineRuleDetectList", async function () {
|
|
1222
|
+
try {
|
|
1223
|
+
const data = await client.ExportBaselineRuleDetectList({})
|
|
1224
|
+
expect(data).to.be.ok
|
|
1225
|
+
} catch(error) {
|
|
1226
|
+
expect(error.requestId).to.be.ok
|
|
1227
|
+
expect(error.code).to.be.ok
|
|
1228
|
+
}
|
|
1229
|
+
})
|
|
1230
|
+
|
|
1101
1231
|
it("cwp.v20180228.ExportBruteAttacks", async function () {
|
|
1102
1232
|
try {
|
|
1103
1233
|
const data = await client.ExportBruteAttacks({})
|
|
@@ -1118,6 +1248,16 @@ it("cwp.v20180228.ModifyBanMode", async function () {
|
|
|
1118
1248
|
}
|
|
1119
1249
|
})
|
|
1120
1250
|
|
|
1251
|
+
it("cwp.v20180228.UpdateMachineTags", async function () {
|
|
1252
|
+
try {
|
|
1253
|
+
const data = await client.UpdateMachineTags({})
|
|
1254
|
+
expect(data).to.be.ok
|
|
1255
|
+
} catch(error) {
|
|
1256
|
+
expect(error.requestId).to.be.ok
|
|
1257
|
+
expect(error.code).to.be.ok
|
|
1258
|
+
}
|
|
1259
|
+
})
|
|
1260
|
+
|
|
1121
1261
|
it("cwp.v20180228.ModifyWebPageProtectDir", async function () {
|
|
1122
1262
|
try {
|
|
1123
1263
|
const data = await client.ModifyWebPageProtectDir({})
|
|
@@ -1158,9 +1298,9 @@ it("cwp.v20180228.DescribeAssetUserList", async function () {
|
|
|
1158
1298
|
}
|
|
1159
1299
|
})
|
|
1160
1300
|
|
|
1161
|
-
it("cwp.v20180228.
|
|
1301
|
+
it("cwp.v20180228.DescribeBaselineItemRiskTop", async function () {
|
|
1162
1302
|
try {
|
|
1163
|
-
const data = await client.
|
|
1303
|
+
const data = await client.DescribeBaselineItemRiskTop({})
|
|
1164
1304
|
expect(data).to.be.ok
|
|
1165
1305
|
} catch(error) {
|
|
1166
1306
|
expect(error.requestId).to.be.ok
|
|
@@ -1278,6 +1418,16 @@ it("cwp.v20180228.DescribeVulEffectHostList", async function () {
|
|
|
1278
1418
|
}
|
|
1279
1419
|
})
|
|
1280
1420
|
|
|
1421
|
+
it("cwp.v20180228.DescribeBaselineHostRiskTop", async function () {
|
|
1422
|
+
try {
|
|
1423
|
+
const data = await client.DescribeBaselineHostRiskTop({})
|
|
1424
|
+
expect(data).to.be.ok
|
|
1425
|
+
} catch(error) {
|
|
1426
|
+
expect(error.requestId).to.be.ok
|
|
1427
|
+
expect(error.code).to.be.ok
|
|
1428
|
+
}
|
|
1429
|
+
})
|
|
1430
|
+
|
|
1281
1431
|
it("cwp.v20180228.DeleteBaselinePolicy", async function () {
|
|
1282
1432
|
try {
|
|
1283
1433
|
const data = await client.DeleteBaselinePolicy({})
|
|
@@ -1328,6 +1478,16 @@ it("cwp.v20180228.DescribeSearchTemplates", async function () {
|
|
|
1328
1478
|
}
|
|
1329
1479
|
})
|
|
1330
1480
|
|
|
1481
|
+
it("cwp.v20180228.DescribeSearchLogs", async function () {
|
|
1482
|
+
try {
|
|
1483
|
+
const data = await client.DescribeSearchLogs({})
|
|
1484
|
+
expect(data).to.be.ok
|
|
1485
|
+
} catch(error) {
|
|
1486
|
+
expect(error.requestId).to.be.ok
|
|
1487
|
+
expect(error.code).to.be.ok
|
|
1488
|
+
}
|
|
1489
|
+
})
|
|
1490
|
+
|
|
1331
1491
|
it("cwp.v20180228.DescribeEmergencyResponseList", async function () {
|
|
1332
1492
|
try {
|
|
1333
1493
|
const data = await client.DescribeEmergencyResponseList({})
|
|
@@ -1338,9 +1498,9 @@ it("cwp.v20180228.DescribeEmergencyResponseList", async function () {
|
|
|
1338
1498
|
}
|
|
1339
1499
|
})
|
|
1340
1500
|
|
|
1341
|
-
it("cwp.v20180228.
|
|
1501
|
+
it("cwp.v20180228.DescribeBaselineHostIgnoreList", async function () {
|
|
1342
1502
|
try {
|
|
1343
|
-
const data = await client.
|
|
1503
|
+
const data = await client.DescribeBaselineHostIgnoreList({})
|
|
1344
1504
|
expect(data).to.be.ok
|
|
1345
1505
|
} catch(error) {
|
|
1346
1506
|
expect(error.requestId).to.be.ok
|
|
@@ -1518,6 +1678,16 @@ it("cwp.v20180228.DeleteBashRules", async function () {
|
|
|
1518
1678
|
}
|
|
1519
1679
|
})
|
|
1520
1680
|
|
|
1681
|
+
it("cwp.v20180228.DescribeIgnoreHostAndItemConfig", async function () {
|
|
1682
|
+
try {
|
|
1683
|
+
const data = await client.DescribeIgnoreHostAndItemConfig({})
|
|
1684
|
+
expect(data).to.be.ok
|
|
1685
|
+
} catch(error) {
|
|
1686
|
+
expect(error.requestId).to.be.ok
|
|
1687
|
+
expect(error.code).to.be.ok
|
|
1688
|
+
}
|
|
1689
|
+
})
|
|
1690
|
+
|
|
1521
1691
|
it("cwp.v20180228.DescribeAssetProcessInfoList", async function () {
|
|
1522
1692
|
try {
|
|
1523
1693
|
const data = await client.DescribeAssetProcessInfoList({})
|
|
@@ -1698,6 +1868,16 @@ it("cwp.v20180228.DescribeMachineInfo", async function () {
|
|
|
1698
1868
|
}
|
|
1699
1869
|
})
|
|
1700
1870
|
|
|
1871
|
+
it("cwp.v20180228.ExportBaselineItemList", async function () {
|
|
1872
|
+
try {
|
|
1873
|
+
const data = await client.ExportBaselineItemList({})
|
|
1874
|
+
expect(data).to.be.ok
|
|
1875
|
+
} catch(error) {
|
|
1876
|
+
expect(error.requestId).to.be.ok
|
|
1877
|
+
expect(error.code).to.be.ok
|
|
1878
|
+
}
|
|
1879
|
+
})
|
|
1880
|
+
|
|
1701
1881
|
it("cwp.v20180228.SwitchBashRules", async function () {
|
|
1702
1882
|
try {
|
|
1703
1883
|
const data = await client.SwitchBashRules({})
|
|
@@ -1798,6 +1978,16 @@ it("cwp.v20180228.DescribeBaselineDetail", async function () {
|
|
|
1798
1978
|
}
|
|
1799
1979
|
})
|
|
1800
1980
|
|
|
1981
|
+
it("cwp.v20180228.DescribeBaselineDetectOverview", async function () {
|
|
1982
|
+
try {
|
|
1983
|
+
const data = await client.DescribeBaselineDetectOverview({})
|
|
1984
|
+
expect(data).to.be.ok
|
|
1985
|
+
} catch(error) {
|
|
1986
|
+
expect(error.requestId).to.be.ok
|
|
1987
|
+
expect(error.code).to.be.ok
|
|
1988
|
+
}
|
|
1989
|
+
})
|
|
1990
|
+
|
|
1801
1991
|
it("cwp.v20180228.DescribeBaselineItemDetectList", async function () {
|
|
1802
1992
|
try {
|
|
1803
1993
|
const data = await client.DescribeBaselineItemDetectList({})
|
|
@@ -1968,6 +2158,26 @@ it("cwp.v20180228.DescribeLicenseGeneral", async function () {
|
|
|
1968
2158
|
}
|
|
1969
2159
|
})
|
|
1970
2160
|
|
|
2161
|
+
it("cwp.v20180228.DescribeBaselineEffectHostList", async function () {
|
|
2162
|
+
try {
|
|
2163
|
+
const data = await client.DescribeBaselineEffectHostList({})
|
|
2164
|
+
expect(data).to.be.ok
|
|
2165
|
+
} catch(error) {
|
|
2166
|
+
expect(error.requestId).to.be.ok
|
|
2167
|
+
expect(error.code).to.be.ok
|
|
2168
|
+
}
|
|
2169
|
+
})
|
|
2170
|
+
|
|
2171
|
+
it("cwp.v20180228.DescribeBaselineWeakPasswordList", async function () {
|
|
2172
|
+
try {
|
|
2173
|
+
const data = await client.DescribeBaselineWeakPasswordList({})
|
|
2174
|
+
expect(data).to.be.ok
|
|
2175
|
+
} catch(error) {
|
|
2176
|
+
expect(error.requestId).to.be.ok
|
|
2177
|
+
expect(error.code).to.be.ok
|
|
2178
|
+
}
|
|
2179
|
+
})
|
|
2180
|
+
|
|
1971
2181
|
it("cwp.v20180228.DescribeLicenseBindList", async function () {
|
|
1972
2182
|
try {
|
|
1973
2183
|
const data = await client.DescribeLicenseBindList({})
|
|
@@ -2008,6 +2218,16 @@ it("cwp.v20180228.DescribeAssetDatabaseInfo", async function () {
|
|
|
2008
2218
|
}
|
|
2009
2219
|
})
|
|
2010
2220
|
|
|
2221
|
+
it("cwp.v20180228.ModifyBaselineWeakPassword", async function () {
|
|
2222
|
+
try {
|
|
2223
|
+
const data = await client.ModifyBaselineWeakPassword({})
|
|
2224
|
+
expect(data).to.be.ok
|
|
2225
|
+
} catch(error) {
|
|
2226
|
+
expect(error.requestId).to.be.ok
|
|
2227
|
+
expect(error.code).to.be.ok
|
|
2228
|
+
}
|
|
2229
|
+
})
|
|
2230
|
+
|
|
2011
2231
|
it("cwp.v20180228.SetBashEventsStatus", async function () {
|
|
2012
2232
|
try {
|
|
2013
2233
|
const data = await client.SetBashEventsStatus({})
|
|
@@ -2028,6 +2248,16 @@ it("cwp.v20180228.ExportReverseShellEvents", async function () {
|
|
|
2028
2248
|
}
|
|
2029
2249
|
})
|
|
2030
2250
|
|
|
2251
|
+
it("cwp.v20180228.DescribeBaselineItemInfo", async function () {
|
|
2252
|
+
try {
|
|
2253
|
+
const data = await client.DescribeBaselineItemInfo({})
|
|
2254
|
+
expect(data).to.be.ok
|
|
2255
|
+
} catch(error) {
|
|
2256
|
+
expect(error.requestId).to.be.ok
|
|
2257
|
+
expect(error.code).to.be.ok
|
|
2258
|
+
}
|
|
2259
|
+
})
|
|
2260
|
+
|
|
2031
2261
|
it("cwp.v20180228.DeleteAttackLogs", async function () {
|
|
2032
2262
|
try {
|
|
2033
2263
|
const data = await client.DeleteAttackLogs({})
|
|
@@ -2048,6 +2278,16 @@ it("cwp.v20180228.DescribeScanVulSetting", async function () {
|
|
|
2048
2278
|
}
|
|
2049
2279
|
})
|
|
2050
2280
|
|
|
2281
|
+
it("cwp.v20180228.ExportVulDetectionExcel", async function () {
|
|
2282
|
+
try {
|
|
2283
|
+
const data = await client.ExportVulDetectionExcel({})
|
|
2284
|
+
expect(data).to.be.ok
|
|
2285
|
+
} catch(error) {
|
|
2286
|
+
expect(error.requestId).to.be.ok
|
|
2287
|
+
expect(error.code).to.be.ok
|
|
2288
|
+
}
|
|
2289
|
+
})
|
|
2290
|
+
|
|
2051
2291
|
it("cwp.v20180228.DescribeAssetInitServiceList", async function () {
|
|
2052
2292
|
try {
|
|
2053
2293
|
const data = await client.DescribeAssetInitServiceList({})
|
|
@@ -2068,6 +2308,16 @@ it("cwp.v20180228.DeleteMachine", async function () {
|
|
|
2068
2308
|
}
|
|
2069
2309
|
})
|
|
2070
2310
|
|
|
2311
|
+
it("cwp.v20180228.DescribeBaselineItemIgnoreList", async function () {
|
|
2312
|
+
try {
|
|
2313
|
+
const data = await client.DescribeBaselineItemIgnoreList({})
|
|
2314
|
+
expect(data).to.be.ok
|
|
2315
|
+
} catch(error) {
|
|
2316
|
+
expect(error.requestId).to.be.ok
|
|
2317
|
+
expect(error.code).to.be.ok
|
|
2318
|
+
}
|
|
2319
|
+
})
|
|
2320
|
+
|
|
2071
2321
|
it("cwp.v20180228.DescribeExpertServiceOrderList", async function () {
|
|
2072
2322
|
try {
|
|
2073
2323
|
const data = await client.DescribeExpertServiceOrderList({})
|
|
@@ -2078,6 +2328,16 @@ it("cwp.v20180228.DescribeExpertServiceOrderList", async function () {
|
|
|
2078
2328
|
}
|
|
2079
2329
|
})
|
|
2080
2330
|
|
|
2331
|
+
it("cwp.v20180228.DescribeBaselineFixList", async function () {
|
|
2332
|
+
try {
|
|
2333
|
+
const data = await client.DescribeBaselineFixList({})
|
|
2334
|
+
expect(data).to.be.ok
|
|
2335
|
+
} catch(error) {
|
|
2336
|
+
expect(error.requestId).to.be.ok
|
|
2337
|
+
expect(error.code).to.be.ok
|
|
2338
|
+
}
|
|
2339
|
+
})
|
|
2340
|
+
|
|
2081
2341
|
it("cwp.v20180228.DescribeStrategyExist", async function () {
|
|
2082
2342
|
try {
|
|
2083
2343
|
const data = await client.DescribeStrategyExist({})
|
|
@@ -2108,9 +2368,9 @@ it("cwp.v20180228.DescribeClientException", async function () {
|
|
|
2108
2368
|
}
|
|
2109
2369
|
})
|
|
2110
2370
|
|
|
2111
|
-
it("cwp.v20180228.
|
|
2371
|
+
it("cwp.v20180228.DescribeBaselineRuleCategoryList", async function () {
|
|
2112
2372
|
try {
|
|
2113
|
-
const data = await client.
|
|
2373
|
+
const data = await client.DescribeBaselineRuleCategoryList({})
|
|
2114
2374
|
expect(data).to.be.ok
|
|
2115
2375
|
} catch(error) {
|
|
2116
2376
|
expect(error.requestId).to.be.ok
|
|
@@ -2128,6 +2388,16 @@ it("cwp.v20180228.DescribeBaselineBasicInfo", async function () {
|
|
|
2128
2388
|
}
|
|
2129
2389
|
})
|
|
2130
2390
|
|
|
2391
|
+
it("cwp.v20180228.ExportBaselineWeakPasswordList", async function () {
|
|
2392
|
+
try {
|
|
2393
|
+
const data = await client.ExportBaselineWeakPasswordList({})
|
|
2394
|
+
expect(data).to.be.ok
|
|
2395
|
+
} catch(error) {
|
|
2396
|
+
expect(error.requestId).to.be.ok
|
|
2397
|
+
expect(error.code).to.be.ok
|
|
2398
|
+
}
|
|
2399
|
+
})
|
|
2400
|
+
|
|
2131
2401
|
it("cwp.v20180228.DescribeSecurityTrends", async function () {
|
|
2132
2402
|
try {
|
|
2133
2403
|
const data = await client.DescribeSecurityTrends({})
|
|
@@ -2138,6 +2408,16 @@ it("cwp.v20180228.DescribeSecurityTrends", async function () {
|
|
|
2138
2408
|
}
|
|
2139
2409
|
})
|
|
2140
2410
|
|
|
2411
|
+
it("cwp.v20180228.ModifyBaselineRule", async function () {
|
|
2412
|
+
try {
|
|
2413
|
+
const data = await client.ModifyBaselineRule({})
|
|
2414
|
+
expect(data).to.be.ok
|
|
2415
|
+
} catch(error) {
|
|
2416
|
+
expect(error.requestId).to.be.ok
|
|
2417
|
+
expect(error.code).to.be.ok
|
|
2418
|
+
}
|
|
2419
|
+
})
|
|
2420
|
+
|
|
2141
2421
|
it("cwp.v20180228.DescribeBaselineAnalysisData", async function () {
|
|
2142
2422
|
try {
|
|
2143
2423
|
const data = await client.DescribeBaselineAnalysisData({})
|
|
@@ -2228,6 +2508,16 @@ it("cwp.v20180228.ExportVulList", async function () {
|
|
|
2228
2508
|
}
|
|
2229
2509
|
})
|
|
2230
2510
|
|
|
2511
|
+
it("cwp.v20180228.StartBaselineDetect", async function () {
|
|
2512
|
+
try {
|
|
2513
|
+
const data = await client.StartBaselineDetect({})
|
|
2514
|
+
expect(data).to.be.ok
|
|
2515
|
+
} catch(error) {
|
|
2516
|
+
expect(error.requestId).to.be.ok
|
|
2517
|
+
expect(error.code).to.be.ok
|
|
2518
|
+
}
|
|
2519
|
+
})
|
|
2520
|
+
|
|
2231
2521
|
it("cwp.v20180228.DescribeProVersionStatus", async function () {
|
|
2232
2522
|
try {
|
|
2233
2523
|
const data = await client.DescribeProVersionStatus({})
|
|
@@ -2338,9 +2628,9 @@ it("cwp.v20180228.DescribeUndoVulCounts", async function () {
|
|
|
2338
2628
|
}
|
|
2339
2629
|
})
|
|
2340
2630
|
|
|
2341
|
-
it("cwp.v20180228.
|
|
2631
|
+
it("cwp.v20180228.ModifyBaselinePolicyState", async function () {
|
|
2342
2632
|
try {
|
|
2343
|
-
const data = await client.
|
|
2633
|
+
const data = await client.ModifyBaselinePolicyState({})
|
|
2344
2634
|
expect(data).to.be.ok
|
|
2345
2635
|
} catch(error) {
|
|
2346
2636
|
expect(error.requestId).to.be.ok
|