diff --git a/credsweeper/ml_model/ml_config.json b/credsweeper/ml_model/ml_config.json index 49ac53358..246ae239d 100644 --- a/credsweeper/ml_model/ml_config.json +++ b/credsweeper/ml_model/ml_config.json @@ -159,7 +159,7 @@ "type": "SearchInAttribute", "comment": "VariableNotAllowedNameCheck - key rule", "kwargs": { - "pattern": "(?i:(?:uniq(?:ue)?|escap(?:e|ing)|resources?|projects?|filters?|pub(?:lic)?)_?keys?)", + "pattern": "(?i:(?:uniq(?:ue)?|escap(?:e|ing)|search|resources?|projects?|filters?|pub(?:lic)?)_?keys?)", "attribute": "variable" } }, diff --git a/tests/data/doc.json b/tests/data/doc.json index e46231e1f..7fcd41312 100644 --- a/tests/data/doc.json +++ b/tests/data/doc.json @@ -21365,4 +21365,4 @@ } ] } -] \ No newline at end of file +]