spring-projects / spring-security

Spring Security
http://spring.io/projects/spring-security
Apache License 2.0
8.81k stars 5.9k forks source link

Improve Observability #10964

Open jzheaux opened 2 years ago

jzheaux commented 2 years ago

Making Spring Security's actions observable at runtime will help make applications more secure. Following recommendations from OWASP, we should:

It would be helpful to have a marker class that security events can be identified by:

When these events are fired, Spring Security should:

It can also help applications evaluate performance and usage. To that end we should:

jzheaux commented 2 years ago

Before proceeding on piping events, it's important to understand the following two scenarios: