So on previous post i have posted an entire code to build standard firewalls for new servers. So basically there is a small function that does the trick. The idea is that I do not want the orchestrator to send request on every servers built, this will generate a lot of access requests in tufin … Continue reading [Powershell]Concatenate XML blocks base on a list
Background So here is a real life requirement that when vRealize Orchestrator created a new virtual machine, the ip addresses of the new VM are passed over to a list, another script will be triggered weekly to read from the list, base on the list create the firewall rules so that new servers can access … Continue reading [Powershell]Submitting access request to tufin
The objective is to compare two files, one reference list the other is the testing list. My colleague helped me wrote a script to do the comparison, there were many false positives, so here's his script: The output always give me items i have on both files and some items from file1. From stackoverflow i … Continue reading Compare-Object: Find item in file 1 that is not in file2
thanks to Stackoverlfow: https://stackoverflow.com/questions/8799847/compare-two-csv-files-and-find-discrepancies The code snippet is about comparing two CSV files containing firewall object groups and list down the discrepancy. the code snippet can be used to out-file to a text.
Background PAN OS is the OS used by Palo Alto firewalls as well as Panorama, the script presented here is usable by both products from Palo Alto Networks. Without Panorama you cannot do schedule backups easily, you need to invoke Palo Alto's export configuration API to achieve this. Palo Alto has a tutorial on how … Continue reading Powershell backup script for PAN OS