I'm getting a Sonar CSRF Security Hotspot complaint on a Spring Boot code with Spring Security enabled that needs to be reviewed every then and now, and I would like to suppress the hotspot from the code as in
- @SuppressWarnings("squid:x")
- sonar.cpd.exclusions
- sonar.coverage.exclusions
but as it it not a rule it has no id, at least on the screen
How can I silence this warning on the server from the code?