praetorian-inc/gato

Verbose Error Logs

jimmyscchang opened this issue · 4 comments

If the user does not have proper permissions to clone the GitHub repository, verbose error logs are generated when attempting to run the enumerate command

gato

Thanks for the bug report! To make sure I understand the behavior correctly:

Are you running this with a token that does not have clone privileges?

OR

Are you running this with an appropriately scoped token, but that user does not have read access to the repository?

Actually, in this case, the user was unable to clone the repository due to SSH cert authentication requirements.
image

@AdnaneKhan It looks like the source of these messages is that we set the root logging level to DEBUG.

We have this in a few places, but we might want to rethink how we are using the logging package.

logging.root.setLevel(logging.DEBUG)

DEBUG root level is no longer set.