@alicloud/cloud-siem20220616 2.0.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/client.js CHANGED
@@ -561,6 +561,66 @@ class DescribeAggregateFunctionResponse extends $tea.Model {
561
561
  }
562
562
  }
563
563
  exports.DescribeAggregateFunctionResponse = DescribeAggregateFunctionResponse;
564
+ class DescribeAlertSceneRequest extends $tea.Model {
565
+ constructor(map) {
566
+ super(map);
567
+ }
568
+ static names() {
569
+ return {
570
+ regionId: 'RegionId',
571
+ };
572
+ }
573
+ static types() {
574
+ return {
575
+ regionId: 'string',
576
+ };
577
+ }
578
+ }
579
+ exports.DescribeAlertSceneRequest = DescribeAlertSceneRequest;
580
+ class DescribeAlertSceneResponseBody extends $tea.Model {
581
+ constructor(map) {
582
+ super(map);
583
+ }
584
+ static names() {
585
+ return {
586
+ code: 'Code',
587
+ data: 'Data',
588
+ message: 'Message',
589
+ requestId: 'RequestId',
590
+ success: 'Success',
591
+ };
592
+ }
593
+ static types() {
594
+ return {
595
+ code: 'number',
596
+ data: { 'type': 'array', 'itemType': DescribeAlertSceneResponseBodyData },
597
+ message: 'string',
598
+ requestId: 'string',
599
+ success: 'boolean',
600
+ };
601
+ }
602
+ }
603
+ exports.DescribeAlertSceneResponseBody = DescribeAlertSceneResponseBody;
604
+ class DescribeAlertSceneResponse extends $tea.Model {
605
+ constructor(map) {
606
+ super(map);
607
+ }
608
+ static names() {
609
+ return {
610
+ headers: 'headers',
611
+ statusCode: 'statusCode',
612
+ body: 'body',
613
+ };
614
+ }
615
+ static types() {
616
+ return {
617
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
618
+ statusCode: 'number',
619
+ body: DescribeAlertSceneResponseBody,
620
+ };
621
+ }
622
+ }
623
+ exports.DescribeAlertSceneResponse = DescribeAlertSceneResponse;
564
624
  class DescribeAlertSceneByEventRequest extends $tea.Model {
565
625
  constructor(map) {
566
626
  super(map);
@@ -811,6 +871,86 @@ class DescribeAlertTypeResponse extends $tea.Model {
811
871
  }
812
872
  }
813
873
  exports.DescribeAlertTypeResponse = DescribeAlertTypeResponse;
874
+ class DescribeAlertsRequest extends $tea.Model {
875
+ constructor(map) {
876
+ super(map);
877
+ }
878
+ static names() {
879
+ return {
880
+ alertTitle: 'AlertTitle',
881
+ alertUuid: 'AlertUuid',
882
+ currentPage: 'CurrentPage',
883
+ endTime: 'EndTime',
884
+ isDefend: 'IsDefend',
885
+ level: 'Level',
886
+ pageSize: 'PageSize',
887
+ regionId: 'RegionId',
888
+ source: 'Source',
889
+ startTime: 'StartTime',
890
+ subUserId: 'SubUserId',
891
+ };
892
+ }
893
+ static types() {
894
+ return {
895
+ alertTitle: 'string',
896
+ alertUuid: 'string',
897
+ currentPage: 'number',
898
+ endTime: 'number',
899
+ isDefend: 'string',
900
+ level: { 'type': 'array', 'itemType': 'string' },
901
+ pageSize: 'number',
902
+ regionId: 'string',
903
+ source: 'string',
904
+ startTime: 'number',
905
+ subUserId: 'string',
906
+ };
907
+ }
908
+ }
909
+ exports.DescribeAlertsRequest = DescribeAlertsRequest;
910
+ class DescribeAlertsResponseBody extends $tea.Model {
911
+ constructor(map) {
912
+ super(map);
913
+ }
914
+ static names() {
915
+ return {
916
+ code: 'Code',
917
+ data: 'Data',
918
+ message: 'Message',
919
+ requestId: 'RequestId',
920
+ success: 'Success',
921
+ };
922
+ }
923
+ static types() {
924
+ return {
925
+ code: 'number',
926
+ data: DescribeAlertsResponseBodyData,
927
+ message: 'string',
928
+ requestId: 'string',
929
+ success: 'boolean',
930
+ };
931
+ }
932
+ }
933
+ exports.DescribeAlertsResponseBody = DescribeAlertsResponseBody;
934
+ class DescribeAlertsResponse extends $tea.Model {
935
+ constructor(map) {
936
+ super(map);
937
+ }
938
+ static names() {
939
+ return {
940
+ headers: 'headers',
941
+ statusCode: 'statusCode',
942
+ body: 'body',
943
+ };
944
+ }
945
+ static types() {
946
+ return {
947
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
948
+ statusCode: 'number',
949
+ body: DescribeAlertsResponseBody,
950
+ };
951
+ }
952
+ }
953
+ exports.DescribeAlertsResponse = DescribeAlertsResponse;
814
954
  class DescribeAlertsCountRequest extends $tea.Model {
815
955
  constructor(map) {
816
956
  super(map);
@@ -875,6 +1015,152 @@ class DescribeAlertsCountResponse extends $tea.Model {
875
1015
  }
876
1016
  }
877
1017
  exports.DescribeAlertsCountResponse = DescribeAlertsCountResponse;
1018
+ class DescribeAlertsWithEntityRequest extends $tea.Model {
1019
+ constructor(map) {
1020
+ super(map);
1021
+ }
1022
+ static names() {
1023
+ return {
1024
+ currentPage: 'CurrentPage',
1025
+ entityId: 'EntityId',
1026
+ incidentUuid: 'IncidentUuid',
1027
+ pageSize: 'PageSize',
1028
+ regionId: 'RegionId',
1029
+ sophonTaskId: 'SophonTaskId',
1030
+ };
1031
+ }
1032
+ static types() {
1033
+ return {
1034
+ currentPage: 'number',
1035
+ entityId: 'number',
1036
+ incidentUuid: 'string',
1037
+ pageSize: 'number',
1038
+ regionId: 'string',
1039
+ sophonTaskId: 'string',
1040
+ };
1041
+ }
1042
+ }
1043
+ exports.DescribeAlertsWithEntityRequest = DescribeAlertsWithEntityRequest;
1044
+ class DescribeAlertsWithEntityResponseBody extends $tea.Model {
1045
+ constructor(map) {
1046
+ super(map);
1047
+ }
1048
+ static names() {
1049
+ return {
1050
+ code: 'Code',
1051
+ data: 'Data',
1052
+ message: 'Message',
1053
+ requestId: 'RequestId',
1054
+ success: 'Success',
1055
+ };
1056
+ }
1057
+ static types() {
1058
+ return {
1059
+ code: 'number',
1060
+ data: DescribeAlertsWithEntityResponseBodyData,
1061
+ message: 'string',
1062
+ requestId: 'string',
1063
+ success: 'boolean',
1064
+ };
1065
+ }
1066
+ }
1067
+ exports.DescribeAlertsWithEntityResponseBody = DescribeAlertsWithEntityResponseBody;
1068
+ class DescribeAlertsWithEntityResponse extends $tea.Model {
1069
+ constructor(map) {
1070
+ super(map);
1071
+ }
1072
+ static names() {
1073
+ return {
1074
+ headers: 'headers',
1075
+ statusCode: 'statusCode',
1076
+ body: 'body',
1077
+ };
1078
+ }
1079
+ static types() {
1080
+ return {
1081
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1082
+ statusCode: 'number',
1083
+ body: DescribeAlertsWithEntityResponseBody,
1084
+ };
1085
+ }
1086
+ }
1087
+ exports.DescribeAlertsWithEntityResponse = DescribeAlertsWithEntityResponse;
1088
+ class DescribeAlertsWithEventRequest extends $tea.Model {
1089
+ constructor(map) {
1090
+ super(map);
1091
+ }
1092
+ static names() {
1093
+ return {
1094
+ alertTitle: 'AlertTitle',
1095
+ currentPage: 'CurrentPage',
1096
+ incidentUuid: 'IncidentUuid',
1097
+ isDefend: 'IsDefend',
1098
+ level: 'Level',
1099
+ pageSize: 'PageSize',
1100
+ regionId: 'RegionId',
1101
+ source: 'Source',
1102
+ subUserId: 'SubUserId',
1103
+ };
1104
+ }
1105
+ static types() {
1106
+ return {
1107
+ alertTitle: 'string',
1108
+ currentPage: 'number',
1109
+ incidentUuid: 'string',
1110
+ isDefend: 'string',
1111
+ level: { 'type': 'array', 'itemType': 'string' },
1112
+ pageSize: 'number',
1113
+ regionId: 'string',
1114
+ source: 'string',
1115
+ subUserId: 'number',
1116
+ };
1117
+ }
1118
+ }
1119
+ exports.DescribeAlertsWithEventRequest = DescribeAlertsWithEventRequest;
1120
+ class DescribeAlertsWithEventResponseBody extends $tea.Model {
1121
+ constructor(map) {
1122
+ super(map);
1123
+ }
1124
+ static names() {
1125
+ return {
1126
+ code: 'Code',
1127
+ data: 'Data',
1128
+ message: 'Message',
1129
+ requestId: 'RequestId',
1130
+ success: 'Success',
1131
+ };
1132
+ }
1133
+ static types() {
1134
+ return {
1135
+ code: 'number',
1136
+ data: DescribeAlertsWithEventResponseBodyData,
1137
+ message: 'string',
1138
+ requestId: 'string',
1139
+ success: 'boolean',
1140
+ };
1141
+ }
1142
+ }
1143
+ exports.DescribeAlertsWithEventResponseBody = DescribeAlertsWithEventResponseBody;
1144
+ class DescribeAlertsWithEventResponse extends $tea.Model {
1145
+ constructor(map) {
1146
+ super(map);
1147
+ }
1148
+ static names() {
1149
+ return {
1150
+ headers: 'headers',
1151
+ statusCode: 'statusCode',
1152
+ body: 'body',
1153
+ };
1154
+ }
1155
+ static types() {
1156
+ return {
1157
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1158
+ statusCode: 'number',
1159
+ body: DescribeAlertsWithEventResponseBody,
1160
+ };
1161
+ }
1162
+ }
1163
+ exports.DescribeAlertsWithEventResponse = DescribeAlertsWithEventResponse;
878
1164
  class DescribeAttackTimeLineRequest extends $tea.Model {
879
1165
  constructor(map) {
880
1166
  super(map);
@@ -2541,17 +2827,87 @@ class DescribeWafScopeResponse extends $tea.Model {
2541
2827
  }
2542
2828
  }
2543
2829
  exports.DescribeWafScopeResponse = DescribeWafScopeResponse;
2544
- class DoQuickFieldRequest extends $tea.Model {
2830
+ class DescribeWhiteRuleListRequest extends $tea.Model {
2545
2831
  constructor(map) {
2546
2832
  super(map);
2547
2833
  }
2548
2834
  static names() {
2549
2835
  return {
2550
- from: 'From',
2551
- index: 'Index',
2552
- page: 'Page',
2553
- regionId: 'RegionId',
2554
- reverse: 'Reverse',
2836
+ alertName: 'AlertName',
2837
+ alertType: 'AlertType',
2838
+ currentPage: 'CurrentPage',
2839
+ incidentUuid: 'IncidentUuid',
2840
+ pageSize: 'PageSize',
2841
+ regionId: 'RegionId',
2842
+ };
2843
+ }
2844
+ static types() {
2845
+ return {
2846
+ alertName: 'string',
2847
+ alertType: 'string',
2848
+ currentPage: 'number',
2849
+ incidentUuid: 'string',
2850
+ pageSize: 'number',
2851
+ regionId: 'string',
2852
+ };
2853
+ }
2854
+ }
2855
+ exports.DescribeWhiteRuleListRequest = DescribeWhiteRuleListRequest;
2856
+ class DescribeWhiteRuleListResponseBody extends $tea.Model {
2857
+ constructor(map) {
2858
+ super(map);
2859
+ }
2860
+ static names() {
2861
+ return {
2862
+ code: 'Code',
2863
+ data: 'Data',
2864
+ message: 'Message',
2865
+ requestId: 'RequestId',
2866
+ success: 'Success',
2867
+ };
2868
+ }
2869
+ static types() {
2870
+ return {
2871
+ code: 'number',
2872
+ data: DescribeWhiteRuleListResponseBodyData,
2873
+ message: 'string',
2874
+ requestId: 'string',
2875
+ success: 'boolean',
2876
+ };
2877
+ }
2878
+ }
2879
+ exports.DescribeWhiteRuleListResponseBody = DescribeWhiteRuleListResponseBody;
2880
+ class DescribeWhiteRuleListResponse extends $tea.Model {
2881
+ constructor(map) {
2882
+ super(map);
2883
+ }
2884
+ static names() {
2885
+ return {
2886
+ headers: 'headers',
2887
+ statusCode: 'statusCode',
2888
+ body: 'body',
2889
+ };
2890
+ }
2891
+ static types() {
2892
+ return {
2893
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2894
+ statusCode: 'number',
2895
+ body: DescribeWhiteRuleListResponseBody,
2896
+ };
2897
+ }
2898
+ }
2899
+ exports.DescribeWhiteRuleListResponse = DescribeWhiteRuleListResponse;
2900
+ class DoQuickFieldRequest extends $tea.Model {
2901
+ constructor(map) {
2902
+ super(map);
2903
+ }
2904
+ static names() {
2905
+ return {
2906
+ from: 'From',
2907
+ index: 'Index',
2908
+ page: 'Page',
2909
+ regionId: 'RegionId',
2910
+ reverse: 'Reverse',
2555
2911
  size: 'Size',
2556
2912
  to: 'To',
2557
2913
  };
@@ -4805,6 +5161,56 @@ class DescribeAggregateFunctionResponseBodyData extends $tea.Model {
4805
5161
  }
4806
5162
  }
4807
5163
  exports.DescribeAggregateFunctionResponseBodyData = DescribeAggregateFunctionResponseBodyData;
5164
+ class DescribeAlertSceneResponseBodyDataTargets extends $tea.Model {
5165
+ constructor(map) {
5166
+ super(map);
5167
+ }
5168
+ static names() {
5169
+ return {
5170
+ name: 'Name',
5171
+ type: 'Type',
5172
+ value: 'Value',
5173
+ values: 'Values',
5174
+ };
5175
+ }
5176
+ static types() {
5177
+ return {
5178
+ name: 'string',
5179
+ type: 'string',
5180
+ value: 'string',
5181
+ values: { 'type': 'array', 'itemType': 'string' },
5182
+ };
5183
+ }
5184
+ }
5185
+ exports.DescribeAlertSceneResponseBodyDataTargets = DescribeAlertSceneResponseBodyDataTargets;
5186
+ class DescribeAlertSceneResponseBodyData extends $tea.Model {
5187
+ constructor(map) {
5188
+ super(map);
5189
+ }
5190
+ static names() {
5191
+ return {
5192
+ alertName: 'AlertName',
5193
+ alertNameId: 'AlertNameId',
5194
+ alertTile: 'AlertTile',
5195
+ alertTileId: 'AlertTileId',
5196
+ alertType: 'AlertType',
5197
+ alertTypeId: 'AlertTypeId',
5198
+ targets: 'Targets',
5199
+ };
5200
+ }
5201
+ static types() {
5202
+ return {
5203
+ alertName: 'string',
5204
+ alertNameId: 'string',
5205
+ alertTile: 'string',
5206
+ alertTileId: 'string',
5207
+ alertType: 'string',
5208
+ alertTypeId: 'string',
5209
+ targets: { 'type': 'array', 'itemType': DescribeAlertSceneResponseBodyDataTargets },
5210
+ };
5211
+ }
5212
+ }
5213
+ exports.DescribeAlertSceneResponseBodyData = DescribeAlertSceneResponseBodyData;
4808
5214
  class DescribeAlertSceneByEventResponseBodyDataTargets extends $tea.Model {
4809
5215
  constructor(map) {
4810
5216
  super(map);
@@ -4909,195 +5315,603 @@ class DescribeAlertTypeResponseBodyData extends $tea.Model {
4909
5315
  }
4910
5316
  }
4911
5317
  exports.DescribeAlertTypeResponseBodyData = DescribeAlertTypeResponseBodyData;
4912
- class DescribeAlertsCountResponseBodyData extends $tea.Model {
5318
+ class DescribeAlertsResponseBodyDataPageInfo extends $tea.Model {
4913
5319
  constructor(map) {
4914
5320
  super(map);
4915
5321
  }
4916
5322
  static names() {
4917
5323
  return {
4918
- all: 'All',
4919
- high: 'High',
4920
- low: 'Low',
4921
- medium: 'Medium',
4922
- productNum: 'ProductNum',
5324
+ currentPage: 'CurrentPage',
5325
+ pageSize: 'PageSize',
5326
+ totalCount: 'TotalCount',
4923
5327
  };
4924
5328
  }
4925
5329
  static types() {
4926
5330
  return {
4927
- all: 'number',
4928
- high: 'number',
4929
- low: 'number',
4930
- medium: 'number',
4931
- productNum: 'number',
5331
+ currentPage: 'number',
5332
+ pageSize: 'number',
5333
+ totalCount: 'number',
4932
5334
  };
4933
5335
  }
4934
5336
  }
4935
- exports.DescribeAlertsCountResponseBodyData = DescribeAlertsCountResponseBodyData;
4936
- class DescribeAttackTimeLineResponseBodyData extends $tea.Model {
5337
+ exports.DescribeAlertsResponseBodyDataPageInfo = DescribeAlertsResponseBodyDataPageInfo;
5338
+ class DescribeAlertsResponseBodyDataResponseDataAlertInfoList extends $tea.Model {
5339
+ constructor(map) {
5340
+ super(map);
5341
+ }
5342
+ static names() {
5343
+ return {
5344
+ key: 'Key',
5345
+ keyName: 'KeyName',
5346
+ values: 'Values',
5347
+ };
5348
+ }
5349
+ static types() {
5350
+ return {
5351
+ key: 'string',
5352
+ keyName: 'string',
5353
+ values: 'string',
5354
+ };
5355
+ }
5356
+ }
5357
+ exports.DescribeAlertsResponseBodyDataResponseDataAlertInfoList = DescribeAlertsResponseBodyDataResponseDataAlertInfoList;
5358
+ class DescribeAlertsResponseBodyDataResponseData extends $tea.Model {
4937
5359
  constructor(map) {
4938
5360
  super(map);
4939
5361
  }
4940
5362
  static names() {
4941
5363
  return {
5364
+ alertDesc: 'AlertDesc',
5365
+ alertDescCode: 'AlertDescCode',
5366
+ alertDescEn: 'AlertDescEn',
5367
+ alertDetail: 'AlertDetail',
5368
+ alertInfoList: 'AlertInfoList',
4942
5369
  alertLevel: 'AlertLevel',
4943
5370
  alertName: 'AlertName',
4944
5371
  alertNameCode: 'AlertNameCode',
4945
5372
  alertNameEn: 'AlertNameEn',
4946
5373
  alertSrcProd: 'AlertSrcProd',
4947
5374
  alertSrcProdModule: 'AlertSrcProdModule',
4948
- alertTime: 'AlertTime',
4949
5375
  alertTitle: 'AlertTitle',
4950
5376
  alertTitleEn: 'AlertTitleEn',
4951
5377
  alertType: 'AlertType',
4952
5378
  alertTypeCode: 'AlertTypeCode',
4953
5379
  alertTypeEn: 'AlertTypeEn',
4954
5380
  alertUuid: 'AlertUuid',
4955
- assetId: 'AssetId',
4956
5381
  assetList: 'AssetList',
4957
- assetName: 'AssetName',
4958
5382
  attCk: 'AttCk',
4959
5383
  cloudCode: 'CloudCode',
5384
+ endTime: 'EndTime',
5385
+ gmtCreate: 'GmtCreate',
5386
+ gmtModified: 'GmtModified',
5387
+ id: 'Id',
4960
5388
  incidentUuid: 'IncidentUuid',
5389
+ isDefend: 'IsDefend',
4961
5390
  logTime: 'LogTime',
5391
+ logUuid: 'LogUuid',
5392
+ mainUserId: 'MainUserId',
5393
+ occurTime: 'OccurTime',
5394
+ startTime: 'StartTime',
5395
+ subUserId: 'SubUserId',
4962
5396
  };
4963
5397
  }
4964
5398
  static types() {
4965
5399
  return {
5400
+ alertDesc: 'string',
5401
+ alertDescCode: 'string',
5402
+ alertDescEn: 'string',
5403
+ alertDetail: 'string',
5404
+ alertInfoList: { 'type': 'array', 'itemType': DescribeAlertsResponseBodyDataResponseDataAlertInfoList },
4966
5405
  alertLevel: 'string',
4967
5406
  alertName: 'string',
4968
5407
  alertNameCode: 'string',
4969
5408
  alertNameEn: 'string',
4970
5409
  alertSrcProd: 'string',
4971
5410
  alertSrcProdModule: 'string',
4972
- alertTime: 'number',
4973
5411
  alertTitle: 'string',
4974
5412
  alertTitleEn: 'string',
4975
5413
  alertType: 'string',
4976
5414
  alertTypeCode: 'string',
4977
5415
  alertTypeEn: 'string',
4978
5416
  alertUuid: 'string',
4979
- assetId: 'string',
4980
5417
  assetList: 'string',
4981
- assetName: 'string',
4982
5418
  attCk: 'string',
4983
5419
  cloudCode: 'string',
5420
+ endTime: 'string',
5421
+ gmtCreate: 'string',
5422
+ gmtModified: 'string',
5423
+ id: 'number',
4984
5424
  incidentUuid: 'string',
5425
+ isDefend: 'string',
4985
5426
  logTime: 'string',
5427
+ logUuid: 'string',
5428
+ mainUserId: 'number',
5429
+ occurTime: 'string',
5430
+ startTime: 'string',
5431
+ subUserId: 'number',
4986
5432
  };
4987
5433
  }
4988
5434
  }
4989
- exports.DescribeAttackTimeLineResponseBodyData = DescribeAttackTimeLineResponseBodyData;
4990
- class DescribeAutomateResponseConfigCounterResponseBodyData extends $tea.Model {
5435
+ exports.DescribeAlertsResponseBodyDataResponseData = DescribeAlertsResponseBodyDataResponseData;
5436
+ class DescribeAlertsResponseBodyData extends $tea.Model {
4991
5437
  constructor(map) {
4992
5438
  super(map);
4993
5439
  }
4994
5440
  static names() {
4995
5441
  return {
4996
- all: 'All',
4997
- online: 'Online',
5442
+ pageInfo: 'PageInfo',
5443
+ responseData: 'ResponseData',
4998
5444
  };
4999
5445
  }
5000
5446
  static types() {
5001
5447
  return {
5002
- all: 'number',
5003
- online: 'number',
5448
+ pageInfo: DescribeAlertsResponseBodyDataPageInfo,
5449
+ responseData: { 'type': 'array', 'itemType': DescribeAlertsResponseBodyDataResponseData },
5004
5450
  };
5005
5451
  }
5006
5452
  }
5007
- exports.DescribeAutomateResponseConfigCounterResponseBodyData = DescribeAutomateResponseConfigCounterResponseBodyData;
5008
- class DescribeAutomateResponseConfigFeatureResponseBodyDataRightValueEnums extends $tea.Model {
5453
+ exports.DescribeAlertsResponseBodyData = DescribeAlertsResponseBodyData;
5454
+ class DescribeAlertsCountResponseBodyData extends $tea.Model {
5009
5455
  constructor(map) {
5010
5456
  super(map);
5011
5457
  }
5012
5458
  static names() {
5013
5459
  return {
5014
- value: 'Value',
5015
- valueMds: 'ValueMds',
5460
+ all: 'All',
5461
+ high: 'High',
5462
+ low: 'Low',
5463
+ medium: 'Medium',
5464
+ productNum: 'ProductNum',
5016
5465
  };
5017
5466
  }
5018
5467
  static types() {
5019
5468
  return {
5020
- value: 'string',
5021
- valueMds: 'string',
5469
+ all: 'number',
5470
+ high: 'number',
5471
+ low: 'number',
5472
+ medium: 'number',
5473
+ productNum: 'number',
5022
5474
  };
5023
5475
  }
5024
5476
  }
5025
- exports.DescribeAutomateResponseConfigFeatureResponseBodyDataRightValueEnums = DescribeAutomateResponseConfigFeatureResponseBodyDataRightValueEnums;
5026
- class DescribeAutomateResponseConfigFeatureResponseBodyDataSupportOperators extends $tea.Model {
5477
+ exports.DescribeAlertsCountResponseBodyData = DescribeAlertsCountResponseBodyData;
5478
+ class DescribeAlertsWithEntityResponseBodyDataPageInfo extends $tea.Model {
5027
5479
  constructor(map) {
5028
5480
  super(map);
5029
5481
  }
5030
5482
  static names() {
5031
5483
  return {
5032
- hasRightValue: 'HasRightValue',
5033
- index: 'Index',
5034
- operator: 'Operator',
5035
- operatorDescCn: 'OperatorDescCn',
5036
- operatorDescEn: 'OperatorDescEn',
5037
- operatorName: 'OperatorName',
5038
- supportDataType: 'SupportDataType',
5039
- supportTag: 'SupportTag',
5484
+ currentPage: 'CurrentPage',
5485
+ pageSize: 'PageSize',
5486
+ totalCount: 'TotalCount',
5040
5487
  };
5041
5488
  }
5042
5489
  static types() {
5043
5490
  return {
5044
- hasRightValue: 'boolean',
5045
- index: 'number',
5046
- operator: 'string',
5047
- operatorDescCn: 'string',
5048
- operatorDescEn: 'string',
5049
- operatorName: 'string',
5050
- supportDataType: 'string',
5051
- supportTag: { 'type': 'array', 'itemType': 'string' },
5491
+ currentPage: 'number',
5492
+ pageSize: 'number',
5493
+ totalCount: 'number',
5052
5494
  };
5053
5495
  }
5054
5496
  }
5055
- exports.DescribeAutomateResponseConfigFeatureResponseBodyDataSupportOperators = DescribeAutomateResponseConfigFeatureResponseBodyDataSupportOperators;
5056
- class DescribeAutomateResponseConfigFeatureResponseBodyData extends $tea.Model {
5497
+ exports.DescribeAlertsWithEntityResponseBodyDataPageInfo = DescribeAlertsWithEntityResponseBodyDataPageInfo;
5498
+ class DescribeAlertsWithEntityResponseBodyDataResponseDataAlertInfoList extends $tea.Model {
5057
5499
  constructor(map) {
5058
5500
  super(map);
5059
5501
  }
5060
5502
  static names() {
5061
5503
  return {
5062
- dataType: 'DataType',
5063
- feature: 'Feature',
5064
- rightValueEnums: 'RightValueEnums',
5065
- supportOperators: 'SupportOperators',
5504
+ key: 'Key',
5505
+ keyName: 'KeyName',
5506
+ values: 'Values',
5066
5507
  };
5067
5508
  }
5068
5509
  static types() {
5069
5510
  return {
5070
- dataType: 'string',
5071
- feature: 'string',
5072
- rightValueEnums: { 'type': 'array', 'itemType': DescribeAutomateResponseConfigFeatureResponseBodyDataRightValueEnums },
5073
- supportOperators: { 'type': 'array', 'itemType': DescribeAutomateResponseConfigFeatureResponseBodyDataSupportOperators },
5511
+ key: 'string',
5512
+ keyName: 'string',
5513
+ values: 'string',
5074
5514
  };
5075
5515
  }
5076
5516
  }
5077
- exports.DescribeAutomateResponseConfigFeatureResponseBodyData = DescribeAutomateResponseConfigFeatureResponseBodyData;
5078
- class DescribeAutomateResponseConfigPlayBooksResponseBodyData extends $tea.Model {
5517
+ exports.DescribeAlertsWithEntityResponseBodyDataResponseDataAlertInfoList = DescribeAlertsWithEntityResponseBodyDataResponseDataAlertInfoList;
5518
+ class DescribeAlertsWithEntityResponseBodyDataResponseData extends $tea.Model {
5079
5519
  constructor(map) {
5080
5520
  super(map);
5081
5521
  }
5082
5522
  static names() {
5083
5523
  return {
5084
- description: 'Description',
5085
- displayName: 'DisplayName',
5086
- name: 'Name',
5087
- paramType: 'ParamType',
5088
- uuid: 'Uuid',
5089
- };
5090
- }
5091
- static types() {
5092
- return {
5093
- description: 'string',
5094
- displayName: 'string',
5095
- name: 'string',
5096
- paramType: 'string',
5097
- uuid: 'string',
5098
- };
5099
- }
5100
- }
5524
+ alertDesc: 'AlertDesc',
5525
+ alertDescCode: 'AlertDescCode',
5526
+ alertDescEn: 'AlertDescEn',
5527
+ alertDetail: 'AlertDetail',
5528
+ alertInfoList: 'AlertInfoList',
5529
+ alertLevel: 'AlertLevel',
5530
+ alertName: 'AlertName',
5531
+ alertNameCode: 'AlertNameCode',
5532
+ alertNameEn: 'AlertNameEn',
5533
+ alertSrcProd: 'AlertSrcProd',
5534
+ alertSrcProdModule: 'AlertSrcProdModule',
5535
+ alertTitle: 'AlertTitle',
5536
+ alertTitleEn: 'AlertTitleEn',
5537
+ alertType: 'AlertType',
5538
+ alertTypeCode: 'AlertTypeCode',
5539
+ alertTypeEn: 'AlertTypeEn',
5540
+ alertUuid: 'AlertUuid',
5541
+ assetList: 'AssetList',
5542
+ attCk: 'AttCk',
5543
+ cloudCode: 'CloudCode',
5544
+ endTime: 'EndTime',
5545
+ gmtCreate: 'GmtCreate',
5546
+ gmtModified: 'GmtModified',
5547
+ id: 'Id',
5548
+ incidentUuid: 'IncidentUuid',
5549
+ isDefend: 'IsDefend',
5550
+ logTime: 'LogTime',
5551
+ logUuid: 'LogUuid',
5552
+ mainUserId: 'MainUserId',
5553
+ occurTime: 'OccurTime',
5554
+ startTime: 'StartTime',
5555
+ subUserId: 'SubUserId',
5556
+ };
5557
+ }
5558
+ static types() {
5559
+ return {
5560
+ alertDesc: 'string',
5561
+ alertDescCode: 'string',
5562
+ alertDescEn: 'string',
5563
+ alertDetail: 'string',
5564
+ alertInfoList: { 'type': 'array', 'itemType': DescribeAlertsWithEntityResponseBodyDataResponseDataAlertInfoList },
5565
+ alertLevel: 'string',
5566
+ alertName: 'string',
5567
+ alertNameCode: 'string',
5568
+ alertNameEn: 'string',
5569
+ alertSrcProd: 'string',
5570
+ alertSrcProdModule: 'string',
5571
+ alertTitle: 'string',
5572
+ alertTitleEn: 'string',
5573
+ alertType: 'string',
5574
+ alertTypeCode: 'string',
5575
+ alertTypeEn: 'string',
5576
+ alertUuid: 'string',
5577
+ assetList: 'string',
5578
+ attCk: 'string',
5579
+ cloudCode: 'string',
5580
+ endTime: 'string',
5581
+ gmtCreate: 'string',
5582
+ gmtModified: 'string',
5583
+ id: 'number',
5584
+ incidentUuid: 'string',
5585
+ isDefend: 'string',
5586
+ logTime: 'string',
5587
+ logUuid: 'string',
5588
+ mainUserId: 'number',
5589
+ occurTime: 'string',
5590
+ startTime: 'string',
5591
+ subUserId: 'number',
5592
+ };
5593
+ }
5594
+ }
5595
+ exports.DescribeAlertsWithEntityResponseBodyDataResponseData = DescribeAlertsWithEntityResponseBodyDataResponseData;
5596
+ class DescribeAlertsWithEntityResponseBodyData extends $tea.Model {
5597
+ constructor(map) {
5598
+ super(map);
5599
+ }
5600
+ static names() {
5601
+ return {
5602
+ pageInfo: 'PageInfo',
5603
+ responseData: 'ResponseData',
5604
+ };
5605
+ }
5606
+ static types() {
5607
+ return {
5608
+ pageInfo: DescribeAlertsWithEntityResponseBodyDataPageInfo,
5609
+ responseData: { 'type': 'array', 'itemType': DescribeAlertsWithEntityResponseBodyDataResponseData },
5610
+ };
5611
+ }
5612
+ }
5613
+ exports.DescribeAlertsWithEntityResponseBodyData = DescribeAlertsWithEntityResponseBodyData;
5614
+ class DescribeAlertsWithEventResponseBodyDataPageInfo extends $tea.Model {
5615
+ constructor(map) {
5616
+ super(map);
5617
+ }
5618
+ static names() {
5619
+ return {
5620
+ currentPage: 'CurrentPage',
5621
+ pageSize: 'PageSize',
5622
+ totalCount: 'TotalCount',
5623
+ };
5624
+ }
5625
+ static types() {
5626
+ return {
5627
+ currentPage: 'number',
5628
+ pageSize: 'number',
5629
+ totalCount: 'number',
5630
+ };
5631
+ }
5632
+ }
5633
+ exports.DescribeAlertsWithEventResponseBodyDataPageInfo = DescribeAlertsWithEventResponseBodyDataPageInfo;
5634
+ class DescribeAlertsWithEventResponseBodyDataResponseDataAlertInfoList extends $tea.Model {
5635
+ constructor(map) {
5636
+ super(map);
5637
+ }
5638
+ static names() {
5639
+ return {
5640
+ key: 'Key',
5641
+ keyName: 'KeyName',
5642
+ values: 'Values',
5643
+ };
5644
+ }
5645
+ static types() {
5646
+ return {
5647
+ key: 'string',
5648
+ keyName: 'string',
5649
+ values: 'string',
5650
+ };
5651
+ }
5652
+ }
5653
+ exports.DescribeAlertsWithEventResponseBodyDataResponseDataAlertInfoList = DescribeAlertsWithEventResponseBodyDataResponseDataAlertInfoList;
5654
+ class DescribeAlertsWithEventResponseBodyDataResponseData extends $tea.Model {
5655
+ constructor(map) {
5656
+ super(map);
5657
+ }
5658
+ static names() {
5659
+ return {
5660
+ alertDesc: 'AlertDesc',
5661
+ alertDescCode: 'AlertDescCode',
5662
+ alertDescEn: 'AlertDescEn',
5663
+ alertDetail: 'AlertDetail',
5664
+ alertInfoList: 'AlertInfoList',
5665
+ alertLevel: 'AlertLevel',
5666
+ alertName: 'AlertName',
5667
+ alertNameCode: 'AlertNameCode',
5668
+ alertNameEn: 'AlertNameEn',
5669
+ alertSrcProd: 'AlertSrcProd',
5670
+ alertSrcProdModule: 'AlertSrcProdModule',
5671
+ alertTitle: 'AlertTitle',
5672
+ alertTitleEn: 'AlertTitleEn',
5673
+ alertType: 'AlertType',
5674
+ alertTypeCode: 'AlertTypeCode',
5675
+ alertTypeEn: 'AlertTypeEn',
5676
+ alertUuid: 'AlertUuid',
5677
+ assetList: 'AssetList',
5678
+ attCk: 'AttCk',
5679
+ cloudCode: 'CloudCode',
5680
+ endTime: 'EndTime',
5681
+ gmtCreate: 'GmtCreate',
5682
+ gmtModified: 'GmtModified',
5683
+ id: 'Id',
5684
+ incidentUuid: 'IncidentUuid',
5685
+ isDefend: 'IsDefend',
5686
+ logTime: 'LogTime',
5687
+ logUuid: 'LogUuid',
5688
+ mainUserId: 'MainUserId',
5689
+ occurTime: 'OccurTime',
5690
+ startTime: 'StartTime',
5691
+ subUserId: 'SubUserId',
5692
+ };
5693
+ }
5694
+ static types() {
5695
+ return {
5696
+ alertDesc: 'string',
5697
+ alertDescCode: 'string',
5698
+ alertDescEn: 'string',
5699
+ alertDetail: 'string',
5700
+ alertInfoList: { 'type': 'array', 'itemType': DescribeAlertsWithEventResponseBodyDataResponseDataAlertInfoList },
5701
+ alertLevel: 'string',
5702
+ alertName: 'string',
5703
+ alertNameCode: 'string',
5704
+ alertNameEn: 'string',
5705
+ alertSrcProd: 'string',
5706
+ alertSrcProdModule: 'string',
5707
+ alertTitle: 'string',
5708
+ alertTitleEn: 'string',
5709
+ alertType: 'string',
5710
+ alertTypeCode: 'string',
5711
+ alertTypeEn: 'string',
5712
+ alertUuid: 'string',
5713
+ assetList: 'string',
5714
+ attCk: 'string',
5715
+ cloudCode: 'string',
5716
+ endTime: 'string',
5717
+ gmtCreate: 'string',
5718
+ gmtModified: 'string',
5719
+ id: 'number',
5720
+ incidentUuid: 'string',
5721
+ isDefend: 'string',
5722
+ logTime: 'string',
5723
+ logUuid: 'string',
5724
+ mainUserId: 'number',
5725
+ occurTime: 'string',
5726
+ startTime: 'string',
5727
+ subUserId: 'number',
5728
+ };
5729
+ }
5730
+ }
5731
+ exports.DescribeAlertsWithEventResponseBodyDataResponseData = DescribeAlertsWithEventResponseBodyDataResponseData;
5732
+ class DescribeAlertsWithEventResponseBodyData extends $tea.Model {
5733
+ constructor(map) {
5734
+ super(map);
5735
+ }
5736
+ static names() {
5737
+ return {
5738
+ pageInfo: 'PageInfo',
5739
+ responseData: 'ResponseData',
5740
+ };
5741
+ }
5742
+ static types() {
5743
+ return {
5744
+ pageInfo: DescribeAlertsWithEventResponseBodyDataPageInfo,
5745
+ responseData: { 'type': 'array', 'itemType': DescribeAlertsWithEventResponseBodyDataResponseData },
5746
+ };
5747
+ }
5748
+ }
5749
+ exports.DescribeAlertsWithEventResponseBodyData = DescribeAlertsWithEventResponseBodyData;
5750
+ class DescribeAttackTimeLineResponseBodyData extends $tea.Model {
5751
+ constructor(map) {
5752
+ super(map);
5753
+ }
5754
+ static names() {
5755
+ return {
5756
+ alertLevel: 'AlertLevel',
5757
+ alertName: 'AlertName',
5758
+ alertNameCode: 'AlertNameCode',
5759
+ alertNameEn: 'AlertNameEn',
5760
+ alertSrcProd: 'AlertSrcProd',
5761
+ alertSrcProdModule: 'AlertSrcProdModule',
5762
+ alertTime: 'AlertTime',
5763
+ alertTitle: 'AlertTitle',
5764
+ alertTitleEn: 'AlertTitleEn',
5765
+ alertType: 'AlertType',
5766
+ alertTypeCode: 'AlertTypeCode',
5767
+ alertTypeEn: 'AlertTypeEn',
5768
+ alertUuid: 'AlertUuid',
5769
+ assetId: 'AssetId',
5770
+ assetList: 'AssetList',
5771
+ assetName: 'AssetName',
5772
+ attCk: 'AttCk',
5773
+ cloudCode: 'CloudCode',
5774
+ incidentUuid: 'IncidentUuid',
5775
+ logTime: 'LogTime',
5776
+ };
5777
+ }
5778
+ static types() {
5779
+ return {
5780
+ alertLevel: 'string',
5781
+ alertName: 'string',
5782
+ alertNameCode: 'string',
5783
+ alertNameEn: 'string',
5784
+ alertSrcProd: 'string',
5785
+ alertSrcProdModule: 'string',
5786
+ alertTime: 'number',
5787
+ alertTitle: 'string',
5788
+ alertTitleEn: 'string',
5789
+ alertType: 'string',
5790
+ alertTypeCode: 'string',
5791
+ alertTypeEn: 'string',
5792
+ alertUuid: 'string',
5793
+ assetId: 'string',
5794
+ assetList: 'string',
5795
+ assetName: 'string',
5796
+ attCk: 'string',
5797
+ cloudCode: 'string',
5798
+ incidentUuid: 'string',
5799
+ logTime: 'string',
5800
+ };
5801
+ }
5802
+ }
5803
+ exports.DescribeAttackTimeLineResponseBodyData = DescribeAttackTimeLineResponseBodyData;
5804
+ class DescribeAutomateResponseConfigCounterResponseBodyData extends $tea.Model {
5805
+ constructor(map) {
5806
+ super(map);
5807
+ }
5808
+ static names() {
5809
+ return {
5810
+ all: 'All',
5811
+ online: 'Online',
5812
+ };
5813
+ }
5814
+ static types() {
5815
+ return {
5816
+ all: 'number',
5817
+ online: 'number',
5818
+ };
5819
+ }
5820
+ }
5821
+ exports.DescribeAutomateResponseConfigCounterResponseBodyData = DescribeAutomateResponseConfigCounterResponseBodyData;
5822
+ class DescribeAutomateResponseConfigFeatureResponseBodyDataRightValueEnums extends $tea.Model {
5823
+ constructor(map) {
5824
+ super(map);
5825
+ }
5826
+ static names() {
5827
+ return {
5828
+ value: 'Value',
5829
+ valueMds: 'ValueMds',
5830
+ };
5831
+ }
5832
+ static types() {
5833
+ return {
5834
+ value: 'string',
5835
+ valueMds: 'string',
5836
+ };
5837
+ }
5838
+ }
5839
+ exports.DescribeAutomateResponseConfigFeatureResponseBodyDataRightValueEnums = DescribeAutomateResponseConfigFeatureResponseBodyDataRightValueEnums;
5840
+ class DescribeAutomateResponseConfigFeatureResponseBodyDataSupportOperators extends $tea.Model {
5841
+ constructor(map) {
5842
+ super(map);
5843
+ }
5844
+ static names() {
5845
+ return {
5846
+ hasRightValue: 'HasRightValue',
5847
+ index: 'Index',
5848
+ operator: 'Operator',
5849
+ operatorDescCn: 'OperatorDescCn',
5850
+ operatorDescEn: 'OperatorDescEn',
5851
+ operatorName: 'OperatorName',
5852
+ supportDataType: 'SupportDataType',
5853
+ supportTag: 'SupportTag',
5854
+ };
5855
+ }
5856
+ static types() {
5857
+ return {
5858
+ hasRightValue: 'boolean',
5859
+ index: 'number',
5860
+ operator: 'string',
5861
+ operatorDescCn: 'string',
5862
+ operatorDescEn: 'string',
5863
+ operatorName: 'string',
5864
+ supportDataType: 'string',
5865
+ supportTag: { 'type': 'array', 'itemType': 'string' },
5866
+ };
5867
+ }
5868
+ }
5869
+ exports.DescribeAutomateResponseConfigFeatureResponseBodyDataSupportOperators = DescribeAutomateResponseConfigFeatureResponseBodyDataSupportOperators;
5870
+ class DescribeAutomateResponseConfigFeatureResponseBodyData extends $tea.Model {
5871
+ constructor(map) {
5872
+ super(map);
5873
+ }
5874
+ static names() {
5875
+ return {
5876
+ dataType: 'DataType',
5877
+ feature: 'Feature',
5878
+ rightValueEnums: 'RightValueEnums',
5879
+ supportOperators: 'SupportOperators',
5880
+ };
5881
+ }
5882
+ static types() {
5883
+ return {
5884
+ dataType: 'string',
5885
+ feature: 'string',
5886
+ rightValueEnums: { 'type': 'array', 'itemType': DescribeAutomateResponseConfigFeatureResponseBodyDataRightValueEnums },
5887
+ supportOperators: { 'type': 'array', 'itemType': DescribeAutomateResponseConfigFeatureResponseBodyDataSupportOperators },
5888
+ };
5889
+ }
5890
+ }
5891
+ exports.DescribeAutomateResponseConfigFeatureResponseBodyData = DescribeAutomateResponseConfigFeatureResponseBodyData;
5892
+ class DescribeAutomateResponseConfigPlayBooksResponseBodyData extends $tea.Model {
5893
+ constructor(map) {
5894
+ super(map);
5895
+ }
5896
+ static names() {
5897
+ return {
5898
+ description: 'Description',
5899
+ displayName: 'DisplayName',
5900
+ name: 'Name',
5901
+ paramType: 'ParamType',
5902
+ uuid: 'Uuid',
5903
+ };
5904
+ }
5905
+ static types() {
5906
+ return {
5907
+ description: 'string',
5908
+ displayName: 'string',
5909
+ name: 'string',
5910
+ paramType: 'string',
5911
+ uuid: 'string',
5912
+ };
5913
+ }
5914
+ }
5101
5915
  exports.DescribeAutomateResponseConfigPlayBooksResponseBodyData = DescribeAutomateResponseConfigPlayBooksResponseBodyData;
5102
5916
  class DescribeCloudSiemAssetsResponseBodyDataPageInfo extends $tea.Model {
5103
5917
  constructor(map) {
@@ -5838,95 +6652,263 @@ class DescribeLogStoreResponseBodyData extends $tea.Model {
5838
6652
  };
5839
6653
  }
5840
6654
  }
5841
- exports.DescribeLogStoreResponseBodyData = DescribeLogStoreResponseBodyData;
5842
- class DescribeLogTypeResponseBodyData extends $tea.Model {
6655
+ exports.DescribeLogStoreResponseBodyData = DescribeLogStoreResponseBodyData;
6656
+ class DescribeLogTypeResponseBodyData extends $tea.Model {
6657
+ constructor(map) {
6658
+ super(map);
6659
+ }
6660
+ static names() {
6661
+ return {
6662
+ logType: 'LogType',
6663
+ logTypeName: 'LogTypeName',
6664
+ };
6665
+ }
6666
+ static types() {
6667
+ return {
6668
+ logType: 'string',
6669
+ logTypeName: 'string',
6670
+ };
6671
+ }
6672
+ }
6673
+ exports.DescribeLogTypeResponseBodyData = DescribeLogTypeResponseBodyData;
6674
+ class DescribeOperatorsResponseBodyData extends $tea.Model {
6675
+ constructor(map) {
6676
+ super(map);
6677
+ }
6678
+ static names() {
6679
+ return {
6680
+ index: 'Index',
6681
+ operator: 'Operator',
6682
+ operatorDescCn: 'OperatorDescCn',
6683
+ operatorDescEn: 'OperatorDescEn',
6684
+ operatorName: 'OperatorName',
6685
+ supportDataType: 'SupportDataType',
6686
+ supportTag: 'SupportTag',
6687
+ };
6688
+ }
6689
+ static types() {
6690
+ return {
6691
+ index: 'number',
6692
+ operator: 'string',
6693
+ operatorDescCn: 'string',
6694
+ operatorDescEn: 'string',
6695
+ operatorName: 'string',
6696
+ supportDataType: 'string',
6697
+ supportTag: { 'type': 'array', 'itemType': 'string' },
6698
+ };
6699
+ }
6700
+ }
6701
+ exports.DescribeOperatorsResponseBodyData = DescribeOperatorsResponseBodyData;
6702
+ class DescribeScopeUsersResponseBodyData extends $tea.Model {
6703
+ constructor(map) {
6704
+ super(map);
6705
+ }
6706
+ static names() {
6707
+ return {
6708
+ aliUid: 'AliUid',
6709
+ domains: 'Domains',
6710
+ instanceId: 'InstanceId',
6711
+ userName: 'UserName',
6712
+ };
6713
+ }
6714
+ static types() {
6715
+ return {
6716
+ aliUid: 'number',
6717
+ domains: { 'type': 'array', 'itemType': 'string' },
6718
+ instanceId: 'string',
6719
+ userName: 'string',
6720
+ };
6721
+ }
6722
+ }
6723
+ exports.DescribeScopeUsersResponseBodyData = DescribeScopeUsersResponseBodyData;
6724
+ class DescribeWafScopeResponseBodyData extends $tea.Model {
6725
+ constructor(map) {
6726
+ super(map);
6727
+ }
6728
+ static names() {
6729
+ return {
6730
+ aliuid: 'Aliuid',
6731
+ domains: 'Domains',
6732
+ instanceId: 'InstanceId',
6733
+ };
6734
+ }
6735
+ static types() {
6736
+ return {
6737
+ aliuid: 'number',
6738
+ domains: { 'type': 'array', 'itemType': 'string' },
6739
+ instanceId: 'string',
6740
+ };
6741
+ }
6742
+ }
6743
+ exports.DescribeWafScopeResponseBodyData = DescribeWafScopeResponseBodyData;
6744
+ class DescribeWhiteRuleListResponseBodyDataPageInfo extends $tea.Model {
6745
+ constructor(map) {
6746
+ super(map);
6747
+ }
6748
+ static names() {
6749
+ return {
6750
+ currentPage: 'CurrentPage',
6751
+ pageSize: 'PageSize',
6752
+ totalCount: 'TotalCount',
6753
+ };
6754
+ }
6755
+ static types() {
6756
+ return {
6757
+ currentPage: 'number',
6758
+ pageSize: 'number',
6759
+ totalCount: 'number',
6760
+ };
6761
+ }
6762
+ }
6763
+ exports.DescribeWhiteRuleListResponseBodyDataPageInfo = DescribeWhiteRuleListResponseBodyDataPageInfo;
6764
+ class DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditionsLeft extends $tea.Model {
6765
+ constructor(map) {
6766
+ super(map);
6767
+ }
6768
+ static names() {
6769
+ return {
6770
+ isVar: 'IsVar',
6771
+ modifier: 'Modifier',
6772
+ modifierParam: 'ModifierParam',
6773
+ type: 'Type',
6774
+ value: 'Value',
6775
+ };
6776
+ }
6777
+ static types() {
6778
+ return {
6779
+ isVar: 'boolean',
6780
+ modifier: 'string',
6781
+ modifierParam: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6782
+ type: 'string',
6783
+ value: 'string',
6784
+ };
6785
+ }
6786
+ }
6787
+ exports.DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditionsLeft = DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditionsLeft;
6788
+ class DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditionsRight extends $tea.Model {
5843
6789
  constructor(map) {
5844
6790
  super(map);
5845
6791
  }
5846
6792
  static names() {
5847
6793
  return {
5848
- logType: 'LogType',
5849
- logTypeName: 'LogTypeName',
6794
+ isVar: 'IsVar',
6795
+ modifier: 'Modifier',
6796
+ modifierParam: 'ModifierParam',
6797
+ type: 'Type',
6798
+ value: 'Value',
5850
6799
  };
5851
6800
  }
5852
6801
  static types() {
5853
6802
  return {
5854
- logType: 'string',
5855
- logTypeName: 'string',
6803
+ isVar: 'boolean',
6804
+ modifier: 'string',
6805
+ modifierParam: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6806
+ type: 'string',
6807
+ value: 'string',
5856
6808
  };
5857
6809
  }
5858
6810
  }
5859
- exports.DescribeLogTypeResponseBodyData = DescribeLogTypeResponseBodyData;
5860
- class DescribeOperatorsResponseBodyData extends $tea.Model {
6811
+ exports.DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditionsRight = DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditionsRight;
6812
+ class DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditions extends $tea.Model {
5861
6813
  constructor(map) {
5862
6814
  super(map);
5863
6815
  }
5864
6816
  static names() {
5865
6817
  return {
5866
- index: 'Index',
6818
+ isNot: 'IsNot',
6819
+ itemId: 'ItemId',
6820
+ left: 'Left',
5867
6821
  operator: 'Operator',
5868
- operatorDescCn: 'OperatorDescCn',
5869
- operatorDescEn: 'OperatorDescEn',
5870
- operatorName: 'OperatorName',
5871
- supportDataType: 'SupportDataType',
5872
- supportTag: 'SupportTag',
6822
+ right: 'Right',
5873
6823
  };
5874
6824
  }
5875
6825
  static types() {
5876
6826
  return {
5877
- index: 'number',
6827
+ isNot: 'boolean',
6828
+ itemId: 'number',
6829
+ left: DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditionsLeft,
5878
6830
  operator: 'string',
5879
- operatorDescCn: 'string',
5880
- operatorDescEn: 'string',
5881
- operatorName: 'string',
5882
- supportDataType: 'string',
5883
- supportTag: { 'type': 'array', 'itemType': 'string' },
6831
+ right: DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditionsRight,
5884
6832
  };
5885
6833
  }
5886
6834
  }
5887
- exports.DescribeOperatorsResponseBodyData = DescribeOperatorsResponseBodyData;
5888
- class DescribeScopeUsersResponseBodyData extends $tea.Model {
6835
+ exports.DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditions = DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditions;
6836
+ class DescribeWhiteRuleListResponseBodyDataResponseDataExpression extends $tea.Model {
5889
6837
  constructor(map) {
5890
6838
  super(map);
5891
6839
  }
5892
6840
  static names() {
5893
6841
  return {
5894
- aliUid: 'AliUid',
5895
- domains: 'Domains',
5896
- instanceId: 'InstanceId',
5897
- userName: 'UserName',
6842
+ conditions: 'Conditions',
6843
+ logic: 'Logic',
5898
6844
  };
5899
6845
  }
5900
6846
  static types() {
5901
6847
  return {
5902
- aliUid: 'number',
5903
- domains: { 'type': 'array', 'itemType': 'string' },
5904
- instanceId: 'string',
5905
- userName: 'string',
6848
+ conditions: { 'type': 'array', 'itemType': DescribeWhiteRuleListResponseBodyDataResponseDataExpressionConditions },
6849
+ logic: 'string',
5906
6850
  };
5907
6851
  }
5908
6852
  }
5909
- exports.DescribeScopeUsersResponseBodyData = DescribeScopeUsersResponseBodyData;
5910
- class DescribeWafScopeResponseBodyData extends $tea.Model {
6853
+ exports.DescribeWhiteRuleListResponseBodyDataResponseDataExpression = DescribeWhiteRuleListResponseBodyDataResponseDataExpression;
6854
+ class DescribeWhiteRuleListResponseBodyDataResponseData extends $tea.Model {
5911
6855
  constructor(map) {
5912
6856
  super(map);
5913
6857
  }
5914
6858
  static names() {
5915
6859
  return {
6860
+ alertName: 'AlertName',
6861
+ alertNameId: 'AlertNameId',
6862
+ alertType: 'AlertType',
6863
+ alertTypeId: 'AlertTypeId',
6864
+ alertUuid: 'AlertUuid',
5916
6865
  aliuid: 'Aliuid',
5917
- domains: 'Domains',
5918
- instanceId: 'InstanceId',
6866
+ expression: 'Expression',
6867
+ gmtCreate: 'GmtCreate',
6868
+ gmtModified: 'GmtModified',
6869
+ id: 'Id',
6870
+ incidentUuid: 'IncidentUuid',
6871
+ status: 'Status',
6872
+ subAliuid: 'SubAliuid',
5919
6873
  };
5920
6874
  }
5921
6875
  static types() {
5922
6876
  return {
6877
+ alertName: 'string',
6878
+ alertNameId: 'string',
6879
+ alertType: 'string',
6880
+ alertTypeId: 'string',
6881
+ alertUuid: 'string',
5923
6882
  aliuid: 'number',
5924
- domains: { 'type': 'array', 'itemType': 'string' },
5925
- instanceId: 'string',
6883
+ expression: DescribeWhiteRuleListResponseBodyDataResponseDataExpression,
6884
+ gmtCreate: 'string',
6885
+ gmtModified: 'string',
6886
+ id: 'number',
6887
+ incidentUuid: 'string',
6888
+ status: 'number',
6889
+ subAliuid: 'number',
5926
6890
  };
5927
6891
  }
5928
6892
  }
5929
- exports.DescribeWafScopeResponseBodyData = DescribeWafScopeResponseBodyData;
6893
+ exports.DescribeWhiteRuleListResponseBodyDataResponseData = DescribeWhiteRuleListResponseBodyDataResponseData;
6894
+ class DescribeWhiteRuleListResponseBodyData extends $tea.Model {
6895
+ constructor(map) {
6896
+ super(map);
6897
+ }
6898
+ static names() {
6899
+ return {
6900
+ pageInfo: 'PageInfo',
6901
+ responseData: 'ResponseData',
6902
+ };
6903
+ }
6904
+ static types() {
6905
+ return {
6906
+ pageInfo: DescribeWhiteRuleListResponseBodyDataPageInfo,
6907
+ responseData: { 'type': 'array', 'itemType': DescribeWhiteRuleListResponseBodyDataResponseData },
6908
+ };
6909
+ }
6910
+ }
6911
+ exports.DescribeWhiteRuleListResponseBodyData = DescribeWhiteRuleListResponseBodyData;
5930
6912
  class DoQuickFieldResponseBodyData extends $tea.Model {
5931
6913
  constructor(map) {
5932
6914
  super(map);
@@ -7005,6 +7987,32 @@ class Client extends openapi_client_1.default {
7005
7987
  let runtime = new $Util.RuntimeOptions({});
7006
7988
  return await this.describeAggregateFunctionWithOptions(request, runtime);
7007
7989
  }
7990
+ async describeAlertSceneWithOptions(request, runtime) {
7991
+ tea_util_1.default.validateModel(request);
7992
+ let body = {};
7993
+ if (!tea_util_1.default.isUnset(request.regionId)) {
7994
+ body["RegionId"] = request.regionId;
7995
+ }
7996
+ let req = new $OpenApi.OpenApiRequest({
7997
+ body: openapi_util_1.default.parseToMap(body),
7998
+ });
7999
+ let params = new $OpenApi.Params({
8000
+ action: "DescribeAlertScene",
8001
+ version: "2022-06-16",
8002
+ protocol: "HTTPS",
8003
+ pathname: "/",
8004
+ method: "POST",
8005
+ authType: "AK",
8006
+ style: "RPC",
8007
+ reqBodyType: "formData",
8008
+ bodyType: "json",
8009
+ });
8010
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertSceneResponse({}));
8011
+ }
8012
+ async describeAlertScene(request) {
8013
+ let runtime = new $Util.RuntimeOptions({});
8014
+ return await this.describeAlertSceneWithOptions(request, runtime);
8015
+ }
7008
8016
  async describeAlertSceneByEventWithOptions(request, runtime) {
7009
8017
  tea_util_1.default.validateModel(request);
7010
8018
  let body = {};
@@ -7124,6 +8132,62 @@ class Client extends openapi_client_1.default {
7124
8132
  let runtime = new $Util.RuntimeOptions({});
7125
8133
  return await this.describeAlertTypeWithOptions(request, runtime);
7126
8134
  }
8135
+ async describeAlertsWithOptions(request, runtime) {
8136
+ tea_util_1.default.validateModel(request);
8137
+ let body = {};
8138
+ if (!tea_util_1.default.isUnset(request.alertTitle)) {
8139
+ body["AlertTitle"] = request.alertTitle;
8140
+ }
8141
+ if (!tea_util_1.default.isUnset(request.alertUuid)) {
8142
+ body["AlertUuid"] = request.alertUuid;
8143
+ }
8144
+ if (!tea_util_1.default.isUnset(request.currentPage)) {
8145
+ body["CurrentPage"] = request.currentPage;
8146
+ }
8147
+ if (!tea_util_1.default.isUnset(request.endTime)) {
8148
+ body["EndTime"] = request.endTime;
8149
+ }
8150
+ if (!tea_util_1.default.isUnset(request.isDefend)) {
8151
+ body["IsDefend"] = request.isDefend;
8152
+ }
8153
+ if (!tea_util_1.default.isUnset(request.level)) {
8154
+ body["Level"] = request.level;
8155
+ }
8156
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
8157
+ body["PageSize"] = request.pageSize;
8158
+ }
8159
+ if (!tea_util_1.default.isUnset(request.regionId)) {
8160
+ body["RegionId"] = request.regionId;
8161
+ }
8162
+ if (!tea_util_1.default.isUnset(request.source)) {
8163
+ body["Source"] = request.source;
8164
+ }
8165
+ if (!tea_util_1.default.isUnset(request.startTime)) {
8166
+ body["StartTime"] = request.startTime;
8167
+ }
8168
+ if (!tea_util_1.default.isUnset(request.subUserId)) {
8169
+ body["SubUserId"] = request.subUserId;
8170
+ }
8171
+ let req = new $OpenApi.OpenApiRequest({
8172
+ body: openapi_util_1.default.parseToMap(body),
8173
+ });
8174
+ let params = new $OpenApi.Params({
8175
+ action: "DescribeAlerts",
8176
+ version: "2022-06-16",
8177
+ protocol: "HTTPS",
8178
+ pathname: "/",
8179
+ method: "POST",
8180
+ authType: "AK",
8181
+ style: "RPC",
8182
+ reqBodyType: "formData",
8183
+ bodyType: "json",
8184
+ });
8185
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertsResponse({}));
8186
+ }
8187
+ async describeAlerts(request) {
8188
+ let runtime = new $Util.RuntimeOptions({});
8189
+ return await this.describeAlertsWithOptions(request, runtime);
8190
+ }
7127
8191
  async describeAlertsCountWithOptions(request, runtime) {
7128
8192
  tea_util_1.default.validateModel(request);
7129
8193
  let body = {};
@@ -7156,6 +8220,97 @@ class Client extends openapi_client_1.default {
7156
8220
  let runtime = new $Util.RuntimeOptions({});
7157
8221
  return await this.describeAlertsCountWithOptions(request, runtime);
7158
8222
  }
8223
+ async describeAlertsWithEntityWithOptions(request, runtime) {
8224
+ tea_util_1.default.validateModel(request);
8225
+ let body = {};
8226
+ if (!tea_util_1.default.isUnset(request.currentPage)) {
8227
+ body["CurrentPage"] = request.currentPage;
8228
+ }
8229
+ if (!tea_util_1.default.isUnset(request.entityId)) {
8230
+ body["EntityId"] = request.entityId;
8231
+ }
8232
+ if (!tea_util_1.default.isUnset(request.incidentUuid)) {
8233
+ body["IncidentUuid"] = request.incidentUuid;
8234
+ }
8235
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
8236
+ body["PageSize"] = request.pageSize;
8237
+ }
8238
+ if (!tea_util_1.default.isUnset(request.regionId)) {
8239
+ body["RegionId"] = request.regionId;
8240
+ }
8241
+ if (!tea_util_1.default.isUnset(request.sophonTaskId)) {
8242
+ body["SophonTaskId"] = request.sophonTaskId;
8243
+ }
8244
+ let req = new $OpenApi.OpenApiRequest({
8245
+ body: openapi_util_1.default.parseToMap(body),
8246
+ });
8247
+ let params = new $OpenApi.Params({
8248
+ action: "DescribeAlertsWithEntity",
8249
+ version: "2022-06-16",
8250
+ protocol: "HTTPS",
8251
+ pathname: "/",
8252
+ method: "POST",
8253
+ authType: "AK",
8254
+ style: "RPC",
8255
+ reqBodyType: "formData",
8256
+ bodyType: "json",
8257
+ });
8258
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertsWithEntityResponse({}));
8259
+ }
8260
+ async describeAlertsWithEntity(request) {
8261
+ let runtime = new $Util.RuntimeOptions({});
8262
+ return await this.describeAlertsWithEntityWithOptions(request, runtime);
8263
+ }
8264
+ async describeAlertsWithEventWithOptions(request, runtime) {
8265
+ tea_util_1.default.validateModel(request);
8266
+ let body = {};
8267
+ if (!tea_util_1.default.isUnset(request.alertTitle)) {
8268
+ body["AlertTitle"] = request.alertTitle;
8269
+ }
8270
+ if (!tea_util_1.default.isUnset(request.currentPage)) {
8271
+ body["CurrentPage"] = request.currentPage;
8272
+ }
8273
+ if (!tea_util_1.default.isUnset(request.incidentUuid)) {
8274
+ body["IncidentUuid"] = request.incidentUuid;
8275
+ }
8276
+ if (!tea_util_1.default.isUnset(request.isDefend)) {
8277
+ body["IsDefend"] = request.isDefend;
8278
+ }
8279
+ if (!tea_util_1.default.isUnset(request.level)) {
8280
+ body["Level"] = request.level;
8281
+ }
8282
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
8283
+ body["PageSize"] = request.pageSize;
8284
+ }
8285
+ if (!tea_util_1.default.isUnset(request.regionId)) {
8286
+ body["RegionId"] = request.regionId;
8287
+ }
8288
+ if (!tea_util_1.default.isUnset(request.source)) {
8289
+ body["Source"] = request.source;
8290
+ }
8291
+ if (!tea_util_1.default.isUnset(request.subUserId)) {
8292
+ body["SubUserId"] = request.subUserId;
8293
+ }
8294
+ let req = new $OpenApi.OpenApiRequest({
8295
+ body: openapi_util_1.default.parseToMap(body),
8296
+ });
8297
+ let params = new $OpenApi.Params({
8298
+ action: "DescribeAlertsWithEvent",
8299
+ version: "2022-06-16",
8300
+ protocol: "HTTPS",
8301
+ pathname: "/",
8302
+ method: "POST",
8303
+ authType: "AK",
8304
+ style: "RPC",
8305
+ reqBodyType: "formData",
8306
+ bodyType: "json",
8307
+ });
8308
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertsWithEventResponse({}));
8309
+ }
8310
+ async describeAlertsWithEvent(request) {
8311
+ let runtime = new $Util.RuntimeOptions({});
8312
+ return await this.describeAlertsWithEventWithOptions(request, runtime);
8313
+ }
7159
8314
  async describeAttackTimeLineWithOptions(request, runtime) {
7160
8315
  tea_util_1.default.validateModel(request);
7161
8316
  let body = {};
@@ -7970,6 +9125,47 @@ class Client extends openapi_client_1.default {
7970
9125
  let runtime = new $Util.RuntimeOptions({});
7971
9126
  return await this.describeWafScopeWithOptions(request, runtime);
7972
9127
  }
9128
+ async describeWhiteRuleListWithOptions(request, runtime) {
9129
+ tea_util_1.default.validateModel(request);
9130
+ let body = {};
9131
+ if (!tea_util_1.default.isUnset(request.alertName)) {
9132
+ body["AlertName"] = request.alertName;
9133
+ }
9134
+ if (!tea_util_1.default.isUnset(request.alertType)) {
9135
+ body["AlertType"] = request.alertType;
9136
+ }
9137
+ if (!tea_util_1.default.isUnset(request.currentPage)) {
9138
+ body["CurrentPage"] = request.currentPage;
9139
+ }
9140
+ if (!tea_util_1.default.isUnset(request.incidentUuid)) {
9141
+ body["IncidentUuid"] = request.incidentUuid;
9142
+ }
9143
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
9144
+ body["PageSize"] = request.pageSize;
9145
+ }
9146
+ if (!tea_util_1.default.isUnset(request.regionId)) {
9147
+ body["RegionId"] = request.regionId;
9148
+ }
9149
+ let req = new $OpenApi.OpenApiRequest({
9150
+ body: openapi_util_1.default.parseToMap(body),
9151
+ });
9152
+ let params = new $OpenApi.Params({
9153
+ action: "DescribeWhiteRuleList",
9154
+ version: "2022-06-16",
9155
+ protocol: "HTTPS",
9156
+ pathname: "/",
9157
+ method: "POST",
9158
+ authType: "AK",
9159
+ style: "RPC",
9160
+ reqBodyType: "formData",
9161
+ bodyType: "json",
9162
+ });
9163
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeWhiteRuleListResponse({}));
9164
+ }
9165
+ async describeWhiteRuleList(request) {
9166
+ let runtime = new $Util.RuntimeOptions({});
9167
+ return await this.describeWhiteRuleListWithOptions(request, runtime);
9168
+ }
7973
9169
  async doQuickFieldWithOptions(request, runtime) {
7974
9170
  tea_util_1.default.validateModel(request);
7975
9171
  let body = {};