esi-security-defaults
esi-security-defaults library provides templates for profiles
Available functions
All functions have to be called according to the ESI standard, using colons, e.g. lib:FUNCTIONNAME(params)
Documentation
GENERATE_RANDOM_STRING(length)
Generate random string with provided length, consisting of numbers and characters
SET_REPLACEMENTS(replacementsKvP)
Set list of replacement tokens, which will be applied to all templates
SET_PROFILE_TEMPLATES_MASTER(templates)
Override list of default profile templates for the Master-Core.
GET_PROFILE_TEMPLATES_MASTER(massTbl,includeRefs,hasEngineers)
Retrieve resolved list of Master-Core profiles with properties according to template, with resolved token values.
GET_PROFILE_TEMPLATES_LOCAL(massTbl,includeRefs,hasEngineers,hasVkpi,hasMES)
Retrieve resolved list of Local-Core profiles with properties according to template, with resolved token values.
Parameters
includeRefs
if set to non-nil, the returned templates will also contain the refs table (for further processing)