Setting Up a Global Component Search

From the Global Component & License Lookup > Components tab (see Accessing the Global Component & License Lookup Feature), use any one of these search mechanisms by which to search the Code Insight Library for specific OSS and third-party components:

Keyword
URL
Forge

Use the Forge or URL search to obtain the most targeted search results. The Keyword search can provide a broader set of results to explore.

Keyword

Use the Keyword option to search components by their name in the Code Insight data library. For the search criterion, enter one or more character strings found in a component name. Multiple strings must be separated with spaces (not commas) and can be listed in any order, as in the following example:

tomcat apache 

The search will filter to only those component names that contain all the strings entered for the Keyword field.

Note:The search is case-insensitive, so it filters to all such components, no matter the upper or lower case used in the strings in the Keyword field or in the actual component name.

In general, the name of a component is a unique identifier that can be based on the project, package, or gem name of the component or on another convention such as the component’s author or repository. For your reference, the following shows the common conventions used for component names in the various forges:

Github— <AUTHOR>-<REPOSITORY_NAME>, for example “jquery-jquery-ui”
NuGet Gallery— <PACKAGE_NAME>, for example “newtonsoft.json”
Apache— <PROJECT_NAME>, for example “apache-batik”
Pypi—<PACKAGE_NAME>, for example “hash_ring”
RubyGems— <GEM_NAME>, for example “x-editable-rails”
GitLab—<AUTHOR/ORGANIZATION>-<REPOSITORY_NAME>, for example:
“cryptsetup-cryptsetup” (as found in component URL: https://gitlab.com/cryptsetup/cryptsetup)
“redhat-bison” (as found in component URL: https://gitlab.com/redhat/centos-stream/rpms/bison)
Other— <PROJECT_NAME>, for example “openssl”

To search for components by a keyword, do the following:

1. On the Global Component & License Lookup > Components tab, select the Keyword option.
2. In the Keyword field, enter one or more character strings found in the name of the component(s) for which you are searching. For more information about this value, see the introductory content (just above) in this section.
3. Click Search.

Note: If a component that you want to explore is not available with the keyword search, try the URL or forge search. If you are still unable to locate the component, the component might not exist in the Code Insight data library.

URL

If you know the URL of the forge containing the components you want to locate, you can use the URL search option. For the URL value, you can enter the complete path for the forge, such as https://github.com/jquery/jquery, or a string in the path, such as jquery.

To search for components by the forge path, do the following:

1. On the Global Component & License Lookup > Components tab, select the URL option.
2. In the URL field, enter the forge path (or a partial string in the forge path) for the component(s) you want to locate.

Note:The search is case-insensitive, so the results will include all components with a matching forge path or path string (whichever criterion you entered in the URL field), no matter the upper or lower case used in the criterion or in the actual component path.

3. Click Search.

Forge

Use the Forge option to search for a specific component if you know the exact name of its forge and third-party project/repository.

To search for a specific component by the name of its forge and project/repository, do the following:

1. On the Global Component & License Lookup > Components tab, select the Forge option.
2. From the Forge dropdown list, select the forge that contains the component for which you are searching.
3. In the additional field(s) associated with the forge, identify component’s third-party project/repository.
4. Click Search.