@alicloud/waf-openapi20211001 6.1.1 → 6.2.0

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.
Files changed (69) hide show
  1. package/dist/client.d.ts +75 -0
  2. package/dist/client.js +246 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeAlarmBannerRequest.d.ts +31 -0
  5. package/dist/models/DescribeAlarmBannerRequest.js +62 -0
  6. package/dist/models/DescribeAlarmBannerRequest.js.map +1 -0
  7. package/dist/models/DescribeAlarmBannerResponse.d.ts +19 -0
  8. package/dist/models/DescribeAlarmBannerResponse.js +69 -0
  9. package/dist/models/DescribeAlarmBannerResponse.js.map +1 -0
  10. package/dist/models/DescribeAlarmBannerResponseBody.d.ts +51 -0
  11. package/dist/models/DescribeAlarmBannerResponseBody.js +88 -0
  12. package/dist/models/DescribeAlarmBannerResponseBody.js.map +1 -0
  13. package/dist/models/DescribeAlarmListRequest.d.ts +31 -0
  14. package/dist/models/DescribeAlarmListRequest.js +62 -0
  15. package/dist/models/DescribeAlarmListRequest.js.map +1 -0
  16. package/dist/models/DescribeAlarmListResponse.d.ts +19 -0
  17. package/dist/models/DescribeAlarmListResponse.js +69 -0
  18. package/dist/models/DescribeAlarmListResponse.js.map +1 -0
  19. package/dist/models/DescribeAlarmListResponseBody.d.ts +66 -0
  20. package/dist/models/DescribeAlarmListResponseBody.js +94 -0
  21. package/dist/models/DescribeAlarmListResponseBody.js.map +1 -0
  22. package/dist/models/DescribeBotAppKeyRequest.d.ts +36 -0
  23. package/dist/models/DescribeBotAppKeyRequest.js +64 -0
  24. package/dist/models/DescribeBotAppKeyRequest.js.map +1 -0
  25. package/dist/models/DescribeBotAppKeyResponse.d.ts +19 -0
  26. package/dist/models/DescribeBotAppKeyResponse.js +69 -0
  27. package/dist/models/DescribeBotAppKeyResponse.js.map +1 -0
  28. package/dist/models/DescribeBotAppKeyResponseBody.d.ts +26 -0
  29. package/dist/models/DescribeBotAppKeyResponseBody.js +60 -0
  30. package/dist/models/DescribeBotAppKeyResponseBody.js.map +1 -0
  31. package/dist/models/DescribeThreatEventDetailRequest.d.ts +39 -0
  32. package/dist/models/DescribeThreatEventDetailRequest.js +64 -0
  33. package/dist/models/DescribeThreatEventDetailRequest.js.map +1 -0
  34. package/dist/models/DescribeThreatEventDetailResponse.d.ts +19 -0
  35. package/dist/models/DescribeThreatEventDetailResponse.js +69 -0
  36. package/dist/models/DescribeThreatEventDetailResponse.js.map +1 -0
  37. package/dist/models/DescribeThreatEventDetailResponseBody.d.ts +91 -0
  38. package/dist/models/DescribeThreatEventDetailResponseBody.js +104 -0
  39. package/dist/models/DescribeThreatEventDetailResponseBody.js.map +1 -0
  40. package/dist/models/DescribeThreatEventRequest.d.ts +62 -0
  41. package/dist/models/DescribeThreatEventRequest.js +72 -0
  42. package/dist/models/DescribeThreatEventRequest.js.map +1 -0
  43. package/dist/models/DescribeThreatEventResponse.d.ts +19 -0
  44. package/dist/models/DescribeThreatEventResponse.js +69 -0
  45. package/dist/models/DescribeThreatEventResponse.js.map +1 -0
  46. package/dist/models/DescribeThreatEventResponseBody.d.ts +71 -0
  47. package/dist/models/DescribeThreatEventResponseBody.js +96 -0
  48. package/dist/models/DescribeThreatEventResponseBody.js.map +1 -0
  49. package/dist/models/model.d.ts +19 -0
  50. package/dist/models/model.js +56 -18
  51. package/dist/models/model.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/client.ts +278 -0
  54. package/src/models/DescribeAlarmBannerRequest.ts +48 -0
  55. package/src/models/DescribeAlarmBannerResponse.ts +40 -0
  56. package/src/models/DescribeAlarmBannerResponseBody.ts +85 -0
  57. package/src/models/DescribeAlarmListRequest.ts +48 -0
  58. package/src/models/DescribeAlarmListResponse.ts +40 -0
  59. package/src/models/DescribeAlarmListResponseBody.ts +106 -0
  60. package/src/models/DescribeBotAppKeyRequest.ts +55 -0
  61. package/src/models/DescribeBotAppKeyResponse.ts +40 -0
  62. package/src/models/DescribeBotAppKeyResponseBody.ts +41 -0
  63. package/src/models/DescribeThreatEventDetailRequest.ts +58 -0
  64. package/src/models/DescribeThreatEventDetailResponse.ts +40 -0
  65. package/src/models/DescribeThreatEventDetailResponseBody.ts +141 -0
  66. package/src/models/DescribeThreatEventRequest.ts +89 -0
  67. package/src/models/DescribeThreatEventResponse.ts +40 -0
  68. package/src/models/DescribeThreatEventResponseBody.ts +113 -0
  69. package/src/models/model.ts +19 -0
