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

Discovery commands for probes and patterns

Discovery commands are used for both probe and pattern-based discovery to access configuration items (CIs) in your environment.

For information about Service Mapping commands, see Prerequisites for performing top-down discovery using Service Mapping.

For information about MID Server privileged commands, see MID Server privileged commands.

Probe-based discovery

Discovery runs several different types of commands during probe-based horizontal discovery. Some of these commands require elevated privileges to run.

Command/PermissionResource
SSH commands requiring a privileged userSSH commands requiring a privileged user during probe-based discovery
SSH commands not requiring a privileged userNon-privileged SSH commands during probe-based discovery
Windows commands and permissionsWindows probes and permissions
Additional permissionsDiscovery probe permissions

Pattern-based discovery

Discovery runs several different types of commands during pattern-based horizontal discovery. Some of these commands require elevated privileges to run. For pattern-based discovery, you can view all the commands used by a specific infrastructure or application pattern on the ServiceNow AI Platform and validate them before running discovery. For cloud resource patterns, you can view all the required permissions in the Cloud Discovery patterns spreadsheet.

ActionResource
View commands used by infrastructure and application patterns- View Patterns commands through the Discovery Patterns module\* - View Patterns commands through the Command List module - Command List form for pattern-based discovery
Validate commands used by infrastructure and application patterns- Validate commands used in pattern-based discovery\* - View command validation task results in pattern-based discovery - Command Validation Tasks form for pattern-based discovery
View permissions required by cloud resource patternsCloud Discovery patterns spreadsheet

* These tasks are exclusive to the discovery_admin role and can't be performed by users with the pde_viewer role.

Related topics

KB1123625: Command Validation Tool