Variables and functions defined in a global Lua script can be used in rules with Lua scripts.
Only users with the Administrator role can create or edit a global Lua script for Process Control rules. However, users with the Administrator role and users with the Operator role can both view the contents of a global Lua script.
To create or edit a global Lua script:
Connect to the Kaspersky Industrial CyberSecurity for Networks Server through the web interface using the Administrator account.
Select the Process Control section.
On the Rules tab, open the global Lua script editing window by clicking the Global Lua script link.