ModuleSDK
Modules
Policies
getSudoPolicy

getSudoPolicy

Get the sudo policy to be used when creating a new session. The sudo policy is an action policy that will allow any action for the specified target and selector.

Usage

const sudoPolicy = getSudoPolicy()

Returns

policy

The sudo policy.