LoggingQueryDataSourceDetails¶
- class oci.cloud_guard.models.LoggingQueryDataSourceDetails(**kwargs)¶
Bases:
DataSourceDetailsInformation for a logging query for a data source.
Attributes:
A constant which can be used with the data_source_feed_provider property of a DataSourceDetails.
A constant which can be used with the data_source_feed_provider property of a DataSourceDetails.
A constant which can be used with the logging_query_type property of a LoggingQueryDataSourceDetails.
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails.
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails.
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails.
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails.
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails.
Gets the additional_entities_count of this LoggingQueryDataSourceDetails.
[Required] Gets the data_source_feed_provider of this DataSourceDetails.
Gets the interval_in_minutes of this LoggingQueryDataSourceDetails.
Gets the logging_query_details of this LoggingQueryDataSourceDetails.
Gets the logging_query_type of this LoggingQueryDataSourceDetails.
Gets the operator of this LoggingQueryDataSourceDetails.
Gets the query of this LoggingQueryDataSourceDetails.
Gets the query_start_time of this LoggingQueryDataSourceDetails.
Gets the regions of this LoggingQueryDataSourceDetails.
Gets the threshold of this LoggingQueryDataSourceDetails.
Methods:
__init__(**kwargs)Initializes a new LoggingQueryDataSourceDetails 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.
- DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY = 'LOGGINGQUERY'¶
A constant which can be used with the data_source_feed_provider property of a DataSourceDetails. This constant has a value of “LOGGINGQUERY”
- DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY = 'SCHEDULEDQUERY'¶
A constant which can be used with the data_source_feed_provider property of a DataSourceDetails. This constant has a value of “SCHEDULEDQUERY”
- LOGGING_QUERY_TYPE_INSIGHT = 'INSIGHT'¶
A constant which can be used with the logging_query_type property of a LoggingQueryDataSourceDetails. This constant has a value of “INSIGHT”
- OPERATOR_EQUAL = 'EQUAL'¶
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. This constant has a value of “EQUAL”
- OPERATOR_GREATER = 'GREATER'¶
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. This constant has a value of “GREATER”
- OPERATOR_GREATERTHANEQUALTO = 'GREATERTHANEQUALTO'¶
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. This constant has a value of “GREATERTHANEQUALTO”
- OPERATOR_LESS = 'LESS'¶
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. This constant has a value of “LESS”
- OPERATOR_LESSTHANEQUALTO = 'LESSTHANEQUALTO'¶
A constant which can be used with the operator property of a LoggingQueryDataSourceDetails. This constant has a value of “LESSTHANEQUALTO”
- __init__(**kwargs)¶
Initializes a new LoggingQueryDataSourceDetails object with values from keyword arguments. The default value of the
data_source_feed_providerattribute of this class isLOGGINGQUERYand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
data_source_feed_provider (str) – The value to assign to the data_source_feed_provider property of this LoggingQueryDataSourceDetails. Allowed values for this property are: “LOGGINGQUERY”, “SCHEDULEDQUERY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
regions (list[str]) – The value to assign to the regions property of this LoggingQueryDataSourceDetails.
query (str) – The value to assign to the query property of this LoggingQueryDataSourceDetails.
interval_in_minutes (int) – The value to assign to the interval_in_minutes property of this LoggingQueryDataSourceDetails.
threshold (int) – The value to assign to the threshold property of this LoggingQueryDataSourceDetails.
query_start_time (oci.cloud_guard.models.ContinuousQueryStartPolicy) – The value to assign to the query_start_time property of this LoggingQueryDataSourceDetails.
operator (str) – The value to assign to the operator property of this LoggingQueryDataSourceDetails. Allowed values for this property are: “EQUAL”, “GREATER”, “GREATERTHANEQUALTO”, “LESS”, “LESSTHANEQUALTO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
logging_query_type (str) – The value to assign to the logging_query_type property of this LoggingQueryDataSourceDetails. Allowed values for this property are: “INSIGHT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
additional_entities_count (int) – The value to assign to the additional_entities_count property of this LoggingQueryDataSourceDetails.
logging_query_details (oci.cloud_guard.models.LoggingQueryDetails) – The value to assign to the logging_query_details property of this LoggingQueryDataSourceDetails.
- property additional_entities_count¶
Gets the additional_entities_count of this LoggingQueryDataSourceDetails. The additional entities count used for data source query
- Returns
The additional_entities_count of this LoggingQueryDataSourceDetails.
- Return type
int
- property data_source_feed_provider¶
[Required] Gets the data_source_feed_provider of this DataSourceDetails. Type of data source feed provider (LoggingQuery)
Allowed values for this property are: “LOGGINGQUERY”, “SCHEDULEDQUERY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The data_source_feed_provider of this DataSourceDetails.
- Return type
str
- 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 interval_in_minutes¶
Gets the interval_in_minutes of this LoggingQueryDataSourceDetails. Interval in minutes that query is run periodically.
- Returns
The interval_in_minutes of this LoggingQueryDataSourceDetails.
- Return type
int
- property logging_query_details¶
Gets the logging_query_details of this LoggingQueryDataSourceDetails.
- Returns
The logging_query_details of this LoggingQueryDataSourceDetails.
- Return type
- property logging_query_type¶
Gets the logging_query_type of this LoggingQueryDataSourceDetails. Type of logging query for data source (Sighting/Insight)
Allowed values for this property are: “INSIGHT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The logging_query_type of this LoggingQueryDataSourceDetails.
- Return type
str
- property operator¶
Gets the operator of this LoggingQueryDataSourceDetails. DEPRECATED - Operator used in data source
Allowed values for this property are: “EQUAL”, “GREATER”, “GREATERTHANEQUALTO”, “LESS”, “LESSTHANEQUALTO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The operator of this LoggingQueryDataSourceDetails.
- Return type
str
- property query¶
Gets the query of this LoggingQueryDataSourceDetails. The continuous query expression that is run periodicall
- Returns
The query of this LoggingQueryDataSourceDetails.
- Return type
str
- property query_start_time¶
Gets the query_start_time of this LoggingQueryDataSourceDetails.
- Returns
The query_start_time of this LoggingQueryDataSourceDetails.
- Return type
- property regions¶
Gets the regions of this LoggingQueryDataSourceDetails. List of logging query regions
- Returns
The regions of this LoggingQueryDataSourceDetails.
- Return type
list[str]
- property threshold¶
Gets the threshold of this LoggingQueryDataSourceDetails. DEPRECATED - The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- Returns
The threshold of this LoggingQueryDataSourceDetails.
- Return type
int