Moving a Compute Scan Recipe Between Compartments

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

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