Available Search Criteria for Building Codebase Filters
Code Insight provides the following search criteria on which to build codebase search filters in the Analysis Workbench.
note
A Code Insight scan-agent plugin on a remote system currently reports only license evidence for its scanned files. The fields applicable for searching these scanned files are limited the following: File Size, File Path, File Digest, Review Status, Inventory Status, Evidence status, Has license matches, Does not have license matches, License.
| Criterion Type | Available Criterion | Operation | Criterion Value | Criterion will filter to those files with... |
|---|---|---|---|---|
| File Properties | File Size (in KB)* | Select < or >. | Enter or select the file-size. | A size is less than or greater than the specified size. |
| File Path* | Select Contains, Ends With, or Doesn’t Contain. | Enter the file-path string or partial string. | A path containing a match to the specified string. | |
| Reviewed Status* | Only = is available. | Select Reviewed or Unreviewed. | The selected review status. | |
| File Digest* | Only = is available. | Enter the file’s MD5 value. | The exact MD5 specified. | |
| Evidence Status | Only = is available. | Select Has Evidence, Has New Evidence (since last scan), or Has No Evidence. | ||
| Inventory Status* | Only = is available. | Select one status: In Inventory—Files associated with inventory. Not in inventory—Files not associated with inventory. Low Confidence File Inventory—Files associated with low-confidence inventory. See Inventory Confidence for details. | The selected inventory status. | |
| Scan Status | Only = is available. | Select one: Successfully Scanned—Files that were successfully scanned in the most recent scan. Conversely, this criterion is helpful in determining which files were not scanned in certain situations (for example, if you were forced to stop the scan before it finished or if the Scan Server crashed). Skipped Source Matching—Files that were ignored during source-code matching. | The selected scan status. | |
| File Evidence— Source Matches | Has Source Matches | — | — | Source-code snippets that match snippets of open-source or third-party files stored in the Code Insight Compliance Library. |
| Does Not Have Source Matches | — | — | No evidence of such source-code snippets. | |
| File Evidence— Search Term Matches | Has Search Term Matches | — | — | The specified search-term string. (Search terms, defined in the scan profile, are used to identify open-source or third-party evidence in codebase files.) |
| Does Not Have Search Term Matches | — | — | No evidence of the specified search term. | |
| Search Term | Select = or Contains. | Enter the full search-term or a partial search-term string. | — | |
| File Evidence— License Matches | Has License Matches | — | — | Evidence of the open-source or third-party license selected for License. |
| Does Not Have License Matches | — | — | No evidence of the selected license. | |
| License | Only = is available. | Select the open-source or third-party license by which to filter codebase files. | — | |
| File Evidence— Exact Matches | Has Exact Matches | — | — | Entire content that exactly matches the content of open-source or third-party files stored in the Code Insight Compliance Library. |
| Does Not Have Exact Matches | — | — | No exact match to the entire content of any open-source or third-party file in the Compliance Library. | |
| File Evidence— Email/URL Matches | Has Email/URL Matches | — | — | Evidence of the open-source or third-party email address or URL specified for Email/URL. |
| Does Not Have Email/URL Matches | — | — | No evidence of the specified email or URL. | |
| Email/URL | Select = or Contains. | Enter the open-source or third-party email or URL (or partial value) by which to filter codebase files. | — | |
| File Evidence—Copyright Matches | Has Copyright Matches | — | — | Evidence of the copyright holder (specified for Copyright Holder) or copyright statement (specified for Copyright Statement). |
| Does Not Have Copyright Matches | — | — | No evidence of the specified copyright or copyright holder. | |
| Copyright Holder | Select = or Contains. | Enter the open-source or third-party copyright holder (or partial value) by which to filter codebase files. | — | |
| Copyrights | Select = or Contains. | Enter the open-source or third-party copyright statement (or partial value) by which to filter codebase files. | — |
* Criterion currently supported for searches on scanned remote files (that is, files scanned by a Code Insight scan-agent plugin on a remote system).