Skip to content

Commit

Permalink
Validate git leaks except one line
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyannn committed Dec 31, 2023
1 parent 4bebd8f commit 29af61d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .gitleaksignore

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test_redact.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_redact_text(self):
redact_text("safe_flag: true", ".yaml"), ("safe_flag: true", 0)
)
self.assertEqual(
redact_text("password: jasghDSGF2346", ".yaml"), ("password: REDACTED", 1)
redact_text("password: jasghDSGF2346", ".yaml"), ("password: REDACTED", 1) # gitleaks:allow
)
self.assertEqual(
redact_text("- --zone=hwer5uy6528hHJG", ".yaml"), ("- --zone=REDACTED", 1)
Expand Down

0 comments on commit 29af61d

Please sign in to comment.