Skip to main content

Hi Everyone,

 

we need to create a lot of VM Groups in Commvault with different Plans and Rules (eg “Tag eq XX AND Tag eq YY”). This could be done by REST-API we noticed. But we also need to give this new VM Group a Security permissions with different Group and Role.

 

We did not find a scripting way to get this done adding the security permissions for a vm group.

 

Has someone a hint or idea where to look or has someone a “one or two liner” for this problem?

 

Many thanks. 

Steffen

Hi Steffen,

If I understand correctly, you are looking to associate user groups / role to client group entity and assign permissions using Rest API.

Please refer to the Update security Entity Associations at: 

 https://documentation.commvault.com/11.24/essential/95854_update_entity_security_associations_rest_api_post.html

 

Create and update roles can be found at:

https://documentation.commvault.com/11.24/essential/48689_role_operations.html

 

Hope this helps as a starting point.

 

Best Regards

 


Thanks, this looks exactly what we are looking for.


Reply