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.
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.