@@ -0,0 +1,91 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeThreatEventDetailResponseBodyThreatEventDetail extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 1749916800000
6
+ */
7
+ endTime?: number;
8
+ /**
9
+ * @example
10
+ * 20
11
+ */
12
+ eventBlock?: string;
13
+ /**
14
+ * @example
15
+ * 20
16
+ */
17
+ eventCnt?: string;
18
+ /**
19
+ * @example
20
+ * {"end_ts": 1766637714, "start_ts": 1764096746, "condition": {"real_client_ip": ["78.153.140.179", "78.153.140.203", "78.153.140.177", "78.153.140.178", "78.153.140.151"]}}
21
+ */
22
+ eventCondition?: string;
23
+ /**
24
+ * @example
25
+ * ["CVE-2020-14882","DDoS Attack"]
26
+ */
27
+ eventIntelligence?: string;
28
+ /**
29
+ * @example
30
+ * high
31
+ */
32
+ eventLevel?: string;
33
+ /**
34
+ * @example
35
+ * XX.XX.XX.XX
36
+ */
37
+ eventSrc?: string;
38
+ /**
39
+ * @example
40
+ * GB
41
+ */
42
+ eventSrcCountry?: string;
43
+ /**
44
+ * @example
45
+ * GB-ENG
46
+ */
47
+ eventSrcRegion?: string;
48
+ /**
49
+ * @example
50
+ * FixBug
51
+ */
52
+ eventSuggest?: string;
53
+ /**
54
+ * @example
55
+ * MultipleDomainWebattack
56
+ */
57
+ eventTag?: string;
58
+ /**
59
+ * @example
60
+ * 1
61
+ */
62
+ isPersistent?: number;
63
+ static names(): {
64
+ [key: string]: string;
65
+ };
66
+ static types(): {
67
+ [key: string]: any;
68
+ };
69
+ validate(): void;
70
+ constructor(map?: {
71
+ [key: string]: any;
72
+ });
73
+ }
74
+ export declare class DescribeThreatEventDetailResponseBody extends $dara.Model {
75
+ /**
76
+ * @example
77
+ * D7861F61-5B61-46CE-A47C-6B1****
78
+ */
79
+ requestId?: string;
80
+ threatEventDetail?: DescribeThreatEventDetailResponseBodyThreatEventDetail;
81
+ static names(): {
82
+ [key: string]: string;
83
+ };
84
+ static types(): {
85
+ [key: string]: any;
86
+ };
87
+ validate(): void;
88
+ constructor(map?: {
89
+ [key: string]: any;
90
+ });
91
+ }
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeThreatEventDetailResponseBody = exports.DescribeThreatEventDetailResponseBodyThreatEventDetail = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeThreatEventDetailResponseBodyThreatEventDetail extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ endTime: 'EndTime',
43
+ eventBlock: 'EventBlock',
44
+ eventCnt: 'EventCnt',
45
+ eventCondition: 'EventCondition',
46
+ eventIntelligence: 'EventIntelligence',
47
+ eventLevel: 'EventLevel',
48
+ eventSrc: 'EventSrc',
49
+ eventSrcCountry: 'EventSrcCountry',
50
+ eventSrcRegion: 'EventSrcRegion',
51
+ eventSuggest: 'EventSuggest',
52
+ eventTag: 'EventTag',
53
+ isPersistent: 'IsPersistent',
54
+ };
55
+ }
56
+ static types() {
57
+ return {
58
+ endTime: 'number',
59
+ eventBlock: 'string',
60
+ eventCnt: 'string',
61
+ eventCondition: 'string',
62
+ eventIntelligence: 'string',
63
+ eventLevel: 'string',
64
+ eventSrc: 'string',
65
+ eventSrcCountry: 'string',
66
+ eventSrcRegion: 'string',
67
+ eventSuggest: 'string',
68
+ eventTag: 'string',
69
+ isPersistent: 'number',
70
+ };
71
+ }
72
+ validate() {
73
+ super.validate();
74
+ }
75
+ constructor(map) {
76
+ super(map);
77
+ }
78
+ }
79
+ exports.DescribeThreatEventDetailResponseBodyThreatEventDetail = DescribeThreatEventDetailResponseBodyThreatEventDetail;
80
+ class DescribeThreatEventDetailResponseBody extends $dara.Model {
81
+ static names() {
82
+ return {
83
+ requestId: 'RequestId',
84
+ threatEventDetail: 'ThreatEventDetail',
85
+ };
86
+ }
87
+ static types() {
88
+ return {
89
+ requestId: 'string',
90
+ threatEventDetail: DescribeThreatEventDetailResponseBodyThreatEventDetail,
91
+ };
92
+ }
93
+ validate() {
94
+ if (this.threatEventDetail && typeof this.threatEventDetail.validate === 'function') {
95
+ this.threatEventDetail.validate();
96
+ }
97
+ super.validate();
98
+ }
99
+ constructor(map) {
100
+ super(map);
101
+ }
102
+ }
103
+ exports.DescribeThreatEventDetailResponseBody = DescribeThreatEventDetailResponseBody;
104
+ //# sourceMappingURL=DescribeThreatEventDetailResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeThreatEventDetailResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeThreatEventDetailResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sDAAuD,SAAQ,KAAK,CAAC,KAAK;IA6DrF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,iBAAiB,EAAE,mBAAmB;YACtC,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,iBAAiB,EAAE,QAAQ;YAC3B,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtGD,wHAsGC;AAED,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAOpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,iBAAiB,EAAE,sDAAsD;SAC1E,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,iBAAiB,IAAI,OAAQ,IAAI,CAAC,iBAAyB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3F,IAAI,CAAC,iBAAyB,CAAC,QAAQ,EAAE,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/BD,sFA+BC"}
@@ -0,0 +1,62 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeThreatEventRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * www.abc.com
6
+ */
7
+ domainName?: string;
8
+ /**
9
+ * @remarks
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * 1749916800000
14
+ */
15
+ endTime?: number;
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * waf_v2_public_cn-2bl4****
22
+ */
23
+ instanceId?: string;
24
+ /**
25
+ * @example
26
+ * 1
27
+ */
28
+ pageNumber?: number;
29
+ /**
30
+ * @example
31
+ * 10
32
+ */
33
+ pageSize?: number;
34
+ /**
35
+ * @example
36
+ * cn-hangzhou
37
+ */
38
+ regionId?: string;
39
+ /**
40
+ * @example
41
+ * rg-aeky65ka*****
42
+ */
43
+ resourceManagerResourceGroupId?: string;
44
+ /**
45
+ * @remarks
46
+ * This parameter is required.
47
+ *
48
+ * @example
49
+ * 1668496310000
50
+ */
51
+ startTime?: number;
52
+ static names(): {
53
+ [key: string]: string;
54
+ };
55
+ static types(): {
56
+ [key: string]: any;
57
+ };
58
+ validate(): void;
59
+ constructor(map?: {
60
+ [key: string]: any;
61
+ });
62
+ }
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeThreatEventRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeThreatEventRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ domainName: 'DomainName',
43
+ endTime: 'EndTime',
44
+ instanceId: 'InstanceId',
45
+ pageNumber: 'PageNumber',
46
+ pageSize: 'PageSize',
47
+ regionId: 'RegionId',
48
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
49
+ startTime: 'StartTime',
50
+ };
51
+ }
52
+ static types() {
53
+ return {
54
+ domainName: 'string',
55
+ endTime: 'number',
56
+ instanceId: 'string',
57
+ pageNumber: 'number',
58
+ pageSize: 'number',
59
+ regionId: 'string',
60
+ resourceManagerResourceGroupId: 'string',
61
+ startTime: 'number',
62
+ };
63
+ }
64
+ validate() {
65
+ super.validate();
66
+ }
67
+ constructor(map) {
68
+ super(map);
69
+ }
70
+ }
71
+ exports.DescribeThreatEventRequest = DescribeThreatEventRequest;
72
+ //# sourceMappingURL=DescribeThreatEventRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeThreatEventRequest.js","sourceRoot":"","sources":["../../src/models/DescribeThreatEventRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAkDzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;YAChE,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;YACxC,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnFD,gEAmFC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeThreatEventResponseBody } from "./DescribeThreatEventResponseBody";
3
+ export declare class DescribeThreatEventResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeThreatEventResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeThreatEventResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeThreatEventResponseBody_1 = require("./DescribeThreatEventResponseBody");
40
+ class DescribeThreatEventResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DescribeThreatEventResponseBody_1.DescribeThreatEventResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DescribeThreatEventResponse = DescribeThreatEventResponse;
69
+ //# sourceMappingURL=DescribeThreatEventResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeThreatEventResponse.js","sourceRoot":"","sources":["../../src/models/DescribeThreatEventResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uFAAoF;AAGpF,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAI1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iEAA+B;SACtC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kEAiCC"}
@@ -0,0 +1,71 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeThreatEventResponseBodyThreatEvents extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 100%
6
+ */
7
+ blockRate?: string;
8
+ /**
9
+ * @example
10
+ * 1768406400000
11
+ */
12
+ endTime?: number;
13
+ /**
14
+ * @example
15
+ * f439994c8ab39f84eced33490f0c4388
16
+ */
17
+ eventId?: string;
18
+ /**
19
+ * @example
20
+ * high
21
+ */
22
+ eventLevel?: string;
23
+ /**
24
+ * @example
25
+ * 3.3.3.3
26
+ */
27
+ eventSrc?: string;
28
+ /**
29
+ * @example
30
+ * Event_InternalLoginWeakPasswd
31
+ */
32
+ eventTag?: string;
33
+ /**
34
+ * @example
35
+ * test.aliyundemo.com-waf
36
+ */
37
+ eventTarget?: string;
38
+ static names(): {
39
+ [key: string]: string;
40
+ };
41
+ static types(): {
42
+ [key: string]: any;
43
+ };
44
+ validate(): void;
45
+ constructor(map?: {
46
+ [key: string]: any;
47
+ });
48
+ }
49
+ export declare class DescribeThreatEventResponseBody extends $dara.Model {
50
+ /**
51
+ * @example
52
+ * 98106632-6865-5600-A834-3D909***
53
+ */
54
+ requestId?: string;
55
+ threatEvents?: DescribeThreatEventResponseBodyThreatEvents[];
56
+ /**
57
+ * @example
58
+ * 10
59
+ */
60
+ totalCount?: number;
61
+ static names(): {
62
+ [key: string]: string;
63
+ };
64
+ static types(): {
65
+ [key: string]: any;
66
+ };
67
+ validate(): void;
68
+ constructor(map?: {
69
+ [key: string]: any;
70
+ });
71
+ }
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeThreatEventResponseBody = exports.DescribeThreatEventResponseBodyThreatEvents = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeThreatEventResponseBodyThreatEvents extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ blockRate: 'BlockRate',
43
+ endTime: 'EndTime',
44
+ eventId: 'EventId',
45
+ eventLevel: 'EventLevel',
46
+ eventSrc: 'EventSrc',
47
+ eventTag: 'EventTag',
48
+ eventTarget: 'EventTarget',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ blockRate: 'string',
54
+ endTime: 'number',
55
+ eventId: 'string',
56
+ eventLevel: 'string',
57
+ eventSrc: 'string',
58
+ eventTag: 'string',
59
+ eventTarget: 'string',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.DescribeThreatEventResponseBodyThreatEvents = DescribeThreatEventResponseBodyThreatEvents;
70
+ class DescribeThreatEventResponseBody extends $dara.Model {
71
+ static names() {
72
+ return {
73
+ requestId: 'RequestId',
74
+ threatEvents: 'ThreatEvents',
75
+ totalCount: 'TotalCount',
76
+ };
77
+ }
78
+ static types() {
79
+ return {
80
+ requestId: 'string',
81
+ threatEvents: { 'type': 'array', 'itemType': DescribeThreatEventResponseBodyThreatEvents },
82
+ totalCount: 'number',
83
+ };
84
+ }
85
+ validate() {
86
+ if (Array.isArray(this.threatEvents)) {
87
+ $dara.Model.validateArray(this.threatEvents);
88
+ }
89
+ super.validate();
90
+ }
91
+ constructor(map) {
92
+ super(map);
93
+ }
94
+ }
95
+ exports.DescribeThreatEventResponseBody = DescribeThreatEventResponseBody;
96
+ //# sourceMappingURL=DescribeThreatEventResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeThreatEventResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeThreatEventResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAoC1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnED,kGAmEC;AAED,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAY9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,2CAA2C,EAAE;YAC1F,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,0EAsCC"}
@@ -15,6 +15,8 @@ export { CreateDomainShrinkRequestTag } from './CreateDomainShrinkRequest';
15
15
  export { CreateDomainResponseBodyDomainInfo } from './CreateDomainResponseBody';
