AlexFilipin / ConditionalAccess

MIT License
274 stars 72 forks source link

Pull option? #27

Open ThiloLangbeinHUK opened 3 years ago

ThiloLangbeinHUK commented 3 years ago

In the future will there be a pull option to retrieve all currrent CA policies as json files?

AlexFilipin commented 3 years ago

Hi, sorry I saw that during vacation and forgot about it. I have linked some other tools that have a pull function in the documentation section: https://github.com/AlexFilipin/ConditionalAccess/wiki#documentation

That said I am still looking into adding such a function to my script as well, hence I am curious about your use-case? What would you solve with the pull function / when would you use it?

szymonbr commented 1 year ago

Hi. I've created #37 pull request where you can find a script for pulling policies. Having JSON files of current policies allows you to update existing policies with ease. Update deploy-script reads policy IDs from pulled JSON files and links them based on policy names (after replacing RING placeholder) hence there's no need to manual template adjustment.