# Sonarqube 7.9 showing integer value as log tainted in spring controller

**URL:** <https://community.sonarsource.com/t/sonarqube-7-9-showing-integer-value-as-log-tainted-in-spring-controller/34823>\
**Category:** Report False-positive / False-negative...\
**Tags:** security, java\
**Created:** [November 22, 2020, 5:46pm UTC](https://community.sonarsource.com/t/sonarqube-7-9-showing-integer-value-as-log-tainted-in-spring-controller/34823 "2020-11-22T17:46:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmaheshvm](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/vmaheshvm/32/17125_2.png) [@vmaheshvm](https://community.sonarsource.com/u/vmaheshvm)\
**Post date:** [November 22, 2020, 5:46pm UTC](https://community.sonarsource.com/t/sonarqube-7-9-showing-integer-value-as-log-tainted-in-spring-controller/34823/1 "2020-11-22T17:46:00Z")

</div>

We are using sonarqube version 7.9  
In a spring rest controller, we are getting two integers, one as @RequesteHeader and other is @RequestParam  
For String values, we got issue as

> Refactor to not to log tainted, user controlled data

that we fixed it. Now SQ is showing same error for Integers also  
is it correct one?  
please clarify us, what is expectation

---

<div class="post-metadata">

**Author:** ![Alexandre\_Gigleux](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/alexandre_gigleux/32/26_2.png) [@Alexandre\_Gigleux](https://community.sonarsource.com/u/Alexandre_Gigleux)\
**Post date:** [November 23, 2020, 1:10pm UTC](https://community.sonarsource.com/t/sonarqube-7-9-showing-integer-value-as-log-tainted-in-spring-controller/34823/2 "2020-11-23T13:10:45Z")

</div>

Hello,

Thanks for the feedback. This problem has been already fixed with SonarQube 8.2.  
It’s recommended to use the latest version of SonarQube Developer Edition to get the best of our SAST engine.

Regards  
Alex

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [April 8, 2021, 8:51am UTC](https://community.sonarsource.com/t/sonarqube-7-9-showing-integer-value-as-log-tainted-in-spring-controller/34823/3 "2021-04-08T08:51:56Z")

</div>

Closed on April 8, 2021, 8:51am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
