Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

RegularExpression for many JSONpath

Not applicable

In RegularExpression Policy, we want to implement SQLInjection Policy. This Policy requires to put JSONPath of every field that we want to check with SQLInjection. In our request JSON payload, we want to check 100+ JSON paths for SQLInjection and those paths are dynamic also.

Is there any other way to check SQLInjection on every JSON path?

Example:

<JSONPayload><JSONPath><Expression>$.store.book[*].author</Expression><Pattern>REGEX PATTERN</Pattern><Pattern>REGEX PATTERN</Pattern></JSONPath></JSONPayload>

0 1 629
1 REPLY 1