The GitHub code scanning feature has been enhanced with a new option called “default setup,” designed to assist developers in setting up code scanning with only a few clicks and make it easier to configure it automatically.
GitHub’s code scanning is powered by the CodeQL code analysis engine. This engine supports many languages and compilers, including those that power GitHub’s code analysis. Only the following language repositories have the new option available to them:-
Over the next six months, Walker Chabbott, GitHub’s product marketing manager, declared that the company is looking at expanding its support to a number of languages, GitHub Said.
How to use the new code scanning setup option?
Here are the simple steps you need to follow in order to use the new option for setting up code scanning:-
- First of all, in your repo’s settings, you have to navigate to “Code security and analysis”.
- Then click the “Set up” drop-down menu.
- After that choose the Default option.
- That’s it, now you are done.
The default configuration summary will be automatically generated based on repository contents when you click on this ‘Default’ option.
There are a number of things that fall under this category, including:-
- Languages detected in the repository
- Query packs that will be used
- Events that will trigger scans
This option will be customizable in the future so that users can choose what works best for them. When you click “Enable CodeQL,” it will begin scanning the repo for vulnerabilities to help you create more secure software by finding and patching the flaws it discovers.
Since Semmle code-analysis platform was acquired by GitHub in September 2019, the CodeQL code-analysis engine has been added to its capabilities to further enhance the GitHub platform.
In May 2020, GitHub Satellite announced the first beta version of its code scanning solution, and in September 2020, the service was made generally available.
In addition to code scanning, GitHub offers an advanced security feature for GitHub Enterprise private repositories as part of its advanced security features, which is free for all public repositories on GitHub.
Network Security Checklist – Download Free E-Book