When an Entitlement is defined, it comprises App Shortcuts (shown in the Client app launcher) and related Actions (defining the firewall rules). It is possible to use Entitlement scripts to define these elements. The three types are:
App Shortcut ā defines the name, description, url and Icon color for the App Shortcut that will be displayed in the Client.
Host ā defines a resolvable name or IP address. If resource names are returned, then later the name resolver will resolve these to IP addresses.
Port or Type ā defines one or more port numbers or ICMP types.
Before you start
Background reading:
See Use of Scripts.
If using Host scripts ensure the Site is configured to resolve the syntax that the script will generate.
Get a better understanding of defining hosts, including how and why to use these scripts.
Completing the Entitlement Scripts form
Name
May only be lower case alphanumeric with underscore and dash. When creating Actions in , the script(s) for Host and Port will be referred to with the syntax script://<name>.
NOTE
If you are editing an existing script, changing the name may break existing Entitlements.
For example, use this notes section to document requirements for Site name resolving configuration.
Expression
An example expression is provided - typically the script should return same information used when creating an Entitlement manually.