---
sourceDocument: Brazil IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/it-operations-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# OCI sub account

# OCI sub account pattern-based discovery {#ariaid-title1}

Release version: Brazil  
Updated October 29, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Discovery and Service Mapping Patterns finds sub accounts (compartments) in your OCI environment. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

## Pattern-based discovery and mapping requirements {#oracle-sub-account-pattern__section_subaccount_reqs}

Verify the REST API permissions
:   Download the [Cloud Discovery patterns spreadsheet](https://downloads.docs.servicenow.com/resource/enus/api/servicenow-discovery-patterns-api-details.xlsx) so you can grant user permissions required for running the Discovery patterns. In addition to permissions, the spreadsheet also includes useful information such as pattern names, types, CI Classes, and links to vendor documentation. New patterns are available quarterly, so check periodically to be sure you have the latest version of the spreadsheet.{#oracle-sub-account-pattern__cloud-discovery-api-ph-short-prereq}

Verify the OCI discovery prerequisites
:   For more information, see the prerequisites section in [Oracle Cloud Infrastructure (OCI) discovery](https://www.servicenow.com/docs/IYDsPN2skO1mrV5Z7pwsNQ "ServiceNow Discovery uses the Oracle Cloud Infrastructure (OCI) discovery patterns to provide real-time elasticity for enterprise applications by combining Oracle autonomous services, integrated security, and cloud compute. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

Configure the Discovery schedule to support GovCloud
:   Discovering OCI GovCloud accounts requires using a datacenter URL when setting up an OCI service account. For more information, see [Create OCI service accounts](https://www.servicenow.com/docs/Izj3kXTAsqrbFR1dMWXvsQ "Create Oracle Cloud Infrastructure (OCI) service accounts on the ServiceNow AI Platform to access your Oracle account during Oracle discovery.").

## Data collected by Discovery during horizontal discovery {#oracle-sub-account-pattern__section_subaccount_data}

Discovery populates the data in the CMDB when running the Oracle OCI - Sub Account (LP) pattern.  
{#oracle-sub-account-pattern__table_subaccount_service_account__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Name of the compartment. |
| Object ID \[object_id\] | Oracle Cloud Identifier (OCID) of the compartment. |
| Account Id \[account_id\] | Unique identifier of the account. * For sub accounts: the value is the OCID of the compartment * For the management account: the value is the account ID of the tenancy that you entered when you added the account {#oracle-sub-account-pattern__ul_qrk_ktp_clc} |
| Datacenter Type \[datacenter_type\] | Type of datacenter that the account belongs to. The value is set to OCI Datacenter \[cmdb_ci_oci_datacenter\]. |
| Datacenter URL \[datacenter_url\] | URL of the datacenter. The value is inherited from the management account. |
| Organization Id \[organization_id\] | Organization ID. The value is inherited from the management account. |
| Is management account \[is_master_account\] | Indicator of whether the account is the management account. * For sub accounts: the value is false * For the management account: the value is true {#oracle-sub-account-pattern__ul_tvl_ptp_clc} |
| Parent account \[parent_account\] | Reference to the Cloud Service Account \[cmdb_ci_cloud_service_account\] table. |
| Install Status \[install_status\] | Install status of the resource. Default value is Installed. |
| Operational status \[operational_status\] | Operational status of the resource. Default value is Operational. |
[Table 1. Cloud Service Account \[cmdb_ci_cloud_service_account\]]

{#oracle-sub-account-pattern__table_subaccount_service_account}

## CI relationships and references {#oracle-sub-account-pattern__section_subaccount_relationships}

The Oracle OCI - Sub Account (LP) pattern creates the following relationships and references to support OCI sub account discovery. References link to records in other tables and don't appear in the CI Relationship \[cmdb_rel_ci\] table.  
{#oracle-sub-account-pattern__table_subaccount_ci_relationships__entry__3}

| CI | Relationship | CI |
|-|-|-|
| Cloud Service Account \[cmdb_ci_cloud_service_account\] | Members::Member of | Cloud Service Account \[cmdb_ci_cloud_service_account\] |
[Table 2. CI relationships]

{#oracle-sub-account-pattern__table_subaccount_ci_relationships}  
{#oracle-sub-account-pattern__table_subaccount_ci_references__entry__3}

| CI | Field | Referenced CI |
|-|-|-|
| Cloud Service Account \[cmdb_ci_cloud_service_account\] | Parent account \[parent_account\] | Cloud Service Account \[cmdb_ci_cloud_service_account\] |
| Key Value \[cmdb_key_value\] | Configuration item \[configuration_item\] | Cloud Service Account \[cmdb_ci_cloud_service_account\] |
[Table 3. CI references]

{#oracle-sub-account-pattern__table_subaccount_ci_references}

## OCI tag discovery {#oracle-sub-account-pattern__section_subaccount_tags}

The pattern extension section collects tags and populates them in the Key Value \[cmdb_key_value\] table.  
{#oracle-sub-account-pattern__table_subaccount_key_value__entry__2}

| Field | Description |
|-|-|
| Key \[key\] | Tag name. |
| Value \[value\] | Tag value. |
| Configuration item \[configuration_item\] | Reference to the Cloud Service Account \[cmdb_ci_cloud_service_account\] table. |
[Table 4. Key Value \[cmdb_key_value\]]

{#oracle-sub-account-pattern__table_subaccount_key_value}

