Moving a Compute Target Between Compartments
Move a compute (host) target into a different compartment.
- Open the navigation menu and select Identity & Security. Under Scanning, select Targets.
- Select the Compartment that contains your target.
- Select the Hosts tab.
- Select the name of the target.
- Select Move resource.
- Choose the destination compartment.
- Select Move resource.
Use the oci vulnerability-scanning host scan target change-compartment command and required parameters to move a compute (host) target into a different compartment:
oci vulnerability-scanning host scan target change-compartment [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ChangeHostScanTargetCompartment operation to delete the compute (host) target identified by the target ID.