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

ShazzamLaunch- Global

The ShazzamLaunch script include provides methods to handle the details of launching a Shazzam probe for a given discovery.

Use this script include to launch a Shazzam probe during the discovery scanning phase.

Parent Topic:Server API reference

ShazzamLaunch - ShazzamLaunch(DiscoveryStatus status, DiscoverySchedule schedule)

Creates an instance of the Shazzamlaunch class.

NameTypeDescription
statusDiscoveryStatusThe DiscoveryStatus instance for this discovery.
scheduleDiscoveryScheduleThe DiscoverySchedule instance for this discovery.
TypeDescription
void 

ShazzamLaunch - addPortProbe(String midPPs, String portProbes, IPIncludeExcluldeCollection ipiec)

Adds a single port probe to our MID services collection.

NameTypeDescription
midPPsStringA hashmap with two properties. - midServer: a MIDServer instance - portProbes: a hashmap \(by port probe name\) of DiscoveryPortProbe instances.
portProbesStringA hashmap \(byMIDServer name\) that contains these properties. - range: An IPMetaCollection containing the ranges to be probed. - midserver: A MIDServer instance for the MID server to be probed. - portProbes: a hashmap \(by port probe name\) of DiscoveryPortProbe instances to be probed.
ipiecIPIncludeExcludeCollectionThe range to be probed.
TypeDescription
void 

ShazzamLaunch - addRange(IPCollection ipc, String portProbes, Boolean samePhase)

Adds the specified range and this discovery's port probes to scan (as defined by behavior) to the collection of MID servers and port probes that need to be probed.

NameTypeDescription
ipcIPCollectionThe range to be discovered
portProbesStringA hashmap \(by MID server name\) of hashmaps containing these properties. - range: an IPMetaCollection containing the ranges to be probed. - midServer: a Mid server instance for the MID server to be probed. - portProbes: a hashmap \(by port probe name\) of DiscoveryPortProbe instances to be probed.
samePhaseBooleanTrue if this should use the same phase as is currently running.
TypeDescription
void 

ShazzamLaunch - fireShazzamProbe(String portProbe, String ip, String sensor)

Fires a Shazzam probe for the MID server and services in the given hash map.

NameTypeDescription
portProbeStringA hashmap containing these properties.- range: an IPMetaCollection containing the ranges to be probed. - midServer: a MIDServer instance for the MID server to be probed.
ipStringA comma-separated list of IPs to fire probes for.
sensorStringThe sys\_id of the sensor that launched this probe \(network discovery only\).
TypeDescription
void 

ShazzamLaunch - launch(String ip, Boolean samePhase, String sensor)

Launches Shazzam probes as necessary, depending on the current phase of each behavior used.

NameTypeDescription
ipStringA comma-separated list of IPs to fire probes for.
samePhaseBooleanTrue if this launch should use the same phase as is currently running.
sensorStringThe sys_id of the sensor that launched this (only in network discovery).
TypeDescription
BooleanTrue if any probes are launched.

ShazzamLaunch - makeProbeSpec(String portProbe)

Makes an XML port probe spec for the given port probe hashmap.

NameTypeDescription
portProbeStringA hashmap containing these properties.- range: an IPMetaCollection containing the ranges to be probed. - midServer: a MIDServer instance for the MID server to be probed. - portProbes: a hashmap \(by port probe name\) of DiscoveryPortProbe instances to be probed.
TypeDescription
StringAn XML port probe specification