Getting a Compute Target's Details

View a Compute target's details.

    1. Open the navigation menu and click Identity & Security. Under Scanning, click Targets.
    2. Select the compartment that contains the target.
    3. Click the Hosts tab if not already selected.
    4. Click the name of the target.
    5. In the Compute instances table, click the name of a specific instance to view its details.
  • 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.