On the simulating of malicious traffic and testing Incap rules question, we often will use a test site hosted on Digital Ocean or Linode and protected by CloudWAF as the target when developing custom rules, with the traffic being created by something like Fiddler (
https://www.telerik.com/fiddler) for simple individual requests and Metasploit or similar frameworks in Kali for more involved/complex attacks.
This is used for both self study and for customer problem replication in-house, you may find these tools useful in your use-case too.
------------------------------
Stefan Pynappels
Escalation Engineer
Imperva
------------------------------