For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add Your OCI Tenant to Prisma Cloud

Your OCI tenant has a root compartment (tenancy) by default. To onboard your OCI tenant, you will need the root compartment’s OCID.

You must onboard OCI at the tenant level and any child compartments will be automatically onboarded on Prisma Cloud.

Each OCI tenant is associated with a Home region. Prisma Cloud is available for visibility and monitoring of your OCI tenants in all OCI-supported cloud regions.

  1. Get Started.

    1. Select Settings > Providers > Connect Provider and choose *Cloud Account.

    2. Select Oracle Cloud as the cloud account you want to onboard.

    3. Select Tenant under Scope.

    4. The Misconfigurations (Foundational capability) is enabled by default. It scans cloud resources and ingestion metadata for vulnerabilities.

    5. Click Next.

      oci onboarding get started
  2. Configure Account.

    1. Enter a Account Name that uniquely identifies your OCI tenant on Prisma Cloud and click Next.

    2. Enter Tenant/Root OCID.

      In OCI, administrator resources are only created at the tenant level. To ingest those resources, you must first onboard the OCI tenant in Prisma Cloud by entering the root compartment OCID and home region from the OCI console.

      1. Log in to your OCI console and select Identity & Security > Identity > Compartments.

      2. Copy the OCID of the root compartment.

        oci tenant console 1
      3. Return to the Prisma Cloud Onboarding Setup page and paste the OCID in the Tenant/Root OCID field.

    3. Select the Home Region where the tenant is created (for example, us-phoenix-1).

    4. Follow the next step Create a User to Enable Access, to create a new user, group, and policy that correspond to OCI Identity User Name, Group Name, and Policy Name.

      You can use an existing user with the correct privileges, an existing group, and an existing policy with the correct policy statements. However, it is recommended that you create a new user, group, and policy as described in the next step Create a User to Enable Access.

    5. Create a User to Enable Access

      Use the Terraform template to generate a new user OCID. The User Name, Group Name, and Policy Name must be unique and should not be present in your OCI tenant.

      1. Download the terraform script to your local machine.

        To onboard the Oracle Cloud account, a public key is needed to access the OCI API. This public key is embedded in the Terraform template, and it changes each time you download the template. Therefore, when creating a stack, make sure to use the most recent Terraform file that you downloaded.

        oci onboard config account
      2. Check the OCI console to see if the Primary email address required checkbox is disabled.

        To ensure that the Terraform file runs successfully, uncheck the Primary email address required checkbox.

        1. Log in to your OCI tenant console.

        2. Navigate to Identity > Domains > Default Domain > Settings > Domain Settings.

        3. Disable the Primary email address required checkbox if it is enabled.

          oci uncheck primary email address reqd
        4. Save changes.

          If you want to keep the Primary email address required checkbox enabled on your console, add your OCI tenant administrator’s email address to the userinput:[oci identity user] email field in the Terraform file before running it.

          resource "oci_identity_user" "user" {
          name           = "oci_user_name_param"
          description    = "user created by terraform"
          email          = "<oci-tenant-administrator-email-address>"
          compartment_id = "oci_tenant_id_param"
          }
      3. Follow these steps to Generate User OCID

        1. Select the Home Region you entered in Add Tenant Details (for example, US West (Phoenix)).

        2. Navigate to Developer Services > Resource Manager > Stacks and select Create Stack.

        3. Select My Configuration to upload the Terraform configuration files.

        4. Under Stack Configuration, select .Zip file and upload the terraform.tf.zip file that you had previously downloaded to your local machine.

        5. Enter a stack Name, for example, PrismaCloudApp.

        6. Under Create in compartment, choose the root compartment if it is not already selected, and click Next.

          oci tenant console 2
        7. The Configure variables have already been set. Click Next.

          oci tenant console 3
        8. Review the Stack information, select Run apply and Create the stack.

          The Terraform file gets executed, and the User OCID is generated.

          oci tenant console 4
        9. From the current Job details, navigate to Resources > Outputs and copy the user_ocid Value.

          oci tenant console 6
    6. Return to the Prisma Cloud Onboarding Setup page and paste the User OCID value in the User OCID text field.

    7. Account Group Selection

      Select the Account Groups to associate with your OCI tenant and click Next.

      You must assign each cloud account to an account group, and create an alert rule to associate the account group with it to generate alerts when a policy violation occurs.

      oci onboard config account
  3. Review Status.

    1. Ensure that all the account details and the misconfiguration security capability display a green Successful or Enabled checkmark.

      The status check verifies the OCI tenant and the number of compartments available under that tenant. Prisma Cloud ingests the child compartment(s) along with the root tenant.

    2. Click Save and Close to complete onboarding or Save and Onboard Another Account.

      You can view the newly onboarded Oracle Cloud account on the Cloud Accounts page.

      oci onboard verify 1
    3. If an onboarded account displays a yellow or red status, you can either reload or refresh the cloud account and it’s associated security capabilities. Select Home > Settings > Providers > Cloud Accounts and click on the Status of the cloud account you want to refresh. Next, select the refresh button on the Status window to reload your cloud account.

  4. Next Steps

    1. It can take up to an hour for the ingestion to complete after which you can view the resources in Prisma Cloud, review, and act on the alerts generated.

    2. Configure Alert Rule to include OCI policies.

    3. On the Prisma Cloud Dashboard, you can filter by OCI Cloud Accounts. Prisma Cloud supports only configuration ingestion for OCI tenants and displays only the relevant configuration ingestion data.

      oci pc dashboard 1
    4. Start using the Prisma Cloud Asset Inventory for visibility. Set the Cloud Type filter as OCI to view the data for the supported services. You can also filter the data based on the OCI Cloud Region and Service Name.

      oci pc asset inv 1
    5. To verify if the configuration logs for your OCI-related resources have been analyzed, you can run a query on the Investigate page.

      oci investigate darwin
    6. Review the Prisma Cloud default Policies for OCI.

      Select Governance > Overview, set the Cloud Type filter as OCI, and view all the Config policies that are available to detect any misconfigurations in your infrastructure.

      oci pc policy 1

Last updated

Was this helpful?