Skip to main content
drewski7
Gold ⭐️⭐️
October 18, 2022
Question

Ranger API - Continuously Replicating Ranger Policies to another Instance

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

Rajat_710
Gold ⭐️⭐️
Gold ⭐️⭐️
July 29, 2024

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

Translate