OCI sub account pattern-based discovery

reference australia Updated Oct 29, 2026 3 min read oracle-sub-account-pattern.md
Raw file servicenow.com

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

  • Verify the REST API permissions

    Download the Cloud Discovery patterns spreadsheet 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.

  • Verify the OCI discovery prerequisites

    For more information, see the prerequisites section in Oracle Cloud Infrastructure (OCI) discovery.

  • 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.

Data collected by Discovery during horizontal discovery

Discovery populates the data in the CMDB when running the Oracle OCI - Sub Account (LP) pattern.

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

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

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.

## CI relationships and references

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.

CI Relationship CI
Cloud Service Account [cmdb_ci_cloud_service_account] Members::Member of Cloud Service Account [cmdb_ci_cloud_service_account]
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]

OCI tag discovery

The pattern extension section collects tags and populates them in the Key Value [cmdb_key_value] table.

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.

Parent Topic:Oracle Cloud Infrastructure (OCI) discovery

Keywords Oracle OCI - Sub Account \(LP\)sub accountcompartmentOCI discoveryOracle patterns
Search documentation
Search document titles and file paths on the australia branch