Skip to content

Commit 4956eaf

Browse files
committed
Exclude java/spring-disabled-csrf-protection rule
1 parent b3ac14c commit 4956eaf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ on:
2020
schedule:
2121
- cron: '28 3 * * 1'
2222

23+
query-filters:
24+
# The application uses non-browser clients. Yes, there is swagger interface,
25+
# but is's used only for testing/tuning.
26+
#
27+
# From https://docs.spring.io/spring-security/reference/features/exploits/csrf.html
28+
# "If you are creating a service that is used only by non-browser clients,
29+
# you likely want to disable CSRF protection."
30+
- exclude: java/spring-disabled-csrf-protection
31+
2332
jobs:
2433
analyze:
2534
name: Analyze

0 commit comments

Comments
 (0)