16
16
  export { DescribeAbnormalCloudResourcesResponseBodyAbnormalCloudResourcesDetails } from './DescribeAbnormalCloudResourcesResponseBody';
17
17
  export { DescribeAbnormalCloudResourcesResponseBodyAbnormalCloudResources } from './DescribeAbnormalCloudResourcesResponseBody';
18
+ export { DescribeAlarmBannerResponseBodyBannerStatus } from './DescribeAlarmBannerResponseBody';
19
+ export { DescribeAlarmListResponseBodyAlarms } from './DescribeAlarmListResponseBody';
18
20
  export { DescribeApiExportsResponseBodyApiExports } from './DescribeApiExportsResponseBody';
19
21
  export { DescribeApisecAbnormalDomainStatisticResponseBodyData } from './DescribeApisecAbnormalDomainStatisticResponseBody';
20
22
  export { DescribeApisecAbnormalsResponseBodyData } from './DescribeApisecAbnormalsResponseBody';
@@ -168,6 +170,8 @@ export { DescribeSensitiveRequestsResponseBodyDataInfoCount } from './DescribeSe
168
170
  export { DescribeSensitiveRequestsResponseBodyData } from './DescribeSensitiveRequestsResponseBody';
169
171
  export { DescribeSensitiveStatisticResponseBodyData } from './DescribeSensitiveStatisticResponseBody';
