Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate gitlab detectors #1776

Closed
wants to merge 8 commits into from
Closed

Consolidate gitlab detectors #1776

wants to merge 8 commits into from

Conversation

0x1
Copy link
Contributor

@0x1 0x1 commented Sep 14, 2023

Description:

Gitlab has two versions of tokens. The newer version includes a glpat prefix.
We've previously had two detectors to handle these two token versions, however our v1 detector would detect both types, but report the v2 token with the prefix removed (i.e. as if it was a v1 token). On this PR we are updating the v1 detector such that it correctly reports both versions of the token, and removing the v2 detector since its functionality would now be duplicate.

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@0x1 0x1 requested review from a team as code owners September 14, 2023 20:52
delete test file (note: these are not real secrets)
@0x1 0x1 mentioned this pull request Sep 14, 2023
2 tasks
@0x1
Copy link
Contributor Author

0x1 commented Sep 26, 2023

closed in favor of: #1819

@0x1 0x1 closed this Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant