# Now available for free on all public repositories: Copilot Autofix for CodeQL code scanning alerts

DevFeed: [Now available for free on all public repositories: Copilot Autofix for CodeQL code scanning alerts](<https://devfeed.tech/articles/now-available-for-free-on-all-public-repositories-copilot-autofix-for-codeql-code-scanning-alerts-72959.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2024-09-18-now-available-for-free-on-all-public-repositories-copilot-autofix-for-codeql-code-scanning-alerts>)

Author: Allison

Published: 2024-09-18T11:37:24Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [ai code review](<https://devfeed.tech/topics/ai-code-review.md>), [trivy](<https://devfeed.tech/topics/trivy.md>), [gist](<https://devfeed.tech/topics/gist.md>)

Tags: [alerts](<https://devfeed.tech/tags/alerts.md>), [autofix](<https://devfeed.tech/tags/autofix.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [code-scanning](<https://devfeed.tech/tags/code-scanning.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [copilot](<https://devfeed.tech/tags/copilot.md>), [feature](<https://devfeed.tech/tags/feature.md>), [free](<https://devfeed.tech/tags/free.md>), [general-availability](<https://devfeed.tech/tags/general-availability.md>), [github-advanced-security](<https://devfeed.tech/tags/github-advanced-security.md>), [github-copilot](<https://devfeed.tech/tags/github-copilot.md>), [public](<https://devfeed.tech/tags/public.md>), [repositories](<https://devfeed.tech/tags/repositories.md>), [security](<https://devfeed.tech/tags/security.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

## AI overview

Copilot Autofix for CodeQL alerts is generally available free for all public repositories using CodeQL code scanning. It suggests fixes for alerts in pull requests and can generate fixes for historical alerts. PR alerts have Autofix enabled by default, and it adds no notifications. For historical alerts, you can request a fix, review it, then choose to open a pull request, commit directly to the affected branch, or decline. You decide whether to accept a suggestion fully, partially, or not at all.

## Source excerpt

Now you can remediate existing security issues in your public repositories faster with Copilot Autofix for CodeQL alerts. Following our general availability release for all Advanced Security customers, Copilot Autofix...