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

Detector: Self hosted Github Enterprise and Gitlab Enterprise Tokens #24

Open
ankushgoel27 opened this issue Dec 11, 2024 · 0 comments
Open
Labels

Comments

@ankushgoel27
Copy link

Our current github and gitlab token detector doesn't detect the self hosted Enterprise level github/gitlab tokens. These tokens can only be validated against the company github/gitlab domain.

I am not sure if you would like to enhance the current detector to also detect the enterprise token

say - if domain present, then validate against that domain and github, otherwise just github if no domain present in the chunk.

Tokens issued for a GitHub Enterprise Server (GHES) instance are only valid for API requests made to that specific enterprise's domain.

@rgmz rgmz added kind/enhancement New feature or request area/detectors labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants