coreruleset / go-ftw

Web Application Firewall Testing Framework - Go version
Apache License 2.0
115 stars 29 forks source link

Add support for matrix / parameterization #321

Open theseion opened 3 months ago

theseion commented 3 months ago

Many of the tests are duplicates with minor variations in the payload. Test for many rules could be condensed to two or three tests with many payloads instead.

fzipi commented 3 months ago

Yeah, I wanted some time ago to use the same concept as nuclei-templates, with golang templating.

So adding a templated test, with data: {{ payload }} and a way to have tests generated for each payload...