Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
clive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
clive
Commits
4ed14e5e
Commit
4ed14e5e
authored
2 months ago
by
Krzysztof Mochocki
Browse files
Options
Downloads
Patches
Plain Diff
Filter out logged CI variables from script check
parent
b97c6ea4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!573
Filter out logged CI variables from script check
,
!555
v1.27.5.20 Release
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/check_is_private_key_nor_password_is_not_logged.bash
+1
-1
1 addition, 1 deletion
scripts/check_is_private_key_nor_password_is_not_logged.bash
with
1 addition
and
1 deletion
scripts/check_is_private_key_nor_password_is_not_logged.bash
+
1
−
1
View file @
4ed14e5e
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment