--- title: Apigee Edge Enterprise edition discovery description: The ServiceNow Discovery application uses the APIGee pattern to find Apigee Edge Enterprise edition versions 4.x.x. 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/apigee-edge-discovery.html release: australia product: Discovery and Service Mapping Patterns classification: discovery-and-service-mapping-patterns topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 4 breadcrumb: [Available on-premise discovery patterns, Discovery patterns used by ITOM Visibility, ITOM Visibility, IT Operations Management] --- # Apigee Edge Enterprise edition discovery The ServiceNow Discovery application uses the APIGee pattern to find Apigee Edge Enterprise edition versions 4.x.x. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store. The APIGee pattern uses a built-in cache mechanism that collects data from each API service into a local cache file. Service Mapping performs top-down discovery on these cache files to find outgoing Apigee Edge connections. ## 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 - **Linux user** Provide the Linux operating system \(OS\) user with elevated rights for running the cat, ls, netstat, and stat commands. For more information, see [Service Mapping commands requiring a privileged user](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/service-mapping/r_CommandsnCredentials.md). In addition, provide this Linux user with permissions to run the following commands on the OS user home folder: |Command|Description| |-------|-----------| |"date +%s"|Gets the current date.| |"ls -d $HOME/APIGee\_Cache/cache\_folder\*"|Gets the last cache folder.| |"mkdir-p $HOME/APIGee\_Cache/cache\_folder\_" + $today + ";ls -d$HOME/APIGee\_Cache/cache\_folder\_" + $today|Creates the cache file if the cache file is empty.| |"ls -d $HOME/APIGee\_Cache/cache\_folder\*"|Verifies that the cache file has been created.| |"echo \`expr " + $today + " -" + $current\_date+ "\`”|Calculates the gap between the folder creation time and the current date.| |"if \[ " + $diff + " -ge" + $week\_seconds+ " \]; then echo true; fi”|Checks if it is necessary to recreate the folder.| |"ls" + $cache\_folder+ "/\* \| sort \| xargsgrep -l " + $entry\_point.source\_url|Checks if existing cache files contain the source URL that you enter as the entry point for the service.| |"rm-rf" + $cache\_folder+ ";mkdir-p $HOME/APIGee\_Cache/cache\_folder\_" + $today + ";ls -d $HOME/APIGee\_Cache/cache\_folder\_" + $today|Removes old cache files.| |“curl -k -X GETurl-H '<ClientID>: <Token>’”|Gets the API response for the given token.| |"ls" + $cache\_folder+ "/\* \| sort \| xargsgrep -l " + $entry\_point.source\_url|Gets the URL definition from the cache file.| - **Applicative credential** Configure the applicative credential as follows:
| Field | Description |
|---|---|
| Name | The credential name, for example Apigee token. |
| Active | Check box for enabling this credential for discovery. |
| User name | The name of the user of this applicative credential. You can use any user for the credential for this pattern, since the information is extracted from a local cache. |
| Password | The actual user password of this applicative credential. |
| CI type | The CI type for which this credential is used: APIGee Service \[cmdb\_ci\_appl\_apigee\_srv\]. **Note:** ServiceNow applications refer to devices and applications that comprise a service instance as configuration items \(CIs\). |
| Applies to | Select whether to apply these credentials to **All MID servers** in your network, or to one or more **Specific MID servers**. Specify the MID Servers that should use these credentials in the **MID servers** field. |
| Order | Enter the order \(sequence\) in which the platform tries this credential as it attempts to log on to devices. The smaller the number, the higher in the list this credential appears. Establish credential order when using large numbers of credentials or when security locks out users after three failed login attempts. If all the credentials have the same order number \(or none\), the instance tries the credentials in a random order. |