Skip to content

Commit

Permalink
fix(query): Fix Passwords query FN (#3886)
Browse files Browse the repository at this point in the history
Signed-off-by: João Reigota <[email protected]>
  • Loading branch information
joaoReigota1 authored Jul 20, 2021
1 parent e7faff0 commit b2c65eb
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@ check_vulnerability(correctStrings) {
#look for a known names
is_under_secret_key(correctStrings.key)

#remove string with non-keys characters
count(regex.find_n("^[^\\s/:@,.-_|]+$", correctStrings.value, -1)) > 0

#remove common key and values
check_common(correctStrings)
}
Expand Down

0 comments on commit b2c65eb

Please sign in to comment.