Skip to content

Commit 61377ba

Browse files
authored
Exclude false CodeQL warnings
1 parent d99d351 commit 61377ba

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ jobs:
7171
with:
7272
languages: ${{ matrix.language }}
7373
build-mode: ${{ matrix.build-mode }}
74-
# If you wish to specify custom queries, you can do so here or in a config file.
75-
# By default, queries listed here will override any specified in a config file.
76-
# Prefix the list here with "+" to use these queries and those in the config file.
77-
78-
# 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
79-
# queries: security-extended,security-and-quality
74+
config: |
75+
query-filters:
76+
- exclude:
77+
id: rust/hard-coded-cryptographic-value
78+
- exclude:
79+
id: rust/cleartext-logging-of-sensitive-information
8080
8181
# If the analyze step fails for one of the languages you are analyzing with
8282
# "We were unable to automatically build your code", modify the matrix above

0 commit comments

Comments
 (0)