Skip to content
Snippets Groups Projects
Commit 4ed14e5e authored by Krzysztof Mochocki's avatar Krzysztof Mochocki
Browse files

Filter out logged CI variables from script check

parent b97c6ea4
No related branches found
No related tags found
2 merge requests!573Filter out logged CI variables from script check,!555v1.27.5.20 Release
......@@ -8,7 +8,7 @@ function find_password_private_keys() {
grep --with-filename --line-number --ignore-case --word-regexp --extended-regexp \
'(pass(word)?|[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{51})' |
grep "$@" --invert-match --extended-regexp \
'Error in response from url|Problem occurred during communication with' || true
'Error in response from url|Problem occurred during communication with|CI_' || true
}
amount_of_occurrences=$(find_password_private_keys --count)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment