IndicatorReference¶
- class oci.threat_intelligence.models.IndicatorReference(**kwargs)¶
Bases:
EntityReferenceA reference to a threat indicator resource.
Attributes:
A constant which can be used with the type property of a EntityReference.
[Required] Gets the indicator_id of this IndicatorReference.
[Required] Gets the type of this EntityReference.
Methods:
__init__(**kwargs)Initializes a new IndicatorReference object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- TYPE_INDICATOR = 'INDICATOR'¶
A constant which can be used with the type property of a EntityReference. This constant has a value of “INDICATOR”
- __init__(**kwargs)¶
Initializes a new IndicatorReference object with values from keyword arguments. The default value of the
typeattribute of this class isINDICATORand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
type (str) – The value to assign to the type property of this IndicatorReference. Allowed values for this property are: “INDICATOR”
indicator_id (str) – The value to assign to the indicator_id property of this IndicatorReference.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property indicator_id¶
[Required] Gets the indicator_id of this IndicatorReference. The unique OCID of the referenced threat indicator.
- Returns
The indicator_id of this IndicatorReference.
- Return type
str
- property type¶
[Required] Gets the type of this EntityReference. The type of the referenced entity.
Allowed values for this property are: “INDICATOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this EntityReference.
- Return type
str