Skip to main content

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 TypeAvailable CriterionOperationCriterion ValueCriterion will filter to those files with...
File PropertiesFile 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 StatusOnly = 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 StatusOnly = 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 MatchesHas Source MatchesSource-code snippets that match snippets of open-source or third-party files stored in the Code Insight Compliance Library.
Does Not Have Source MatchesNo evidence of such source-code snippets.
File Evidence— Search Term MatchesHas Search Term MatchesThe 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 MatchesNo evidence of the specified search term.
Search TermSelect = or Contains.Enter the full search-term or a partial search-term string.
File Evidence— License MatchesHas License MatchesEvidence of the open-source or third-party license selected for License.
Does Not Have License MatchesNo evidence of the selected license.
LicenseOnly = is available.Select the open-source or third-party license by which to filter codebase files.
File Evidence— Exact MatchesHas Exact MatchesEntire content that exactly matches the content of open-source or third-party files stored in the Code Insight Compliance Library.
Does Not Have Exact MatchesNo exact match to the entire content of any open-source or third-party file in the Compliance Library.
File Evidence— Email/URL MatchesHas Email/URL MatchesEvidence of the open-source or third-party email address or URL specified for Email/URL.
Does Not Have Email/URL MatchesNo evidence of the specified email or URL.
Email/URLSelect = or Contains.Enter the open-source or third-party email or URL (or partial value) by which to filter codebase files.
File Evidence—Copyright MatchesHas Copyright MatchesEvidence of the copyright holder (specified for Copyright Holder) or copyright statement (specified for Copyright Statement).
Does Not Have Copyright MatchesNo evidence of the specified copyright or copyright holder.
Copyright HolderSelect = or Contains.Enter the open-source or third-party copyright holder (or partial value) by which to filter codebase files.
CopyrightsSelect = 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).