contains
(string match) rule is used to check if input and output content contains specific words, phrases, or substrings.
Parameters:
- type:
contains
(specifies the rule type) - value: A string or array of strings to search for in the content
- expected: Usually set to
pass
to ensure the specified strings are present, orfail
to flag when they are found