Skip to main content

Open a fix pull request

POST 

/v1/organizations/:org/code/fixes

Upgrades a vulnerable package to the first version without its known vulnerabilities, in every lockfile of the repository that has it (package-lock.json, pnpm-lock.yaml, go.mod, requirements.txt): a direct dependency's range is raised, an indirect npm or pnpm dependency gets an override (within its major version). The lockfile is updated by the package manager, without install scripts, and a pull request opened through the GitHub App. Needs fix pull requests turned on for the connection, and the App's write access to contents and pull requests. Answers 412 major_upgrade when the fix is a new major version, until allow_major is set; 412 fix_unsupported when the platform cannot make the fix, and why.

Request​

Responses​

Queued (or the fix already under way or open)