You can set parameters for which you would like to prompt users to specify values at runtime, such as user name and password, host names, IP addresses, and other options.
When an integration command runs (that is, when a user selects an integration command in some context on the ArcSight Console), the command first looks for any required parameter values in a variety of sources, including in the command statement itself, in the defined context, on the user account, on the target (if there is one), and so forth. If it doesn’t find parameter values in any of these places, the system prompts the user to type in the values.
You can include login and other parameters as flags on a script command that runs against a server, as shown here for the archive command which runs on a Manager. When this command is run, it prompts the user for a Manager host name and administrator password. (It does not prompt for the user name, admin
, since this is already provided in the command statement.)
archive -action import -m $hostmgr -u admin -p $passwd -f abc.arb
Refer to Entering/Saving Command Parameters at Runtime (in Running Integration Commands), for an example of the run-time prompts users see when they run this command.