Hi
Every time I change a firewall rule using SFOS 18.0.5 MR-5-Build586 API, it keeps removing the firewall rule from its original Firewall Rule Group. Actually, the Firewall Rule Group is nowhere mentioned, when you query all your Firewall Rules directly through the API -- even though the information in Position and After is accurate and kept when submitting the query, the group is however dropped.
<Position>After</Position>
[...]
<After>
<Name>FAILSAFE outbound VPN</Name>
</After
I found this after implementing Let's Encrypt on my Sophos XG, so my certificates are extended automatically and re-assigned to the WAF-rules without my interaction. I do that with five API queries:
- Upload temporary (old but still valid) certificate. <-- works!
- Assign WAF-rule to temporary (old but still valid) certificate <-- works, but Firewall Rule Group assignment is dropped.
- Update existing certificate with the newly extended certificate from Let's Encrypt. <-- works!
- Switch back WAF-rule to the extended certificate. <-- works, Firewall Rule Group assignment is dropped.
- Delete temporary (valid) certificate. <-- works!
Do I have to assign the WAF-rules back to the desired Firewall Rule Group in separate step? Any ideas what I am missing?
Thanks in advance.
This thread was automatically locked due to age.