How to control Cockpit roles from the command line
OverviewThe command line tool "VISULOX admin cockpit" allows to control the VISULOX Cockpit roles.. |
Usage
The following subcommands are available:
| Command | Description |
|---|---|
| list | List and print Cockpit roles. |
| add | Add a Cockpit role. A template is mandatory. A template has to be created before. |
| edit | Modify fields of a Cockpit role. |
| delete | Remove a Cockpit role. |
| fields | List available database fields (-raw = enhanced output) |
Cockpit role elements (edit)
| Element | Description |
|---|---|
| -name <> | Name of the Cockpit role or use Auto<> |
| -template <> | Name of the template. An existing Cockpit role has to be used as template. |
| -input <> | Keystroke data presentation on / off. Default value: off. |
| -refresh <> | Auto Cockpit Refresh on / off. Default value: off. |
| -tooltip <> | Tooltip on / off. Default value: off. |
| -object <> | Policy filter: Mask or unique distinguished object of user or group <> |
| -application <> | Policy filter: Mask or application name or application mask <> |
| -comment <> | Comment for the Cockpit role. default value: CLI |
| -grant <> | Set granted user in database record <> |
Examples
List current available Cockpit role profiles
CODE
visulox admin cockpit list
------------------
| basicname |
------------------
| @VIEW |
| @ALL-WITHINPUT |
------------------
Add Cockpit role
CODE
visulox admin cockpit add -name TestRole -template @VIEW
Edit Cockpit role
CODE
visulox admin cockpit edit -name TestRole -refresh on
Remove an entry
CODE
visulox admin cockpit delete -name @VIEW