# External issues ignored

**URL:** <https://community.sonarsource.com/t/external-issues-ignored/107794>\
**Category:** SonarQube Server / Community Build\
**Created:** [January 22, 2024, 4:45pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794 "2024-01-22T16:45:50Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasee](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vasee](https://community.sonarsource.com/u/vasee)\
**Post date:** [January 22, 2024, 4:45pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/1 "2024-01-22T16:45:50Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)  
SonarQube enterprise 9.9.1, scanner 5.0.1
- how is SonarQube deployed: zip, Docker, Helm  
Docker
- what are you trying to achieve  
Scan the report json file and display the items from issues array
- what have you tried so far to achieve this

**Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!**

In my project we use a external analyser which generates a report in json, I’m try to scan the report and show it in sonarqube but when I’m scanning I get error like:  
**“External issues ignored for 1 unknown files, including:/file/path/filename.mp”**  
and other report also throws similar error.  
I’m running the scanner in different location just with the report.json file with me.  
I use docker sonarscanner.  
Although the file extension is not supported by sonar, and I don’t have the project files (I have only the report.json file with me), I need to run the scanner and extract the content from issues report json file and display it.  
can anyone please help me?

---

<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:** [January 23, 2024, 4:35pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/2 "2024-01-23T16:35:10Z")

</div>

Hi,

Welcome to the community!

> [@vasee](#):
>
> I don’t have the project files (I have only the report.json file with me)

This simply isn’t going to work. Analysis attaches issues to files. Without the files, there’s nowhere to attach the issues.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![vasee](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vasee](https://community.sonarsource.com/u/vasee)\
**Post date:** [January 24, 2024, 2:48am UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/3 "2024-01-24T02:48:47Z")

</div>

Ok, let say Even if I have access to the files, they are not recognized by the SonarQube, the files that I work with has different extensions and those languages/files are not recognized by sonar, but we have a external analyzer that generates the issues report json for sonarqube. can you plz suggest any work arounds?

---

<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:** [January 24, 2024, 12:34pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/4 "2024-01-24T12:34:27Z")

</div>

Hi,

Try setting your file extensions in the Secrets “Language” in the List of file path patterns to include.

&nbsp;  
HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![vasee](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vasee](https://community.sonarsource.com/u/vasee)\
**Post date:** [January 24, 2024, 1:22pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/5 "2024-01-24T13:22:52Z")

</div>

But I use sonar 9.9 I don’t see secrets lang support in the 9.9 docs… Does it support?

---

<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:** [January 24, 2024, 1:24pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/6 "2024-01-24T13:24:59Z")

</div>

Hi,

Ah. Secrets detection was added in 10.3.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![vasee](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vasee](https://community.sonarsource.com/u/vasee)\
**Post date:** [January 24, 2024, 1:30pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/7 "2024-01-24T13:30:45Z")

</div>

Yeah, so can I do something else with my version?

---

<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:** [January 24, 2024, 2:01pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/8 "2024-01-24T14:01:14Z")

</div>

Hi,

Your other option is to create a plugin to recognize and analyze your language. Upgrading would be easier. 😃

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![vasee](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vasee](https://community.sonarsource.com/u/vasee)\
**Post date:** [January 24, 2024, 2:31pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/9 "2024-01-24T14:31:52Z")

</div>

Any docs or guides I can refer to for the development of custom lang plugin? Also I have an analysed report of the files just need help in figuring out how to attaches issues to files…

---

<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:** [January 24, 2024, 3:56pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/10 "2024-01-24T15:56:36Z")

</div>

Hi,

> [@vasee](#):
>
> Any docs or guides I can refer to for the development of custom lang plugin?

There are not. Your best bet is to look at an open-source analyzer and follow its pattern.

Really, your best bet is to upgrade.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![vasee](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vasee](https://community.sonarsource.com/u/vasee)\
**Post date:** [January 24, 2024, 6:28pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/11 "2024-01-24T18:28:59Z")

</div>

Figured a way for attaching issues with files, but now struggling with scanning files under .dir folder,  
basically scanner is ignoring the folders that begin with “.” any suggestions?

---

<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:** [January 24, 2024, 6:37pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/12 "2024-01-24T18:37:11Z")

</div>

Hi,

Check your analysis log. Are those files ignored by your SCM? If so, analysis is likely ignoring them too.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![vasee](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vasee](https://community.sonarsource.com/u/vasee)\
**Post date:** [January 24, 2024, 6:40pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/13 "2024-01-24T18:40:17Z")

</div>

No those files are tracked in git, it’s just scanner is ignoring them.

---

<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:** [January 24, 2024, 6:44pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/14 "2024-01-24T18:44:25Z")

</div>

Hi,

If you want to dig into that you should create a new thread with all the details.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![vasee](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vasee](https://community.sonarsource.com/u/vasee)\
**Post date:** [January 24, 2024, 7:12pm UTC](https://community.sonarsource.com/t/external-issues-ignored/107794/15 "2024-01-24T19:12:07Z")

</div>

will do that, Thanks!!
