Remove debug mode from Spring Security

Proprietary

Removes the debug attribute from @EnableWebSecurity annotations to prevent sensitive security information from being logged in production.

org.openrewrite.java.security.spring.RemoveEnableWebSecurityDebug
mod run . --recipe=org.openrewrite.java.security.spring.RemoveEnableWebSecurityDebug

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Remove annotation attribute @EnableWebSecurity(debug)