170
172
  export { DescribeTemplateResourceCountResponseBodyResourceCount } from './DescribeTemplateResourceCountResponseBody';
173
+ export { DescribeThreatEventResponseBodyThreatEvents } from './DescribeThreatEventResponseBody';
174
+ export { DescribeThreatEventDetailResponseBodyThreatEventDetail } from './DescribeThreatEventDetailResponseBody';
171
175
  export { DescribeUserAbnormalTrendResponseBodyTrend } from './DescribeUserAbnormalTrendResponseBody';
172
176
  export { DescribeUserAbnormalTypeResponseBodyAbnormal } from './DescribeUserAbnormalTypeResponseBody';
173
177
  export { DescribeUserApiRequestResponseBodyRequests } from './DescribeUserApiRequestResponseBody';
@@ -306,6 +310,12 @@ export { DescribeAbnormalCloudResourcesResponse } from './DescribeAbnormalCloudR
306
310
  export { DescribeAccountDelegatedStatusRequest } from './DescribeAccountDelegatedStatusRequest';
307
311
  export { DescribeAccountDelegatedStatusResponseBody } from './DescribeAccountDelegatedStatusResponseBody';
308
312
  export { DescribeAccountDelegatedStatusResponse } from './DescribeAccountDelegatedStatusResponse';
