Getting a Compute Target's Details

View a Compute target's details.

    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. The details page opens and displays information about the recipe.
  • Use the oci vulnerability-scanning host scan target get command and required parameters to retrieve a compute (host) target identified by the target ID:

    oci vulnerability-scanning host scan target get --host-scan-target-id <target_ocid>

    For example:

    oci vulnerability-scanning host scan target get --host-scan-target-id ocid1.vsshostscantarget.oc1..exampleuniqueID

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

  • Run the GetHostScanTarget operation to retrieve a compute (host) target identified by the target ID.