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.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +1521 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +109 -0
- package/lib/client.js +403 -0
- package/lib/client.js.map +1 -0
- package/lib/model/data-attribution.d.ts +36 -0
- package/lib/model/data-attribution.js +59 -0
- package/lib/model/data-attribution.js.map +1 -0
- package/lib/model/data-visibility.d.ts +41 -0
- package/lib/model/data-visibility.js +42 -0
- package/lib/model/data-visibility.js.map +1 -0
- package/lib/model/entity-reference.d.ts +22 -0
- package/lib/model/entity-reference.js +65 -0
- package/lib/model/entity-reference.js.map +1 -0
- package/lib/model/index.d.ts +50 -0
- package/lib/model/index.js +73 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/indicator-attribute.d.ts +34 -0
- package/lib/model/indicator-attribute.js +61 -0
- package/lib/model/indicator-attribute.js.map +1 -0
- package/lib/model/indicator-count-collection.d.ts +26 -0
- package/lib/model/indicator-count-collection.js +61 -0
- package/lib/model/indicator-count-collection.js.map +1 -0
- package/lib/model/indicator-count-dimensions.d.ts +30 -0
- package/lib/model/indicator-count-dimensions.js +29 -0
- package/lib/model/indicator-count-dimensions.js.map +1 -0
- package/lib/model/indicator-count-summary.d.ts +27 -0
- package/lib/model/indicator-count-summary.js +57 -0
- package/lib/model/indicator-count-summary.js.map +1 -0
- package/lib/model/indicator-reference.d.ts +28 -0
- package/lib/model/indicator-reference.js +52 -0
- package/lib/model/indicator-reference.js.map +1 -0
- package/lib/model/indicator-relationship.d.ts +31 -0
- package/lib/model/indicator-relationship.js +67 -0
- package/lib/model/indicator-relationship.js.map +1 -0
- package/lib/model/indicator-source-summary.d.ts +25 -0
- package/lib/model/indicator-source-summary.js +29 -0
- package/lib/model/indicator-source-summary.js.map +1 -0
- package/lib/model/indicator-summary-collection.d.ts +26 -0
- package/lib/model/indicator-summary-collection.js +61 -0
- package/lib/model/indicator-summary-collection.js.map +1 -0
- package/lib/model/indicator-summary.d.ts +58 -0
- package/lib/model/indicator-summary.js +61 -0
- package/lib/model/indicator-summary.js.map +1 -0
- package/lib/model/indicator-type.d.ts +33 -0
- package/lib/model/indicator-type.js +44 -0
- package/lib/model/indicator-type.js.map +1 -0
- package/lib/model/indicator.d.ts +72 -0
- package/lib/model/indicator.js +81 -0
- package/lib/model/indicator.js.map +1 -0
- package/lib/model/lifecycle-state.d.ts +28 -0
- package/lib/model/lifecycle-state.js +39 -0
- package/lib/model/lifecycle-state.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/threat-type-summary.d.ts +29 -0
- package/lib/model/threat-type-summary.js +29 -0
- package/lib/model/threat-type-summary.js.map +1 -0
- package/lib/model/threat-type.d.ts +34 -0
- package/lib/model/threat-type.js +61 -0
- package/lib/model/threat-type.js.map +1 -0
- package/lib/model/threat-types-collection.d.ts +26 -0
- package/lib/model/threat-types-collection.js +61 -0
- package/lib/model/threat-types-collection.js.map +1 -0
- package/lib/request/get-indicator-request.d.ts +30 -0
- package/lib/request/get-indicator-request.js +15 -0
- package/lib/request/get-indicator-request.js.map +1 -0
- package/lib/request/index.d.ts +20 -0
- package/lib/request/index.js +37 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-indicator-counts-request.d.ts +31 -0
- package/lib/request/list-indicator-counts-request.js +15 -0
- package/lib/request/list-indicator-counts-request.js.map +1 -0
- package/lib/request/list-indicators-request.d.ts +70 -0
- package/lib/request/list-indicators-request.js +24 -0
- package/lib/request/list-indicators-request.js.map +1 -0
- package/lib/request/list-threat-types-request.d.ts +39 -0
- package/lib/request/list-threat-types-request.js +15 -0
- package/lib/request/list-threat-types-request.js.map +1 -0
- package/lib/response/get-indicator-response.d.ts +25 -0
- package/lib/response/get-indicator-response.js +15 -0
- package/lib/response/get-indicator-response.js.map +1 -0
- package/lib/response/index.d.ts +20 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-indicator-counts-response.d.ts +25 -0
- package/lib/response/list-indicator-counts-response.js +15 -0
- package/lib/response/list-indicator-counts-response.js.map +1 -0
- package/lib/response/list-indicators-response.d.ts +32 -0
- package/lib/response/list-indicators-response.js +15 -0
- package/lib/response/list-indicators-response.js.map +1 -0
- package/lib/response/list-threat-types-response.d.ts +32 -0
- package/lib/response/list-threat-types-response.js +15 -0
- package/lib/response/list-threat-types-response.js.map +1 -0
- package/lib/threatintel-waiter.d.ts +29 -0
- package/lib/threatintel-waiter.js +65 -0
- package/lib/threatintel-waiter.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,27 @@
|
|
|
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 group of indicators with the same dimensions
|
|
16
|
+
*/
|
|
17
|
+
export interface IndicatorCountSummary {
|
|
18
|
+
"dimensions": model.IndicatorCountDimensions;
|
|
19
|
+
/**
|
|
20
|
+
* The count of indicators in the group Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
21
|
+
*/
|
|
22
|
+
"count": number;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace IndicatorCountSummary {
|
|
25
|
+
function getJsonObj(obj: IndicatorCountSummary): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: IndicatorCountSummary): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.IndicatorCountSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var IndicatorCountSummary;
|
|
37
|
+
(function (IndicatorCountSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"dimensions": obj.dimensions
|
|
41
|
+
? model.IndicatorCountDimensions.getJsonObj(obj.dimensions)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
IndicatorCountSummary.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"dimensions": obj.dimensions
|
|
50
|
+
? model.IndicatorCountDimensions.getDeserializedJsonObj(obj.dimensions)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
IndicatorCountSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(IndicatorCountSummary = exports.IndicatorCountSummary || (exports.IndicatorCountSummary = {}));
|
|
57
|
+
//# sourceMappingURL=indicator-count-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator-count-summary.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/indicator-count-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,qBAAqB,CAyBrC;AAzBD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC;gBAC3D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,gCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,4CAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAyBrC"}
|
|
@@ -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
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* a reference to an Indicator resource
|
|
16
|
+
*/
|
|
17
|
+
export interface IndicatorReference extends model.EntityReference {
|
|
18
|
+
/**
|
|
19
|
+
* the OCID of the referenced Indicator
|
|
20
|
+
*/
|
|
21
|
+
"indicatorId": string;
|
|
22
|
+
"type": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace IndicatorReference {
|
|
25
|
+
function getJsonObj(obj: IndicatorReference, isParentJsonObj?: boolean): object;
|
|
26
|
+
const type = "INDICATOR";
|
|
27
|
+
function getDeserializedJsonObj(obj: IndicatorReference, isParentJsonObj?: boolean): object;
|
|
28
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.IndicatorReference = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var IndicatorReference;
|
|
37
|
+
(function (IndicatorReference) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.EntityReference.getJsonObj(obj))), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
IndicatorReference.getJsonObj = getJsonObj;
|
|
43
|
+
IndicatorReference.type = "INDICATOR";
|
|
44
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
46
|
+
? obj
|
|
47
|
+
: model.EntityReference.getDeserializedJsonObj(obj))), {});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
IndicatorReference.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
51
|
+
})(IndicatorReference = exports.IndicatorReference || (exports.IndicatorReference = {}));
|
|
52
|
+
//# sourceMappingURL=indicator-reference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator-reference.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/indicator-reference.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,kBAAkB,CAuBlC;AAvBD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB,EAAE,eAAyB;QAC3E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAwB,CAAC,GACvF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,6BAAU,aAOzB,CAAA;IACY,uBAAI,GAAG,WAAW,CAAC;IAChC,SAAgB,sBAAsB,CACpC,GAAuB,EACvB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAwB,CAAC,GAC3E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,yCAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAuBlC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* An relationship name and list of releated entities.
|
|
16
|
+
*/
|
|
17
|
+
export interface IndicatorRelationship {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the attribute
|
|
20
|
+
*/
|
|
21
|
+
"name": string;
|
|
22
|
+
"relatedEntity": model.IndicatorReference;
|
|
23
|
+
/**
|
|
24
|
+
* The array of attribution data that support this SourcedRelationship
|
|
25
|
+
*/
|
|
26
|
+
"attribution": Array<model.DataAttribution>;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace IndicatorRelationship {
|
|
29
|
+
function getJsonObj(obj: IndicatorRelationship): object;
|
|
30
|
+
function getDeserializedJsonObj(obj: IndicatorRelationship): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.IndicatorRelationship = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var IndicatorRelationship;
|
|
37
|
+
(function (IndicatorRelationship) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"relatedEntity": obj.relatedEntity
|
|
41
|
+
? model.EntityReference.getJsonObj(obj.relatedEntity)
|
|
42
|
+
: undefined,
|
|
43
|
+
"attribution": obj.attribution
|
|
44
|
+
? obj.attribution.map(item => {
|
|
45
|
+
return model.DataAttribution.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
IndicatorRelationship.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"relatedEntity": obj.relatedEntity
|
|
55
|
+
? model.EntityReference.getDeserializedJsonObj(obj.relatedEntity)
|
|
56
|
+
: undefined,
|
|
57
|
+
"attribution": obj.attribution
|
|
58
|
+
? obj.attribution.map(item => {
|
|
59
|
+
return model.DataAttribution.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
IndicatorRelationship.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(IndicatorRelationship = exports.IndicatorRelationship || (exports.IndicatorRelationship = {}));
|
|
67
|
+
//# sourceMappingURL=indicator-relationship.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator-relationship.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/indicator-relationship.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,qBAAqB,CAmCrC;AAnCD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACrD,CAAC,CAAC,SAAS;YACb,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;IAhBe,gCAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBACjE,CAAC,CAAC,SAAS;YACb,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;IAhBe,4CAAsB,yBAgBrC,CAAA;AACH,CAAC,EAnCgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAmCrC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
* Information about the source of indicator data.
|
|
15
|
+
*/
|
|
16
|
+
export interface IndicatorSourceSummary {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the source
|
|
19
|
+
*/
|
|
20
|
+
"name": string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace IndicatorSourceSummary {
|
|
23
|
+
function getJsonObj(obj: IndicatorSourceSummary): object;
|
|
24
|
+
function getDeserializedJsonObj(obj: IndicatorSourceSummary): object;
|
|
25
|
+
}
|
|
@@ -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.IndicatorSourceSummary = void 0;
|
|
16
|
+
var IndicatorSourceSummary;
|
|
17
|
+
(function (IndicatorSourceSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
IndicatorSourceSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
IndicatorSourceSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(IndicatorSourceSummary = exports.IndicatorSourceSummary || (exports.IndicatorSourceSummary = {}));
|
|
29
|
+
//# sourceMappingURL=indicator-source-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator-source-summary.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/indicator-source-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAeH,IAAiB,sBAAsB,CAWtC;AAXD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAWtC"}
|
|
@@ -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 indicator summary objects.
|
|
16
|
+
*/
|
|
17
|
+
export interface IndicatorSummaryCollection {
|
|
18
|
+
/**
|
|
19
|
+
* The list of indicators
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.IndicatorSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace IndicatorSummaryCollection {
|
|
24
|
+
function getJsonObj(obj: IndicatorSummaryCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: IndicatorSummaryCollection): 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.IndicatorSummaryCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var IndicatorSummaryCollection;
|
|
37
|
+
(function (IndicatorSummaryCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.IndicatorSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
IndicatorSummaryCollection.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.IndicatorSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
IndicatorSummaryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(IndicatorSummaryCollection = exports.IndicatorSummaryCollection || (exports.IndicatorSummaryCollection = {}));
|
|
61
|
+
//# sourceMappingURL=indicator-summary-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator-summary-collection.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/indicator-summary-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,0BAA0B,CA6B1C;AA7BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,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,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,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,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6B1C"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
* Summary of a data signature observed on a network or host that indicates a potential security threat.
|
|
16
|
+
*/
|
|
17
|
+
export interface IndicatorSummary {
|
|
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 of indicator.
|
|
28
|
+
*/
|
|
29
|
+
"value": string;
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
*/
|
|
33
|
+
"confidence"?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Compartment Identifier
|
|
36
|
+
*/
|
|
37
|
+
"compartmentId"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Characteristics of the threat indicator based on previous observations or behavior. May include related tactics, techniques, and procedures.
|
|
40
|
+
*/
|
|
41
|
+
"threatTypes": Array<model.ThreatType>;
|
|
42
|
+
/**
|
|
43
|
+
* The state of the indicator. It will always be ACTIVE. This field is added for consistency.
|
|
44
|
+
*/
|
|
45
|
+
"lifecycleState"?: model.LifecycleState;
|
|
46
|
+
/**
|
|
47
|
+
* The time the data was first seen for this indicator. An RFC3339 formatted datetime string
|
|
48
|
+
*/
|
|
49
|
+
"timeCreated": Date;
|
|
50
|
+
/**
|
|
51
|
+
* The last time this indicator was updated. It starts with the same value as timeCreated and is never empty. An RFC3339 formatted datetime string
|
|
52
|
+
*/
|
|
53
|
+
"timeUpdated": Date;
|
|
54
|
+
}
|
|
55
|
+
export declare namespace IndicatorSummary {
|
|
56
|
+
function getJsonObj(obj: IndicatorSummary): object;
|
|
57
|
+
function getDeserializedJsonObj(obj: IndicatorSummary): object;
|
|
58
|
+
}
|
|
@@ -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.IndicatorSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var IndicatorSummary;
|
|
37
|
+
(function (IndicatorSummary) {
|
|
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
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
IndicatorSummary.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"threatTypes": obj.threatTypes
|
|
52
|
+
? obj.threatTypes.map(item => {
|
|
53
|
+
return model.ThreatType.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
IndicatorSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(IndicatorSummary = exports.IndicatorSummary || (exports.IndicatorSummary = {}));
|
|
61
|
+
//# sourceMappingURL=indicator-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator-summary.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/indicator-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6ClC,IAAiB,gBAAgB,CA6BhC;AA7BD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,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;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,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;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA6BhC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
* The set of supported indicator types.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum IndicatorType {
|
|
17
|
+
DomainName = "DOMAIN_NAME",
|
|
18
|
+
FileName = "FILE_NAME",
|
|
19
|
+
Md5Hash = "MD5_HASH",
|
|
20
|
+
Sha1Hash = "SHA1_HASH",
|
|
21
|
+
Sha256Hash = "SHA256_HASH",
|
|
22
|
+
IpAddress = "IP_ADDRESS",
|
|
23
|
+
Url = "URL",
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
29
|
+
}
|
|
30
|
+
export declare namespace IndicatorType {
|
|
31
|
+
function getJsonObj(obj: IndicatorType): IndicatorType;
|
|
32
|
+
function getDeserializedJsonObj(obj: IndicatorType): IndicatorType;
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.IndicatorType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The set of supported indicator types.
|
|
18
|
+
**/
|
|
19
|
+
var IndicatorType;
|
|
20
|
+
(function (IndicatorType) {
|
|
21
|
+
IndicatorType["DomainName"] = "DOMAIN_NAME";
|
|
22
|
+
IndicatorType["FileName"] = "FILE_NAME";
|
|
23
|
+
IndicatorType["Md5Hash"] = "MD5_HASH";
|
|
24
|
+
IndicatorType["Sha1Hash"] = "SHA1_HASH";
|
|
25
|
+
IndicatorType["Sha256Hash"] = "SHA256_HASH";
|
|
26
|
+
IndicatorType["IpAddress"] = "IP_ADDRESS";
|
|
27
|
+
IndicatorType["Url"] = "URL";
|
|
28
|
+
/**
|
|
29
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
30
|
+
* version of the SDK.
|
|
31
|
+
*/
|
|
32
|
+
IndicatorType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(IndicatorType = exports.IndicatorType || (exports.IndicatorType = {}));
|
|
34
|
+
(function (IndicatorType) {
|
|
35
|
+
function getJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
IndicatorType.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
return obj;
|
|
41
|
+
}
|
|
42
|
+
IndicatorType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(IndicatorType = exports.IndicatorType || (exports.IndicatorType = {}));
|
|
44
|
+
//# sourceMappingURL=indicator-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicator-type.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/indicator-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAcX;AAdD,WAAY,aAAa;IACvB,2CAA0B,CAAA;IAC1B,uCAAsB,CAAA;IACtB,qCAAoB,CAAA;IACpB,uCAAsB,CAAA;IACtB,2CAA0B,CAAA;IAC1B,yCAAwB,CAAA;IACxB,4BAAW,CAAA;IAEX;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAdW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAcxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|