0

When I use Sonarqube to scan my code, I get a Security Hotspot issue (Make sure that this logger's configuration is safe) for the following line:

serviceCollection.AddSingleton(new LoggerFactory().AddLambdaLogger(loggerOptions));

How would I resolve this issue?

2br-2b
  • 395
  • 2
  • 5
  • 13
  • You may want to check out https://stackoverflow.com/questions/55182098/sonar-issue-make-sure-that-this-loggers-configuration-is-safe – 2br-2b Sep 07 '21 at 17:04
  • 2
    Does this answer your question? [Sonar issue: Make sure that this logger's configuration is safe](https://stackoverflow.com/questions/55182098/sonar-issue-make-sure-that-this-loggers-configuration-is-safe) – Franckentien Feb 06 '23 at 13:01

0 Answers0