Data Source: oci_cloud_guard_saved_query
This data source provides details about a specific Saved Query resource in Oracle Cloud Infrastructure Cloud Guard service.
Returns a SavedQuery resource identified by savedQueryId.
Example Usage
data "oci_cloud_guard_saved_query" "test_saved_query" {
#Required
saved_query_id = oci_cloud_guard_saved_query.test_saved_query.id
}
Argument Reference
The following arguments are supported:
saved_query_id
- (Required) Saved query OCID
Attributes Reference
The following attributes are exported:
compartment_id
- Compartment OCID of the saved querydefined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
description
- Description of the saved querydisplay_name
- Display name of the saved queryfreeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
Avoid entering confidential information.
id
- OCID for the saved queryquery
- The saved query expressionstate
- The current lifecycle state of the resourcesystem_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The date and time the saved query was created. Format defined by RFC3339.time_updated
- The date and time the saved query was updated. Format defined by RFC3339.