We are looking at using the Manager Certification instead of a Targeted Certification for Annual Certifications for ERP access. We have a bunch of Entitlements and Roles that we wish to exclude from the Annual Certifications. The Manager Certification expects a Rule for this instead of manually specifying all the exclusions like you do in a targeted certification. Does anyone have an example of a Certification Exclusion Rule or can you point me to an example?
So for each Identity (which for a manager cert type the ‘entity’ object contains an ID), you want to look at two lists:
items (contains all certifiable items (Certifiable object type)) that are included in this cert for this Identity
itemsToExclude - a list of items that you do NOT want included.
Iterate the initial ‘list’ and if you see one of our entitlements/roles taht you dont’ want to appear, add them to the ‘itemsToExclude’ list, and remove from the ‘items’ list. The return value of ‘explanation’ is
An optional explanation describing why the entity’s items were excluded; this is shown on the Exclusions list for each item excluded from the certification; if rule excludes items for different entities for different reasons, this can identify the applicable exclusion conditions when the exclusion list is examined