Data Source: oci_cloud_guard_security_recipes
This data source provides the list of Security Recipes in Oracle Cloud Infrastructure Cloud Guard service.
Returns a list of security zone recipes (SecurityRecipeSummary resources) in a compartment, identified by compartmentId.
Example Usage
data "oci_cloud_guard_security_recipes" "test_security_recipes" {
#Required
compartment_id = var.compartment_id
#Optional
display_name = var.security_recipe_display_name
id = var.security_recipe_id
state = var.security_recipe_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The OCID of the compartment in which to list resources.display_name
- (Optional) A filter to return only resources that match the entire display name given.id
- (Optional) The unique identifier of the security zone recipe. (SecurityRecipe
)state
- (Optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
Attributes Reference
The following attributes are exported:
security_recipe_collection
- The list of security_recipe_collection.
SecurityRecipe Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment that contains the recipedefined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
description
- The recipe’s descriptiondisplay_name
- The recipe’s display namefreeform_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
- Unique identifier that can’t be changed after creationlifecycle_details
- A message describing the current state in more detail. For example, this can be used to provide actionable information for a recipe in theFailed
state.owner
- The owner of the recipesecurity_policies
- The list of security policy IDs that are included in the recipestate
- The current lifecycle state of the recipetime_created
- The time the recipe was created. An RFC3339 formatted datetime string.time_updated
- The time the recipe was last updated. An RFC3339 formatted datetime string.