oci-threatintelligence 2.14.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 (104) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +1521 -0
  5. package/index.d.ts +22 -0
  6. package/index.js +45 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +109 -0
  9. package/lib/client.js +403 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/data-attribution.d.ts +36 -0
  12. package/lib/model/data-attribution.js +59 -0
  13. package/lib/model/data-attribution.js.map +1 -0
  14. package/lib/model/data-visibility.d.ts +41 -0
  15. package/lib/model/data-visibility.js +42 -0
  16. package/lib/model/data-visibility.js.map +1 -0
  17. package/lib/model/entity-reference.d.ts +22 -0
  18. package/lib/model/entity-reference.js +65 -0
  19. package/lib/model/entity-reference.js.map +1 -0
  20. package/lib/model/index.d.ts +50 -0
  21. package/lib/model/index.js +73 -0
  22. package/lib/model/index.js.map +1 -0
  23. package/lib/model/indicator-attribute.d.ts +34 -0
  24. package/lib/model/indicator-attribute.js +61 -0
  25. package/lib/model/indicator-attribute.js.map +1 -0
  26. package/lib/model/indicator-count-collection.d.ts +26 -0
  27. package/lib/model/indicator-count-collection.js +61 -0
  28. package/lib/model/indicator-count-collection.js.map +1 -0
  29. package/lib/model/indicator-count-dimensions.d.ts +30 -0
  30. package/lib/model/indicator-count-dimensions.js +29 -0
  31. package/lib/model/indicator-count-dimensions.js.map +1 -0
  32. package/lib/model/indicator-count-summary.d.ts +27 -0
  33. package/lib/model/indicator-count-summary.js +57 -0
  34. package/lib/model/indicator-count-summary.js.map +1 -0
  35. package/lib/model/indicator-reference.d.ts +28 -0
  36. package/lib/model/indicator-reference.js +52 -0
  37. package/lib/model/indicator-reference.js.map +1 -0
  38. package/lib/model/indicator-relationship.d.ts +31 -0
  39. package/lib/model/indicator-relationship.js +67 -0
  40. package/lib/model/indicator-relationship.js.map +1 -0
  41. package/lib/model/indicator-source-summary.d.ts +25 -0
  42. package/lib/model/indicator-source-summary.js +29 -0
  43. package/lib/model/indicator-source-summary.js.map +1 -0
  44. package/lib/model/indicator-summary-collection.d.ts +26 -0
  45. package/lib/model/indicator-summary-collection.js +61 -0
  46. package/lib/model/indicator-summary-collection.js.map +1 -0
  47. package/lib/model/indicator-summary.d.ts +58 -0
  48. package/lib/model/indicator-summary.js +61 -0
  49. package/lib/model/indicator-summary.js.map +1 -0
  50. package/lib/model/indicator-type.d.ts +33 -0
  51. package/lib/model/indicator-type.js +44 -0
  52. package/lib/model/indicator-type.js.map +1 -0
  53. package/lib/model/indicator.d.ts +72 -0
  54. package/lib/model/indicator.js +81 -0
  55. package/lib/model/indicator.js.map +1 -0
  56. package/lib/model/lifecycle-state.d.ts +28 -0
  57. package/lib/model/lifecycle-state.js +39 -0
  58. package/lib/model/lifecycle-state.js.map +1 -0
  59. package/lib/model/sort-order.d.ts +23 -0
  60. package/lib/model/sort-order.js +34 -0
  61. package/lib/model/sort-order.js.map +1 -0
  62. package/lib/model/threat-type-summary.d.ts +29 -0
  63. package/lib/model/threat-type-summary.js +29 -0
  64. package/lib/model/threat-type-summary.js.map +1 -0
  65. package/lib/model/threat-type.d.ts +34 -0
  66. package/lib/model/threat-type.js +61 -0
  67. package/lib/model/threat-type.js.map +1 -0
  68. package/lib/model/threat-types-collection.d.ts +26 -0
  69. package/lib/model/threat-types-collection.js +61 -0
  70. package/lib/model/threat-types-collection.js.map +1 -0
  71. package/lib/request/get-indicator-request.d.ts +30 -0
  72. package/lib/request/get-indicator-request.js +15 -0
  73. package/lib/request/get-indicator-request.js.map +1 -0
  74. package/lib/request/index.d.ts +20 -0
  75. package/lib/request/index.js +37 -0
  76. package/lib/request/index.js.map +1 -0
  77. package/lib/request/list-indicator-counts-request.d.ts +31 -0
  78. package/lib/request/list-indicator-counts-request.js +15 -0
  79. package/lib/request/list-indicator-counts-request.js.map +1 -0
  80. package/lib/request/list-indicators-request.d.ts +70 -0
  81. package/lib/request/list-indicators-request.js +24 -0
  82. package/lib/request/list-indicators-request.js.map +1 -0
  83. package/lib/request/list-threat-types-request.d.ts +39 -0
  84. package/lib/request/list-threat-types-request.js +15 -0
  85. package/lib/request/list-threat-types-request.js.map +1 -0
  86. package/lib/response/get-indicator-response.d.ts +25 -0
  87. package/lib/response/get-indicator-response.js +15 -0
  88. package/lib/response/get-indicator-response.js.map +1 -0
  89. package/lib/response/index.d.ts +20 -0
  90. package/lib/response/index.js +15 -0
  91. package/lib/response/index.js.map +1 -0
  92. package/lib/response/list-indicator-counts-response.d.ts +25 -0
  93. package/lib/response/list-indicator-counts-response.js +15 -0
  94. package/lib/response/list-indicator-counts-response.js.map +1 -0
  95. package/lib/response/list-indicators-response.d.ts +32 -0
  96. package/lib/response/list-indicators-response.js +15 -0
  97. package/lib/response/list-indicators-response.js.map +1 -0
  98. package/lib/response/list-threat-types-response.d.ts +32 -0
  99. package/lib/response/list-threat-types-response.js +15 -0
  100. package/lib/response/list-threat-types-response.js.map +1 -0
  101. package/lib/threatintel-waiter.d.ts +29 -0
  102. package/lib/threatintel-waiter.js +65 -0
  103. package/lib/threatintel-waiter.js.map +1 -0
  104. package/package.json +29 -0
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Threat Intelligence API
3
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
4
+ * OpenAPI spec version: 20210831
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * A data signature observed on a network or host that indicates a potential security threat. Indicators can be plain text or computed (hashed) values.
16
+ */
17
+ export interface Indicator {
18
+ /**
19
+ * The OCID of the indicator.
20
+ */
21
+ "id": string;
22
+ /**
23
+ * Type of indicator
24
+ */
25
+ "type": model.IndicatorType;
26
+ /**
27
+ * The value for this indicator.
28
+ * Format is dependent upon `type`, e.g. DOMAIN_NAME \"evil.example.com\", MD5_HASH \"44d88612fea8a8f36de82e1278abb02f\", IP_ADDRESS \"2001:db8::1\".
29
+ *
30
+ */
31
+ "value": string;
32
+ /**
33
+ * Confidence is an integer from 0 to 100 that provides a measure of our certainty in the maliciousness of the indicator. This confidence value is aggregated from the confidence in the threat types, attributes, and relationships to create an overall value for the indicator. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
34
+ */
35
+ "confidence"?: number;
36
+ /**
37
+ * Compartment Identifier
38
+ */
39
+ "compartmentId"?: string;
40
+ /**
41
+ * Characteristics of the threat indicator based on previous observations or behavior. May include related tactics, techniques, and procedures.
42
+ */
43
+ "threatTypes": Array<model.ThreatType>;
44
+ /**
45
+ * A map of attribute name (string) to IndicatorAttribute (values and supporting data).
46
+ * This provides generic storage for additional data about an indicator.
47
+ *
48
+ */
49
+ "attributes": Array<model.IndicatorAttribute>;
50
+ /**
51
+ * A map of relationship name (string) to IndicatorRelationship (related entities and supporting data).
52
+ * This provides generic storage for relationships between indicators or other entities.
53
+ *
54
+ */
55
+ "relationships": Array<model.IndicatorRelationship>;
56
+ /**
57
+ * The state of the indicator. It will always be ACTIVE. This field is added for consistency.
58
+ */
59
+ "lifecycleState"?: model.LifecycleState;
60
+ /**
61
+ * The time the data was first seen for this indicator. An RFC3339 formatted datetime string
62
+ */
63
+ "timeCreated": Date;
64
+ /**
65
+ * The last time this indicator was updated. It starts with the same value as timeCreated and is never empty. An RFC3339 formatted datetime string
66
+ */
67
+ "timeUpdated": Date;
68
+ }
69
+ export declare namespace Indicator {
70
+ function getJsonObj(obj: Indicator): object;
71
+ function getDeserializedJsonObj(obj: Indicator): object;
72
+ }
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ /**
3
+ * Threat Intelligence API
4
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
5
+ * OpenAPI spec version: 20210831
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.Indicator = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var Indicator;
37
+ (function (Indicator) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "threatTypes": obj.threatTypes
41
+ ? obj.threatTypes.map(item => {
42
+ return model.ThreatType.getJsonObj(item);
43
+ })
44
+ : undefined,
45
+ "attributes": obj.attributes
46
+ ? obj.attributes.map(item => {
47
+ return model.IndicatorAttribute.getJsonObj(item);
48
+ })
49
+ : undefined,
50
+ "relationships": obj.relationships
51
+ ? obj.relationships.map(item => {
52
+ return model.IndicatorRelationship.getJsonObj(item);
53
+ })
54
+ : undefined
55
+ });
56
+ return jsonObj;
57
+ }
58
+ Indicator.getJsonObj = getJsonObj;
59
+ function getDeserializedJsonObj(obj) {
60
+ const jsonObj = Object.assign(Object.assign({}, obj), {
61
+ "threatTypes": obj.threatTypes
62
+ ? obj.threatTypes.map(item => {
63
+ return model.ThreatType.getDeserializedJsonObj(item);
64
+ })
65
+ : undefined,
66
+ "attributes": obj.attributes
67
+ ? obj.attributes.map(item => {
68
+ return model.IndicatorAttribute.getDeserializedJsonObj(item);
69
+ })
70
+ : undefined,
71
+ "relationships": obj.relationships
72
+ ? obj.relationships.map(item => {
73
+ return model.IndicatorRelationship.getDeserializedJsonObj(item);
74
+ })
75
+ : undefined
76
+ });
77
+ return jsonObj;
78
+ }
79
+ Indicator.getDeserializedJsonObj = getDeserializedJsonObj;
80
+ })(Indicator = exports.Indicator || (exports.Indicator = {}));
81
+ //# sourceMappingURL=indicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indicator.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/indicator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2DlC,IAAiB,SAAS,CAiDzB;AAjDD,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,oBAAU,aAuBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,gCAAsB,yBAuBrC,CAAA;AACH,CAAC,EAjDgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAiDzB"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Threat Intelligence API
3
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
4
+ * OpenAPI spec version: 20210831
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ /**
14
+ * allowed lifecycle states for indicators
15
+ **/
16
+ export declare enum LifecycleState {
17
+ Active = "ACTIVE",
18
+ Deleted = "DELETED",
19
+ /**
20
+ * This value is used if a service returns a value for this enum that is not recognized by this
21
+ * version of the SDK.
22
+ */
23
+ UnknownValue = "UNKNOWN_VALUE"
24
+ }
25
+ export declare namespace LifecycleState {
26
+ function getJsonObj(obj: LifecycleState): LifecycleState;
27
+ function getDeserializedJsonObj(obj: LifecycleState): LifecycleState;
28
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * Threat Intelligence API
4
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
5
+ * OpenAPI spec version: 20210831
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.LifecycleState = void 0;
16
+ /**
17
+ * allowed lifecycle states for indicators
18
+ **/
19
+ var LifecycleState;
20
+ (function (LifecycleState) {
21
+ LifecycleState["Active"] = "ACTIVE";
22
+ LifecycleState["Deleted"] = "DELETED";
23
+ /**
24
+ * This value is used if a service returns a value for this enum that is not recognized by this
25
+ * version of the SDK.
26
+ */
27
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
28
+ })(LifecycleState = exports.LifecycleState || (exports.LifecycleState = {}));
29
+ (function (LifecycleState) {
30
+ function getJsonObj(obj) {
31
+ return obj;
32
+ }
33
+ LifecycleState.getJsonObj = getJsonObj;
34
+ function getDeserializedJsonObj(obj) {
35
+ return obj;
36
+ }
37
+ LifecycleState.getDeserializedJsonObj = getDeserializedJsonObj;
38
+ })(LifecycleState = exports.LifecycleState || (exports.LifecycleState = {}));
39
+ //# sourceMappingURL=lifecycle-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifecycle-state.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/lifecycle-state.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,cASX;AATD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,qCAAmB,CAAA;IAEnB;;;OAGG;IACH,gDAA8B,CAAA;AAChC,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB;AAED,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,yBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,qCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAO9B"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Threat Intelligence API
3
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
4
+ * OpenAPI spec version: 20210831
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ /**
14
+ * Sort orders.
15
+ **/
16
+ export declare enum SortOrder {
17
+ Asc = "ASC",
18
+ Desc = "DESC"
19
+ }
20
+ export declare namespace SortOrder {
21
+ function getJsonObj(obj: SortOrder): SortOrder;
22
+ function getDeserializedJsonObj(obj: SortOrder): SortOrder;
23
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * Threat Intelligence API
4
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
5
+ * OpenAPI spec version: 20210831
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.SortOrder = void 0;
16
+ /**
17
+ * Sort orders.
18
+ **/
19
+ var SortOrder;
20
+ (function (SortOrder) {
21
+ SortOrder["Asc"] = "ASC";
22
+ SortOrder["Desc"] = "DESC";
23
+ })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
24
+ (function (SortOrder) {
25
+ function getJsonObj(obj) {
26
+ return obj;
27
+ }
28
+ SortOrder.getJsonObj = getJsonObj;
29
+ function getDeserializedJsonObj(obj) {
30
+ return obj;
31
+ }
32
+ SortOrder.getDeserializedJsonObj = getDeserializedJsonObj;
33
+ })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
34
+ //# sourceMappingURL=sort-order.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sort-order.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/sort-order.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAED,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,gCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOzB"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Threat Intelligence API
3
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
4
+ * OpenAPI spec version: 20210831
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ /**
14
+ * Threat type id and text
15
+ */
16
+ export interface ThreatTypeSummary {
17
+ /**
18
+ * The OCID of the threat type
19
+ */
20
+ "id": string;
21
+ /**
22
+ * The name of the threat type
23
+ */
24
+ "name": string;
25
+ }
26
+ export declare namespace ThreatTypeSummary {
27
+ function getJsonObj(obj: ThreatTypeSummary): object;
28
+ function getDeserializedJsonObj(obj: ThreatTypeSummary): object;
29
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Threat Intelligence API
4
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
5
+ * OpenAPI spec version: 20210831
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ThreatTypeSummary = void 0;
16
+ var ThreatTypeSummary;
17
+ (function (ThreatTypeSummary) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ ThreatTypeSummary.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ ThreatTypeSummary.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(ThreatTypeSummary = exports.ThreatTypeSummary || (exports.ThreatTypeSummary = {}));
29
+ //# sourceMappingURL=threat-type-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"threat-type-summary.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/threat-type-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAWjC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Threat Intelligence API
3
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
4
+ * OpenAPI spec version: 20210831
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Threat type along with attribution data for its association to an indicator
16
+ */
17
+ export interface ThreatType {
18
+ /**
19
+ * The OCID of the threat type
20
+ */
21
+ "id": string;
22
+ /**
23
+ * The name of the threat type
24
+ */
25
+ "name": string;
26
+ /**
27
+ * The list of supporting attribution information.
28
+ */
29
+ "attribution": Array<model.DataAttribution>;
30
+ }
31
+ export declare namespace ThreatType {
32
+ function getJsonObj(obj: ThreatType): object;
33
+ function getDeserializedJsonObj(obj: ThreatType): object;
34
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Threat Intelligence API
4
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
5
+ * OpenAPI spec version: 20210831
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.ThreatType = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ThreatType;
37
+ (function (ThreatType) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "attribution": obj.attribution
41
+ ? obj.attribution.map(item => {
42
+ return model.DataAttribution.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ ThreatType.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "attribution": obj.attribution
52
+ ? obj.attribution.map(item => {
53
+ return model.DataAttribution.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ ThreatType.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(ThreatType = exports.ThreatType || (exports.ThreatType = {}));
61
+ //# sourceMappingURL=threat-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"threat-type.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/threat-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqBlC,IAAiB,UAAU,CA6B1B;AA7BD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA6B1B"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Threat Intelligence API
3
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
4
+ * OpenAPI spec version: 20210831
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * List of threat types applicable to indicators.
16
+ */
17
+ export interface ThreatTypesCollection {
18
+ /**
19
+ * The list of threat types that are available to query on
20
+ */
21
+ "items": Array<model.ThreatTypeSummary>;
22
+ }
23
+ export declare namespace ThreatTypesCollection {
24
+ function getJsonObj(obj: ThreatTypesCollection): object;
25
+ function getDeserializedJsonObj(obj: ThreatTypesCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Threat Intelligence API
4
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
5
+ * OpenAPI spec version: 20210831
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.ThreatTypesCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ThreatTypesCollection;
37
+ (function (ThreatTypesCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.ThreatTypeSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ ThreatTypesCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.ThreatTypeSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ ThreatTypesCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(ThreatTypesCollection = exports.ThreatTypesCollection || (exports.ThreatTypesCollection = {}));
61
+ //# sourceMappingURL=threat-types-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"threat-types-collection.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/threat-types-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,qBAAqB,CA6BrC;AA7BD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA6BrC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20210831
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.14.0/threatintelligence/GetIndicator.ts.html |here} to see how to use GetIndicatorRequest.
16
+ */
17
+ export interface GetIndicatorRequest extends common.BaseRequest {
18
+ /**
19
+ * unique indicator identifier
20
+ */
21
+ "indicatorId": string;
22
+ /**
23
+ * The ID of the tenancy to use to filter results.
24
+ */
25
+ "compartmentId": string;
26
+ /**
27
+ * The client request ID for tracing.
28
+ */
29
+ "opcRequestId"?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20210831
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=get-indicator-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-indicator-request.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/request/get-indicator-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Threat Intelligence API
3
+ * Use the Threat Intelligence API to view indicators of compromise and related items. For more information, see [Overview of Threat Intelligence](/Content/ThreatIntelligence/Concepts/threatintelligenceoverview.htm).
4
+ * OpenAPI spec version: 20210831
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as GetIndicatorRequest from "./get-indicator-request";
14
+ export import GetIndicatorRequest = GetIndicatorRequest.GetIndicatorRequest;
15
+ import * as ListIndicatorCountsRequest from "./list-indicator-counts-request";
16
+ export import ListIndicatorCountsRequest = ListIndicatorCountsRequest.ListIndicatorCountsRequest;
17
+ import * as ListIndicatorsRequest from "./list-indicators-request";
18
+ export import ListIndicatorsRequest = ListIndicatorsRequest.ListIndicatorsRequest;
19
+ import * as ListThreatTypesRequest from "./list-threat-types-request";
20
+ export import ListThreatTypesRequest = ListThreatTypesRequest.ListThreatTypesRequest;