Moving a Recipe to a Different Compartment

Move a security zone recipe to a different compartment.

  • This task can't be performed using the Console.
  • Use the oci cloud-guard security-recipe change-compartment command and required parameters to move a security zone recipe to a different compartment:

    oci cloud-guard security-recipe change-compartment --compartment-id <compartment_ocid> --security-recipe-id <security_recipe_ocid> [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the ChangeSecurityRecipeCompartment operation to move a security zone recipe to a different compartment.