diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml index d0376a1b2..91a8dce37 100644 --- a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml +++ b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml @@ -3,8 +3,10 @@ name: "Check SARIF for default queries with Single include, Single exclude" query-filters: # This should run js/path-injection and js/zipslip - include: - tags contain: external/cwe/cwe-022 + tags contain: + - external/cwe/cwe-022 # Removes js/path-injection - exclude: - id: js/path-injection + id: + - js/path-injection diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml index 8f9321c86..b4d258a99 100644 --- a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml +++ b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml @@ -10,12 +10,15 @@ packs: query-filters: # This should run js/path-injection and js/zipslip - include: - tags contain: external/cwe/cwe-022 + tags contain: + - external/cwe/cwe-022 # Removes js/path-injection - exclude: - id: js/path-injection + id: + - js/path-injection # Query from extra pack - include: - id: javascript/example/empty-or-one-block + id: + - javascript/example/empty-or-one-block diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml index e3ec3b32d..2f00b2832 100644 --- a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml +++ b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml @@ -20,16 +20,20 @@ packs: query-filters: # This should run js/path-injection and js/zipslip - include: - tags contain: external/cwe/cwe-022 + tags contain: + - external/cwe/cwe-022 # Removes js/path-injection - exclude: - id: js/path-injection + id: + - js/path-injection # Query from extra pack - include: - id: javascript/example/empty-or-one-block + id: + - javascript/example/empty-or-one-block # Local query - include: - id: inrepo-javascript-querypack/show-ifs + id: + - inrepo-javascript-querypack/show-ifs