Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Oracle Cloud Infrastructure (OCI) discovery

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 may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

Starting with version 1.29.0, Discovery and Service Mapping Patterns supports the discovery of OCI GovCloud accounts.

Request apps on the Store

Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

Prerequisites

  • Verify that the following applications are installed

    Verify that the following applications are installed and up to date:

    • Cloud Access Interface (starting from version 1.0.0)
    • Visibility Content
    • CMDB CI Class Models
    • Discovery and Service Mapping Patterns
    • Configure Oracle API credentials

    Ensure that your OCI credentials are configured and that your private and public keys are converted to the RSA format. For more information, see Create Oracle API credentials.

  • Create OCI service account

    For more information, see Create OCI service accounts.

  • Create a cloud discovery schedule

    To run a cloud discovery at scale, see Create an OCI Discovery schedule in Discovery Admin Workspace.

    Create a discovery schedule to run LDCs on.

    1. Navigate to Discovery > Discovery Schedules.
    2. Select Cloud Discovery.
    3. In the Provider field, select OCI. Fill in the form to create an account or select an existing one. For more information, see Create OCI service accounts.
    4. On the Select Datacenters page, filter which LDCs you want to run the discovery.
    5. When you're finished, navigate to the Create Schedule page and select Finish and Run.
    6. (Optional) Populate Service Account and Logical Datacenter fields in cloud CIs

    Starting with Discovery and Service Mapping Patterns version 1.30.2, you can improve query performance by populating Service Account and Logical Datacenter fields directly in cloud CIs. For more information, see Improved query performance with direct field population in CI tables.

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.

Data collected by Discovery during horizontal discovery

The discovered Oracle configuration data includes the following table and fields.

FieldDescription
Cloud Database (cmdb_ci_cloud_database)
nameThe name of the database.
object_idUnique identifier of the database.
operational_statusOperational status of the database.
vendorThe vendor, Oracle.
typeThe Oracle database type.
versionVersion of the database.
stateState of the database.
commentsThe attribute is issued for the delete strategy.
install_statusInstall status.
Image​ (cmdb_ci_os_template)
nameThe image name.
object_idUnique identifier of the image.
versionThe version of the guest OS.
guest_osThe name of the guest OS.
Service Account (cmdb_ci_cloud_service_account)
nameThe account name.
datacenter_typeDatacenter type.
account_idUnique identifier of the account.
object_idUnique identifier of the account (same value as the account id).
discovery_credentialsThe credentials related to the service account.
is_master_accounttrue when it is the root compartment. false when it is not the root compartment.
Network (cmdb_ci_network)
nameThe network name.
object_idUnique identifier of the network.
cidrThe cidr of the network.
domain_nameThe domain name.
stateThe state of the network.
NIC (cmdb_ci_nic)
nameThe NIC name.
object_idUnique identifier of the NIC.
public_ipThe public IP address.
mac_addressThe MAC address.
primarySet true/false according to the setup.
private_ipThe private ip address.
stateThe state of the NIC.
Storage Volume (cmdb_ci_storage_volume)
nameThe name of the storage volume.
object_idUnique identifier of storage volume.
stateThe state of the storage volume.
volume_idUnique identifier of the storage volume (same value as the account id).
sizeThe storage volume size.
size_bytesThe storage volume size in bytes.
Subnet (cmdb_ci_cloud_subnet)
nameThe name of the subnet.
object_idUnique identifier of subnet.
cidrThe cidr of the subnet.
domain_nameThe domain name.
stateThe state of the subnet.
Virtual Machine (cmdb_ci_vm_instance)
nameThe VM name.
object_idUnique identifier of VM.
stateThe state of the VM.
memoryMemory size.
cpusNumber of CPUs.

Tags are populated to the cmdb_key_value table and related to the relevant cmdb ci resource. In order to support it, the extension sections were created for the following resources:

  • Autonomous DB
  • Exadata DB
  • Image
  • Network
  • NIC
  • Storage Volume
  • Account
  • Subnet
  • Virtual Machine

CI Relationships

CIRelationshipCI
cmdb_ci_oci_datacenterContains::Contained bycmdb_ci_availablity_zone
CIRelationshipCI
cmdb_ci_vm_instanceUse End Point To::Use End Point Fromcmdb_ci_endpoint_block
cmdb_ci_endpoint_blockImplement End Point To::Implement End Point Fromcmdb_ci_storage_volume
CIRelationshipCI
cmdb_ci_oci_datacenterContains::Contained bycmdb_ci_availability_zone

Note: When configuring a Cloud Discovery scheduler for part of the LDCs, the Oracle OCI - Fault Domain (LP) pattern will not trigger.

CIRelationshipCI
cmdb_ci_os_templateHosted on::Hostscmdb_ci_oci_datacenter
CIRelationshipCI
cmdb_ci_oci_datacenterHosted on::Hostscmdb_ci_cloud_service_account
CIRelationshipCI
cmdb_ci_networkHosted on::Hostscmdb_ci_oci_datacenter
CIRelationshipCI
cmdb_ci_vm_instanceUse End Point To::Use End Point Fromcmdb_ci_endpoint_subnet
cmdb_ci_vm_instanceUse End Point To::Use End Point Fromcmdb_ci_endpoint_vnic
cmdb_ci_endpoint_vnicImplement End Point To::Implement End Point Fromcmdb_ci_nic
cmdb_ci_cloud_subnetImplement End Point To::Implement End Point Fromcmdb_ci_endpoint_subnet
CIRelationshipCI
cmdb_ci_nicHosted on::Hostscmdb_ci_oci_datacenter
CIRelationshipCI
cmdb_ci_availablity_zoneContains::Contained bycmdb_ci_storage_volume
cmdb_ci_storage_volumeHosted on::Hostscmdb_ci_oci_datacenter
CIRelationshipCI
cmdb_ci_networkContains::Contained bycmdb_ci_cloud_subnet
CIRelationshipCI
cmdb_ci_vm_instanceHosted on::Hostscmdb_ci_oci_datacenter
cmdb_ci_vm_instanceProvisioned From::Provisionedcmdb_ci_os_template
cmdb_ci_vm_instanceProvisioned From:Provisionedcmdb_ci_compute_template
cmdb_ci_vm_instanceDR provided by::Provides DR forcmdb_ci_avaliability_zone
cmdb_ci_avaliability_zoneContains::Contained bycmdb_ci_vm_instance

Parent Topic:Available cloud discovery patterns