When generating rules with the provided helper script get_owasp_rules.py and adding the rules into my config, xcaddy starts up with errors:
`Validation errors in rules {"errors": ["Rule at index 0: rule 'xxxx' has no targets", "Rule at index 1: rule '901100' has no targets"
It is because targets is empty [].
[
{
"id": "901001",
"phase": 2,
"pattern": "@eq 0",
"targets": [],
"severity": "LOW",
"action": "log",
"score": 1,
"description": "No description provided."
}
]
When generating rules with the provided helper script
get_owasp_rules.pyand adding the rules into my config, xcaddy starts up with errors:`Validation errors in rules {"errors": ["Rule at index 0: rule 'xxxx' has no targets", "Rule at index 1: rule '901100' has no targets"
It is because targets is empty
[].