# Retrieve ReportId from Maven-Plugin

**URL:** <https://community.sonatype.com/t/retrieve-reportid-from-maven-plugin/10198>\
**Category:** Sonatype Lifecycle & Firewall\
**Tags:** integrations\
**Created:** [February 27, 2023, 7:29am UTC](https://community.sonatype.com/t/retrieve-reportid-from-maven-plugin/10198 "2023-02-27T07:29:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mfrost](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/mfrost/32/1701_2.png) [@mfrost](https://community.sonatype.com/u/mfrost)\
**Post date:** [February 28, 2023, 9:18pm UTC](https://community.sonatype.com/t/retrieve-reportid-from-maven-plugin/10198/2 "2023-02-28T21:18:12Z")

</div>

Hey @wiesner.christian - I reached out to our Integrations team about this. You can generate a result file for the `evaluate` goal by using the `clm.resultFile` parameter.

For example…

` mvn ... com.sonatype.clm:clm-maven-plugin:evaluate ... -Dclm.resultFile=result.json`

You can open the `result.json` file and look for the “reportHtmlUrl” entry; its value is the link to the application report, and the last path segment is the report ID (e.g. `0cdd1cbeff4e4c34afcda69a043e4b38` below).

`{ "applicationId" : "local-iq-app", "scanId" : "0cdd1cbeff4e4c34afcda69a043e4b38", "reportHtmlUrl" : "http://localhost:8070/ui/links/application/local-iq-app/report/0cdd1cbeff4e4c34afcda69a043e4b38", ... }`

Hopefully that helps some!

---

_[View the full topic](https://community.sonatype.com/t/retrieve-reportid-from-maven-plugin/10198)._
