Sonatype Support may ask you to get a raw application report from IQ Server. A raw report contains detailed information about an application report that we can use to help us solve report related tickets.
The REST API to generate a RAW report in JSON format is documented:
https://help.sonatype.com/en/report-rest-api.html#raw-component-s-data-by-report-rest-api--v2-
Manually Generating A Raw Report JSON Using a Web Browser
Download a video demo of this procedure.
Step 1: Open an Application Report in the IQ Server UI
- Open your web browser.
- Navigate to the specific IQ Server report you want to download.
- Example URL:
https://iq.example.com/assets/index.html#/applicationReport/myapplication/38ef4d1f0d184466a8cc77d9459bffb4/policy
Step 2: Extract Application ID and Report ID
- From the example above:
-
Application ID:
myapplication -
Report ID:
38ef4d1f0d184466a8cc77d9459bffb4
Step 3: Construct the API URL
- Use this format:
https://<iq-server>/api/v2/applications/<applicationId>/reports/<reportId>/raw https://<iq-server>/api/v2/applications/<applicationId>/reports/<reportId>/policy
- Example using the IDs above:
https://iq.example.com/api/v2/applications/myapplication/reports/38ef4d1f0d184466a8cc77d9459bffb4/raw https://iq.example.com/api/v2/applications/myapplication/reports/38ef4d1f0d184466a8cc77d9459bffb4/policy
Step 4: Open the API URL in a Web Browser
- Paste the full API URL into your browser address bar.
- Press Enter.
- You should see JSON data displayed in the browser window.
Step 5: Save the Report Output
- Go to your browser menu.
- Select File → Save Page As…
- Save the file as a JSON file (example:
myapplication-raw-report.json,myapplication-policy-report.json).
Step 6: Attach to Support Ticket
- Open your Sonatype Support ticket.
- Attach the saved JSON file to your support ticket.
- Include any relevant context or details for the issue.