owaspStringRestricted
owaspCheckErrorResponse will check string
schema types specify a format
, pattern
, enum
, or const
Example ruleset configuration
my-security-rule:
description: strings must specify a `format`, `pattern`, `enum`, or `const`
type: validation
given: $
then:
function: owaspStringRestricted
Used by the following rules: