From 39621cff48eefa9ac75bc4bb0ffff6719cd36fa8 Mon Sep 17 00:00:00 2001 From: Kiran Kumar Mallru Date: Fri, 8 Nov 2024 13:35:32 +0530 Subject: [PATCH] added query-filters --- .github/workflows/codeql-analysis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1f9c79b93..cdd1a093c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -51,7 +51,13 @@ jobs: uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} - config-file: .github/workflows/codeql-config.yml + config: | + query-filters: + - exclude: + id: java/URL-forward-from-remote-source + - exclude: + id: java/Disabled-Spring-CSRF-protection + # 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.