Editing a Compute Target

Use the Console to update an existing Compute (host) scan target.

Note

After you create an OCI agent or Qualys agent Compute scan recipe, don't change that recipe to change agents. Create another recipe.
    1. On the Targets list page, select the recipe that you want to work with. If you need help finding the list page or the target, see Listing the Compute Instances for a Target.
    2. On the details page, select Edit.
    3. Change any of these settings for the target.
      • Name
      • Description
      • Scan recipe
      • Target compartment

      Avoid entering confidential information.

    4. Update the Compute instances for this target.
      • All Compute instances in the selected target compartment and its subcompartments
      • Selected Compute instances in the selected target compartment- Select individual Compute instances

      You can't update a target with a compartment or a Compute instance that's already specified in another target. However, multiple targets can scan the same Compute instance.

    5. Select Save changes
    6. (Optional) Select Tags to manage the tags for this target.

      If you have permissions to create a resource, you also have permissions to add free-form tags to that resource.

      To add a defined tag, you must have permissions to use the tag namespace.

      For more information about tagging, see Resource Tags. If you're not sure if you should add tags, skip this option or ask your administrator. You can add tags later.

  • Use the oci vulnerability-scanning host scan target update command and required parameters to update the compute (host) target identified by the target ID:

    oci vulnerability-scanning host scan target update [OPTIONS]

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

  • Run the UpdateHostScanTarget operation to update the compute (host) target identified by the target ID.