REST APIs

The following are known issues with the Code Insight REST interface.

See also SCA-53390: Project-level suppressed vulnerabilities getting fetched by the “Get suppressed vulnerabilities” REST API in the Vulnerability Suppression and Unsuppression section.

SCA-52409: Execution of the same configured “Update inventory” REST API triggering automatic review

When you call the Update inventory REST API to update a specific inventory item, an automatic review (by policy) is automatically triggered on the item once the update is complete. (The review is triggered only if the inventory’s component, license, or usage properties were edited.) However, if you call this API again on the inventory item even though no attributes of the item have changed since the previous update, the review is erroneously triggered again. The policy should not be triggered again since no new edits have occurred.

Workaround: None exists

SCA-16508: Swagger page hangs when required API parameters are missing

Instead of producing an appropriate error message, a Swagger page can hang when you attempt to execute an API without providing required parameters.

Workaround: None exists.

SCA-7950: Page and size parameters are not working with some REST APIs

Limiting the result set returned by some REST APIs is not currently supported. Using the page and size parameters with the Component Lookup and Get Project Inventory APIs (and possibly others) returns the full result set.

Workaround: None exists.

SCA-54968: Discrepancy between Provenance ID value in Inventory History window and GET Inventory Details API response

For an inventory item in the target project, the Provenance ID value displayed in the Inventory History window in code Insight user interface fails to sync with the Provenance ID value reflected in the GET Inventory Details REST API response.

workaround: None exists

SCA-55151: Project Reviewer is unable to update the inventory priority from Update Inventory API

Project Reviewers fails to update the priority value of an inventory item via the Update Inventory REST API.

Workaround: Project Reviewers can use the Code Insight user interface to update the priority values of inventory items.