secret-magpie-cli
secret-magpie-cli copied to clipboard
Allow limiting scanning to specific repos within an organisation
This needs revisiting. #54
I'm not sure I like providing a file with URLs in it and then matching it exactly.
-
what is the url, does it have the .git bit on the end? Are we case sensitive?
-
we are only scanning one org, so I reckon the repo names will always be unique. Let's just filter based on repo name?
-
I don't like feeding it a file. The tool runs almost always in docker and feeding it a file is an additional pain in the arse. Better to have a comma separated list of repo names on the command line
We should take a comma separated list to two flags, --ignore-repos and --only-repos. They should just be repo names, not urls. We should be case sensitive, and advise the users this on the flag help.