Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ranger API - Continuously Replicating Ranger Policies to another Instance

avatar
Contributor

Hello,

 

I am trying to replicate ranger policies from one instance of ranger to another. I know there is an api call called - /plugins/policies/importPoliciesFromFile

 

I found that's good for the initial migration of all of them but when it comes to the inserts, updates, and deletes after that what's the best way to handle that? If I use the same call, it will overwrite the previous policies which isn't what I want. 

1 REPLY 1

avatar
Super Collaborator

hey @drewski7 if you are using ranger UI to import the policies it will give you on option to override or not.