eth0izzle / shhgit

Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories.
MIT License
3.84k stars 481 forks source link

Option to restrict search to only Organization List #66

Closed rahulkiit closed 3 years ago

rahulkiit commented 4 years ago

How to restrict the search to specific or list of organization ?

eth0izzle commented 3 years ago

@rahulkiit there is no built in way to do this currently and it's quite expensive to do (re API calls). You would need to read the owner -> organizations_url property (i.e. from https://api.github.com/users/paul/repos), fetch that (i.e. https://api.github.com/users/paul/orgs), check the login and description fields for any matches, fetch the org page (i.e. https://api.github.com/orgs/tychoapp) and check name, website, company, etc.