diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 202a125e..76fce1f4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -71,12 +71,12 @@ jobs: with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} - # 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 + config: | + query-filters: + - exclude: + id: rust/hard-coded-cryptographic-value + - exclude: + id: rust/cleartext-logging-of-sensitive-information # If the analyze step fails for one of the languages you are analyzing with # "We were unable to automatically build your code", modify the matrix above