When generating reports through plugins in Code Insight, you may need to identify custom parameters used in the report generation API. This guide explains two ways to capture these parameters:
- Using the Web UI and Browser Developer Tools
- Using the Database (if you have DB access)
Method 1: Using Web UI and Browser Developer Tools
Step 1: Access Code Insight Web UI
- Log in to the Code Insight web interface.
- Navigate to Projects → Select Project → Reports Tab
Step 2: Choose the Report
- Under the Reports section, select the report you want to generate (such as SBOM Report - SPDX).
- Click Generate Selected Report or open the report options dialog.
Step 3: Open Browser Developer Tools
- Press F12 or right-click and select Inspect.
- Go to the Network tab in Developer Tools.
- Ensure XHR/Fetch requests are visible.
Step 4: Fill Report Options
- In the report options dialog, set the required values (such as Include Child Projects, Include File Details).
- Click Generate Report.
Step 5: Capture the Payload
- Switch back to the Network tab.
- Look for requests related to reports (such as
report?dc=...). - Select the request and open the Payload section.
Step 6: Identify Parameters
- Under Form Data, note all options listed below
otherProjectId. The following is an example from a screenshot:
Step 7: Draft JSON Payload
Use the captured parameters to create a JSON structure for plugin configuration:
{
"otherProjectId": null,
"options": {
"includeChildProjects": "True",
"includeNonRuntimeInventory": "False",
"includeFileDetails": "True",
"includeUnassociatedFiles": "False",
"createOtherFilesPackage": "False",
"includeCopyrightsData": "False"
}
}
Method 2: Using the Database
If you have database access, you can retrieve the parameters without generating the report:
- Navigate to the PAS_PROJECT_REPORTS table.
- Look for the REPORT_CRITERIA_ column for the report in question.
- This column contains the JSON criteria used for report generation, which includes all the parameter names and values.
Example in Jenkins Plugin
Paste the JSON under Report Options in Jenkins configuration:
Dashboard → Configure → Post-Build Actions → Report Options
Related Articles
Why custom parameters in virtual node groups show as null 2Number of Views No inventory generated when using Azure DevOps plugin 7Number of Views Unable to Run Jenkins job using Plugin in FlexNet Code Insight 10Number of Views Generating FlexNet Code Insight Thread Dumps for Support 21Number of Views 'WARN com.flexnet.codeaware.searchterms.CodebaseIndexer - Error search of term:' when using the Docker plugin 6Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago