oci-threatintelligence 2.42.0 → 2.44.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/index.d.ts +2 -2
- package/index.js +2 -2
- package/lib/client.d.ts +23 -14
- package/lib/client.js +94 -23
- package/lib/client.js.map +1 -1
- package/lib/model/data-attribution.d.ts +6 -6
- package/lib/model/data-attribution.js +2 -2
- package/lib/model/data-visibility.d.ts +4 -4
- package/lib/model/data-visibility.js +2 -2
- package/lib/model/entity-reference.d.ts +3 -3
- package/lib/model/entity-reference.js +2 -2
- package/lib/model/geodata-details.d.ts +57 -0
- package/lib/model/geodata-details.js +29 -0
- package/lib/model/geodata-details.js.map +1 -0
- package/lib/model/index.d.ts +8 -2
- package/lib/model/index.js +9 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/indicator-attribute-summary.d.ts +29 -0
- package/lib/model/indicator-attribute-summary.js +29 -0
- package/lib/model/indicator-attribute-summary.js.map +1 -0
- package/lib/model/indicator-attribute.d.ts +4 -4
- package/lib/model/indicator-attribute.js +2 -2
- package/lib/model/indicator-count-collection.d.ts +2 -2
- package/lib/model/indicator-count-collection.js +2 -2
- package/lib/model/indicator-count-dimensions.d.ts +5 -5
- package/lib/model/indicator-count-dimensions.js +2 -2
- package/lib/model/indicator-count-summary.d.ts +4 -4
- package/lib/model/indicator-count-summary.js +2 -2
- package/lib/model/indicator-reference.d.ts +4 -4
- package/lib/model/indicator-reference.js +2 -2
- package/lib/model/indicator-relationship.d.ts +5 -5
- package/lib/model/indicator-relationship.js +2 -2
- package/lib/model/indicator-source-summary.d.ts +4 -4
- package/lib/model/indicator-source-summary.js +2 -2
- package/lib/model/indicator-summary-collection.d.ts +3 -3
- package/lib/model/indicator-summary-collection.js +2 -2
- package/lib/model/indicator-summary.d.ts +21 -10
- package/lib/model/indicator-summary.js +13 -9
- package/lib/model/indicator-summary.js.map +1 -1
- package/lib/model/indicator-type.d.ts +2 -2
- package/lib/model/indicator-type.js +2 -2
- package/lib/model/indicator.d.ts +27 -16
- package/lib/model/indicator.js +7 -3
- package/lib/model/indicator.js.map +1 -1
- package/lib/model/lifecycle-state.d.ts +3 -3
- package/lib/model/lifecycle-state.js +3 -3
- package/lib/model/sort-order.d.ts +2 -2
- package/lib/model/sort-order.js +2 -2
- package/lib/model/summarize-indicators-details.d.ts +88 -0
- package/lib/model/summarize-indicators-details.js +36 -0
- package/lib/model/summarize-indicators-details.js.map +1 -0
- package/lib/model/threat-type-summary.d.ts +3 -3
- package/lib/model/threat-type-summary.js +2 -2
- package/lib/model/threat-type.d.ts +5 -5
- package/lib/model/threat-type.js +2 -2
- package/lib/model/threat-types-collection.d.ts +4 -4
- package/lib/model/threat-types-collection.js +2 -2
- package/lib/request/get-indicator-request.d.ts +4 -4
- package/lib/request/get-indicator-request.js +1 -1
- package/lib/request/index.d.ts +4 -2
- package/lib/request/index.js +2 -2
- package/lib/request/list-indicator-counts-request.d.ts +3 -3
- package/lib/request/list-indicator-counts-request.js +1 -1
- package/lib/request/list-indicators-request.d.ts +27 -5
- package/lib/request/list-indicators-request.js +3 -1
- package/lib/request/list-indicators-request.js.map +1 -1
- package/lib/request/list-threat-types-request.d.ts +3 -3
- package/lib/request/list-threat-types-request.js +1 -1
- package/lib/request/summarize-indicators-request.d.ts +39 -0
- package/lib/request/summarize-indicators-request.js +15 -0
- package/lib/request/summarize-indicators-request.js.map +1 -0
- package/lib/response/get-indicator-response.d.ts +1 -1
- package/lib/response/get-indicator-response.js +1 -1
- package/lib/response/index.d.ts +4 -2
- package/lib/response/index.js +2 -2
- package/lib/response/list-indicator-counts-response.d.ts +1 -1
- package/lib/response/list-indicator-counts-response.js +1 -1
- package/lib/response/list-indicators-response.d.ts +1 -1
- package/lib/response/list-indicators-response.js +1 -1
- package/lib/response/list-threat-types-response.d.ts +1 -1
- package/lib/response/list-threat-types-response.js +1 -1
- package/lib/response/summarize-indicators-response.d.ts +32 -0
- package/lib/response/summarize-indicators-response.js +15 -0
- package/lib/response/summarize-indicators-response.js.map +1 -0
- package/lib/threatintel-waiter.d.ts +2 -2
- package/lib/threatintel-waiter.js +2 -2
- package/package.json +3 -3
package/lib/model/indicator.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Threat Intelligence API
|
|
3
|
-
* Use the Threat Intelligence API to
|
|
4
|
-
* OpenAPI spec version:
|
|
3
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -20,21 +20,27 @@ export interface Indicator {
|
|
|
20
20
|
*/
|
|
21
21
|
"id": string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* The type of indicator.
|
|
24
24
|
*/
|
|
25
25
|
"type": model.IndicatorType;
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
* The value for this indicator.
|
|
28
|
+
* The value's format is dependent upon its `type`. Examples:
|
|
29
|
+
* <p>
|
|
30
|
+
DOMAIN_NAME \"evil.example.com\"
|
|
31
|
+
* <p>
|
|
32
|
+
MD5_HASH \"44d88612fea8a8f36de82e1278abb02f\"
|
|
33
|
+
* <p>
|
|
34
|
+
IP_ADDRESS \"2001:db8::1\"
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
31
37
|
"value": string;
|
|
32
38
|
/**
|
|
33
|
-
*
|
|
39
|
+
* An integer from 0 to 100 that represents how certain we are that the indicator is malicious and a potential threat if it is detected communicating with your cloud resources. 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
40
|
*/
|
|
35
41
|
"confidence"?: number;
|
|
36
42
|
/**
|
|
37
|
-
*
|
|
43
|
+
* The OCID of the compartment that contains this indicator.
|
|
38
44
|
*/
|
|
39
45
|
"compartmentId"?: string;
|
|
40
46
|
/**
|
|
@@ -42,29 +48,34 @@ export interface Indicator {
|
|
|
42
48
|
*/
|
|
43
49
|
"threatTypes": Array<model.ThreatType>;
|
|
44
50
|
/**
|
|
45
|
-
* A map of
|
|
46
|
-
*
|
|
51
|
+
* A map of attributes with additional information about the indicator.
|
|
52
|
+
* Each attribute has a name (string), value (string), and attribution (supporting data).
|
|
47
53
|
*
|
|
48
54
|
*/
|
|
49
55
|
"attributes": Array<model.IndicatorAttribute>;
|
|
50
56
|
/**
|
|
51
|
-
* A map of
|
|
52
|
-
*
|
|
57
|
+
* A map of relationships between the indicator and other entities.
|
|
58
|
+
* Each relationship has a name (string), related entity, and attribution (supporting data).
|
|
53
59
|
*
|
|
54
60
|
*/
|
|
55
61
|
"relationships": Array<model.IndicatorRelationship>;
|
|
56
62
|
/**
|
|
57
|
-
* The state of the indicator.
|
|
63
|
+
* The state of the indicator. It will always be `ACTIVE`.
|
|
58
64
|
*/
|
|
59
65
|
"lifecycleState"?: model.LifecycleState;
|
|
60
66
|
/**
|
|
61
|
-
* The time the
|
|
67
|
+
* The date and time that the indicator was first detected. An RFC3339 formatted string.
|
|
62
68
|
*/
|
|
63
69
|
"timeCreated": Date;
|
|
64
70
|
/**
|
|
65
|
-
* The
|
|
71
|
+
* The date and time that this indicator was last updated. The value is the same as `timeCreated` for a new indicator. An RFC3339 formatted string.
|
|
66
72
|
*/
|
|
67
73
|
"timeUpdated": Date;
|
|
74
|
+
/**
|
|
75
|
+
* The date and time that this indicator was last seen. The value is the same as `timeCreated` for a new indicator. An RFC3339 formatted string.
|
|
76
|
+
*/
|
|
77
|
+
"timeLastSeen": Date;
|
|
78
|
+
"geodata": model.GeodataDetails;
|
|
68
79
|
}
|
|
69
80
|
export declare namespace Indicator {
|
|
70
81
|
function getJsonObj(obj: Indicator): object;
|
package/lib/model/indicator.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Threat Intelligence API
|
|
4
|
-
* Use the Threat Intelligence API to
|
|
5
|
-
* OpenAPI spec version:
|
|
4
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20220901
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -51,7 +51,8 @@ var Indicator;
|
|
|
51
51
|
? obj.relationships.map(item => {
|
|
52
52
|
return model.IndicatorRelationship.getJsonObj(item);
|
|
53
53
|
})
|
|
54
|
-
: undefined
|
|
54
|
+
: undefined,
|
|
55
|
+
"geodata": obj.geodata ? model.GeodataDetails.getJsonObj(obj.geodata) : undefined
|
|
55
56
|
});
|
|
56
57
|
return jsonObj;
|
|
57
58
|
}
|
|
@@ -72,6 +73,9 @@ var Indicator;
|
|
|
72
73
|
? obj.relationships.map(item => {
|
|
73
74
|
return model.IndicatorRelationship.getDeserializedJsonObj(item);
|
|
74
75
|
})
|
|
76
|
+
: undefined,
|
|
77
|
+
"geodata": obj.geodata
|
|
78
|
+
? model.GeodataDetails.getDeserializedJsonObj(obj.geodata)
|
|
75
79
|
: undefined
|
|
76
80
|
});
|
|
77
81
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indicator.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/indicator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"indicator.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/indicator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsElC,IAAiB,SAAS,CAuDzB;AAvDD,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;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;SAClF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,oBAAU,aAyBzB,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;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC1D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA3Be,gCAAsB,yBA2BrC,CAAA;AACH,CAAC,EAvDgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAuDzB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Threat Intelligence API
|
|
3
|
-
* Use the Threat Intelligence API to
|
|
4
|
-
* OpenAPI spec version:
|
|
3
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The lifecycle state of a threat indicator.
|
|
15
15
|
**/
|
|
16
16
|
export declare enum LifecycleState {
|
|
17
17
|
Active = "ACTIVE",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Threat Intelligence API
|
|
4
|
-
* Use the Threat Intelligence API to
|
|
5
|
-
* OpenAPI spec version:
|
|
4
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20220901
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.LifecycleState = void 0;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* The lifecycle state of a threat indicator.
|
|
18
18
|
**/
|
|
19
19
|
var LifecycleState;
|
|
20
20
|
(function (LifecycleState) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Threat Intelligence API
|
|
3
|
-
* Use the Threat Intelligence API to
|
|
4
|
-
* OpenAPI spec version:
|
|
3
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
package/lib/model/sort-order.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Threat Intelligence API
|
|
4
|
-
* Use the Threat Intelligence API to
|
|
5
|
-
* OpenAPI spec version:
|
|
4
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20220901
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Threat Intelligence API
|
|
3
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
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
|
+
* Query parameters to filter indicators
|
|
16
|
+
*/
|
|
17
|
+
export interface SummarizeIndicatorsDetails {
|
|
18
|
+
/**
|
|
19
|
+
* The type of indicator this is
|
|
20
|
+
*/
|
|
21
|
+
"indicatorType"?: model.IndicatorType;
|
|
22
|
+
/**
|
|
23
|
+
* The value for the type of indicator this is
|
|
24
|
+
*/
|
|
25
|
+
"indicatorValue"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The threat type of entites to be returned.
|
|
28
|
+
*/
|
|
29
|
+
"threatTypes"?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The minimum level of confidence to return Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
32
|
+
*/
|
|
33
|
+
"confidenceGreaterThanOrEqualTo"?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The oldest update time of entities to be returned.
|
|
36
|
+
*/
|
|
37
|
+
"timeUpdatedGreaterThanOrEqualTo"?: Date;
|
|
38
|
+
/**
|
|
39
|
+
* The newest update time of entities to be returned.
|
|
40
|
+
*/
|
|
41
|
+
"timeUpdatedLessThan"?: Date;
|
|
42
|
+
/**
|
|
43
|
+
* The oldest last seen time of entities to be returned.
|
|
44
|
+
*/
|
|
45
|
+
"timeLastSeenGreaterThanOrEqualTo"?: Date;
|
|
46
|
+
/**
|
|
47
|
+
* The newest last seen time of entities to be returned.
|
|
48
|
+
*/
|
|
49
|
+
"timeLastSeenLessThan"?: Date;
|
|
50
|
+
/**
|
|
51
|
+
* The oldest creation time of entities to be returned.
|
|
52
|
+
*/
|
|
53
|
+
"timeCreatedGreaterThanOrEqualTo"?: Date;
|
|
54
|
+
/**
|
|
55
|
+
* The newest creation time of entities to be returned.
|
|
56
|
+
*/
|
|
57
|
+
"timeCreatedLessThan"?: Date;
|
|
58
|
+
/**
|
|
59
|
+
* Filter to include indicators that have been seen by the provided source.
|
|
60
|
+
*/
|
|
61
|
+
"indicatorSeenBy"?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Filter to include indicators associated with the provided malware.
|
|
64
|
+
*/
|
|
65
|
+
"malware"?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Filter to included indicators associated with the provided threat actor.
|
|
68
|
+
*/
|
|
69
|
+
"threatActor"?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The sort order to use, either 'ASC' or 'DESC'.
|
|
72
|
+
*/
|
|
73
|
+
"sortOrder"?: model.SortOrder;
|
|
74
|
+
/**
|
|
75
|
+
* The field to sort by. Only one field to sort by may be provided
|
|
76
|
+
*/
|
|
77
|
+
"sortBy"?: SummarizeIndicatorsDetails.SortBy;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace SummarizeIndicatorsDetails {
|
|
80
|
+
enum SortBy {
|
|
81
|
+
Confidence = "CONFIDENCE",
|
|
82
|
+
Timecreated = "TIMECREATED",
|
|
83
|
+
Timeupdated = "TIMEUPDATED",
|
|
84
|
+
Timelastseen = "TIMELASTSEEN"
|
|
85
|
+
}
|
|
86
|
+
function getJsonObj(obj: SummarizeIndicatorsDetails): object;
|
|
87
|
+
function getDeserializedJsonObj(obj: SummarizeIndicatorsDetails): object;
|
|
88
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Threat Intelligence API
|
|
4
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20220901
|
|
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.SummarizeIndicatorsDetails = void 0;
|
|
16
|
+
var SummarizeIndicatorsDetails;
|
|
17
|
+
(function (SummarizeIndicatorsDetails) {
|
|
18
|
+
let SortBy;
|
|
19
|
+
(function (SortBy) {
|
|
20
|
+
SortBy["Confidence"] = "CONFIDENCE";
|
|
21
|
+
SortBy["Timecreated"] = "TIMECREATED";
|
|
22
|
+
SortBy["Timeupdated"] = "TIMEUPDATED";
|
|
23
|
+
SortBy["Timelastseen"] = "TIMELASTSEEN";
|
|
24
|
+
})(SortBy = SummarizeIndicatorsDetails.SortBy || (SummarizeIndicatorsDetails.SortBy = {}));
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
27
|
+
return jsonObj;
|
|
28
|
+
}
|
|
29
|
+
SummarizeIndicatorsDetails.getJsonObj = getJsonObj;
|
|
30
|
+
function getDeserializedJsonObj(obj) {
|
|
31
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
32
|
+
return jsonObj;
|
|
33
|
+
}
|
|
34
|
+
SummarizeIndicatorsDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
35
|
+
})(SummarizeIndicatorsDetails = exports.SummarizeIndicatorsDetails || (exports.SummarizeIndicatorsDetails = {}));
|
|
36
|
+
//# sourceMappingURL=summarize-indicators-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summarize-indicators-details.js","sourceRoot":"","sources":["../../../../../lib/threatintelligence/lib/model/summarize-indicators-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuEH,IAAiB,0BAA0B,CAkB1C;AAlBD,WAAiB,0BAA0B;IACzC,IAAY,MAKX;IALD,WAAY,MAAM;QAChB,mCAAyB,CAAA;QACzB,qCAA2B,CAAA;QAC3B,qCAA2B,CAAA;QAC3B,uCAA6B,CAAA;IAC/B,CAAC,EALW,MAAM,GAAN,iCAAM,KAAN,iCAAM,QAKjB;IAED,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAlBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAkB1C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Threat Intelligence API
|
|
3
|
-
* Use the Threat Intelligence API to
|
|
4
|
-
* OpenAPI spec version:
|
|
3
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The name of a threat type and its ID.
|
|
15
15
|
*/
|
|
16
16
|
export interface ThreatTypeSummary {
|
|
17
17
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Threat Intelligence API
|
|
4
|
-
* Use the Threat Intelligence API to
|
|
5
|
-
* OpenAPI spec version:
|
|
4
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20220901
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Threat Intelligence API
|
|
3
|
-
* Use the Threat Intelligence API to
|
|
4
|
-
* OpenAPI spec version:
|
|
3
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* A threat type along with attribution data that associates it to a threat indicator.
|
|
16
16
|
*/
|
|
17
17
|
export interface ThreatType {
|
|
18
18
|
/**
|
|
19
|
-
* The OCID of the threat type
|
|
19
|
+
* The OCID of the threat type.
|
|
20
20
|
*/
|
|
21
21
|
"id": string;
|
|
22
22
|
/**
|
|
23
|
-
* The name of the threat type
|
|
23
|
+
* The name of the threat type.
|
|
24
24
|
*/
|
|
25
25
|
"name": string;
|
|
26
26
|
/**
|
package/lib/model/threat-type.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Threat Intelligence API
|
|
4
|
-
* Use the Threat Intelligence API to
|
|
5
|
-
* OpenAPI spec version:
|
|
4
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20220901
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Threat Intelligence API
|
|
3
|
-
* Use the Threat Intelligence API to
|
|
4
|
-
* OpenAPI spec version:
|
|
3
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
* List of threat types
|
|
15
|
+
* List of threat types that can be associated with threat indicators.
|
|
16
16
|
*/
|
|
17
17
|
export interface ThreatTypesCollection {
|
|
18
18
|
/**
|
|
19
|
-
* The list of threat types that
|
|
19
|
+
* The list of threat types that can be used to search for threat indicators.
|
|
20
20
|
*/
|
|
21
21
|
"items": Array<model.ThreatTypeSummary>;
|
|
22
22
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Threat Intelligence API
|
|
4
|
-
* Use the Threat Intelligence API to
|
|
5
|
-
* OpenAPI spec version:
|
|
4
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20220901
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
*
|
|
3
3
|
*
|
|
4
|
-
* OpenAPI spec version:
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -12,15 +12,15 @@
|
|
|
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.44.0/threatintelligence/GetIndicator.ts.html |here} to see how to use GetIndicatorRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetIndicatorRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
19
|
-
* unique indicator
|
|
19
|
+
* The unique identifier (OCID) of the threat indicator.
|
|
20
20
|
*/
|
|
21
21
|
"indicatorId": string;
|
|
22
22
|
/**
|
|
23
|
-
* The
|
|
23
|
+
* The OCID of the tenancy (root compartment) that is used to filter results.
|
|
24
24
|
*/
|
|
25
25
|
"compartmentId": string;
|
|
26
26
|
/**
|
package/lib/request/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Threat Intelligence API
|
|
3
|
-
* Use the Threat Intelligence API to
|
|
4
|
-
* OpenAPI spec version:
|
|
3
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -18,3 +18,5 @@ import * as ListIndicatorsRequest from "./list-indicators-request";
|
|
|
18
18
|
export import ListIndicatorsRequest = ListIndicatorsRequest.ListIndicatorsRequest;
|
|
19
19
|
import * as ListThreatTypesRequest from "./list-threat-types-request";
|
|
20
20
|
export import ListThreatTypesRequest = ListThreatTypesRequest.ListThreatTypesRequest;
|
|
21
|
+
import * as SummarizeIndicatorsRequest from "./summarize-indicators-request";
|
|
22
|
+
export import SummarizeIndicatorsRequest = SummarizeIndicatorsRequest.SummarizeIndicatorsRequest;
|
package/lib/request/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Threat Intelligence API
|
|
4
|
-
* Use the Threat Intelligence API to
|
|
5
|
-
* OpenAPI spec version:
|
|
4
|
+
* Use the Threat Intelligence API to search for information about known threat indicators, including suspicious IP addresses, domain names, and other digital fingerprints. Threat Intelligence is a managed database of curated threat intelligence that comes from first party Oracle security insights, open source feeds, and vendor-procured data. For more information, see the [Threat Intelligence documentation](/iaas/Content/threat-intel/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20220901
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
*
|
|
3
3
|
*
|
|
4
|
-
* OpenAPI spec version:
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -13,11 +13,11 @@
|
|
|
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.44.0/threatintelligence/ListIndicatorCounts.ts.html |here} to see how to use ListIndicatorCountsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ListIndicatorCountsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
20
|
-
* The
|
|
20
|
+
* The OCID of the tenancy (root compartment) that is used to filter results.
|
|
21
21
|
*/
|
|
22
22
|
"compartmentId": string;
|
|
23
23
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
*
|
|
3
3
|
*
|
|
4
|
-
* OpenAPI spec version:
|
|
4
|
+
* OpenAPI spec version: 20220901
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -13,15 +13,15 @@
|
|
|
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.44.0/threatintelligence/ListIndicators.ts.html |here} to see how to use ListIndicatorsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ListIndicatorsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
20
|
-
* The
|
|
20
|
+
* The OCID of the tenancy (root compartment) that is used to filter results.
|
|
21
21
|
*/
|
|
22
22
|
"compartmentId": string;
|
|
23
23
|
/**
|
|
24
|
-
* The
|
|
24
|
+
* The threat type of entites to be returned. To filter for multiple threat types, repeat this parameter.
|
|
25
25
|
*/
|
|
26
26
|
"threatTypeName"?: Array<string>;
|
|
27
27
|
/**
|
|
@@ -40,6 +40,26 @@ export interface ListIndicatorsRequest extends common.BaseRequest {
|
|
|
40
40
|
* The oldest update time of entities to be returned.
|
|
41
41
|
*/
|
|
42
42
|
"timeUpdatedGreaterThanOrEqualTo"?: Date;
|
|
43
|
+
/**
|
|
44
|
+
* Return indicators updated before the provided time.
|
|
45
|
+
*/
|
|
46
|
+
"timeUpdatedLessThan"?: Date;
|
|
47
|
+
/**
|
|
48
|
+
* The oldest last seen time of entities to be returned.
|
|
49
|
+
*/
|
|
50
|
+
"timeLastSeenGreaterThanOrEqualTo"?: Date;
|
|
51
|
+
/**
|
|
52
|
+
* Return indicators last seen before the provided time.
|
|
53
|
+
*/
|
|
54
|
+
"timeLastSeenLessThan"?: Date;
|
|
55
|
+
/**
|
|
56
|
+
* The oldest created/first seen time of entities to be returned.
|
|
57
|
+
*/
|
|
58
|
+
"timeCreatedGreaterThanOrEqualTo"?: Date;
|
|
59
|
+
/**
|
|
60
|
+
* Return indicators created/first seen before the provided time.
|
|
61
|
+
*/
|
|
62
|
+
"timeCreatedLessThan"?: Date;
|
|
43
63
|
/**
|
|
44
64
|
* The maximum number of items to return.
|
|
45
65
|
*/
|
|
@@ -65,6 +85,8 @@ export interface ListIndicatorsRequest extends common.BaseRequest {
|
|
|
65
85
|
export declare namespace ListIndicatorsRequest {
|
|
66
86
|
enum SortBy {
|
|
67
87
|
Confidence = "confidence",
|
|
68
|
-
|
|
88
|
+
TimeCreated = "timeCreated",
|
|
89
|
+
TimeUpdated = "timeUpdated",
|
|
90
|
+
TimeLastSeen = "timeLastSeen"
|
|
69
91
|
}
|
|
70
92
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version:
|
|
5
|
+
* OpenAPI spec version: 20220901
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -18,7 +18,9 @@ var ListIndicatorsRequest;
|
|
|
18
18
|
let SortBy;
|
|
19
19
|
(function (SortBy) {
|
|
20
20
|
SortBy["Confidence"] = "confidence";
|
|
21
|
+
SortBy["TimeCreated"] = "timeCreated";
|
|
21
22
|
SortBy["TimeUpdated"] = "timeUpdated";
|
|
23
|
+
SortBy["TimeLastSeen"] = "timeLastSeen";
|
|
22
24
|
})(SortBy = ListIndicatorsRequest.SortBy || (ListIndicatorsRequest.SortBy = {}));
|
|
23
25
|
})(ListIndicatorsRequest = exports.ListIndicatorsRequest || (exports.ListIndicatorsRequest = {}));
|
|
24
26
|
//# sourceMappingURL=list-indicators-request.js.map
|