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.

    1. Open the navigation menu and click Identity & Security. Under Cloud Guard, click Detector recipes.
    2. To ensure the page displays all available items in the list, under Scope, set the value of Compartment to the tenancy's root compartment and select Include child compartments.
    3. Locate the recipe that you want to modify.

      User-managed detector recipes have No in the Oracle managed column.

    4. Click the recipe's link in the Recipe name column.
      The details page for the recipe opens.
    5. Make desired changes:
      • To change the recipe's name or description, click Edit, enter your changes, and then click Save:

        Avoid entering confidential information.

      • To attach the recipe to a different compartment, Click Move resource, select the new compartment, then click Move resource.
      • To see tags that have been added to the detector recipe, click the Tags tab below the detector recipe's name on the details page.
      • To edit, add, or delete tags, click the Tags tab and follow these steps:
        • To edit or remove an existing tag, click the Edit icon next to it and change its value or remove it.
        • To add one or more tags, click Add tags and enter the tag namespace (for a defined tag), key, and value.
      • To enable or disable groups of detector rules:
        1. Select check boxes next to the rule names (current Status for all must be the same).
        2. Click Enable or Disable.
  • 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: