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

Code scanning: AI-powered autofixes for CodeQL alerts in PRs #968

Open
github-product-roadmap opened this issue May 29, 2024 · 0 comments
Open
Labels
cloud Available on Cloud code scanning Feature: Github Code Scanning codeql Feature: GitHub codeql ga Feature phase: Generally available github advanced security Product SKU: GitHub Advanced Security

Comments

@github-product-roadmap
Copy link
Collaborator

Summary

Code scanning will propose AI-generated fixes for CodeQL alerts in pull requests. These fixes help developers resolve alerts faster and prevent introducing new vulnerabilities into codebases.

This functionality will be available for all GHAS customers on GitHub.com.

Intended Outcome

Users can fix security vulnerabilities faster with the help of code scanning AI-generated remediation suggestions, which offer a convenient one-click fix option.

The UI will show statistics of generated fixes and suggestions that result in fixing alerts, as well as reasons for not displaying the autofix for the alert. Additionally, the UX will allow users to jump into an editing environment in order for developers to make any adjustments to the proposed fix.

How will it work?

Following the CodeQL analysis, an LLM (GPT 4) will propose a fix for any new alerts where possible. These AI-generated remediation suggestions are then posted as as a code scanning autofix on the PR's 'Conversation' and 'Files Changed' tabs.

@github github locked and limited conversation to collaborators May 29, 2024
@github-product-roadmap github-product-roadmap added cloud Available on Cloud code scanning Feature: Github Code Scanning codeql Feature: GitHub codeql ga Feature phase: Generally available github advanced security Product SKU: GitHub Advanced Security labels May 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cloud Available on Cloud code scanning Feature: Github Code Scanning codeql Feature: GitHub codeql ga Feature phase: Generally available github advanced security Product SKU: GitHub Advanced Security
Projects
Status: Q2 2024 – Apr-Jun
Development

No branches or pull requests

1 participant