Cloning an OCI Responder Recipe
You can clone an OCI responder recipe in Cloud Guard to make a copy that you can modify for different purposes.
You can use Oracle-managed responder recipes as is, but you can't change many of their settings. Also, you might want to create another responder recipe that's similar to a user-managed responder recipe that you cloned previously.
Whenever you want to create a responder recipe, you can clone the existing (Oracle-managed or user-managed) recipe with the settings that are most similar to what you want in the new recipe.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
To clone a responder recipe, first use the oci cloud-guard responder-recipe get command and required parameters to get the specific responder recipe that you want to clone:
oci cloud-guard responder-recipe get --responder-recipe-id <responder_recipe_ocid> [OPTIONS]
Then use the oci cloud-guard responder-recipe create command and required parameters to save that responder recipe, with a new name:
oci cloud-guard responder-recipe create --compartment-id, -c <compartment_ocid> --display-name <display_name_text> --source-responder-recipe-id <source_responder_recipe_id> [OPTIONS]
To clone a responder recipe, first run the GetResponderRecipe operation to get the responder recipe that you want to clone.
Then run the CreateResponderRecipe operation to save that responder recipe with a new name and description.
What's Next
- To edit the cloned responder recipe's rules, see Editing Rule Settings in an OCI Responder Recipe.
- Ensure that your cloned responder recipe is added to targets where you want it to be used. See Editing an OCI Target and Its Attached Recipes.