# Analyzing Github Code

**URL:** <https://community.sonarsource.com/t/analyzing-github-code/103051>\
**Category:** SonarQube Server / Community Build\
**Created:** [October 22, 2023, 6:40pm UTC](https://community.sonarsource.com/t/analyzing-github-code/103051 "2023-10-22T18:40:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KRATOOS01](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/kratoos01/32/50698_2.png) [@KRATOOS01](https://community.sonarsource.com/u/KRATOOS01)\
**Post date:** [October 22, 2023, 6:40pm UTC](https://community.sonarsource.com/t/analyzing-github-code/103051/1 "2023-10-22T18:40:39Z")

</div>

Hi guys,

I’m using Sonarqube for onw week now so pls be patient with me 😉

I’m uploading ABAP code from my SAP system to Github repo which is connected to one project. As long as the files have a suffix like .abap … the code is automatically added and scanned. But when I send the code from SAP directly without manual renaming the file the files have no suffix and the code is not available in Sonaqube. Is there a way to scan all files in Github repo without filtering names / suffixes? I tried to remove the suffixes from list in the project settings but an error comes up and says at least one suffix has to be given. ‘\*’ also does not work because it indicates that there is a suffix.

There will only be ABAP code.

Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [October 23, 2023, 7:12am UTC](https://community.sonarsource.com/t/analyzing-github-code/103051/2 "2023-10-23T07:12:28Z")

</div>

Hey there.

Try configuring this as a property when you scan (either passed to the command line or included in a _sonar-project.properties_ file)

`sonar.lang.patterns.abap=**/* `

---

<div class="post-metadata">

**Author:** ![KRATOOS01](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/kratoos01/32/50698_2.png) [@KRATOOS01](https://community.sonarsource.com/u/KRATOOS01)\
**Post date:** [October 23, 2023, 11:58am UTC](https://community.sonarsource.com/t/analyzing-github-code/103051/3 "2023-10-23T11:58:35Z")

</div>

This works absolutely fine. Thanks

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/78532_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [October 30, 2023, 11:59am UTC](https://community.sonarsource.com/t/analyzing-github-code/103051/4 "2023-10-30T11:59:04Z")

</div>

Closed on October 30, 2023, 11:59am UTC

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