vscode-sailpoint-identitynow icon indicating copy to clipboard operation
vscode-sailpoint-identitynow copied to clipboard

How to add multiple entitlements using bulk Role import

Open Imi-Sultan opened this issue 3 months ago • 1 comments

Describe the bug Hi there. Not yet sure if this is a bug as I might be doing this wrong. How do we add multiple entitlements in the same Role using the 'Import Roles CSV' option in VS Code?

What I've already tried In the entitlements cell in the CSV file, each of the below have been tried on their own: •SourceName|entitlement1;SourceName|entitlement2 •"SourceName"|"entitlement1";"SourceName"|"entitlement2" •SourceName|entitlement1;entitlement2 •[SourceName|entitlement1;SourceName|entitlement2] •SourceName|entitlement1,SourceName|entitlement2 •SourceName|entitlement1|SourceName|entitlement2

To Reproduce Steps to reproduce the behavior:

  1. Click on 'Import Roles CSV' next to 'Roles'
  2. Select the relevant csv file
  3. See error '0 line(s) processed. 0 successfully import. 0 error(s)

Expected behavior Message saying 'Successfully imported role [Role name]'. As well as the Role being created in the tenant with multiple entitlements added as access

Screenshots If applicable, add screenshots to help explain your problem.

Environment 20241031_214149

Logs [Extension Host] > RoleImporterTreeViewCommand.execute console.ts:137 [Extension Host] > RoleImporter.importFile log.ts:439 ERR ENOENT: no such file or directory, open 'C:\dev\null': Error: ENOENT: no such file or directory, open 'C:\dev\null' notificationsAlerts.ts:42 0 line(s) processed. 0 sucessfully import. 0 error(s). c @ notificationsAlerts.ts:42 (anonymous) @ notificationsAlerts.ts:28 B @ event.ts:1242 C @ event.ts:1253 fire @ event.ts:1277 addNotification @ notifications.ts:228 notify @ notificationService.ts:253 (anonymous) @ mainThreadMessageService.ts:86 f @ mainThreadMessageService.ts:51 $showMessage @ mainThreadMessageService.ts:45 S @ rpcProtocol.ts:458 Q @ rpcProtocol.ts:443 M @ rpcProtocol.ts:373 L @ rpcProtocol.ts:299 (anonymous) @ rpcProtocol.ts:161 B @ event.ts:1242 fire @ event.ts:1273 fire @ ipc.net.ts:652 l.onmessage @ localProcessExtensionHost.ts:378 console.ts:137 [Extension Host] Governance Group Cache stats {hits: 0, misses: 0} console.ts:137 [Extension Host] Identity Cache stats {hits: 0, misses: 0} console.ts:137 [Extension Host] Access Profile Cache stats {hits: 0, misses: 0} console.ts:137 [Extension Host] Source Cache stats {hits: 0, misses: 0} console.ts:137 [Extension Host] Entitlement Cache stats {hits: 0, misses: 0}

IMG-20241031-WA0027

Additional context I can successfully import a Role with just one Entitlement.

Imi-Sultan avatar Oct 31 '24 20:10 Imi-Sultan