jfrog / jfrog/jfrog-cli-security
Feature request support for Access Token flag in "jf docker scan" command
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 13
- Forks
- 50
- Avg merge
- 3d 48m
- Merged PRs (30d)
- 26
Description
Dear JFrog Team,
I am a user of the JFrog CLI and have been utilizing the "jf docker scan" command for scanning our docker images. I find the CLI to be an invaluable tool for managing and securing my artifacts and docker images.
I am writing for a feature enhancement that could streamline the process of using the "jf docker scan" command. Currently, before running the "jf docker scan" command, we need to execute the "jf c add" command to provide the JFrog artifact URL and token. While this approach works, but instead of storing token in config file we want pass token with command itself.
My feature request is to introduce an "access-token" flag directly within the "jf docker scan" command. This would allow users to provide the access token as an argument when executing the scan command, eliminating the need for a separate step to add the token. Here is an example of what the command could look like:
jf docker scan --access-token <your-access-token>
Implementing this enhancement would simplify the workflow and make the usage of the CLI even more intuitive.
I understand that your team's resources are limited and that feature decisions are made carefully. However, I believe that this enhancement could benefit many users who are looking to improve their efficiency and experience with the JFrog CLI.
Thank you for considering my feature request. I appreciate the hard work your team puts into developing and maintaining the JFrog CLI.
Looking forward to your response.
Best regards,
Manideep
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the jf docker scan command and comparing its authentication flow with jf c add. Determine how an access-token argument should be passed to the scan, then verify that scans work without storing the token in the config file and that existing usage remains functional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100