Compare Roles
You can compare any two roles to see the structural differences between them. As you compare roles, you can also add function and data security policies existing in the first role to the second role, providing that the second role isn't a predefined role.
For example, assume you have copied a role and edited the copy. You then upgrade to a new release. You can compare your edited role from the earlier release with the role as shipped in the later release. You may then decide whether to incorporate upgrade changes into your edited role. If the changes consist of new function or data security policies, you can upgrade your edited role by adding the new policies to it.
Selecting Roles for Comparison
-
Select the Roles tab in the Security Console.
-
Do any of the following:
-
Click the Compare Roles button.
-
Create a visualization graph, right-click one of its roles, and select the Compare Roles option.
-
Generate a list of roles in the Search Results column of the Roles page. Select one of them, and click its menu icon. In the menu, select Compare Roles.
-
-
Select roles for comparison:
-
If you began by clicking the Compare Roles button, select roles in both First Role and Second Role fields.
-
If you began by selecting a role in a visualization graph or the Search Results column, the First Role field displays the name of the role you selected. Select another role in the Second Role field.
For either field, click the search icon, enter text, and select from a list of roles whose names contain that text.
-
Comparing Roles
-
Select two roles for comparison.
-
Use the Filter Criteria field to filter for any combination of these artifacts in the two roles:
-
Function security policies
-
Data security policies
-
Inherited roles
-
-
Use the Show field to determine whether the comparison returns:
-
All artifacts existing in each role
-
Those that exist only in one role, or only in the other role
-
Those that exist only in both roles
-
-
Click the Compare button.
You can export the results of a comparison to a spreadsheet. Select the Export to Excel option.
After you create the initial comparison, you can change the filter and show options. When you do, a new comparison is generated automatically.
Adding Policies to a Role
-
Select two roles for comparison.
-
As the First Role, select a role in which policies already exist.
-
As the Second Role, select the role to which you're adding the policies. This must be a custom role. You can't modify a predefined role.
-
-
Ensure that your selection in the Filter Criteria field excludes the Inherited roles option. You may select Data security policies, Function security policies, or both.
-
As a Show value, select Only in first role.
-
Click the Compare button.
-
Among the artifacts returned by the comparison, select those you want to copy.
-
An Add to Second Role option becomes active. Select it.