Pivotal Cloud Foundry discovery
The ServiceNow Discovery application finds Pivotal Cloud Foundry (PCF) version 3 components using the Pivotal Cloud Foundry pattern. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
You can use this pattern on the ServiceNow AI Platform starting Kingston version.
The discovery of PCF V3 components is supported when the Discovery and Service Mapping Patterns plugin Version 1.0.99, March 2023 is installed. The Pattern continues to support the discovery of PCF V2 components.
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
-
Pivotal Cloud Foundry credentials
Create the Pivotal Cloud Foundry credentials.
- Navigate to Discovery > Credentials.
- Select New.
- Select CloudFoundry Credentials.
- On the form, fill in the fields:
|
Field |
Description |
|---|---|
|
Name |
Credential name. As an example, |
|
Active |
Option for enabling this credential for discovery. Select this check box to enable discovery. |
|
Applies to |
Credentials that you may or may not want to apply to All MID servers in your network, or to one or more Specific MID servers. Select Specific MID servers. |
|
Order |
Order in which the platform tries this credential as it tries to log in to devices. A smaller number indicates that the credential seems higher in the list. Establish the credential order when using large numbers of credentials or when security locks out users after three failed logins tries. If all the credentials have the same order number, or none, the instance tries the credentials in a random order. The default value is 100. |
|
User name |
Name of the user of these credentials. Avoid leading or trailing spaces in user names. A warning seems if the platform detects leading or trailing spaces in the user name. An example is |
|
Password |
Password for the user of these credentials. Use the |
|
Credential alias |
Alternate name for these credentials. As an example, |
To verify the JSON web token \(JWT\), perform the following token validation steps.
The format of the JWT token is: [https://docs.cloudfoundry.org/api/uaa/version/4.27.0/index.html\#jwt-bearer-token-grant](https://docs.cloudfoundry.org/api/uaa/version/4.27.0/index.html#jwt-bearer-token-grant)
1. Run the following cURL script against the User Account and Authentication \(UAA\) server API and verify the results:
`curl -s -k https://ip_address:port/oauth/token -X; POST -H ”Content-Type: application/x-www-form-urlencoded” -H “Accept: application/json” -d “client_id=<INSERT_USER_HERE>&client_secret=<INSERT_PASS_HERE>&grant_type=client_credentials&token_format=jwt&response_type=token”`
If this command doesn’t generate a token, verify that the credentials in the ServiceNow repository are correct, otherwise go to step 2.
2. Run the following cURL script against Pivotal Cloud Foundry API:
`curl https://ip_address:port/v3/spaces -k -v -H “Accept: application/json” -H “Authorization: bearer<INSERT TOKEN HERE>”`
If this command doesn’t retrieve the PCF spaces information, verify the credentials on the ServiceNow credentials repository.
-
Credentials for V3 API elements
Provide a read-only user with permission to use the following API elements:
- –/v3/organizations
- –/v3/spaces
- –/v3/domains
- –/v3/routes
- –/v3/organization_quotas
- –/v3/space_quotas
- –/v3/apps
- -/v3/service_offerings
- -/v3/service_plans
- -/v3/service_instances
- -/v3/droplets Note: The Pivotal Cloud Foundry Pattern also supports the PCF V2 APIs.
-
Create a serverless Discovery schedule
-
Navigate to Discovery > Discovery Schedules.
-
Select New.
-
On the form, fill in the fields:
Field Description Name Enter a unique and descriptive name for this Discovery schedule, for example, pcfDiscover For the Discover type, select Serverlesss MID Server MID Servers that the credentials apply to. Specify the required MID Server, for example, Discovery_ServerActive Option for enabling this credential for discovery. Select this check box to enable discovery. Credential alias Alternate name for these credentials. Use the alias related with the Pivotal Cloud Foundry credentials that you created earlier. -
Right-click the header of the Discovery Schedule form and select Save.
[Omitted image "serverless-execution-pattern.png"] Alt text: Serverless execution pattern
-
Select the Serverless Execution Patterns tab.
-
Select New.
-
On the form, fill in the fields:
Field Description Name Enter a unique and descriptive name for this Serverless Execution Pattern, for example, pcf1Pattern Select CloudFoundry. Proxy Host Fully qualified domain name of the machine on which you’re installing the proxy server. Specify Global. Active Check box to enable this schedule for discovery. Select this check box. -
Right-click the header of the Serverless Execution Patterns form and select Save.
-
Select the Serverless Execution Patterns tab
-
Create and define the serverless execution pattern as described in the product documentation.
Configure the parameters required by the Pivotal Cloud Foundry Pattern as follows:
Parameter Description Organization Name of the organization that is required to be discovered, or all where the input is “*”. CredentialAlias Alternate name for these credentials. Use the alias related with the Pivotal Cloud Foundry credentials that you created earlier. URL_CF API URL of the Cloud Controller that is used to retrieve the information from Pivotal Cloud Foundry. URL_CF_AUTH UAA server APIthat is used to generate the token. Enter the value in the format: https://uaa.sys.dev.phx.pcf.example.com/oauth/token -
Update.
-
To start discovery, navigate to the Serverless Discovery definition and select Discover Now.
-
-
EVAL closure functions
Use the following EVAL closure functions to concatenate all organizations with “,” as a separator.
JavaScriptvar rtrn = ’’;var organizations = ${organizations[*].name};var beforeReturn = ’’;var separator = ’’;for (var i = 0; i < organizations.size(); i++) { beforeReturn += separator + organizations.get(i); separator = ','; }rtrn = beforeReturn;Use the following EVAL closure functions to return 1 if the operational status is active and 2 if it isn’t active.
JavaScriptvar rtrn = '';var currentOrgStatus = ${organizations[].operational_status};var status = currentOrgStatus.toLowerCase();if(status == "active"){ rtrn = "1"; }else { rtrn = "2";}Use the following EVAL closure function to return 1 if the operational status is started and 2 if it isn’t started.
JavaScriptvar rtrn = '';var currentAppStatus = ${apps[].state};var status = currentAppStatus.toLowerCase();if(status == "started"){ rtrn = "1"; }else { rtrn = "2"; } -
CloudFoundry Get Call
The CloudFoundry Get Call custom operation handles the generation of tokens. It uses the credentials and URL_CF_AUTH context variable to generate a token that is used to create API calls.
When a token is generated, the URL_CF is used to create the API calls defined in the Resource field. The custom operation also handles pagination where the response has more than one page.
CloudFoundry Get Call parses the input JSON to populate the tables and variables.
[Omitted image "cloud-foundry-custom-operation.png"] Alt text: Cloud Foundry custom operation
Pivotal Cloud Foundry BOSH extension section
The Pivotal Cloud Foundry BOSH is an extension section of the Pivotal Cloud Foundry Pattern.
The extension is available on the ServiceNow® Store for the June 2023 release of Discovery and Service Mapping Patterns 1.6.0.
-
Requirements for Pivotal Cloud Foundry BOSH
Note: The following requirements are relevant only to the BOSH extension section.
The Opsman authentication URL has to be provided as a pattern parameter with the name URL_OPSMAN_AUTH. For example:
https://<opsman entry point>/uaa/oauth/tokenThe added credentials must have permission to execute the following APIs:
- /uaa/oauth/token
- /api/v0/deployed/products Note: Custom APIs are added as Tanzu Opsman Get API step to the Pattern.
Data collected by Discovery during horizontal discovery
|
Field |
Description |
|---|---|
|
Main CI: PCF Foundation [cmdb_ci_pcf_foundation] | |
|
Name |
Pivotal Cloud Foundry cluster entry name |
|
ip_address |
Pivotal Cloud Foundry host IP. |
|
port |
Pivotal Cloud Foundry service port. |
|
short_description |
Pivotal Cloud Foundry service build number. |
|
Organization |
Organization list, managed by PCF cluster. The entries are separated using a “,” comma separator. |
|
PCF Organization [cmdb_ci_pcf_organization] | |
|
Name |
Organization name |
|
URL |
Organization unique URL |
|
pcf_guid |
Organization UID in CF |
|
operational_status |
Organization status |
|
PCF Space [cmdb_ci_pcf_space] | |
|
Name |
Space name |
|
URL |
Space unique URL |
|
pcf_guid |
Space UID in CF |
|
PCF Application [cmdb_ci_pcf_appl] | |
|
Name |
Application name |
|
URL |
Application unique URL |
|
pcf_guid |
Application UID in CF |
|
PCF Route [cmdb_ci_pcf_route] | |
|
Name |
Route name |
|
URL |
Route unique URL |
|
pcf_guid |
Route UID in CF |
|
port |
Route port |
|
type |
Route type |
|
PCF Quota [cmdb_ci_pcf_quota] | |
|
Name |
Quota name |
|
URL |
Quota unique URL |
|
pcf_guid |
Quota UID in CF |
|
PCF Domain [cmdb_ci_pcf_domain] | |
|
name |
Domain name |
|
url |
Domain unique URL |
|
pcf_guid |
Domain UID in CF |
|
PCF Space instance [cmdb_ci_pcf_space_instance] | |
|
name |
Space service instance name |
|
url |
Space service instance unique URL |
|
pcf_guid |
Space service instance UID in CF |
|
PCF Service Plan [cmdb_ci_pcf_service_plan] | |
|
name |
Service plan instance name |
|
url |
Service plan unique URL |
|
pcf_guid |
Space service instance UID in CF |
|
PCF Service [cmdb_ci_pcf_service] | |
|
name |
Service name |
|
url |
Service unique URL |
|
pcf_guid |
Service UID in CF |
|
PCF Droplet [cmdb_ci_pcf_droplet] | |
|
name |
Resource URL |
|
pcf_guid |
Droplet ID |
|
url |
Droplet URL |
|
install_status |
Installation status: 1, "installed" |
|
operational_status |
Operational status: 1, "operational" |
|
Key Value [cmdb_key_value] | |
|
key |
Resource Tag keyNote: This data is only collected for V3 API calls. |
|
value |
Resource Tag value.Note: This data is only collected for V3 API calls. |
|
Field |
Description |
|---|---|
|
BOSH Deployment (cmdb_ci_bosh_deployment) | |
|
Name |
The installation name of the resource. |
|
object_id |
The ID of the deployed product. |
|
install_status |
Hard-coded to the value: 1= installed. |
|
operational_status |
Hard-coded to the value: 1= operational. |
|
deployment_version |
The version of the deployed product. |
|
deployment_type |
The type of the deployed product. |
These relationships are created to support Pivotal Cloud Foundry discovery.
|
CI |
Relationship |
CI |
|---|---|---|
|
PCF Space [cmdb_ci_pcf_space] | ||
|
cmdb_ci_pcf_space |
Contains::Contained by |
cmdb_ci_pcf_organization |
|
PCF Application [cmdb_ci_pcf_appl] | ||
|
cmdb_ci_pcf_appl |
Contains::Contained by |
cmdb_ci_pcf_space |
|
PCF Route [cmdb_ci_pcf_route] | ||
|
cmdb_ci_pcf_route |
Contains::Contained by |
cmdb_ci_pcf_foundation |
|
PCF Quota [cmdb_ci_pcf_quota] | ||
|
cmdb_ci_pcf_quota |
Uses::Used by |
cmdb_ci_pcf_spacecmdb_ci_pcf_organization |
|
PCF Domain [cmdb_ci_pcf_domain] | ||
|
cmdb_ci_pcf_domain |
Uses::Used by |
cmdb_ci_pcf_route |
|
Owns::Owned by |
cmdb_ci_pcf_organization | |
|
Contains::Contained by |
cmdb_ci_pcf_foundation | |
|
PCF Space instance [cmdb_ci_pcf_space_instance] | ||
|
cmdb_ci_pcf_space_instance |
Contains::Contained by |
cmdb_ci_pcf_space |
|
PCF Service Plan [cmdb_ci_pcf_service_plan] | ||
|
cmdb_ci_pcf_service_plan |
Uses::Used by |
cmdb_ci_pcf_space_instance |
|
PCF Service [cmdb_ci_pcf_service] | ||
|
cmdb_ci_pcf_service |
Uses::Used by |
cmdb_ci_pcf_service_plan |
|
PCF Droplet [cmdb_ci_pcf_droplet] | ||
|
cmdb_ci_pcf_appl |
Contains::Contained by |
cmdb_ci_pcf_droplet |
|
Key Value [cmdb_key_value] | ||
|
cmdb_key_value |
Reference only.For example: configuration_item |
cmdb_ci_pcf_droplet |
|
cmdb_key_value |
Reference only.For example: configuration_item |
cmdb_ci_pcf_organization |
|
cmdb_key_value |
Reference only.For example: configuration_item |
cmdb_ci_pcf_space |
|
cmdb_key_value |
Reference only.For example: configuration_item |
cmdb_ci_pcf_domain |
|
cmdb_key_value |
Reference only.For example: configuration_item |
cmdb_ci_pcf_route |
|
cmdb_key_value |
Reference only.For example: configuration_item |
cmdb_ci_pcf_appl |
|
cmdb_key_value |
Reference only.For example: configuration_item |
cmdb_ci_pcf_service |
|
cmdb_key_value |
Reference only.For example: configuration_item |
cmdb_ci_pcf_service_plan |
|
cmdb_key_value |
Reference only.For example: configuration_item |
cmdb_ci_pcf_space_instance |
These relationships are created to support Pivotal Cloud Foundry BOSH extension section discovery.
|
CI |
Relationship |
CI |
|---|---|---|
|
Cloud Foundry Cluster [cmdb_ci_pcf_foundation] |
Contains::Contained by |
BOSH Deployment [cmdb_ci_bosh_deployment] |
---
title: Pivotal Cloud Foundry discovery
description: The ServiceNow Discovery application finds Pivotal Cloud Foundry \(PCF\) version 3 components using the Pivotal Cloud Foundry pattern. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/discovery-and-service-mapping-patterns/pivotal-cloud-foundry.html
release: australia
product: Discovery and Service Mapping Patterns
classification: discovery-and-service-mapping-patterns
topic_type: concept
last_updated: "2026-09-10"
reading_time_minutes: 8
breadcrumb: [Available on-premise discovery patterns, Discovery patterns used by ITOM Visibility, ITOM Visibility, IT Operations Management]
---
# Pivotal Cloud Foundry discovery
The ServiceNow Discovery application finds Pivotal Cloud Foundry \(PCF\) version 3 components using the Pivotal Cloud Foundry pattern. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
You can use this pattern on the ServiceNow AI Platform starting Kingston version.
The discovery of PCF V3 components is supported when the Discovery and Service Mapping Patterns plugin Version 1.0.99, March 2023 is installed. The Pattern continues to support the discovery of PCF V2 components.
## Request apps on the Store
Visit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) 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](https://www.servicenow.com/docs/r/store-release-notes/sn-store-release-notes.html).
## Prerequisites
- **Pivotal Cloud Foundry credentials**
Create the Pivotal Cloud Foundry credentials.
1. Navigate to **Discovery** > **Credentials**.
2. Select **New**.
3. Select **CloudFoundry Credentials**.
4. On the form, fill in the fields:
<table id="table_gxd_ljv_2hb"><thead><tr><th>
Field
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Name
</td><td>
Credential name. As an example, `pcf_user credentials`
</td></tr><tr><td>
Active
</td><td>
Option for enabling this credential for discovery. Select this check box to enable discovery.
</td></tr><tr><td>
Applies to
</td><td>
Credentials that you may or may not want to apply to **All MID servers** in your network, or to one or more **Specific MID servers**. Select **Specific MID servers**.
</td></tr><tr><td>
Order
</td><td>
Order in which the platform tries this credential as it tries to log in to devices. A smaller number indicates that the credential seems higher in the list. Establish the credential order when using large numbers of credentials or when security locks out users after three failed logins tries. If all the credentials have the same order number, or none, the instance tries the credentials in a random order. The default value is 100.
</td></tr><tr><td>
User name
</td><td>
Name of the user of these credentials. Avoid leading or trailing spaces in user names. A warning seems if the platform detects leading or trailing spaces in the user name. An example is `pcf_user`. Use the `client_id` that is used to generate the JWT token.
</td></tr><tr><td>
Password
</td><td>
Password for the user of these credentials. Use the `client_secret` that is used to generate the JWT token.
</td></tr><tr><td>
Credential alias
</td><td>
Alternate name for these credentials. As an example, `cf` If this field is closed, select the unlock icon to unlock the field.
</td></tr></tbody>
</table> 5. Select **Update**.
- **JSON web token credentials**
To verify the JSON web token \(JWT\), perform the following token validation steps.
The format of the JWT token is: [https://docs.cloudfoundry.org/api/uaa/version/4.27.0/index.html\#jwt-bearer-token-grant](https://docs.cloudfoundry.org/api/uaa/version/4.27.0/index.html#jwt-bearer-token-grant)
1. Run the following cURL script against the User Account and Authentication \(UAA\) server API and verify the results:
`curl -s -k https://ip_address:port/oauth/token -X; POST -H ”Content-Type: application/x-www-form-urlencoded” -H “Accept: application/json” -d “client_id=<INSERT_USER_HERE>&client_secret=<INSERT_PASS_HERE>&grant_type=client_credentials&token_format=jwt&response_type=token”`
If this command doesn’t generate a token, verify that the credentials in the ServiceNow repository are correct, otherwise go to step 2.
2. Run the following cURL script against Pivotal Cloud Foundry API:
`curl https://ip_address:port/v3/spaces -k -v -H “Accept: application/json” -H “Authorization: bearer<INSERT TOKEN HERE>”`
If this command doesn’t retrieve the PCF spaces information, verify the credentials on the ServiceNow credentials repository.
- **Credentials for V3 API elements**
Provide a read-only user with permission to use the following API elements:
- –/v3/organizations
- –/v3/spaces
- –/v3/domains
- –/v3/routes
- –/v3/organization\_quotas
- –/v3/space\_quotas
- –/v3/apps
- -/v3/service\_offerings
- -/v3/service\_plans
- -/v3/service\_instances
- -/v3/droplets
**Note:** The Pivotal Cloud Foundry Pattern also supports the PCF V2 APIs.
- **Create a serverless Discovery schedule**
1. Navigate to **Discovery** > **Discovery Schedules**.
2. Select **New**.
3. On the form, fill in the fields:
|Field|Description|
|-----|-----------|
|Name|Enter a unique and descriptive name for this Discovery schedule, for example, `pcf`|
|Discover|For the Discover type, select **Serverlesss**|
|MID Server|MID Servers that the credentials apply to. Specify the required MID Server, for example, `Discovery_Server`|
|Active|Option for enabling this credential for discovery. Select this check box to enable discovery.|
|Credential alias|Alternate name for these credentials. Use the alias related with the Pivotal Cloud Foundry credentials that you created earlier.|
4. Right-click the header of the Discovery Schedule form and select **Save**.
\[Omitted image "serverless-execution-pattern.png"\] Alt text: Serverless execution pattern
5. Select the Serverless Execution Patterns tab.
6. Select **New**.
7. On the form, fill in the fields:
|Field|Description|
|-----|-----------|
|Name|Enter a unique and descriptive name for this Serverless Execution Pattern, for example, `pcf1`|
|Pattern|Select **CloudFoundry**.|
|Proxy Host|Fully qualified domain name of the machine on which you’re installing the proxy server. Specify **Global**.|
|Active|Check box to enable this schedule for discovery. Select this check box.|
8. Right-click the header of the Serverless Execution Patterns form and select **Save**.
9. Select the Serverless Execution Patterns tab
10. Create and define the serverless execution pattern as described in the product documentation.
Configure the parameters required by the Pivotal Cloud Foundry Pattern as follows:
|Parameter|Description|
|---------|-----------|
|Organization|Name of the organization that is required to be discovered, or all where the input is “\*”.|
|CredentialAlias|Alternate name for these credentials. Use the alias related with the Pivotal Cloud Foundry credentials that you created earlier.|
|URL\_CF|API URL of the Cloud Controller that is used to retrieve the information from Pivotal Cloud Foundry.|
|URL\_CF\_AUTH|UAA server APIthat is used to generate the token. Enter the value in the format: https://uaa.sys.dev.phx.pcf.example.com/oauth/token|
11. **Update**.
12. To start discovery, navigate to the Serverless Discovery definition and select **Discover Now**.
- **EVAL closure functions**
Use the following EVAL closure functions to concatenate all organizations with “,” as a separator.
```
var rtrn = ’’;
var organizations = ${organizations[*].name};
var beforeReturn = ’’;
var separator = ’’;
for (var i = 0; i < organizations.size(); i++)
{
beforeReturn += separator + organizations.get(i);
separator = ',';
}
rtrn = beforeReturn;
```
Use the following EVAL closure functions to return 1 if the operational status is active and 2 if it isn’t active.
```
var rtrn = '';
var currentOrgStatus = ${organizations[].operational_status};
var status = currentOrgStatus.toLowerCase();
if(status == "active"){
rtrn = "1";
}
else {
rtrn = "2";
}
```
Use the following EVAL closure function to return 1 if the operational status is started and 2 if it isn’t started.
```
var rtrn = '';
var currentAppStatus = ${apps[].state};
var status = currentAppStatus.toLowerCase();
if(status == "started"){
rtrn = "1";
}
else {
rtrn = "2";
}
```
- **CloudFoundry Get Call**
The CloudFoundry Get Call custom operation handles the generation of tokens. It uses the credentials and URL\_CF\_AUTH context variable to generate a token that is used to create API calls.
When a token is generated, the URL\_CF is used to create the API calls defined in the **Resource** field. The custom operation also handles pagination where the response has more than one page.
CloudFoundry Get Call parses the input JSON to populate the tables and variables.
\[Omitted image "cloud-foundry-custom-operation.png"\] Alt text: Cloud Foundry custom operation
## Pivotal Cloud Foundry BOSH extension section
The Pivotal Cloud Foundry BOSH is an extension section of the Pivotal Cloud Foundry Pattern.
The extension is available on the ServiceNow® Store for the June 2023 release of Discovery and Service Mapping Patterns 1.6.0.
- **Requirements for Pivotal Cloud Foundry BOSH**
**Note:** The following requirements are relevant only to the BOSH extension section.
The Opsman authentication URL has to be provided as a pattern parameter with the name **URL\_OPSMAN\_AUTH**. For example: `https://<opsman entry point>/uaa/oauth/token`
The added credentials must have permission to execute the following APIs:
- /uaa/oauth/token
- /api/v0/deployed/products
**Note:** Custom APIs are added as Tanzu Opsman Get API step to the Pattern.
## Data collected by Discovery during horizontal discovery
<table id="table_o21_dlv_2hb"><thead><tr><th>
Field
</th><th>
Description
</th></tr></thead><tbody><tr><td class="sub-head" colspan="2">
Main CI: PCF Foundation \[cmdb\_ci\_pcf\_foundation\]
</td></tr><tr><td>
Name
</td><td>
Pivotal Cloud Foundry cluster entry name`<name>-<hostCf:<portCf>`
</td></tr><tr><td>
ip\_address
</td><td>
Pivotal Cloud Foundry host IP.
</td></tr><tr><td>
port
</td><td>
Pivotal Cloud Foundry service port.
</td></tr><tr><td>
short\_description
</td><td>
Pivotal Cloud Foundry service build number.
</td></tr><tr><td>
Organization
</td><td>
Organization list, managed by PCF cluster. The entries are separated using a “,” comma separator.
</td></tr><tr><td class="sub-head" colspan="2">
PCF Organization \[cmdb\_ci\_pcf\_organization\]
</td></tr><tr><td>
Name
</td><td>
Organization name
</td></tr><tr><td>
URL
</td><td>
Organization unique URL
</td></tr><tr><td>
pcf\_guid
</td><td>
Organization UID in CF
</td></tr><tr><td>
operational\_status
</td><td>
Organization status
</td></tr><tr><td class="sub-head" colspan="2">
PCF Space \[cmdb\_ci\_pcf\_space\]
</td></tr><tr><td>
Name
</td><td>
Space name
</td></tr><tr><td>
URL
</td><td>
Space unique URL
</td></tr><tr><td>
pcf\_guid
</td><td>
Space UID in CF
</td></tr><tr><td class="sub-head" colspan="2">
PCF Application \[cmdb\_ci\_pcf\_appl\]
</td></tr><tr><td>
Name
</td><td>
Application name
</td></tr><tr><td>
URL
</td><td>
Application unique URL
</td></tr><tr><td>
pcf\_guid
</td><td>
Application UID in CF
</td></tr><tr><td class="sub-head" colspan="2">
PCF Route \[cmdb\_ci\_pcf\_route\]
</td></tr><tr><td>
Name
</td><td>
Route name
</td></tr><tr><td>
URL
</td><td>
Route unique URL
</td></tr><tr><td>
pcf\_guid
</td><td>
Route UID in CF
</td></tr><tr><td>
port
</td><td>
Route port
</td></tr><tr><td>
type
</td><td>
Route type
</td></tr><tr><td class="sub-head" colspan="2">
PCF Quota \[cmdb\_ci\_pcf\_quota\]
</td></tr><tr><td>
Name
</td><td>
Quota name
</td></tr><tr><td>
URL
</td><td>
Quota unique URL
</td></tr><tr><td>
pcf\_guid
</td><td>
Quota UID in CF
</td></tr><tr><td class="sub-head" colspan="2">
PCF Domain \[cmdb\_ci\_pcf\_domain\]
</td></tr><tr><td>
name
</td><td>
Domain name
</td></tr><tr><td>
url
</td><td>
Domain unique URL
</td></tr><tr><td>
pcf\_guid
</td><td>
Domain UID in CF
</td></tr><tr><td class="sub-head" colspan="2">
PCF Space instance \[cmdb\_ci\_pcf\_space\_instance\]
</td></tr><tr><td>
name
</td><td>
Space service instance name
</td></tr><tr><td>
url
</td><td>
Space service instance unique URL
</td></tr><tr><td>
pcf\_guid
</td><td>
Space service instance UID in CF
</td></tr><tr><td class="sub-head" colspan="2">
PCF Service Plan \[cmdb\_ci\_pcf\_service\_plan\]
</td></tr><tr><td>
name
</td><td>
Service plan instance name
</td></tr><tr><td>
url
</td><td>
Service plan unique URL
</td></tr><tr><td>
pcf\_guid
</td><td>
Space service instance UID in CF
</td></tr><tr><td class="sub-head" colspan="2">
PCF Service \[cmdb\_ci\_pcf\_service\]
</td></tr><tr><td>
name
</td><td>
Service name
</td></tr><tr><td>
url
</td><td>
Service unique URL
</td></tr><tr><td>
pcf\_guid
</td><td>
Service UID in CF
</td></tr><tr><td class="sub-head" colspan="2">
PCF Droplet \[cmdb\_ci\_pcf\_droplet\]
</td></tr><tr><td>
name
</td><td>
Resource URL
</td></tr><tr><td>
pcf\_guid
</td><td>
Droplet ID
</td></tr><tr><td>
url
</td><td>
Droplet URL
</td></tr><tr><td>
install\_status
</td><td>
Installation status: 1, "installed"
</td></tr><tr><td>
operational\_status
</td><td>
Operational status: 1, "operational"
</td></tr><tr><td class="sub-head" colspan="2">
Key Value \[cmdb\_key\_value\]
</td></tr><tr><td>
key
</td><td>
Resource Tag key**Note:** This data is only collected for V3 API calls.
</td></tr><tr><td>
value
</td><td>
Resource Tag value.**Note:** This data is only collected for V3 API calls.
</td></tr></tbody>
</table><table id="table_b4d_dy1_dxb"><thead><tr><th>
Field
</th><th>
Description
</th></tr></thead><tbody><tr><td class="sub-head" colspan="2">
BOSH Deployment \(cmdb\_ci\_bosh\_deployment\)
</td></tr><tr><td>
Name
</td><td>
The installation name of the resource.
</td></tr><tr><td>
object\_id
</td><td>
The ID of the deployed product.
</td></tr><tr><td>
install\_status
</td><td>
Hard-coded to the value: *1= installed*.
</td></tr><tr><td>
operational\_status
</td><td>
Hard-coded to the value: *1= operational*.
</td></tr><tr><td>
deployment\_version
</td><td>
The version of the deployed product.
</td></tr><tr><td>
deployment\_type
</td><td>
The type of the deployed product.
</td></tr></tbody>
</table>## CI relationships
These relationships are created to support Pivotal Cloud Foundry discovery.
<table id="table_vkt_ywd_rdb"><thead><tr><th>
CI
</th><th>
Relationship
</th><th>
CI
</th></tr></thead><tbody><tr><td class="sub-head" colspan="3">
PCF Space \[cmdb\_ci\_pcf\_space\]
</td></tr><tr><td>
cmdb\_ci\_pcf\_space
</td><td>
Contains::Contained by
</td><td>
cmdb\_ci\_pcf\_organization
</td></tr><tr><td class="sub-head" colspan="3">
PCF Application \[cmdb\_ci\_pcf\_appl\]
</td></tr><tr><td>
cmdb\_ci\_pcf\_appl
</td><td>
Contains::Contained by
</td><td>
cmdb\_ci\_pcf\_space
</td></tr><tr><td class="sub-head" colspan="3">
PCF Route \[cmdb\_ci\_pcf\_route\]
</td></tr><tr><td>
cmdb\_ci\_pcf\_route
</td><td>
Contains::Contained by
</td><td>
cmdb\_ci\_pcf\_foundation
</td></tr><tr><td class="sub-head" colspan="3">
PCF Quota \[cmdb\_ci\_pcf\_quota\]
</td></tr><tr><td>
cmdb\_ci\_pcf\_quota
</td><td>
Uses::Used by
</td><td>
cmdb\_ci\_pcf\_spacecmdb\_ci\_pcf\_organization
</td></tr><tr><td class="sub-head" colspan="3">
PCF Domain \[cmdb\_ci\_pcf\_domain\]
</td></tr><tr><td rowspan="3">
cmdb\_ci\_pcf\_domain
</td><td>
Uses::Used by
</td><td>
cmdb\_ci\_pcf\_route
</td></tr><tr><td>
Owns::Owned by
</td><td>
cmdb\_ci\_pcf\_organization
</td></tr><tr><td>
Contains::Contained by
</td><td>
cmdb\_ci\_pcf\_foundation
</td></tr><tr><td class="sub-head" colspan="3">
PCF Space instance \[cmdb\_ci\_pcf\_space\_instance\]
</td></tr><tr><td>
cmdb\_ci\_pcf\_space\_instance
</td><td>
Contains::Contained by
</td><td>
cmdb\_ci\_pcf\_space
</td></tr><tr><td class="sub-head" colspan="3">
PCF Service Plan \[cmdb\_ci\_pcf\_service\_plan\]
</td></tr><tr><td>
cmdb\_ci\_pcf\_service\_plan
</td><td>
Uses::Used by
</td><td>
cmdb\_ci\_pcf\_space\_instance
</td></tr><tr><td class="sub-head" colspan="3">
PCF Service \[cmdb\_ci\_pcf\_service\]
</td></tr><tr><td>
cmdb\_ci\_pcf\_service
</td><td>
Uses::Used by
</td><td>
cmdb\_ci\_pcf\_service\_plan
</td></tr><tr><td class="sub-head" colspan="3">
PCF Droplet \[cmdb\_ci\_pcf\_droplet\]
</td></tr><tr><td>
cmdb\_ci\_pcf\_appl
</td><td>
Contains::Contained by
</td><td>
cmdb\_ci\_pcf\_droplet
</td></tr><tr><td class="sub-head" colspan="3">
Key Value \[cmdb\_key\_value\]
</td></tr><tr><td>
cmdb\_key\_value
</td><td>
Reference only.For example: configuration\_item
</td><td>
cmdb\_ci\_pcf\_droplet
</td></tr><tr><td>
cmdb\_key\_value
</td><td>
Reference only.For example: configuration\_item
</td><td>
cmdb\_ci\_pcf\_organization
</td></tr><tr><td>
cmdb\_key\_value
</td><td>
Reference only.For example: configuration\_item
</td><td>
cmdb\_ci\_pcf\_space
</td></tr><tr><td>
cmdb\_key\_value
</td><td>
Reference only.For example: configuration\_item
</td><td>
cmdb\_ci\_pcf\_domain
</td></tr><tr><td>
cmdb\_key\_value
</td><td>
Reference only.For example: configuration\_item
</td><td>
cmdb\_ci\_pcf\_route
</td></tr><tr><td>
cmdb\_key\_value
</td><td>
Reference only.For example: configuration\_item
</td><td>
cmdb\_ci\_pcf\_appl
</td></tr><tr><td>
cmdb\_key\_value
</td><td>
Reference only.For example: configuration\_item
</td><td>
cmdb\_ci\_pcf\_service
</td></tr><tr><td>
cmdb\_key\_value
</td><td>
Reference only.For example: configuration\_item
</td><td>
cmdb\_ci\_pcf\_service\_plan
</td></tr><tr><td>
cmdb\_key\_value
</td><td>
Reference only.For example: configuration\_item
</td><td>
cmdb\_ci\_pcf\_space\_instance
</td></tr></tbody>
</table>## Pivotal Cloud Foundry BOSH relationships
These relationships are created to support Pivotal Cloud Foundry BOSH extension section discovery.
<table id="table_xmf_cbb_dxb"><thead><tr><th>
CI
</th><th>
Relationship
</th><th>
CI
</th></tr></thead><tbody><tr><td>
Cloud Foundry Cluster \[cmdb\_ci\_pcf\_foundation\]
</td><td>
Contains::Contained by
</td><td>
BOSH Deployment \[cmdb\_ci\_bosh\_deployment\]
</td></tr></tbody>
</table>**Parent Topic:**[Available on-premise discovery patterns](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery-and-service-mapping-patterns/available-patterns.md)
| title | Pivotal Cloud Foundry discovery |
| description | The ServiceNow Discovery application finds Pivotal Cloud Foundry \(PCF\) version 3 components using the Pivotal Cloud Foundry pattern. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/it-operations-management/discovery-and-service-mapping-patterns/pivotal-cloud-foundry.html |
| release | australia |
| product | Discovery and Service Mapping Patterns |
| classification | discovery-and-service-mapping-patterns |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 8 |
| breadcrumb | Available on-premise discovery patternsDiscovery patterns used by ITOM VisibilityITOM VisibilityIT Operations Management |