-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WFPREV-145 API entity model #275
base: main
Are you sure you want to change the base?
Conversation
http | ||
.csrf(AbstractHttpConfigurer::disable) |
Check failure
Code scanning / CodeQL
Disabled Spring CSRF protection High test
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix AI 7 days ago
To fix the problem, we need to enable CSRF protection in the securityFilterChain
method. This can be done by removing the line that disables CSRF protection. This change ensures that the application is protected against CSRF attacks without altering the existing functionality.
@@ -40,3 +40,2 @@ | ||
http | ||
.csrf(AbstractHttpConfigurer::disable) | ||
.authorizeHttpRequests(auth -> auth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignorable error, this is for the test config only
I merged a couple of changes I forgot to add, so this will need an update from the original PR, fyi |
b9ded32
to
a7b894d
Compare
…commands, gitignore
…commands, gitignore
Quality Gate passedIssues Measures |
No description provided.