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

Access to calling curl through JF CLI based on the JFrog Platform URL #2677

Open
moegwsa opened this issue Aug 29, 2024 · 3 comments
Open

Access to calling curl through JF CLI based on the JFrog Platform URL #2677

moegwsa opened this issue Aug 29, 2024 · 3 comments
Labels
feature request New feature or request

Comments

@moegwsa
Copy link

moegwsa commented Aug 29, 2024

Is your feature request related to a problem? Please describe.
Currently, the JFrog CLI allows us to perform a number of tasks to maintain the JFrog Platform and the associated applications having the credentials stored away safely.

However not all services which are provided through the REST API which are also fully accessible through the JFrog CLI. This may result in credential information being leaked through build pipeline logs if the REST API's are invoked and insufficient care is given ir order to avoid presenting the information.

Examples of this are that it is possible to create new release bundles, but getting a list of existing release bundles require The REST API's to be called directly.

Describe the solution you'd like to see
I would like to be able to call the REST API from the JFrog CLI based on the JFrog Platform URL instead of being restricted to do so based on the "jf rt curl..." and the "jf xr curl..." which limit which endpoints are available.

An example of this could be:
jf curl -XPOST "/lifecycle/api/v2/promotion...

Describe alternatives you've considered
The alternatives would be to either be limited by which commands have been implemented in the JFrog CLI, or to using the JFrog REST API specifying credentials directly and hoping no credentials are leaked into the build logs.

@moegwsa moegwsa added the feature request New feature or request label Aug 29, 2024
@DavidRadoorHummel
Copy link

This would be a great addition!

@krishnamanchikalapudi
Copy link

jf curl would be an invaluable addition to the JFrog CLI

@mgriffin13
Copy link

related: #2595

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

No branches or pull requests

4 participants