Editing a Security Zone Recipe

Edit a security zone recipe's name, description, or policies.

Before you edit a recipe, understand the available security zone policies.

You can't edit Oracle-managed recipes.

Caution

When you change a recipe, the security posture for the resources in any security zone that use the recipe can be affected.
    1. On the Recipes list page, select the recipe that you want to work with. If you need help finding the list page or the compartment filter, see Listing Security Zone Recipes.
    2. On the details page, select Edit.
    3. Update the name and description for the recipe.

      Avoid entering confidential information.

    4. Select Next.
    5. (Optional) On the Policies page, select a check box to enable a policy, or clear a check box to disable a policy.

      You can filter the list of policies by selecting a specific policy type or resource type. You can also search for policies by name.

    6. Select Next.
    7. On the Review page, review the number of policies that are enabled and disabled in this recipe, and then select Save changes.

      The Recipe Details page opens and displays information about the recipe.

    8. (Optional) To edit or add tags for the recipe, click the Tags tab on the details page.

      If you have permissions to create a resource, you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. See Resource Tags.

  • Use the oci cloud-guard security-recipe update command and required parameters to edit a security zone recipe:

    oci cloud-guard security-recipe update --display-name <display_recipe_name> --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 UpdateSecurityRecipe operation to edit a security zone recipe.