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

[REQ] Add the possibility to set the gitlab base url for pull request decoration #843

Open
STerraxX opened this issue Aug 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@STerraxX
Copy link

Is your request related to a workflow problem?

Currently, it looks like we can't custom the Gitlab base URL to set a self-managed gitlab instance instead of cloud hosted ones. I would like to add pull request decoration on my self hosted instance.

Propose a solution

A new flag on the "utils pr gitlab" allowing us to custom the base URL for Gitlab, and/or a environnement variable to set it one time.

Additional comments

Nothing to add.

@STerraxX STerraxX added the enhancement New feature or request label Aug 21, 2024
@fallais
Copy link

fallais commented Sep 10, 2024

Same for Github...

But I think it won't be easily possible, as the CLI uses a CxOne REST API endpoint : api/flow-publisher/pr/github. Which means that the decoration is done by CxOne itself and not the CLI.

See here : https://github.com/Checkmarx/ast-cli/blob/main/internal/params/binds.go#L29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants