We are using a workflow to create a campaign. Sample payload below:
{
"accessType": "ACCESS",
“autoRevokeAllowed”: false,
“description”: "Access review via campaign,
“emailNotificationEnabled”: true,
“name”: “Certification name”,
“recommendationsEnabled”: false,
“type”: “SEARCH”,
“searchCampaignInfo”: {
“description”: “test campaign”,
“identityIds”: [
“<IDENTITY_ID>”
\],
“mandatoryCommentRequirement”: “REVOKE_ONLY_DECISIONS”,
“query”: “@accessModelMetadata(name:\“Mover Review\” AND valueName:\“Yes\”)”,
“type”: “ACCESS”,
“reviewer”: {
“type”:“IDENTITY”,
“id”:“<REVIEWER_ID>”
}
}
}
The campaign gets created but does not include the entitlements that have “Mover Review” set to “Yes” but are part of an Access profile or a role.
Could someone help with some guidance about how I can have a campaign created for a PARTICULAR Identity that involves all entitlements irrespective of them being in an access profile or not.
OR
Is there a way we can have ALL entitlements that have “Mover Review” set to Yes along with all Access profiles and roles that a user may be part of.
Thanks!