Editing a User-Managed OCI Detector Recipe
You can edit the name, description, compartment, and assigned tags for a user-managed detector recipe in Cloud Guard. You can also enable and disable detector rules.
You can change settings for the recipe itself only when the recipe is user-managed. The instructions on this page apply only to user-managed recipes.
You can change settings for individual rules for both Oracle-managed and user-managed recipes.
To change rule settings for individual rules, see Editing Rule Settings in an OCI Detector Recipe.
For complete information about what you can modify in Oracle-managed and user-managed (cloned) detector and responder recipes, from the recipe or target level, see Modifying Recipes at Recipe and Target Levels.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Use the oci cloud-guard detector-recipe update command and required parameters to update a detector recipe:
oci cloud-guard detector-recipe update --detector-recipe-id <detector_recipe_ocid> [OPTIONS]
Use the oci cloud-guard detector-recipe change-compartment command and required parameters to move a detector recipe to a different compartment:
oci cloud-guard detector-recipe change-compartment --compartment-id, -c <compartment_ocid> --detector-recipe-id <detector_recipe_ocid> [OPTIONS]
Use the UpdateDetectorRecipe operation to update a detector recipe.
Use the ChangeDetectorRecipeCompartment operation move a detector recipe to a different compartment.
What's Next
Ensure that you perform the following actions:
- Make any changes needed in detector rule settings at the recipe level, before adding the recipe to targets. See Editing Rule Settings in an OCI Detector Recipe.
- Add the detector recipe to all targets where you want it to be used. See Editing an OCI Target and Its Attached Recipes.
- Make any changes needed to customize detector rule settings for the target to which the detector recipe is added. See Editing Detector Rule Settings in an OCI Target's Recipes.