@alicloud/cloud-siem20220616 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/client.js CHANGED
@@ -811,6 +811,86 @@ class DescribeAlertTypeResponse extends $tea.Model {
811
811
  }
812
812
  }
813
813
  exports.DescribeAlertTypeResponse = DescribeAlertTypeResponse;
814
+ class DescribeAlertsRequest extends $tea.Model {
815
+ constructor(map) {
816
+ super(map);
817
+ }
818
+ static names() {
819
+ return {
820
+ alertTitle: 'AlertTitle',
821
+ alertUuid: 'AlertUuid',
822
+ currentPage: 'CurrentPage',
823
+ endTime: 'EndTime',
824
+ isDefend: 'IsDefend',
825
+ level: 'Level',
826
+ pageSize: 'PageSize',
827
+ regionId: 'RegionId',
828
+ source: 'Source',
829
+ startTime: 'StartTime',
830
+ subUserId: 'SubUserId',
831
+ };
832
+ }
833
+ static types() {
834
+ return {
835
+ alertTitle: 'string',
836
+ alertUuid: 'string',
837
+ currentPage: 'number',
838
+ endTime: 'number',
839
+ isDefend: 'string',
840
+ level: { 'type': 'array', 'itemType': 'string' },
841
+ pageSize: 'number',
842
+ regionId: 'string',
843
+ source: 'string',
844
+ startTime: 'number',
845
+ subUserId: 'string',
846
+ };
847
+ }
848
+ }
849
+ exports.DescribeAlertsRequest = DescribeAlertsRequest;
850
+ class DescribeAlertsResponseBody extends $tea.Model {
851
+ constructor(map) {
852
+ super(map);
853
+ }
854
+ static names() {
855
+ return {
856
+ code: 'Code',
857
+ data: 'Data',
858
+ message: 'Message',
859
+ requestId: 'RequestId',
860
+ success: 'Success',
861
+ };
862
+ }
863
+ static types() {
864
+ return {
865
+ code: 'number',
866
+ data: DescribeAlertsResponseBodyData,
867
+ message: 'string',
868
+ requestId: 'string',
869
+ success: 'boolean',
870
+ };
871
+ }
872
+ }
873
+ exports.DescribeAlertsResponseBody = DescribeAlertsResponseBody;
874
+ class DescribeAlertsResponse extends $tea.Model {
875
+ constructor(map) {
876
+ super(map);
877
+ }
878
+ static names() {
879
+ return {
880
+ headers: 'headers',
881
+ statusCode: 'statusCode',
882
+ body: 'body',
883
+ };
884
+ }
885
+ static types() {
886
+ return {
887
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
888
+ statusCode: 'number',
889
+ body: DescribeAlertsResponseBody,
890
+ };
891
+ }
892
+ }
893
+ exports.DescribeAlertsResponse = DescribeAlertsResponse;
814
894
  class DescribeAlertsCountRequest extends $tea.Model {
815
895
  constructor(map) {
816
896
  super(map);
@@ -875,6 +955,152 @@ class DescribeAlertsCountResponse extends $tea.Model {
875
955
  }
876
956
  }
877
957
  exports.DescribeAlertsCountResponse = DescribeAlertsCountResponse;
958
+ class DescribeAlertsWithEntityRequest extends $tea.Model {
959
+ constructor(map) {
960
+ super(map);
961
+ }
962
+ static names() {
963
+ return {
964
+ currentPage: 'CurrentPage',
965
+ entityId: 'EntityId',
966
+ incidentUuid: 'IncidentUuid',
967
+ pageSize: 'PageSize',
968
+ regionId: 'RegionId',
969
+ sophonTaskId: 'SophonTaskId',
970
+ };
971
+ }
972
+ static types() {
973
+ return {
974
+ currentPage: 'number',
975
+ entityId: 'number',
976
+ incidentUuid: 'string',
977
+ pageSize: 'number',
978
+ regionId: 'string',
979
+ sophonTaskId: 'string',
980
+ };
981
+ }
982
+ }
983
+ exports.DescribeAlertsWithEntityRequest = DescribeAlertsWithEntityRequest;
984
+ class DescribeAlertsWithEntityResponseBody extends $tea.Model {
985
+ constructor(map) {
986
+ super(map);
987
+ }
988
+ static names() {
989
+ return {
990
+ code: 'Code',
991
+ data: 'Data',
992
+ message: 'Message',
993
+ requestId: 'RequestId',
994
+ success: 'Success',
995
+ };
996
+ }
997
+ static types() {
998
+ return {
999
+ code: 'number',
1000
+ data: DescribeAlertsWithEntityResponseBodyData,
1001
+ message: 'string',
1002
+ requestId: 'string',
1003
+ success: 'boolean',
1004
+ };
1005
+ }
1006
+ }
1007
+ exports.DescribeAlertsWithEntityResponseBody = DescribeAlertsWithEntityResponseBody;
1008
+ class DescribeAlertsWithEntityResponse extends $tea.Model {
1009
+ constructor(map) {
1010
+ super(map);
1011
+ }
1012
+ static names() {
1013
+ return {
1014
+ headers: 'headers',
1015
+ statusCode: 'statusCode',
1016
+ body: 'body',
1017
+ };
1018
+ }
1019
+ static types() {
1020
+ return {
1021
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1022
+ statusCode: 'number',
1023
+ body: DescribeAlertsWithEntityResponseBody,
1024
+ };
1025
+ }
1026
+ }
1027
+ exports.DescribeAlertsWithEntityResponse = DescribeAlertsWithEntityResponse;
1028
+ class DescribeAlertsWithEventRequest extends $tea.Model {
1029
+ constructor(map) {
1030
+ super(map);
1031
+ }
1032
+ static names() {
1033
+ return {
1034
+ alertTitle: 'AlertTitle',
1035
+ currentPage: 'CurrentPage',
1036
+ incidentUuid: 'IncidentUuid',
1037
+ isDefend: 'IsDefend',
1038
+ level: 'Level',
1039
+ pageSize: 'PageSize',
1040
+ regionId: 'RegionId',
1041
+ source: 'Source',
1042
+ subUserId: 'SubUserId',
1043
+ };
1044
+ }
1045
+ static types() {
1046
+ return {
1047
+ alertTitle: 'string',
1048
+ currentPage: 'number',
1049
+ incidentUuid: 'string',
1050
+ isDefend: 'string',
1051
+ level: { 'type': 'array', 'itemType': 'string' },
1052
+ pageSize: 'number',
1053
+ regionId: 'string',
1054
+ source: 'string',
1055
+ subUserId: 'number',
1056
+ };
1057
+ }
1058
+ }
1059
+ exports.DescribeAlertsWithEventRequest = DescribeAlertsWithEventRequest;
1060
+ class DescribeAlertsWithEventResponseBody extends $tea.Model {
1061
+ constructor(map) {
1062
+ super(map);
1063
+ }
1064
+ static names() {
1065
+ return {
1066
+ code: 'Code',
1067
+ data: 'Data',
1068
+ message: 'Message',
1069
+ requestId: 'RequestId',
1070
+ success: 'Success',
1071
+ };
1072
+ }
1073
+ static types() {
1074
+ return {
1075
+ code: 'number',
1076
+ data: DescribeAlertsWithEventResponseBodyData,
1077
+ message: 'string',
1078
+ requestId: 'string',
1079
+ success: 'boolean',
1080
+ };
1081
+ }
1082
+ }
1083
+ exports.DescribeAlertsWithEventResponseBody = DescribeAlertsWithEventResponseBody;
1084
+ class DescribeAlertsWithEventResponse extends $tea.Model {
1085
+ constructor(map) {
1086
+ super(map);
1087
+ }
1088
+ static names() {
1089
+ return {
1090
+ headers: 'headers',
1091
+ statusCode: 'statusCode',
1092
+ body: 'body',
1093
+ };
1094
+ }
1095
+ static types() {
1096
+ return {
1097
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1098
+ statusCode: 'number',
1099
+ body: DescribeAlertsWithEventResponseBody,
1100
+ };
1101
+ }
1102
+ }
1103
+ exports.DescribeAlertsWithEventResponse = DescribeAlertsWithEventResponse;
878
1104
  class DescribeAttackTimeLineRequest extends $tea.Model {
879
1105
  constructor(map) {
880
1106
  super(map);
@@ -4909,76 +5135,484 @@ class DescribeAlertTypeResponseBodyData extends $tea.Model {
4909
5135
  }
4910
5136
  }
4911
5137
  exports.DescribeAlertTypeResponseBodyData = DescribeAlertTypeResponseBodyData;
4912
- class DescribeAlertsCountResponseBodyData extends $tea.Model {
5138
+ class DescribeAlertsResponseBodyDataPageInfo extends $tea.Model {
4913
5139
  constructor(map) {
4914
5140
  super(map);
4915
5141
  }
4916
5142
  static names() {
4917
5143
  return {
4918
- all: 'All',
4919
- high: 'High',
4920
- low: 'Low',
4921
- medium: 'Medium',
4922
- productNum: 'ProductNum',
5144
+ currentPage: 'CurrentPage',
5145
+ pageSize: 'PageSize',
5146
+ totalCount: 'TotalCount',
4923
5147
  };
4924
5148
  }
4925
5149
  static types() {
4926
5150
  return {
4927
- all: 'number',
4928
- high: 'number',
4929
- low: 'number',
4930
- medium: 'number',
4931
- productNum: 'number',
5151
+ currentPage: 'number',
5152
+ pageSize: 'number',
5153
+ totalCount: 'number',
4932
5154
  };
4933
5155
  }
4934
5156
  }
4935
- exports.DescribeAlertsCountResponseBodyData = DescribeAlertsCountResponseBodyData;
4936
- class DescribeAttackTimeLineResponseBodyData extends $tea.Model {
5157
+ exports.DescribeAlertsResponseBodyDataPageInfo = DescribeAlertsResponseBodyDataPageInfo;
5158
+ class DescribeAlertsResponseBodyDataResponseDataAlertInfoList extends $tea.Model {
5159
+ constructor(map) {
5160
+ super(map);
5161
+ }
5162
+ static names() {
5163
+ return {
5164
+ key: 'Key',
5165
+ keyName: 'KeyName',
5166
+ values: 'Values',
5167
+ };
5168
+ }
5169
+ static types() {
5170
+ return {
5171
+ key: 'string',
5172
+ keyName: 'string',
5173
+ values: 'string',
5174
+ };
5175
+ }
5176
+ }
5177
+ exports.DescribeAlertsResponseBodyDataResponseDataAlertInfoList = DescribeAlertsResponseBodyDataResponseDataAlertInfoList;
5178
+ class DescribeAlertsResponseBodyDataResponseData extends $tea.Model {
4937
5179
  constructor(map) {
4938
5180
  super(map);
4939
5181
  }
4940
5182
  static names() {
4941
5183
  return {
5184
+ alertDesc: 'AlertDesc',
5185
+ alertDescCode: 'AlertDescCode',
5186
+ alertDescEn: 'AlertDescEn',
5187
+ alertDetail: 'AlertDetail',
5188
+ alertInfoList: 'AlertInfoList',
4942
5189
  alertLevel: 'AlertLevel',
4943
5190
  alertName: 'AlertName',
4944
5191
  alertNameCode: 'AlertNameCode',
4945
5192
  alertNameEn: 'AlertNameEn',
4946
5193
  alertSrcProd: 'AlertSrcProd',
4947
5194
  alertSrcProdModule: 'AlertSrcProdModule',
4948
- alertTime: 'AlertTime',
4949
5195
  alertTitle: 'AlertTitle',
4950
5196
  alertTitleEn: 'AlertTitleEn',
4951
5197
  alertType: 'AlertType',
4952
5198
  alertTypeCode: 'AlertTypeCode',
4953
5199
  alertTypeEn: 'AlertTypeEn',
4954
5200
  alertUuid: 'AlertUuid',
4955
- assetId: 'AssetId',
4956
5201
  assetList: 'AssetList',
4957
- assetName: 'AssetName',
4958
5202
  attCk: 'AttCk',
4959
5203
  cloudCode: 'CloudCode',
5204
+ endTime: 'EndTime',
5205
+ gmtCreate: 'GmtCreate',
5206
+ gmtModified: 'GmtModified',
5207
+ id: 'Id',
4960
5208
  incidentUuid: 'IncidentUuid',
5209
+ isDefend: 'IsDefend',
4961
5210
  logTime: 'LogTime',
5211
+ logUuid: 'LogUuid',
5212
+ mainUserId: 'MainUserId',
5213
+ occurTime: 'OccurTime',
5214
+ startTime: 'StartTime',
5215
+ subUserId: 'SubUserId',
4962
5216
  };
4963
5217
  }
4964
5218
  static types() {
4965
5219
  return {
5220
+ alertDesc: 'string',
5221
+ alertDescCode: 'string',
5222
+ alertDescEn: 'string',
5223
+ alertDetail: 'string',
5224
+ alertInfoList: { 'type': 'array', 'itemType': DescribeAlertsResponseBodyDataResponseDataAlertInfoList },
4966
5225
  alertLevel: 'string',
4967
5226
  alertName: 'string',
4968
5227
  alertNameCode: 'string',
4969
5228
  alertNameEn: 'string',
4970
5229
  alertSrcProd: 'string',
4971
5230
  alertSrcProdModule: 'string',
4972
- alertTime: 'number',
4973
5231
  alertTitle: 'string',
4974
5232
  alertTitleEn: 'string',
4975
5233
  alertType: 'string',
4976
5234
  alertTypeCode: 'string',
4977
5235
  alertTypeEn: 'string',
4978
5236
  alertUuid: 'string',
4979
- assetId: 'string',
4980
5237
  assetList: 'string',
4981
- assetName: 'string',
5238
+ attCk: 'string',
5239
+ cloudCode: 'string',
5240
+ endTime: 'string',
5241
+ gmtCreate: 'string',
5242
+ gmtModified: 'string',
5243
+ id: 'number',
5244
+ incidentUuid: 'string',
5245
+ isDefend: 'string',
5246
+ logTime: 'string',
5247
+ logUuid: 'string',
5248
+ mainUserId: 'number',
5249
+ occurTime: 'string',
5250
+ startTime: 'string',
5251
+ subUserId: 'number',
5252
+ };
5253
+ }
5254
+ }
5255
+ exports.DescribeAlertsResponseBodyDataResponseData = DescribeAlertsResponseBodyDataResponseData;
5256
+ class DescribeAlertsResponseBodyData extends $tea.Model {
5257
+ constructor(map) {
5258
+ super(map);
5259
+ }
5260
+ static names() {
5261
+ return {
5262
+ pageInfo: 'PageInfo',
5263
+ responseData: 'ResponseData',
5264
+ };
5265
+ }
5266
+ static types() {
5267
+ return {
5268
+ pageInfo: DescribeAlertsResponseBodyDataPageInfo,
5269
+ responseData: { 'type': 'array', 'itemType': DescribeAlertsResponseBodyDataResponseData },
5270
+ };
5271
+ }
5272
+ }
5273
+ exports.DescribeAlertsResponseBodyData = DescribeAlertsResponseBodyData;
5274
+ class DescribeAlertsCountResponseBodyData extends $tea.Model {
5275
+ constructor(map) {
5276
+ super(map);
5277
+ }
5278
+ static names() {
5279
+ return {
5280
+ all: 'All',
5281
+ high: 'High',
5282
+ low: 'Low',
5283
+ medium: 'Medium',
5284
+ productNum: 'ProductNum',
5285
+ };
5286
+ }
5287
+ static types() {
5288
+ return {
5289
+ all: 'number',
5290
+ high: 'number',
5291
+ low: 'number',
5292
+ medium: 'number',
5293
+ productNum: 'number',
5294
+ };
5295
+ }
5296
+ }
5297
+ exports.DescribeAlertsCountResponseBodyData = DescribeAlertsCountResponseBodyData;
5298
+ class DescribeAlertsWithEntityResponseBodyDataPageInfo extends $tea.Model {
5299
+ constructor(map) {
5300
+ super(map);
5301
+ }
5302
+ static names() {
5303
+ return {
5304
+ currentPage: 'CurrentPage',
5305
+ pageSize: 'PageSize',
5306
+ totalCount: 'TotalCount',
5307
+ };
5308
+ }
5309
+ static types() {
5310
+ return {
5311
+ currentPage: 'number',
5312
+ pageSize: 'number',
5313
+ totalCount: 'number',
5314
+ };
5315
+ }
5316
+ }
5317
+ exports.DescribeAlertsWithEntityResponseBodyDataPageInfo = DescribeAlertsWithEntityResponseBodyDataPageInfo;
5318
+ class DescribeAlertsWithEntityResponseBodyDataResponseDataAlertInfoList extends $tea.Model {
5319
+ constructor(map) {
5320
+ super(map);
5321
+ }
5322
+ static names() {
5323
+ return {
5324
+ key: 'Key',
5325
+ keyName: 'KeyName',
5326
+ values: 'Values',
5327
+ };
5328
+ }
5329
+ static types() {
5330
+ return {
5331
+ key: 'string',
5332
+ keyName: 'string',
5333
+ values: 'string',
5334
+ };
5335
+ }
5336
+ }
5337
+ exports.DescribeAlertsWithEntityResponseBodyDataResponseDataAlertInfoList = DescribeAlertsWithEntityResponseBodyDataResponseDataAlertInfoList;
5338
+ class DescribeAlertsWithEntityResponseBodyDataResponseData extends $tea.Model {
5339
+ constructor(map) {
5340
+ super(map);
5341
+ }
5342
+ static names() {
5343
+ return {
5344
+ alertDesc: 'AlertDesc',
5345
+ alertDescCode: 'AlertDescCode',
5346
+ alertDescEn: 'AlertDescEn',
5347
+ alertDetail: 'AlertDetail',
5348
+ alertInfoList: 'AlertInfoList',
5349
+ alertLevel: 'AlertLevel',
5350
+ alertName: 'AlertName',
5351
+ alertNameCode: 'AlertNameCode',
5352
+ alertNameEn: 'AlertNameEn',
5353
+ alertSrcProd: 'AlertSrcProd',
5354
+ alertSrcProdModule: 'AlertSrcProdModule',
5355
+ alertTitle: 'AlertTitle',
5356
+ alertTitleEn: 'AlertTitleEn',
5357
+ alertType: 'AlertType',
5358
+ alertTypeCode: 'AlertTypeCode',
5359
+ alertTypeEn: 'AlertTypeEn',
5360
+ alertUuid: 'AlertUuid',
5361
+ assetList: 'AssetList',
5362
+ attCk: 'AttCk',
5363
+ cloudCode: 'CloudCode',
5364
+ endTime: 'EndTime',
5365
+ gmtCreate: 'GmtCreate',
5366
+ gmtModified: 'GmtModified',
5367
+ id: 'Id',
5368
+ incidentUuid: 'IncidentUuid',
5369
+ isDefend: 'IsDefend',
5370
+ logTime: 'LogTime',
5371
+ logUuid: 'LogUuid',
5372
+ mainUserId: 'MainUserId',
5373
+ occurTime: 'OccurTime',
5374
+ startTime: 'StartTime',
5375
+ subUserId: 'SubUserId',
5376
+ };
5377
+ }
5378
+ static types() {
5379
+ return {
5380
+ alertDesc: 'string',
5381
+ alertDescCode: 'string',
5382
+ alertDescEn: 'string',
5383
+ alertDetail: 'string',
5384
+ alertInfoList: { 'type': 'array', 'itemType': DescribeAlertsWithEntityResponseBodyDataResponseDataAlertInfoList },
5385
+ alertLevel: 'string',
5386
+ alertName: 'string',
5387
+ alertNameCode: 'string',
5388
+ alertNameEn: 'string',
5389
+ alertSrcProd: 'string',
5390
+ alertSrcProdModule: 'string',
5391
+ alertTitle: 'string',
5392
+ alertTitleEn: 'string',
5393
+ alertType: 'string',
5394
+ alertTypeCode: 'string',
5395
+ alertTypeEn: 'string',
5396
+ alertUuid: 'string',
5397
+ assetList: 'string',
5398
+ attCk: 'string',
5399
+ cloudCode: 'string',
5400
+ endTime: 'string',
5401
+ gmtCreate: 'string',
5402
+ gmtModified: 'string',
5403
+ id: 'number',
5404
+ incidentUuid: 'string',
5405
+ isDefend: 'string',
5406
+ logTime: 'string',
5407
+ logUuid: 'string',
5408
+ mainUserId: 'number',
5409
+ occurTime: 'string',
5410
+ startTime: 'string',
5411
+ subUserId: 'number',
5412
+ };
5413
+ }
5414
+ }
5415
+ exports.DescribeAlertsWithEntityResponseBodyDataResponseData = DescribeAlertsWithEntityResponseBodyDataResponseData;
5416
+ class DescribeAlertsWithEntityResponseBodyData extends $tea.Model {
5417
+ constructor(map) {
5418
+ super(map);
5419
+ }
5420
+ static names() {
5421
+ return {
5422
+ pageInfo: 'PageInfo',
5423
+ responseData: 'ResponseData',
5424
+ };
5425
+ }
5426
+ static types() {
5427
+ return {
5428
+ pageInfo: DescribeAlertsWithEntityResponseBodyDataPageInfo,
5429
+ responseData: { 'type': 'array', 'itemType': DescribeAlertsWithEntityResponseBodyDataResponseData },
5430
+ };
5431
+ }
5432
+ }
5433
+ exports.DescribeAlertsWithEntityResponseBodyData = DescribeAlertsWithEntityResponseBodyData;
5434
+ class DescribeAlertsWithEventResponseBodyDataPageInfo extends $tea.Model {
5435
+ constructor(map) {
5436
+ super(map);
5437
+ }
5438
+ static names() {
5439
+ return {
5440
+ currentPage: 'CurrentPage',
5441
+ pageSize: 'PageSize',
5442
+ totalCount: 'TotalCount',
5443
+ };
5444
+ }
5445
+ static types() {
5446
+ return {
5447
+ currentPage: 'number',
5448
+ pageSize: 'number',
5449
+ totalCount: 'number',
5450
+ };
5451
+ }
5452
+ }
5453
+ exports.DescribeAlertsWithEventResponseBodyDataPageInfo = DescribeAlertsWithEventResponseBodyDataPageInfo;
5454
+ class DescribeAlertsWithEventResponseBodyDataResponseDataAlertInfoList extends $tea.Model {
5455
+ constructor(map) {
5456
+ super(map);
5457
+ }
5458
+ static names() {
5459
+ return {
5460
+ key: 'Key',
5461
+ keyName: 'KeyName',
5462
+ values: 'Values',
5463
+ };
5464
+ }
5465
+ static types() {
5466
+ return {
5467
+ key: 'string',
5468
+ keyName: 'string',
5469
+ values: 'string',
5470
+ };
5471
+ }
5472
+ }
5473
+ exports.DescribeAlertsWithEventResponseBodyDataResponseDataAlertInfoList = DescribeAlertsWithEventResponseBodyDataResponseDataAlertInfoList;
5474
+ class DescribeAlertsWithEventResponseBodyDataResponseData extends $tea.Model {
5475
+ constructor(map) {
5476
+ super(map);
5477
+ }
5478
+ static names() {
5479
+ return {
5480
+ alertDesc: 'AlertDesc',
5481
+ alertDescCode: 'AlertDescCode',
5482
+ alertDescEn: 'AlertDescEn',
5483
+ alertDetail: 'AlertDetail',
5484
+ alertInfoList: 'AlertInfoList',
5485
+ alertLevel: 'AlertLevel',
5486
+ alertName: 'AlertName',
5487
+ alertNameCode: 'AlertNameCode',
5488
+ alertNameEn: 'AlertNameEn',
5489
+ alertSrcProd: 'AlertSrcProd',
5490
+ alertSrcProdModule: 'AlertSrcProdModule',
5491
+ alertTitle: 'AlertTitle',
5492
+ alertTitleEn: 'AlertTitleEn',
5493
+ alertType: 'AlertType',
5494
+ alertTypeCode: 'AlertTypeCode',
5495
+ alertTypeEn: 'AlertTypeEn',
5496
+ alertUuid: 'AlertUuid',
5497
+ assetList: 'AssetList',
5498
+ attCk: 'AttCk',
5499
+ cloudCode: 'CloudCode',
5500
+ endTime: 'EndTime',
5501
+ gmtCreate: 'GmtCreate',
5502
+ gmtModified: 'GmtModified',
5503
+ id: 'Id',
5504
+ incidentUuid: 'IncidentUuid',
5505
+ isDefend: 'IsDefend',
5506
+ logTime: 'LogTime',
5507
+ logUuid: 'LogUuid',
5508
+ mainUserId: 'MainUserId',
5509
+ occurTime: 'OccurTime',
5510
+ startTime: 'StartTime',
5511
+ subUserId: 'SubUserId',
5512
+ };
5513
+ }
5514
+ static types() {
5515
+ return {
5516
+ alertDesc: 'string',
5517
+ alertDescCode: 'string',
5518
+ alertDescEn: 'string',
5519
+ alertDetail: 'string',
5520
+ alertInfoList: { 'type': 'array', 'itemType': DescribeAlertsWithEventResponseBodyDataResponseDataAlertInfoList },
5521
+ alertLevel: 'string',
5522
+ alertName: 'string',
5523
+ alertNameCode: 'string',
5524
+ alertNameEn: 'string',
5525
+ alertSrcProd: 'string',
5526
+ alertSrcProdModule: 'string',
5527
+ alertTitle: 'string',
5528
+ alertTitleEn: 'string',
5529
+ alertType: 'string',
5530
+ alertTypeCode: 'string',
5531
+ alertTypeEn: 'string',
5532
+ alertUuid: 'string',
5533
+ assetList: 'string',
5534
+ attCk: 'string',
5535
+ cloudCode: 'string',
5536
+ endTime: 'string',
5537
+ gmtCreate: 'string',
5538
+ gmtModified: 'string',
5539
+ id: 'number',
5540
+ incidentUuid: 'string',
5541
+ isDefend: 'string',
5542
+ logTime: 'string',
5543
+ logUuid: 'string',
5544
+ mainUserId: 'number',
5545
+ occurTime: 'string',
5546
+ startTime: 'string',
5547
+ subUserId: 'number',
5548
+ };
5549
+ }
5550
+ }
5551
+ exports.DescribeAlertsWithEventResponseBodyDataResponseData = DescribeAlertsWithEventResponseBodyDataResponseData;
5552
+ class DescribeAlertsWithEventResponseBodyData extends $tea.Model {
5553
+ constructor(map) {
5554
+ super(map);
5555
+ }
5556
+ static names() {
5557
+ return {
5558
+ pageInfo: 'PageInfo',
5559
+ responseData: 'ResponseData',
5560
+ };
5561
+ }
5562
+ static types() {
5563
+ return {
5564
+ pageInfo: DescribeAlertsWithEventResponseBodyDataPageInfo,
5565
+ responseData: { 'type': 'array', 'itemType': DescribeAlertsWithEventResponseBodyDataResponseData },
5566
+ };
5567
+ }
5568
+ }
5569
+ exports.DescribeAlertsWithEventResponseBodyData = DescribeAlertsWithEventResponseBodyData;
5570
+ class DescribeAttackTimeLineResponseBodyData extends $tea.Model {
5571
+ constructor(map) {
5572
+ super(map);
5573
+ }
5574
+ static names() {
5575
+ return {
5576
+ alertLevel: 'AlertLevel',
5577
+ alertName: 'AlertName',
5578
+ alertNameCode: 'AlertNameCode',
5579
+ alertNameEn: 'AlertNameEn',
5580
+ alertSrcProd: 'AlertSrcProd',
5581
+ alertSrcProdModule: 'AlertSrcProdModule',
5582
+ alertTime: 'AlertTime',
5583
+ alertTitle: 'AlertTitle',
5584
+ alertTitleEn: 'AlertTitleEn',
5585
+ alertType: 'AlertType',
5586
+ alertTypeCode: 'AlertTypeCode',
5587
+ alertTypeEn: 'AlertTypeEn',
5588
+ alertUuid: 'AlertUuid',
5589
+ assetId: 'AssetId',
5590
+ assetList: 'AssetList',
5591
+ assetName: 'AssetName',
5592
+ attCk: 'AttCk',
5593
+ cloudCode: 'CloudCode',
5594
+ incidentUuid: 'IncidentUuid',
5595
+ logTime: 'LogTime',
5596
+ };
5597
+ }
5598
+ static types() {
5599
+ return {
5600
+ alertLevel: 'string',
5601
+ alertName: 'string',
5602
+ alertNameCode: 'string',
5603
+ alertNameEn: 'string',
5604
+ alertSrcProd: 'string',
5605
+ alertSrcProdModule: 'string',
5606
+ alertTime: 'number',
5607
+ alertTitle: 'string',
5608
+ alertTitleEn: 'string',
5609
+ alertType: 'string',
5610
+ alertTypeCode: 'string',
5611
+ alertTypeEn: 'string',
5612
+ alertUuid: 'string',
5613
+ assetId: 'string',
5614
+ assetList: 'string',
5615
+ assetName: 'string',
4982
5616
  attCk: 'string',
4983
5617
  cloudCode: 'string',
4984
5618
  incidentUuid: 'string',
@@ -7124,6 +7758,62 @@ class Client extends openapi_client_1.default {
7124
7758
  let runtime = new $Util.RuntimeOptions({});
7125
7759
  return await this.describeAlertTypeWithOptions(request, runtime);
7126
7760
  }
7761
+ async describeAlertsWithOptions(request, runtime) {
7762
+ tea_util_1.default.validateModel(request);
7763
+ let body = {};
7764
+ if (!tea_util_1.default.isUnset(request.alertTitle)) {
7765
+ body["AlertTitle"] = request.alertTitle;
7766
+ }
7767
+ if (!tea_util_1.default.isUnset(request.alertUuid)) {
7768
+ body["AlertUuid"] = request.alertUuid;
7769
+ }
7770
+ if (!tea_util_1.default.isUnset(request.currentPage)) {
7771
+ body["CurrentPage"] = request.currentPage;
7772
+ }
7773
+ if (!tea_util_1.default.isUnset(request.endTime)) {
7774
+ body["EndTime"] = request.endTime;
7775
+ }
7776
+ if (!tea_util_1.default.isUnset(request.isDefend)) {
7777
+ body["IsDefend"] = request.isDefend;
7778
+ }
7779
+ if (!tea_util_1.default.isUnset(request.level)) {
7780
+ body["Level"] = request.level;
7781
+ }
7782
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
7783
+ body["PageSize"] = request.pageSize;
7784
+ }
7785
+ if (!tea_util_1.default.isUnset(request.regionId)) {
7786
+ body["RegionId"] = request.regionId;
7787
+ }
7788
+ if (!tea_util_1.default.isUnset(request.source)) {
7789
+ body["Source"] = request.source;
7790
+ }
7791
+ if (!tea_util_1.default.isUnset(request.startTime)) {
7792
+ body["StartTime"] = request.startTime;
7793
+ }
7794
+ if (!tea_util_1.default.isUnset(request.subUserId)) {
7795
+ body["SubUserId"] = request.subUserId;
7796
+ }
7797
+ let req = new $OpenApi.OpenApiRequest({
7798
+ body: openapi_util_1.default.parseToMap(body),
7799
+ });
7800
+ let params = new $OpenApi.Params({
7801
+ action: "DescribeAlerts",
7802
+ version: "2022-06-16",
7803
+ protocol: "HTTPS",
7804
+ pathname: "/",
7805
+ method: "POST",
7806
+ authType: "AK",
7807
+ style: "RPC",
7808
+ reqBodyType: "formData",
7809
+ bodyType: "json",
7810
+ });
7811
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertsResponse({}));
7812
+ }
7813
+ async describeAlerts(request) {
7814
+ let runtime = new $Util.RuntimeOptions({});
7815
+ return await this.describeAlertsWithOptions(request, runtime);
7816
+ }
7127
7817
  async describeAlertsCountWithOptions(request, runtime) {
7128
7818
  tea_util_1.default.validateModel(request);
7129
7819
  let body = {};
@@ -7156,6 +7846,97 @@ class Client extends openapi_client_1.default {
7156
7846
  let runtime = new $Util.RuntimeOptions({});
7157
7847
  return await this.describeAlertsCountWithOptions(request, runtime);
7158
7848
  }
7849
+ async describeAlertsWithEntityWithOptions(request, runtime) {
7850
+ tea_util_1.default.validateModel(request);
7851
+ let body = {};
7852
+ if (!tea_util_1.default.isUnset(request.currentPage)) {
7853
+ body["CurrentPage"] = request.currentPage;
7854
+ }
7855
+ if (!tea_util_1.default.isUnset(request.entityId)) {
7856
+ body["EntityId"] = request.entityId;
7857
+ }
7858
+ if (!tea_util_1.default.isUnset(request.incidentUuid)) {
7859
+ body["IncidentUuid"] = request.incidentUuid;
7860
+ }
7861
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
7862
+ body["PageSize"] = request.pageSize;
7863
+ }
7864
+ if (!tea_util_1.default.isUnset(request.regionId)) {
7865
+ body["RegionId"] = request.regionId;
7866
+ }
7867
+ if (!tea_util_1.default.isUnset(request.sophonTaskId)) {
7868
+ body["SophonTaskId"] = request.sophonTaskId;
7869
+ }
7870
+ let req = new $OpenApi.OpenApiRequest({
7871
+ body: openapi_util_1.default.parseToMap(body),
7872
+ });
7873
+ let params = new $OpenApi.Params({
7874
+ action: "DescribeAlertsWithEntity",
7875
+ version: "2022-06-16",
7876
+ protocol: "HTTPS",
7877
+ pathname: "/",
7878
+ method: "POST",
7879
+ authType: "AK",
7880
+ style: "RPC",
7881
+ reqBodyType: "formData",
7882
+ bodyType: "json",
7883
+ });
7884
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertsWithEntityResponse({}));
7885
+ }
7886
+ async describeAlertsWithEntity(request) {
7887
+ let runtime = new $Util.RuntimeOptions({});
7888
+ return await this.describeAlertsWithEntityWithOptions(request, runtime);
7889
+ }
7890
+ async describeAlertsWithEventWithOptions(request, runtime) {
7891
+ tea_util_1.default.validateModel(request);
7892
+ let body = {};
7893
+ if (!tea_util_1.default.isUnset(request.alertTitle)) {
7894
+ body["AlertTitle"] = request.alertTitle;
7895
+ }
7896
+ if (!tea_util_1.default.isUnset(request.currentPage)) {
7897
+ body["CurrentPage"] = request.currentPage;
7898
+ }
7899
+ if (!tea_util_1.default.isUnset(request.incidentUuid)) {
7900
+ body["IncidentUuid"] = request.incidentUuid;
7901
+ }
7902
+ if (!tea_util_1.default.isUnset(request.isDefend)) {
7903
+ body["IsDefend"] = request.isDefend;
7904
+ }
7905
+ if (!tea_util_1.default.isUnset(request.level)) {
7906
+ body["Level"] = request.level;
7907
+ }
7908
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
7909
+ body["PageSize"] = request.pageSize;
7910
+ }
7911
+ if (!tea_util_1.default.isUnset(request.regionId)) {
7912
+ body["RegionId"] = request.regionId;
7913
+ }
7914
+ if (!tea_util_1.default.isUnset(request.source)) {
7915
+ body["Source"] = request.source;
7916
+ }
7917
+ if (!tea_util_1.default.isUnset(request.subUserId)) {
7918
+ body["SubUserId"] = request.subUserId;
7919
+ }
7920
+ let req = new $OpenApi.OpenApiRequest({
7921
+ body: openapi_util_1.default.parseToMap(body),
7922
+ });
7923
+ let params = new $OpenApi.Params({
7924
+ action: "DescribeAlertsWithEvent",
7925
+ version: "2022-06-16",
7926
+ protocol: "HTTPS",
7927
+ pathname: "/",
7928
+ method: "POST",
7929
+ authType: "AK",
7930
+ style: "RPC",
7931
+ reqBodyType: "formData",
7932
+ bodyType: "json",
7933
+ });
7934
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertsWithEventResponse({}));
7935
+ }
7936
+ async describeAlertsWithEvent(request) {
7937
+ let runtime = new $Util.RuntimeOptions({});
7938
+ return await this.describeAlertsWithEventWithOptions(request, runtime);
7939
+ }
7159
7940
  async describeAttackTimeLineWithOptions(request, runtime) {
7160
7941
  tea_util_1.default.validateModel(request);
7161
7942
  let body = {};