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.
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.