SonarQube Build fails when using UserDefaults Key

Hello Team,
We are using the Enterprise SonarQube.

In case of my Swift project i’m using the UserDefaults to store a particular data which is not a sensitive inform, but needed.
But when ever i try use UserDefaults, SonarQube reports saying:
Files may contain hardcoded sensitive information like usernames, passwords, keys etc. [key = "xxxxx" ].
And because of which the status of build always fails.

Any way i can fix this issue?

Hey there.

I’m not familiar with this specific rule. Can you share a screenshot of the issue?