Skip to main content
Solved

Create VM Groups with Security Permissions per Scriptline / CLI

  • February 15, 2023
  • 2 replies
  • 50 views

Forum|alt.badge.img+1

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

Best answer by Venu Kondabhathini

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

 

View original
Did this answer your question?

Forum|alt.badge.img+3

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

 


Forum|alt.badge.img+1
  • Byte
  • February 21, 2023

Thanks, this looks exactly what we are looking for.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings