Moving a Compute Scan Recipe Between Compartments

Move a Compute (host) scan recipe from one compartment to another.

    1. Open the navigation menu and click Identity & Security. Under Scanning, click Scan Recipes.
    2. Select the compartment that contains the recipe.
    3. Click the Hosts tab.
    4. Click the name of the recipe.
    5. Click Move resource.
    6. Choose the destination compartment.
    7. 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.