Hello Freddy,
First, sorry for the delay to get back to you, I completely missed your message.
As of today, it’s not possible to tell to SonarCloud that you have custom methods that are there to sanitize your data flow. In the background of SonarCloud, there is our taint analyzer that is relying on configuration files to decide if your data flow is safe and that no tainted data can reach a security-sensitive API that could be used by a hacker. As of now, these configurations can’t be changed by SonarCloud users while this is possible if you are using SonarQube Enterprise Edition. See https://docs.sonarqube.org/latest/analysis/security_configuration/
Maybe we will provide this feature on SonarCloud in the future, let’s see. Meanwhile, I think the best would be to share some code samples showing how you are sanitizing your data flow so we can look at them and update if possible, the embedded/default configuration.
Regards