Skip to content

Commit

Permalink
Add CodeQL Config file to enable additional queries for Security
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-hawker committed Aug 25, 2023
1 parent 762b038 commit 7283722
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "Security and Quality"

queries:
- name: Queries from security-extended, plus maintainability and reliability queries
uses: security-and-quality
- name: Queries from the default suite, plus lower severity and precision queries
uses: security-extended
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,13 @@ jobs:
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# queries: +security-extended,security-and-quality

- name: MSBuild
run: >
Expand Down

0 comments on commit 7283722

Please sign in to comment.