Forum Discussion
Anusha_617
Dec 21, 2024Copper Contributor
Application Gateway WAFv2 Custom Rules disappeared.
Hello All,
We have a AGW with WAFv2 running. A while back we were working on adding new custom rules, but after saving the new rule, all of our existing WAF custom rules were deleted.
Checking with Azure support, we came to know that the delete operation also works as a PUT operation for updating and/or deleting details. But we couldn't get a clear picture on what caused our rules to be deleted instead of adding the new rule.
We are still in the process of exploring options to understand what could have caused this anomaly.
Have any of you faced any such scenario(s)?
Any insights or suggestions are welcome and much appreciated.
- jorredewynCopper Contributor
We just had the same problem yesterday ,adding a new rule caused all other custom rules to be deleted.Did you ever found out the reason for this?
- Anusha_617Copper Contributor
No, unfortunately, we couldn't find any cause on our activity logs, so, we raised a case with support (Azure) but didn't get any clear explanation on this.
They kept repeating that the last activity log from our side would have caused the deletion, but it was PUT activity (we were editing a specific rule and then clicked save, which caused the clearing of all rules). When highlighting that clearing out of rules would be DELETE activity (logically) they replied back saying that any deleting activity is recorded as PUT activity on their end and that they don't have any further information.
We are still exploring angles and posted here to find if anyone else faced or solved such an issue before us..
- Anusha_617Copper Contributor
Hey, thanks for the response. We have already gone through the official link, it doesn't help us understand cause of our issue. Also, the GitHub link is for AWS, so how is that supposed to help?