oci-threatintelligence 2.24.0 → 2.27.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/lib/client.d.ts +4 -4
- package/lib/client.js +4 -4
- package/lib/model/entity-reference.js +2 -2
- package/lib/model/entity-reference.js.map +1 -1
- package/lib/request/get-indicator-request.d.ts +1 -1
- package/lib/request/list-indicator-counts-request.d.ts +1 -1
- package/lib/request/list-indicators-request.d.ts +1 -1
- package/lib/request/list-threat-types-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export declare class ThreatintelClient {
|
|
|
74
74
|
* @param GetIndicatorRequest
|
|
75
75
|
* @return GetIndicatorResponse
|
|
76
76
|
* @throws OciError when an error occurs
|
|
77
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
77
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/GetIndicator.ts.html |here} to see how to use GetIndicator API.
|
|
78
78
|
*/
|
|
79
79
|
getIndicator(getIndicatorRequest: requests.GetIndicatorRequest): Promise<responses.GetIndicatorResponse>;
|
|
80
80
|
/**
|
|
@@ -83,7 +83,7 @@ export declare class ThreatintelClient {
|
|
|
83
83
|
* @param ListIndicatorCountsRequest
|
|
84
84
|
* @return ListIndicatorCountsResponse
|
|
85
85
|
* @throws OciError when an error occurs
|
|
86
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
86
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/ListIndicatorCounts.ts.html |here} to see how to use ListIndicatorCounts API.
|
|
87
87
|
*/
|
|
88
88
|
listIndicatorCounts(listIndicatorCountsRequest: requests.ListIndicatorCountsRequest): Promise<responses.ListIndicatorCountsResponse>;
|
|
89
89
|
/**
|
|
@@ -93,7 +93,7 @@ export declare class ThreatintelClient {
|
|
|
93
93
|
* @param ListIndicatorsRequest
|
|
94
94
|
* @return ListIndicatorsResponse
|
|
95
95
|
* @throws OciError when an error occurs
|
|
96
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
96
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/ListIndicators.ts.html |here} to see how to use ListIndicators API.
|
|
97
97
|
*/
|
|
98
98
|
listIndicators(listIndicatorsRequest: requests.ListIndicatorsRequest): Promise<responses.ListIndicatorsResponse>;
|
|
99
99
|
/**
|
|
@@ -104,7 +104,7 @@ export declare class ThreatintelClient {
|
|
|
104
104
|
* @param ListThreatTypesRequest
|
|
105
105
|
* @return ListThreatTypesResponse
|
|
106
106
|
* @throws OciError when an error occurs
|
|
107
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
107
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/ListThreatTypes.ts.html |here} to see how to use ListThreatTypes API.
|
|
108
108
|
*/
|
|
109
109
|
listThreatTypes(listThreatTypesRequest: requests.ListThreatTypesRequest): Promise<responses.ListThreatTypesResponse>;
|
|
110
110
|
}
|
package/lib/client.js
CHANGED
|
@@ -155,7 +155,7 @@ class ThreatintelClient {
|
|
|
155
155
|
* @param GetIndicatorRequest
|
|
156
156
|
* @return GetIndicatorResponse
|
|
157
157
|
* @throws OciError when an error occurs
|
|
158
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
158
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/GetIndicator.ts.html |here} to see how to use GetIndicator API.
|
|
159
159
|
*/
|
|
160
160
|
getIndicator(getIndicatorRequest) {
|
|
161
161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -213,7 +213,7 @@ class ThreatintelClient {
|
|
|
213
213
|
* @param ListIndicatorCountsRequest
|
|
214
214
|
* @return ListIndicatorCountsResponse
|
|
215
215
|
* @throws OciError when an error occurs
|
|
216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
216
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/ListIndicatorCounts.ts.html |here} to see how to use ListIndicatorCounts API.
|
|
217
217
|
*/
|
|
218
218
|
listIndicatorCounts(listIndicatorCountsRequest) {
|
|
219
219
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -271,7 +271,7 @@ class ThreatintelClient {
|
|
|
271
271
|
* @param ListIndicatorsRequest
|
|
272
272
|
* @return ListIndicatorsResponse
|
|
273
273
|
* @throws OciError when an error occurs
|
|
274
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
274
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/ListIndicators.ts.html |here} to see how to use ListIndicators API.
|
|
275
275
|
*/
|
|
276
276
|
listIndicators(listIndicatorsRequest) {
|
|
277
277
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -343,7 +343,7 @@ class ThreatintelClient {
|
|
|
343
343
|
* @param ListThreatTypesRequest
|
|
344
344
|
* @return ListThreatTypesResponse
|
|
345
345
|
* @throws OciError when an error occurs
|
|
346
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
346
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/ListThreatTypes.ts.html |here} to see how to use ListThreatTypes API.
|
|
347
347
|
*/
|
|
348
348
|
listThreatTypes(listThreatTypesRequest) {
|
|
349
349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -37,7 +37,7 @@ var EntityReference;
|
|
|
37
37
|
(function (EntityReference) {
|
|
38
38
|
function getJsonObj(obj) {
|
|
39
39
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
40
|
-
if ("type" in obj && obj.type) {
|
|
40
|
+
if (obj && "type" in obj && obj.type) {
|
|
41
41
|
switch (obj.type) {
|
|
42
42
|
case "INDICATOR":
|
|
43
43
|
return model.IndicatorReference.getJsonObj(jsonObj, true);
|
|
@@ -50,7 +50,7 @@ var EntityReference;
|
|
|
50
50
|
EntityReference.getJsonObj = getJsonObj;
|
|
51
51
|
function getDeserializedJsonObj(obj) {
|
|
52
52
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
53
|
-
if ("type" in obj && obj.type) {
|
|
53
|
+
if (obj && "type" in obj && obj.type) {
|
|
54
54
|
switch (obj.type) {
|
|
55
55
|
case "INDICATOR":
|
|
56
56
|
return model.IndicatorReference.getDeserializedJsonObj(jsonObj, true);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-reference.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/entity-reference.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,eAAe,CAiC/B;AAjCD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"entity-reference.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/entity-reference.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,eAAe,CAiC/B;AAjCD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CACL,OAAQ,EAC3C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,0BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CACjB,OAAQ,EAC3C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,sCAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAiC/B"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/GetIndicator.ts.html |here} to see how to use GetIndicatorRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetIndicatorRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/ListIndicatorCounts.ts.html |here} to see how to use ListIndicatorCountsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ListIndicatorCountsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/ListIndicators.ts.html |here} to see how to use ListIndicatorsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ListIndicatorsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/threatintelligence/ListThreatTypes.ts.html |here} to see how to use ListThreatTypesRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ListThreatTypesRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-threatintelligence",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"description": "OCI NodeJS client for Threat Intelligence Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.27.0",
|
|
19
|
+
"oci-workrequests": "2.27.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|