313
+ export { DescribeAlarmBannerRequest } from './DescribeAlarmBannerRequest';
314
+ export { DescribeAlarmBannerResponseBody } from './DescribeAlarmBannerResponseBody';
315
+ export { DescribeAlarmBannerResponse } from './DescribeAlarmBannerResponse';
316
+ export { DescribeAlarmListRequest } from './DescribeAlarmListRequest';
317
+ export { DescribeAlarmListResponseBody } from './DescribeAlarmListResponseBody';
318
+ export { DescribeAlarmListResponse } from './DescribeAlarmListResponse';
309
319
  export { DescribeApiExportsRequest } from './DescribeApiExportsRequest';
310
320
  export { DescribeApiExportsResponseBody } from './DescribeApiExportsResponseBody';
311
321
  export { DescribeApiExportsResponse } from './DescribeApiExportsResponse';
@@ -366,6 +376,9 @@ export { DescribeApisecUserOperationsResponse } from './DescribeApisecUserOperat
366
376
  export { DescribeBaseSystemRulesRequest } from './DescribeBaseSystemRulesRequest';
367
377
  export { DescribeBaseSystemRulesResponseBody } from './DescribeBaseSystemRulesResponseBody';
368
378
  export { DescribeBaseSystemRulesResponse } from './DescribeBaseSystemRulesResponse';
