# Security hotspot not shown, thus cannot be closed

**URL:** <https://community.sonarsource.com/t/security-hotspot-not-shown-thus-cannot-be-closed/60605>\
**Category:** SonarQube Server / Community Build\
**Tags:** security-hotspot, sonarqube\
**Created:** [March 28, 2022, 9:48am UTC](https://community.sonarsource.com/t/security-hotspot-not-shown-thus-cannot-be-closed/60605 "2022-03-28T09:48:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![FinnH](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@FinnH](https://community.sonarsource.com/u/FinnH)\
**Post date:** [March 28, 2022, 9:48am UTC](https://community.sonarsource.com/t/security-hotspot-not-shown-thus-cannot-be-closed/60605/1 "2022-03-28T09:48:53Z")

</div>

Hi there,

We’ve run into the following problem in one particular project since we upgraded from the 8.9.6 → 8.9.7

- versions used (SonarQube, Scanner, Plugin, and any relevant extension)  
SonarQube Developer Edition  
Version: 8.9.7.52159  
Date: 2022-03-28

- error observed (wrap logs/code around triple quote ``` for proper formatting)  
The Quality Gate fails in one project because there are unresolved Security Hotspots, but the GUI won’t show the unresolved Hotspots.

 ![Screenshot-20220328114343-2662x988](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/2/3/2398e4c49d2437c90e36b0c12531f17e4b77fdc2.png)  
 ![Screenshot-20220328114333-2594x810](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/5/f/5fc25e1e063625165392c502cef5e3af861d7d25.png)

- steps to reproduce  
Unknown. This happens only in one project so far, since we upgraded from 8.9.6 to the 8.9.7 LTS.

- potential workaround  
Disabling the Quality Gate every time a merge has to be done or allow merges with failed Quality Gates.

Has anyone hit a similar problem or knows how to resolve this? I would also be happy to share further debug information.

Cheers,  
Finn

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 28, 2022, 3:53pm UTC](https://community.sonarsource.com/t/security-hotspot-not-shown-thus-cannot-be-closed/60605/2 "2022-03-28T15:53:33Z")

</div>

Hi,

Welcome to the community!

Can you double-check that you have permissions to administer Security Hotspots on this project?

&nbsp;  
Thx,  
Ann

---

<div class="post-metadata">

**Author:** ![FinnH](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@FinnH](https://community.sonarsource.com/u/FinnH)\
**Post date:** [March 28, 2022, 8:05pm UTC](https://community.sonarsource.com/t/security-hotspot-not-shown-thus-cannot-be-closed/60605/3 "2022-03-28T20:05:56Z")

</div>

Hi Ann,

yes I can confirm I’ve all required permissions.

On a deeper look it seems like the problem only occurs on our staging branch. I’ll try to delete it in sonar and run a new analysis tomorrow.

Cheers,  
Finn

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 29, 2022, 4:45pm UTC](https://community.sonarsource.com/t/security-hotspot-not-shown-thus-cannot-be-closed/60605/4 "2022-03-29T16:45:17Z")

</div>

Hi Finn,

I’ll be interested to hear what you find.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![FinnH](https://avatars.discourse-cdn.com/v4/letter/f/6f9a4e/32.png) [@FinnH](https://community.sonarsource.com/u/FinnH)\
**Post date:** [March 29, 2022, 9:53pm UTC](https://community.sonarsource.com/t/security-hotspot-not-shown-thus-cannot-be-closed/60605/5 "2022-03-29T21:53:37Z")

</div>

Deleting the branch under “Branches & Pull Requests” (it was the only one besides master which was to keep when inactive) and re-running the process did somehow solve this.

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 30, 2022, 11:40am UTC](https://community.sonarsource.com/t/security-hotspot-not-shown-thus-cannot-be-closed/60605/6 "2022-03-30T11:40:53Z")

</div>

Hi,

Thanks for the followup!

&nbsp;  
Ann
