Introduction
The commands syntax to operate on the PluginStore database through the action scripts is as
follows:
plugin store "<plugin name>" set "<plugin store key>" value "<setting value>" on "{now}"
plugin store "<plugin name>" set encrypted "<plugin store key>" value "<setting value>" on "{now}"
plugin store "<plugin name>" delete "<plugin store key>"
plugin store "<plugin name>" multiple set "<percent encoded json>" on "{now}"
plugin store "<plugin name>" multiple set encrypted "<percent encoded json>" on "{now}"
The plugin store command accepts the name of a Plugin, such as
VMwareAssetDiscoveryPlugin
.
The plugin store key that follows the set keyword always looks like a set of
words, called subsections, separated by an underscore, such as Log_Path
.
The parameter that follows the value keyword can be whatever is appropriate to the chosen setting.
An example of how a command should look like:
plugin store "AWSAssetDiscoveryPlugin" set "Log_Verbose" value "0" on "{parameter "action issue date" of action}"
For your reference, consider that the PluginStore database schema is as follows:
Key | Value | Effective Date |
TEXT NOT NULL PRIMARY KEY | KEY TEXT NOT NULL | DATE |
For more details about the plugin store command, see plugin store.