379
+ export { DescribeBotAppKeyRequest } from './DescribeBotAppKeyRequest';
380
+ export { DescribeBotAppKeyResponseBody } from './DescribeBotAppKeyResponseBody';
381
+ export { DescribeBotAppKeyResponse } from './DescribeBotAppKeyResponse';
369
382
  export { DescribeBotRuleLabelsRequest } from './DescribeBotRuleLabelsRequest';
370
383
  export { DescribeBotRuleLabelsResponseBody } from './DescribeBotRuleLabelsResponseBody';
371
384
  export { DescribeBotRuleLabelsResponse } from './DescribeBotRuleLabelsResponse';
@@ -678,6 +691,12 @@ export { DescribeTemplateResourceCountResponse } from './DescribeTemplateResourc
678
691
  export { DescribeTemplateResourcesRequest } from './DescribeTemplateResourcesRequest';
679
692
  export { DescribeTemplateResourcesResponseBody } from './DescribeTemplateResourcesResponseBody';
680
693
  export { DescribeTemplateResourcesResponse } from './DescribeTemplateResourcesResponse';
694
+ export { DescribeThreatEventRequest } from './DescribeThreatEventRequest';
695
+ export { DescribeThreatEventResponseBody } from './DescribeThreatEventResponseBody';
696
+ export { DescribeThreatEventResponse } from './DescribeThreatEventResponse';
697
+ export { DescribeThreatEventDetailRequest } from './DescribeThreatEventDetailRequest';
698
+ export { DescribeThreatEventDetailResponseBody } from './DescribeThreatEventDetailResponseBody';
699
+ export { DescribeThreatEventDetailResponse } from './DescribeThreatEventDetailResponse';
681
700
  export { DescribeUserAbnormalTrendRequest } from './DescribeUserAbnormalTrendRequest';
682
701
  export { DescribeUserAbnormalTrendResponseBody } from './DescribeUserAbnormalTrendResponseBody';
683
702
  export { DescribeUserAbnormalTrendResponse } from './DescribeUserAbnormalTrendResponse';