oci-threatintelligence 2.37.0 → 2.40.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 +5 -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
|
@@ -75,7 +75,7 @@ export declare class ThreatintelClient {
|
|
|
75
75
|
* @param GetIndicatorRequest
|
|
76
76
|
* @return GetIndicatorResponse
|
|
77
77
|
* @throws OciError when an error occurs
|
|
78
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
78
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.0/threatintelligence/GetIndicator.ts.html |here} to see how to use GetIndicator API.
|
|
79
79
|
*/
|
|
80
80
|
getIndicator(getIndicatorRequest: requests.GetIndicatorRequest): Promise<responses.GetIndicatorResponse>;
|
|
81
81
|
/**
|
|
@@ -84,7 +84,7 @@ export declare class ThreatintelClient {
|
|
|
84
84
|
* @param ListIndicatorCountsRequest
|
|
85
85
|
* @return ListIndicatorCountsResponse
|
|
86
86
|
* @throws OciError when an error occurs
|
|
87
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
87
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.0/threatintelligence/ListIndicatorCounts.ts.html |here} to see how to use ListIndicatorCounts API.
|
|
88
88
|
*/
|
|
89
89
|
listIndicatorCounts(listIndicatorCountsRequest: requests.ListIndicatorCountsRequest): Promise<responses.ListIndicatorCountsResponse>;
|
|
90
90
|
/**
|
|
@@ -94,7 +94,7 @@ export declare class ThreatintelClient {
|
|
|
94
94
|
* @param ListIndicatorsRequest
|
|
95
95
|
* @return ListIndicatorsResponse
|
|
96
96
|
* @throws OciError when an error occurs
|
|
97
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
97
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.0/threatintelligence/ListIndicators.ts.html |here} to see how to use ListIndicators API.
|
|
98
98
|
*/
|
|
99
99
|
listIndicators(listIndicatorsRequest: requests.ListIndicatorsRequest): Promise<responses.ListIndicatorsResponse>;
|
|
100
100
|
/**
|
|
@@ -105,7 +105,7 @@ export declare class ThreatintelClient {
|
|
|
105
105
|
* @param ListThreatTypesRequest
|
|
106
106
|
* @return ListThreatTypesResponse
|
|
107
107
|
* @throws OciError when an error occurs
|
|
108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
108
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.0/threatintelligence/ListThreatTypes.ts.html |here} to see how to use ListThreatTypes API.
|
|
109
109
|
*/
|
|
110
110
|
listThreatTypes(listThreatTypesRequest: requests.ListThreatTypesRequest): Promise<responses.ListThreatTypesResponse>;
|
|
111
111
|
}
|
package/lib/client.js
CHANGED
|
@@ -156,7 +156,7 @@ class ThreatintelClient {
|
|
|
156
156
|
* @param GetIndicatorRequest
|
|
157
157
|
* @return GetIndicatorResponse
|
|
158
158
|
* @throws OciError when an error occurs
|
|
159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.0/threatintelligence/GetIndicator.ts.html |here} to see how to use GetIndicator API.
|
|
160
160
|
*/
|
|
161
161
|
getIndicator(getIndicatorRequest) {
|
|
162
162
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -216,7 +216,7 @@ class ThreatintelClient {
|
|
|
216
216
|
* @param ListIndicatorCountsRequest
|
|
217
217
|
* @return ListIndicatorCountsResponse
|
|
218
218
|
* @throws OciError when an error occurs
|
|
219
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
219
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.0/threatintelligence/ListIndicatorCounts.ts.html |here} to see how to use ListIndicatorCounts API.
|
|
220
220
|
*/
|
|
221
221
|
listIndicatorCounts(listIndicatorCountsRequest) {
|
|
222
222
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -276,7 +276,7 @@ class ThreatintelClient {
|
|
|
276
276
|
* @param ListIndicatorsRequest
|
|
277
277
|
* @return ListIndicatorsResponse
|
|
278
278
|
* @throws OciError when an error occurs
|
|
279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.0/threatintelligence/ListIndicators.ts.html |here} to see how to use ListIndicators API.
|
|
280
280
|
*/
|
|
281
281
|
listIndicators(listIndicatorsRequest) {
|
|
282
282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -350,7 +350,7 @@ class ThreatintelClient {
|
|
|
350
350
|
* @param ListThreatTypesRequest
|
|
351
351
|
* @return ListThreatTypesResponse
|
|
352
352
|
* @throws OciError when an error occurs
|
|
353
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
353
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.40.0/threatintelligence/ListThreatTypes.ts.html |here} to see how to use ListThreatTypes API.
|
|
354
354
|
*/
|
|
355
355
|
listThreatTypes(listThreatTypesRequest) {
|
|
356
356
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -33,6 +33,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
34
|
exports.EntityReference = void 0;
|
|
35
35
|
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
36
37
|
var EntityReference;
|
|
37
38
|
(function (EntityReference) {
|
|
38
39
|
function getJsonObj(obj) {
|
|
@@ -42,7 +43,8 @@ var EntityReference;
|
|
|
42
43
|
case "INDICATOR":
|
|
43
44
|
return model.IndicatorReference.getJsonObj(jsonObj, true);
|
|
44
45
|
default:
|
|
45
|
-
|
|
46
|
+
if (common.LOG.logger)
|
|
47
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
50
|
return jsonObj;
|
|
@@ -55,7 +57,8 @@ var EntityReference;
|
|
|
55
57
|
case "INDICATOR":
|
|
56
58
|
return model.IndicatorReference.getDeserializedJsonObj(jsonObj, true);
|
|
57
59
|
default:
|
|
58
|
-
|
|
60
|
+
if (common.LOG.logger)
|
|
61
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
59
62
|
}
|
|
60
63
|
}
|
|
61
64
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-reference.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/entity-reference.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"entity-reference.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/entity-reference.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,eAAe,CAiC/B;AAjCD,WAAiB,e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le.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.40.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.40.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.40.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.40.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.40.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.40.0",
|
|
19
|
+
"oci-workrequests": "2.40.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|