Editing an OCI Target and Its Attached Recipes

You can change the detector and responder recipes added to an OCI or Security Zones target in Cloud Guard.

    1. Open the navigation menu and click Identity & Security. Under Cloud Guard, click Configuration.
    2. On the Configuration page, click Targets.
    3. Look for targets where the entry in the Type is OCI.
    4. On the Targets page, locate the target that you want to modify and click its link in the Target name column.

      The detail page for the target displays, with Compartment details displayed in the Configuration section.

    5. To modify or remove a tag, click the Tags tab, and then click the Edit icon next to the tag entry.
    6. To add tags, click Add tags and follow these steps:
      1. Select a Tag namespace to add a defined tag, or select None to add a free-form tag.
      2. Select or enter a Tag key and Tag value.
      3. Add more tags or delete them as needed.
      4. Click Add tags.
    7. For targets that aren't Security Zones targets, under Resources, click Detector recipes, and then follow these steps:
      1. To add a recipe, click Add recipes.
        Note

        If the Add recipes button isn't available, the target already has a detector recipe of each type attached. First remove the type of detector recipe that you want to add.
      2. To remove a recipe, open its Actions menu Image of Action menu, and select Remove.
    8. For Security Zone targets, to change a detector recipe, under Resources, click Detector recipes, and then follow these steps:
      1. To replace an OCI Activity Detector recipe or an OCI Configuration Detector recipe, open its Actions menu Image of Action menu and select Replace.
      2. To add any other detector recipe, click Add recipes.
        Note

        If the Add recipes button isn't available, the target already has a full set of available detector recipes added. First remove the type of detector recipe that you want to add.
      3. To remove any other detector recipe, open its Actions menu Image of Action menu, and select Remove.
    9. For all targets, to change the associated responder recipe, under Resources, click Responder recipe, and then follow these steps:
      1. To add a recipe, click Add recipes.
        Note

        If the Add recipe button isn't available, the target already has a responder recipe added. First remove that responder recipe to add a new one.
      2. To remove a recipe, open its Actions menu Image of Action menu, and select Remove.
  • For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

    Targets

    Use the oci cloud-guard target update command and required parameters to update a target:

    oci cloud-guard target update --target-id <target_ocid> [OPTIONS]

    Target Detector Recipes

    Use the oci cloud-guard target-detector-recipe create command and required parameters to create a target detector recipe, by attaching a detector recipe to a target:

    oci cloud-guard target-detector-recipe create --detector-recipe-id <detector_recipe_identifier> --target-id <target_ocid> [OPTIONS]

    Use the oci cloud-guard target-detector-recipe delete command and required parameters to delete a target detector recipe, by detaching it from a target:

    oci cloud-guard target-detector-recipe delete --target-detector-recipe-id <detector_recipe_ocid> --target-id <target_ocid> [OPTIONS]

    Use the oci cloud-guard target-detector-recipe update command and required parameters to update a target detector recipe:

    oci cloud-guard target-detector-recipe update --target-detector-recipe-id <detector_recipe_ocid> --target-id <target_ocid> [OPTIONS]

    Target Responder Recipes

    Use the oci cloud-guard target-responder-recipe create command and required parameters to create a target responder recipe, by attaching a responder recipe to a target:

    oci cloud-guard target-responder-recipe create --responder-recipe-id responder_recipe_id --target-id <target_ocid> [OPTIONS]

    Use the oci cloud-guard target-responder-recipe delete command and required parameters to delete a target responder recipe that's attached to a target:

    oci cloud-guard target-responder-recipe delete --target-id <target_ocid> --target-responder-recipe-id <target_responder_recipe_ocid> [OPTIONS]

    Use the oci cloud-guard target-responder-recipe get command and required parameters to get a target responder recipe that's attached to a target:

    oci cloud-guard target-responder-recipe get --target-id <target_ocid> --target-responder-recipe-id <target_responder_recipe_ocid> [OPTIONS]

    Use the oci cloud-guard target-responder-recipe list command and required parameters to list target responder recipes that are attached to a target:

    oci cloud-guard target-responder-recipe list --compartment-id, -c <compartment_ocid> --target-id <target_ocid> [OPTIONS]

    Use the oci cloud-guard target-responder-recipe update command and required parameters to delete a target responder recipe, by detaching it from a target:

    oci cloud-guard target-responder-recipe update --responder-rules <valid_json> --target-id <target_ocid> --target-responder-recipe-id <target_responder_recipe_ocid> [OPTIONS]
  • Targets

    Run the UpdateTarget operation to update a target.

    Target Detector Recipes

    Run the CreateTargetDetectorRecipe operation to create a target detector recipe, by attaching a detector recipe to a target.

    Run the DeleteTargetDetectorRecipe operation to delete a target detector recipe, by detaching it from a target.

    Run the UpdateTargetDetectorRecipe operation to update a target detector recipe that's attached to a target.

    Target Responder Recipes

    Run the CreateTargetResponderRecipe operation to create a target responder recipe, by attaching a responder recipe to a target.

    Run the DeleteTargetResponderRecipe operation to delete a target responder recipe, by detaching it from a target.

    Run the GetTargetResponderRecipe operation to get a target responder recipe that's attached to a target.

    Run the ListTargetResponderRecipes operation to list target responder recipes that are attached to a target.

    Run the UpdateTargetResponderRecipe operation to update a target responder recipe that's attached to a target.