New APIs
The following new APIs have been added in this release:
| Resource | API Name/Endpoint | Method | Description |
|---|---|---|---|
| Rules | Disable Rules /rules/disable | PUT | Enables you to temporarily deactivate or disable the custom detection rule. This API also supports the temporary disabling of multiple custom detection rules in a single request. Only users with the Library Manager role can successfully invoke this API. |
| Rules | Enable Rules /rules/enable | PUT | Enables you to reactivate or re-enable the custom detection rule that was previously deactivated or disabled. Before using this API to re-enable a custom detection rule, ensure that the associated component, version, and license still exist in the Code Insight Data Library. This API also supports enabling multiple custom detection rules in a single request. Only users with the Library Manager role can successfully invoke this API. |
| Component | Delete a custom component /components/{id} | DELETE | Enables you to delete or remove the custom component from the Code Insight Data Library. The iD field is required to invoke this API. When a custom component is deleted, all existing inventory items that referenced the component are updated to the Work In Progress type. Only users with the Library Manager role can successfully invoke this API. |
| Component | Delete a component custom version /components/{componentId}/versions/{id} | DELETE | Enables you to delete the custom version of any component. The componentId and id fields are required to invoke this API. When a custom version for a component is deleted, all existing inventory items referencing the custom component version are updated with the Unknown version for the component. Only users with the Library Manager role can successfully invoke this API. |