Scan Agent Plugins
The following new features and enhancements are available for Code Insight scan-agent plugins.
Incremental Scanning
Scan-agent plugins now support incremental rescans.
Note:After the scan agent runs the initial full scan on a remote file system, all subsequent rescans on the file system are incremental (that is, the scan agent scans only those files that are new or have changed since the last scan). No forced full rescans are allowed.
Scan Exclusions, Dependency Support, and Archive Processing Settings from Project Scan Profile Now Honored
During a scan on a remote file system, a scan-agent plugin now processes the following settings from the scan profile currently associated with the Code Insight project that stores the scan results.
• | Dependency Support, which determines the how the scan handles dependencies of the top-level inventory item: |
• | Processes direct (first-level) dependencies only |
• | Processes both direct and transitive dependencies |
• | Performs no dependency processing |
• | Scan Exclusions, which determines which files the scan will ignore. |
• | Perform Package/License Discovery in Archives, which enables the processing of archives. |
Scan-agent plugins ignore the settings in the profile that deal with the matching of code against the Code Insight data library: Exact Matches, Source Code Matches, and Search Terms. The plugins also ignore Rescan Options and Automatically Add Related Files to Inventory.
For more information, see “Preparing to Use the Plugins” in the Code Insight Plugins Guide.
Note:Scan-agent plugins released prior to 2022 R2 are still compatible with Code Insight 2022 R2 and later. However, they do not process scan profile settings, including settings for dependency processing, scan exclusions, and archive processing. Also, when using a pre-2022 R2 plugin to scan files in Code Insight 2022 R2 or later, dependency processing with use of a codeaware.properties file is no longer supported.