Moving a Container Image Scan Recipe Between Compartments

Move a container image 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 Container image 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 container scan recipe change-compartment command and required parameters to move a container scan recipe into a different compartment:

    oci vulnerability-scanning container scan recipe change-compartment [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the ChangeContainerScanRecipeCompartment operation to move a container scan recipe into a different compartment.