owaspNoAdditionalPropertiesConstrained
owaspCheckErrorResponse will check if schemas also define maxProperties
when additionalProperties
is an object
Example ruleset configuration
my-security-rule:
description: Checks schema defines `maxProperties` when `additionalProperties` is an object
type: validation
given: $
then:
function: owaspNoAdditionalPropertiesConstrained
Used by the following rules: