Hello,
I want to simulate policy violation on an identity by assigning conflicting entitlements/roles (similar to future identity) via rule.
Are there any suggestions how to achieve it? I know about policyexecutor.evaluate method, but it simulate on existing accesses.
You can use Provisioner.impactAnalysis() method to get an dummy Identity with the new conflicting accesses added to it (not provisioned directly onto target) and then use executor.evaluate() method.
Hi @kalyankumar_saha ,
This method isn’t working for Role assignment, can you please suggest any other way.
new AttributeRequest(“assignedRoles”,ProvisioningPlan.Operation.Add,<Role Name>);