crowdsecurity / cs-cloud-firewall-bouncer

Crowdsec Cloud Firewall Bouncer
MIT License
15 stars 3 forks source link

[Bug fix] Fixing rule generator #4

Closed fallard84 closed 3 years ago

fallard84 commented 3 years ago

The previous random word generator was not properly tested with GCP and was not meeting the criteria. This is replacing it with diceware, which is actually generating random words and not just random characters. Also adding regex test to make sure GCP won't reject it. This will need to be adjusted to match other cloud providers eventually or, if difficult to have a common rule generator, extract it to the cloud provider interface.