Skip to main content
Skip table of contents

How to control groupaccess from the command line

Overview

The command line tool "VISULOX policy groupaccess" allows to control groupaccess.

Usage

The following subcommands are available:

listList and print Group Access Policies.
fieldsList available fields in the database (-raw = enhanced output)
addAdd a Group Access Policy.
editModify fields of a Group Access Policy.
resetReset a Group Access Policy.
purgeRemove outdated entries. Can be used via cron-job.

Group Access Policy elements (edit)

-mode <>Mode of access
-name <>

Name of policy or use AUTO <>

-object <>

Policy filter: mask or unique distinguished object of user or group <>

Mandatory in add, update, reset to identify a unique object in the datasource table (attached user repositories).

-application <>

Policy filter: mask or application name or application mask <>

-ticket <>

Assign ticket to this access <>

-region <>Name of region in the database. Default value: @LOCAL.
-timeprofile <>

Name of time profile in the database. Default value: 24x7.

-starttime <>

Start of access: now or timestring. Default value: now.

-endtime <>

End of access: endless or timestring. Default value: endless.

-comment <>

Comment for policy. Default value: CLI.

The comment can have multiple lines. "\n" can be used as a line separator.
-grant <>

Set granted user in database record <>

Configuration of ticket ID as a regular expression

It is possible to configure the entry format of the ticket ID as a regular expression:

visulox config -name entry.access.ticketid
 
    ----------------------------------------------
    | parameter             |      type | value  |
    ----------------------------------------------
    | entry.access.ticketid | OPERATION | ^A-.+$ |
    ----------------------------------------------

Examples

List current available Group Access Policies

visulox policy groupaccess list
    -------------------------------------------------------
    | basicname |    ticketid | starttime | endtime |
    -------------------------------------------------------
    | ...


List members of Group Access Policy

CODE
visulox policy groupaccess list -name <name>


List available fields

visulox policy groupaccess fields


Display selected fields

visulox policy groupaccess list -fields basicname,endtime,timeprofile

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.