Listing the Compute Instances for a Target
List Compute instances (hosts) associated with an existing target.
Filtering List Results
Use filters to limit the compute targets in the list. Perform one of the following actions depending on the options that you see:
- From the Search and Filter box above the list table, select one or more filters and specify the values that you want to use to narrow the list. In general, the filters correspond to the columns shown in the list table, although some filters represent attributes that aren't shown in the table. The Compartment filter is always displayed next to Applied filters.
- On the left side of the list page, select a value from one of the available filters, such as compartment, state, or tags.
Change the order of the items in the list table by using the sort icons next to the column names.
Actions
In the list table, select the name of a compute targets to open its details page, where you can view its status and perform other tasks.
To perform an action on a compute targets directly from the list table, select any of the following options from the
in the row for that compute targets:- View details: Open the details page for the target.
- Edit: Editing a Compute Target.
- List errors: Listing the Compute Instance Errors for a Target
- Move resource: Move the target to another compartment.
- Manage tags: Add one or more tags to the target. See Resource Tags.
- Delete: Deleting a Compute Target.
- Open support request: Open the Support Request panel, in which you can access support options. See Support Requests.
To create a compute target, select Create.
Use the oci vulnerability-scanning host scan target list command and required parameters to retrieve a list of HostScanTargetSummary objects in a compartment:
oci vulnerability-scanning host scan target list --compartment-id <compartment_ocid>
For example:
oci vulnerability-scanning host scan target list --compartment-id ocid1.compartment.oc1..exampleuniqueID
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ListHostScanTargets operation to retrieve a list of HostScanTargetSummary objects in a compartment.