ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Script plugin fails if a backslash is present in the string


Article ID: 169608


Updated On:


Data Loss Prevention Enforce


​Network Discover scan target for SQL databases contains backslashes as a part of the item scanned.
Returning these values to a script based lookup in python may cause a failure to provide accurate values. Example error:
passing the field to the script was blocked because the string contains a \


"Enable Stdin" option within the Script Lookup has been enabled.
This option is used to perform input validation for the scripts and throw errors for unescapped characters.


Disable "Enable Stdin" option from the Script Lookup to allow all characters to pass without validation.