wirefilter icon indicating copy to clipboard operation
wirefilter copied to clipboard

Full syntax support for Cloudflare Firewall Rules language

Open SerCeMan opened this issue 5 years ago • 5 comments

Hi!

I've been looking into writing unit tests for firewall rules using wirefilter. However, as far as I can see, wirefilter doesn't support the full syntax of Cloudflare Firewall Rules language. For instance, as far as can I can see it's not possible to express complex types, e.g. arrays, as well as transformation functions.

Do you know if wirefilter is planning to support the full cloudflare syntax, or is it going to support the current set of expressions only?

SerCeMan avatar May 15 '20 14:05 SerCeMan

Hello! The full syntax is available in the cloudflare branch. It will probably be merged in the master branch at some point but in the mean time, feel free to use it

marmeladema avatar May 19 '20 08:05 marmeladema

Oh, nice! Thanks, I didn't know about the branch!

SerCeMan avatar May 19 '20 08:05 SerCeMan

Hi all. Any update on the cloudflare branch merge to master? We'd like to take advantage of the unit testing framework for cloudflare called firewalker (thanks SerCeMan) but we'd like to also use the latest feature sets.

Please continue to maintain this repo. It's very handy!

nitrocode avatar Aug 14 '23 16:08 nitrocode

Hey, @nitrocode! It'd very be useful if you could raise an issue about any unsupported features. There is a growing patch here to catch up on them.

But it would definitely be 💯 if Cloudflare could keep the branch up-to-date as well.

SerCeMan avatar Aug 15 '23 01:08 SerCeMan