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

Support for Customize Endpoint in Gitlab Analyzer #3832

Merged

Conversation

abmussani
Copy link
Contributor

Description:

Currently, Gitlab Analyzer analyze for cloud endpoint https://gitlab.com but detector supports custom endpoint which breaks the analyzer if credentials belongs to on-prem or gitlab dedicated service. This PR adds support for providing the host information to analyzer and also use default cloud endpoint if customize host is not provided.

Analyzer Test:
Screenshot 2025-01-08 at 8 07 27 PM

Detector test (only for v2 as I do not have valid credential for v1 ):
Screenshot 2025-01-08 at 8 06 49 PM

Checklist:

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

@abmussani abmussani self-assigned this Jan 8, 2025
@abmussani abmussani requested review from a team as code owners January 8, 2025 15:08
@zricethezav zricethezav merged commit e967efa into trufflesecurity:main Jan 13, 2025
13 checks passed
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.

3 participants