-
Notifications
You must be signed in to change notification settings - Fork 73
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
Frogbot not creating pull requests after scan-repository task succeeds #761
Comments
Hello @ManudattaG and thank you for using Frogbot. |
Thanks for your quick response @eranturgeman
|
@ManudattaG You are correct. Frogbot is able to fix ONLY direct dependencies. FYI - Scan-Repository ONLY can create PRs with fixes, if it has something it can fix. |
@eranturgeman Got it. Thanks for explaining the details :) |
Just one last question maybe. |
Describe the bug
I'm using JFrog Frogbot for scanning vulnerabilities on Gitlab repository. Currently, frogbot is unable to create automatic pull requests after the scan-repository command is completed successfully even though there are vulnerabilities reported in the "scan-pull-request" task. I also tried replicating the behavior by downgrading a package to a vulnerable version (affected version) and triggered "scan-repository" task in order to test automatic pull request creation by Frogbot. Unfortunately I don't see any pull requests created and logs says no changes to commit (full logs attached). Maybe something wrong with the configuration I have.
Could you please help me troubleshoot the issue? I have included all the relevant logs and frogbot config files in this issue report.
BTW, there are no existing pull requests with vulnerabilities open as it mentions in the logs.
Thanks!
Current behavior
Frogbot downloaded successfully!
10:10:42 [Info] Frogbot version: 2.21.13
10:10:42 [Info] Running Frogbot "scan-repository" command
[Info] Not entitled for JAS, skipping advance security scans...
10:10:45 [Info] Preforming 1 SCA scans:
[
{
"Target": "/tmp/jfrog.cli.temp.-1728295844-3614675312",
"Technology": "poetry",
"Descriptors": [
"/tmp/jfrog.cli.temp.-1728295844-3614675312/pyproject.toml"
]
}
]
10:10:45 [Info] Calculating Poetry dependencies...
10:10:48 [Info] [Thread 0] Running SCA scan for /tmp/jfrog.cli.temp.-1728295844-3614675312 vulnerable dependencies in /tmp/jfrog.cli.temp.-1728295844-3614675312 directory...
10:10:48 [Info] Scanning 20 poetry dependencies...
10:10:49 [Info] Waiting for scan to complete on JFrog Xray...
10:10:54 [Info] Xray scan completed
10:10:54 [Info] -----------------------------------------------------------------
10:10:54 [Info] Starting aggregated dependencies fix
10:10:54 [Info] There were no changes to commit after fixing vulnerabilities.
Note: Frogbot currently cannot address certain vulnerabilities in some package managers, which may result in the absence of changes
10:10:54 [Info] The existing pull request is in sync with the latest scan, and no further updates are required.
10:10:54 [Info] Frogbot "scan-repository" command finished successfully
Reproduction steps
No response
Expected behavior
Frogbot detects vulnerabilities after running "scan-repository" task for a repo and creates pull requests automatically with fixable versions and relevant changes.
JFrog Frogbot version
2.21.13
Package manager info
poetry.lock and Poetry (version 1.8.3)
Git provider
GitLab
JFrog Frogbot configuration yaml file
Git repositories in the same organization.
params:
Git parameters
git:
# [Mandatory]
# Name of the git repository to scan
repoName: mygitlabrepo
Frogbot scanning parameters
scan:
# [Default: false]
# Frogbot displays all existing vulnerabilities, including the ones that were not added by the pull request
includeAllVulnerabilities: true
JFrog Platform parameters
jfrogPlatform:
[Optional]
JFrog project key. Learn more about it here
jfrogProjectKey: ""
[Optional]
Xray Watches. Learn more about it here
watches:
- ""
Operating system type and version
macOS 14.6
JFrog Xray version
No response
The text was updated successfully, but these errors were encountered: