v4.6.0
git_username
authentication
We add an optional parameter git_username
that can be set to authenticate in order to perform a scan.
While this parameter is not mandatory for GitHub (neither .com nor enterprise), it is needed for some private git servers and for private bitbucket repos.
If the git_token
is not set, this parameter is ignored (since the tool cannot authenticate with a username without token).
On the contrary, if the git_token
is set, the username used for authenticating the tool is either git_username
(if set) or oauth2
(the default value, which is the one adopted by github)
The git_username
parameter is supported not only in the python library but also in the CLI and in the UI (with a new optional input field).
Minor
- Fix dependencies for tensorflow
- Fix the double "category" input field in the UI (
add_rule
) - Make the
export_discoveries
more efficient by not loading all the discoveries of a repo (unless needed)