Name
[Windows Manager]
Installation_folder\RCXCTMG\SecurityManagement\bin\ctac_getauthority - Acquiring Information about Access Authority
[Linux Manager]
/opt/FJSVctsec/bin/ctac_getauthority.sh - Acquiring Information about Access Authority
Synopsis
[Windows Manager]
ctac_getauthority -r role name -f output file name [-o]
[Linux Manager]
ctac_getauthority.sh -r role name -f output file name [-o]
Function description
Information about L-Platform access authority for tenant users and tenant administrators is output as XML files.
The file format for access authority information is as indicated below.
The character code is UTF-8.
Files are output in XML format.
The output format for access authority information files is indicated below.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <AccessAuthoritySet> <AccessAuthority> <RoleName>Rolll Name</RoleName> <ActionSet> <Allow> <Action>Action ID</Action> ... </Allow> <NotAllow> <Action>Action ID</Action> ... </NotAllow> </ActionSet> </AccessAuthority> </AccessAuthoritySet>
A description of each tag is provided below.
Tag name | Description |
---|---|
RoleName | Outputs the role name of the acquisition target. |
Allow | Outputs the allowed action ID to the lower tag. |
NotAllow | Outputs the disallowed action ID to the lower tag. |
Action | Outputs the action ID. |
Refer to "Table 12.1 Default values of the Action IDs versus each Role" of the action IDs.
Options
Specify one of the following two role names for the acquisition target:
tenant_admin
tenant_user
Specify the output file name.
If the directory path is not included, this will be created in the current directory.
If an output file with the same name already exists, it will be overwritten.
An error will be output if this parameter is omitted and a file with the same name already exists.
Requirements
Infrastructure administrator with OS administrator privilege
Admin server
Example
This is the coding for acquiring access authority information for tenant users.
> ctac_getauthority -r tenant_user -f out.xml
# ctac_getauthority.sh -r tenant_user -f out.xml
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.