Add Auto-Fix Command#1379
Open
orto17 wants to merge 3 commits into
Open
Conversation
- New `autofix` package: SBOM-based descriptor locator, dependency updater via jfrog-cli-security package updaters, git branch/commit/ push via frogbot GitManager, VCS-agnostic PR creation via vcsclient - Supports Maven, Npm, Pnpm, Go, Pip; technology inferred from PURL - New `autofix/action.yml` subdirectory action (`uses: jfrog/frogbot/autofix@v3`) with dedicated inputs: component-name, affected-version, fix-version, branch-name, commit-hash - New `.github/workflows/frogbot-auto-fix.yml` workflow_dispatch template - Registered `auto-fix` (alias `af`) command in commands.go - action/src/main.ts routes to execAutoFix() when command input is auto-fix Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds auto-fix as a third Frogbot command mode alongside scan-pull-request and scan-repository.
Given a vulnerable component, affected version, and fix version, it locates the dependency descriptor via SBOM analysis, updates it using jfrog-cli-security package updaters, and opens a fix PR automatically.
Includes a dedicated autofix/action.yml subdirectory action and a frogbot-auto-fix.yml workflow template for easy integration via uses: jfrog/frogbot/autofix@v3.