WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants