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

Upgrade to v4.14.0 #303

Merged
merged 41 commits into from
Apr 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
e6f634f
Add docker badge
marcorosa Dec 21, 2023
8988108
Add badge logo for python versions
marcorosa Dec 21, 2023
9be9537
Add badge logo for VS code plugin
marcorosa Dec 21, 2023
ea40f8f
Use docker cerulean background color for its badge
marcorosa Dec 21, 2023
174fdd6
Restore static versioning
marcorosa Jan 25, 2024
3f6fe8e
Get version at runtime
marcorosa Jan 25, 2024
12c8a79
Add publish workflow
marcorosa Jan 25, 2024
0a6890b
Add if-clause for merged PR
marcorosa Jan 25, 2024
ae93732
Change secrets variable name
marcorosa Jan 25, 2024
2c9ea10
Update pytest requirement from ~=7.4.3 to ~=8.0.0
dependabot[bot] Jan 29, 2024
9d85c17
Bump hyperscan from 0.5.0 to 0.7.0
dependabot[bot] Jan 29, 2024
6c4b85b
Bump hyperscan version for all python versions
marcorosa Jan 30, 2024
e3fcebd
Move POSTGRES_PASSWORD to first place of env variables
marcorosa Jan 30, 2024
0664d90
Merge pull request #292 from SAP/dependabot/pip/develop/hyperscan-0.7.0
marcorosa Jan 30, 2024
3337eb4
Merge pull request #293 from SAP/develop
marcorosa Jan 30, 2024
e7f3db6
Merge pull request #291 from SAP/dependabot/pip/develop/pytest-approx…
marcorosa Jan 30, 2024
45c75f9
Update pytest requirement from ~=8.0.0 to ~=8.0.1
dependabot[bot] Feb 19, 2024
06655ad
Merge pull request #295 from SAP/dependabot/pip/develop/pytest-approx…
marcorosa Feb 26, 2024
da03046
Update pytest requirement from ~=8.0.1 to ~=8.0.2
dependabot[bot] Feb 26, 2024
e3b6c58
Merge pull request #296 from SAP/dependabot/pip/develop/pytest-approx…
marcorosa Feb 27, 2024
fa18719
Bump tensorflow-text from 2.15.0 to 2.16.1
dependabot[bot] Mar 11, 2024
85c1833
Update pytest requirement from ~=8.0.2 to ~=8.1.1
dependabot[bot] Mar 11, 2024
bbe844a
Bump tensorflow from 2.15.0 to 2.16.1
dependabot[bot] Mar 11, 2024
e0b6698
Bump hyperscan from 0.7.0 to 0.7.7
dependabot[bot] Mar 11, 2024
fc2022f
Merge pull request #300 from SAP/dependabot/pip/develop/hyperscan-0.7.7
marcorosa Mar 18, 2024
4ce4ba0
Merge pull request #299 from SAP/dependabot/pip/develop/tensorflow-2.…
marcorosa Mar 18, 2024
252ae8d
Merge pull request #298 from SAP/dependabot/pip/develop/pytest-approx…
marcorosa Mar 18, 2024
1b87077
Merge pull request #297 from SAP/dependabot/pip/develop/tensorflow-te…
marcorosa Mar 18, 2024
ded616e
Fix conflicts
marcorosa Mar 18, 2024
5b06a54
Dont list tensorflow-estimator (transitive dependency)
marcorosa Mar 18, 2024
8622e58
Add hyperscan package for cp38
marcorosa Mar 18, 2024
b06c535
Use node v20 in actions
marcorosa Mar 18, 2024
737b9e2
Merge pull request #301 from SAP/add/gh-actions
marcorosa Mar 18, 2024
1efbaa3
Improve documentation of scan_user
marcorosa Apr 9, 2024
5e14b00
Support python3.12
marcorosa Apr 9, 2024
c37af0b
Increment package version
marcorosa Apr 9, 2024
7d405db
Update README.md
marcorosa Apr 9, 2024
7377e7e
Use current version of action pypi-publish
marcorosa Apr 16, 2024
65f7721
Add python version 3.12 to tests
marcorosa Apr 16, 2024
eca1e63
Update metadata with python v3.12
marcorosa Apr 16, 2024
7b6107e
Dont test python3.12
marcorosa Apr 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve documentation of scan_user
marcorosa committed Apr 9, 2024
commit 1efbaa3def8f6415d145894578ea1fcf97caf779
2 changes: 1 addition & 1 deletion src/credentialdigger/cli/scan_user.py
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
username

positional arguments:
username The username as on github.com
username The username or organization name as on github.com

optional arguments:
-h, --help show this help message and exit
7 changes: 5 additions & 2 deletions src/credentialdigger/client.py
Original file line number Diff line number Diff line change
@@ -991,16 +991,19 @@ def scan_pull_request(self, repo_url, pr_number,
def scan_user(self, username, category=None, models=None, debug=False,
forks=False, similarity=False, git_token=None,
api_endpoint='https://api.github.com'):
""" Scan all the repositories of a user.
""" Scan all the repositories of a user or of an organization.

Find all the repositories of a user, and scan
them. Please note that git limits the list of repositories to maximum
100 (due to pagination).

It is possible to enter the name of an organization instead of a user,
and the scan will work on all the repos of that org.

Parameters
----------
username: str
The username as on github.com
The username (or organization name) as on github.com
category: str, optional
If specified, scan the repo using all the rules of this category,
otherwise use all the rules in the db