Hi All,
When we have a DR setup and we have WAF enabled in the Active site then how do we keep identical learned copy of the WAF profile on both sides?
Usually Primary site WAF profile is matured during the time being but how do we keep the same mature profile in DR site as well?
Thanks
Gayan
Thanks a lot to both @Nikoolayy1 and @Niels_van_Sluis .
@Niels_van_Sluis can we implement CI/CD and continuously develop based on suggestions?
Not sure if your question about CI/CD is for me, but I think the articles that @Nikoolayy1 mentioned about Terraform come close on how to implement CI/CD.
If you want CI/CD use terraform or AS3 Declarative WAF (you can use ansible or terraform to again push as3) and host the WAF config in github. If you want to also handle learnings with policy builder then terraform is better or you can just make your own automation by using the api to export them.
Displaying BIG-IP ASM learning suggestions using the iControl REST API (f5.com)
Exercise 3.3 - Deploying a WAF policy through AS3 (f5.com)
<span class="">"new_asm_policy"<span class="">: <span class="">{
<span class="">"class"<span class="">: <span class="">"WAF_Policy"<span class="">,
<span class="">"url"<span class="">: <span class="">"https://raw.githubusercontent.com/f5devcentral/FAS-ansible-workshop-101/master/3.3-as3-asm/Test_WAF_Policy.xml"<span class="">,
<span class="">"ignoreChanges"<span class="">: <span class="">true
<span class="">}</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span>