Managing Custom Detection Rules
During a Code Insight project scan, the Automated Analysis component of the Scan Server uses a set of internal detection rules, stored in the Code Insight Data Library, to automatically generate inventory items.
During your manual analysis, you might find that one or more codebase files that indicate the presence of specific third-party or OSS component are not being associated with any inventory in your projects. Either the file is missing from an existing inventory item based on the component, or the inventory item is missing from your projects altogether.
Code Insight enables you to create a custom detection rule based on your findings to ensure that, when the rule’s file criteria for detecting a specific component match files in the codebase, the appropriate inventory item is generated during a scan. These rules are saved to the Code Insight Data Library for global use by Automated Analysis during subsequent scans and rescans.
The following sections provide more information about managing custom detection rules: