Commands and wildcard characters
Table 1 lists with which commands and parameters you
can use the following wildcard characters:
- %
- This character represents zero or more characters. You can use this wildcard character in patterns, for example, abc%xyz.
- _
- This character represents exactly one character. You can use this wildcard character in patterns, for example, abc_xyz.
- *
- This character represents all existing or future occurrences of an item. You cannot use this wildcard character in patterns, for example abc*, but only to represent the entire set of all possible values. If you add entities by specifying this wildcard character, you can remove them only by also specifying this character; you cannot remove them individually.
| Command | Parameter | Allowed wildcard characters |
|---|---|---|
| ac (access check) | -user | |
| add (add) |
-cos
-rg-ro |
* |
|
-ct
-ou -user |
||
| app (approve) |
-cos
-ct -ou |
% or _ |
|
-rg-ro
-user |
||
| aut (authorize) | -user | |
| com (commit) |
-cos
-ct -ou |
% or _ |
|
-rg-ro
-user |
||
| cre (create) |
-cos
-ct -rg-ro |
|
| del (delete) |
-cos
-ct |
% or _ |
|
-rg-ro
|
||
| dep (deploy) |
-cos
-ct -ou |
% or _ |
| list (list) |
-cos
-ct -ou -rg,-ro -user |
% or _ |
| mod (modify) |
-cos
-ct -rg-ro |
|
| ra (reject approval) |
-cos
-ct -ou |
|
| react (reactivate) | -user | |
| rej (reject) |
-cos
-ct -ou -rg-ro -user |
|
| rem (remove) |
-cos
-rg-ro |
* |
|
-ct
-ou -user |
||
| rev (revoke) | -user |
Notes:
- You cannot use wildcard characters with the delete and list commands when you are working with events.
- Avoid using the percent (%), underscore (_), and asterisk (*)
characters in entity names, as these are used as wildcard characters
by the system configuration service (DNI_SYSADM) and security administration
service (DNI_SECADM). If you decide to use one of these characters
anyway, you must precede it with two backslash characters:
- One so that the service recognizes the special character as a literal
- One so that the CLI recognizes the backslash that precedes the special character as a literal
cre -ct Test\\_CT - Avoid using the backslash (\) character in entity names, because
it is used as escape character by the system configuration service
(DNI_SYSADM) and security administration service (DNI_SECADM). If
you decide to use the backslash character anyway, you must precede
it with three backslash characters:
- One so that the service recognizes that the backslash character is a literal
- One in front of each of the other two backslashes so that the CLI recognizes that both of them are literals
cre -ct CT\\\\1