Unified: add default_queries and standard qls files by asgerf · Pull Request #22083 · github/codeql · GitHub
Skip to content

Unified: add default_queries and standard qls files#22083

Open
asgerf wants to merge 2 commits into
github:mainfrom
asgerf:unified/suites
Open

Unified: add default_queries and standard qls files#22083
asgerf wants to merge 2 commits into
github:mainfrom
asgerf:unified/suites

Conversation

@asgerf

@asgerf asgerf commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Needed to make DCA work

@asgerf asgerf requested a review from a team as a code owner June 29, 2026 10:11
Copilot AI review requested due to automatic review settings June 29, 2026 10:11
@asgerf asgerf added the no-change-note-required This PR does not need a change note label Jun 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the standard CodeQL suite entrypoints and a default_queries setting for the Unified extractor so it can be used by downstream tooling (notably DCA) in the same way as other language extractors.

Changes:

  • Add default_queries: [codeql/unified-queries] to unified/codeql-extractor.yml.
  • Introduce standard suite files under unified/ql/src/codeql-suites/ (code scanning, security, and quality variants).
  • Wire those suites to codeql/suite-helpers selector files via apply.
Show a summary per file
File Description
unified/ql/src/codeql-suites/unified-security-extended.qls Adds unified “security-extended” suite using suite-helper selectors.
unified/ql/src/codeql-suites/unified-security-experimental.qls Adds unified “security-experimental” suite using suite-helper selectors.
unified/ql/src/codeql-suites/unified-security-and-quality.qls Adds unified “security-and-quality” suite using suite-helper selectors.
unified/ql/src/codeql-suites/unified-code-scanning.qls Adds unified “code-scanning” suite using suite-helper selectors.
unified/ql/src/codeql-suites/unified-code-quality.qls Adds unified “code-quality” suite using suite-helper selectors.
unified/ql/src/codeql-suites/unified-code-quality-extended.qls Adds unified “code-quality-extended” suite using suite-helper selectors.
unified/codeql-extractor.yml Sets the extractor’s default query pack to codeql/unified-queries.

Review details

  • Files reviewed: 7/7 changed files
  • Comments generated: 4
  • Review effort level: Low

@@ -0,0 +1,4 @@
- description: Standard Code Scanning queries
@@ -0,0 +1,4 @@
- description: Security-extended queries
@@ -0,0 +1,4 @@
- description: Extended and experimental security queries
Comment on lines +1 to +3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants