Last active
January 2, 2022 02:18
-
-
Save nvuillam/453cc09068cffa4b7bcb99c5d90b55d7 to your computer and use it in GitHub Desktop.
BadWords filters object config template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"query": "SELECT all FROM Lead", | |
"operation": "Readonly", | |
"targetRecordsFilter": "core:DetectBadwords", | |
"filterRecordsAddons": [ | |
{ | |
"module": "core:RecordsFilter", | |
"args": { | |
"filterType": "BadWords", | |
"settings": { | |
"badwordsFile": "../badwords.json", | |
"detectFields": [ | |
"Description" | |
], | |
"highlightWords": true, | |
"outputMatches": false | |
} | |
} | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment