Moving a Compute Scan Recipe Between Compartments
Move a Compute (host) scan recipe from one compartment to another.
- Open the navigation menu and click Identity & Security. Under Scanning, click Scan Recipes.
- Select the compartment that contains the recipe.
- Click the Hosts tab.
- Click the name of the recipe.
- Click Move resource.
- Choose the destination compartment.
- Click Move resource.
After you move the recipe to the new compartment, inherent policies apply immediately and affect access to the recipe through the Console. For more information, see Managing Compartments.
Use the oci vulnerability-scanning host scan recipe change-compartment command and required parameters to move a host scan recipe into a different compartment:
oci vulnerability-scanning host scan recipe change-compartment [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ChangeHostScanRecipeCompartment operation to move a host scan recipe into a different compartment.