Luisa Crawford
Jul 15, 2025 15:48
GitHub introduces a new feature allowing organizations to run CodeQL with either default or advanced setups, enhancing security configuration flexibility.
GitHub has announced a significant update to its security configurations, enabling organizations to run CodeQL on repositories using either a default or advanced setup. This development marks a shift from previous limitations where advanced setup repositories couldn’t apply security configurations requiring CodeQL, according to GitHub.
Enhanced Security Configuration Options
The update introduces a new option labeled Enabled with advanced setup allowed when creating a security configuration at the organization or enterprise level. This feature allows administrators to configure security settings that permit CodeQL to run in either default or advanced mode, providing greater flexibility and control.
Organizations can now start with a default setup and allow repository owners to switch to an advanced setup as needed, even when enforcement is enabled. This flexibility extends to applying and enforcing configurations on repositories using the advanced setup of CodeQL.
Status Alerts and Enforcement
If a repository with an applied configuration stops running the advanced setup, GitHub will provide a status alert at the repository level. However, the configuration will not be automatically detached. Enforced configurations that require only the default setup will continue to restrict repositories from disabling the default setup or transitioning to an advanced setup.
Unchanged Aspects
Despite these enhancements, certain restrictions remain unchanged. For instance, configurations requiring a default setup cannot be applied to repositories running an advanced setup. Additionally, there are no changes to the behavior when applying configurations that require a default setup to repositories not meeting preconditions, such as those with GitHub Actions disabled.
These updates aim to provide organizations with more versatile security configuration management, accommodating varying needs and workflows. For further insights, users can refer to GitHub’s official documentation.
Image source: Shutterstock