Policy Administration
You can use the iCDR administrative console to list policies and assign policies to objects within the iCDR instance. Creating new policies needs to be done through the UI. For more information visit Security Policy Management.
Viewing Policies
You can view all security policies configured on the server using the policy.list
command, specifying optional filter parameters.
The optional filter parameters for policy.list
are.
Parameter
Description
Example
-n
List policies with specified name
policy.list -n test
-o
List policies with specified OID pattern
policy.list -o 1.3.6.1.4.1.33349
Assigning Policies
You can assign security policies to devices, roles, and/or applications by using policy.assign
command, followed by specifying parameters.
Parameter
Description
-r
or --role
The role(s) to assign the policy to
-a
or --application
The application(s) to assign the policy to
-d
or --device
The device(s) to assign the policy to
-e
or --rule
The action to take (0/deny, 1/elevate, 2/grant)
-p
or --policy
The policy(ies) to apply
The object parameter ( role or application or device ) is required.
The policy parameter is required.
The action parameter (-e
or --rule
) specifies the action to take and by default is set to 0 (Deny) if not specified.
Example:
Last updated