ScriptContainsRule
Defined in: policies/ScriptContains.ts:9
Configuration for validating that a script’s body contains required substrings.
Properties
Section titled “Properties”mustContain
Section titled “mustContain”mustContain:
string[]
Defined in: policies/ScriptContains.ts:19
Substrings that must appear in the script body. All substrings must be present for the script to pass validation.
script
Section titled “script”script:
string
Defined in: policies/ScriptContains.ts:13
The name of the script to validate.