# License threat - nexus not finding all libraries (AGPL)

**URL:** <https://community.sonatype.com/t/license-threat-nexus-not-finding-all-libraries-agpl/11655>\
**Category:** Sonatype Nexus Repository\
**Created:** [November 24, 2023, 8:47am UTC](https://community.sonatype.com/t/license-threat-nexus-not-finding-all-libraries-agpl/11655 "2023-11-24T08:47:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![krzysztof.zimnicki](https://avatars.discourse-cdn.com/v4/letter/k/43a26b/32.png) [@krzysztof.zimnicki](https://community.sonatype.com/u/krzysztof.zimnicki)\
**Post date:** [November 24, 2023, 8:47am UTC](https://community.sonatype.com/t/license-threat-nexus-not-finding-all-libraries-agpl/11655/1 "2023-11-24T08:47:17Z")

</div>

Hi

My company utilizes Nexus Pro, and I am currently attempting to identify all libraries in our repository that pose a licensing threat. While I have managed to identify some through the “Security Vulnerability Summary,” it seems to only detect one AGPL library. I strongly believe there are more such libraries in our repository.

**Security Vulnerability Summary** :

 ![image](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/2X/4/4be9c99738e4207bec822e8f89de2fc91fbfe732.jpeg)

Conclusion:  
com.itextpdf.tool.xmlworker != com.itextpdf.itextpdf

This leads me to thinking that something may not working as expected. Any clue what we can improve here?

---

<div class="post-metadata">

**Author:** ![msingh](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/msingh/32/1732_2.png) [@msingh](https://community.sonatype.com/u/msingh)\
**Post date:** [November 24, 2023, 6:36pm UTC](https://community.sonatype.com/t/license-threat-nexus-not-finding-all-libraries-agpl/11655/2 "2023-11-24T18:36:57Z")

</div>

Hi Krzys,

Welcome to the Sonatype community! Thanks for sharing this.

If I understand correctly, you suspect other libraries/components with AGPL licenses are not detected by the Repository health check. While I don’t have any helpful tips, I recommend contacting support to get Sonatype support to look at any data issues.

I am also curious if you would be interested in blocking AGPL-licensed libraries from entering your repositories automatically in the future and how you are dealing with these right now. Please let me know.

Thanks,  
Mandy Singh  
PM, Repository Firewall.

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [November 27, 2023, 7:58pm UTC](https://community.sonatype.com/t/license-threat-nexus-not-finding-all-libraries-agpl/11655/3 "2023-11-27T19:58:48Z")

</div>

> [@krzysztof.zimnicki](#):
>
> This leads me to thinking that something may not working as expected. Any clue what we can improve here?

I think this is something your support contact should submit a support ticket about to investigate. There is a limit to the number of artifacts that Repository Health Check will evaluate (though I recall a visual warning in this case).

---

<div class="post-metadata">

**Author:** ![krzysztof.zimnicki](https://avatars.discourse-cdn.com/v4/letter/k/43a26b/32.png) [@krzysztof.zimnicki](https://community.sonatype.com/u/krzysztof.zimnicki)\
**Post date:** [November 28, 2023, 8:27am UTC](https://community.sonatype.com/t/license-threat-nexus-not-finding-all-libraries-agpl/11655/4 "2023-11-28T08:27:27Z")

</div>

Hi Matthew & Mandeep

Thank you for your answers.

I’m currently trying to contact support about this issue.  
I think this idea around the limit, might be correct, because I can see on the left side this 5k limit:

 ![image](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/2X/a/abc014ed0b91096196978113915327770b162de4.png)

About the blocking AGPL licenses.  
We would like to do it, currently checking different spaces: Sonarqube and Trivy to understand our options here. The idea here is to have something on the service deployment pipeline, which may block or warn engineer about the potential license threat.

---

<div class="post-metadata">

**Author:** ![ingmar.vis](https://avatars.discourse-cdn.com/v4/letter/i/4af34b/32.png) [@ingmar.vis](https://community.sonatype.com/u/ingmar.vis)\
**Post date:** [December 3, 2023, 8:33am UTC](https://community.sonatype.com/t/license-threat-nexus-not-finding-all-libraries-agpl/11655/5 "2023-12-03T08:33:15Z")

</div>

Did you check the configuration of the License Threat Groups?

---

<div class="post-metadata">

**Author:** ![ingmar.vis](https://avatars.discourse-cdn.com/v4/letter/i/4af34b/32.png) [@ingmar.vis](https://community.sonatype.com/u/ingmar.vis)\
**Post date:** [December 3, 2023, 8:33am UTC](https://community.sonatype.com/t/license-threat-nexus-not-finding-all-libraries-agpl/11655/6 "2023-12-03T08:33:39Z")

</div>

It could be that there are a lot of licenses unselected in your license threat groups

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [December 4, 2023, 3:40pm UTC](https://community.sonatype.com/t/license-threat-nexus-not-finding-all-libraries-agpl/11655/7 "2023-12-04T15:40:03Z")

</div>

Ingmar those suggestions may be useful for IQ Server, however in this case the user has noticed the issue in the Nexus Repository feature Repository Health Check which doesn’t provide those controls.
