Advanced Search
The Advanced Search feature allows you to perform searches on Lifecycle. You can define your search criteria based on:
- Organizations
- Applications
- Application Categories
- Component Labels
- Components
- Policies
- Security Vulnerabilities
Getting started with Advanced Search:
Login as System Administrator to configure Lifecycle for advanced search.
- Enable Advanced Search: This is required to make your data searchable.
- Go to System Preferences on the top right main menu bar.
- Click on Advanced Search from the list of preferences to go the Advanced Search Configuration page.
- Check the Enabled box.
- Create a Search Index: A search index is required to use the Advanced Search feature. Creating a search index is a resource-intensive operation and may take a few minutes to complete. We recommend creating the search index during minimal usage times.
- Scroll down the Advanced Search Configuration page.
- Click the Re-index button. This will create a new search index. The search index updates automatically each time the application data changes, when the Advanced Search feature is enabled.
System Administrators can create a search index from the Advanced Search configuration page accessible from the System Preferences menu or by using the Advanced Search REST API. Ensure that the Enabled check box is checked, before clicking on the Re-index button. After successfully creating a search index, you will see the last indexed time.
Automatic Re-indexing
Advanced Search automatically re-indexes when any changes are made to the following data.
- Organizations
- Applications
- Application Categories
- Component Labels
- Policies
- Security vulnerabilities
Automatic indexing only applies to data changes made while the feature is enabled. To index historical data, you must run a manual index.
Enabling Advanced Search
Advanced Search is enabled by default and the search index is created automatically.
For prior versions, after a search index has been successfully created, enable the Advanced Search feature to make it available to all users. To do this a System Administrator must enable Advanced Search through Lifecycle's UI via its configuration page.
Performing a Search
When Advanced Search is enabled, IQ Server users will have the option of performing a search.
Limit in Queries NEW IN RELEASE 136
Advanced Search feature attempts to retrieve results from large data sets comprising of multiple organizations and applications. There is an inherent risk that running Advanced Search with too many query parameters will monopolize the service resources. We have placed in-built query limits to avoid such scenarios. You will see am error message asking to narrow down the search. If narrowing down the search is not possible, you can change the query limits in the config.yml file using the following method:
For release 141 and prior, edit the config.yml file as shown below:
# 2048 is the default value maxAdvancedSearchClauseCount: 2048
For release 142 and later, configure the maxAdvancedSearchClauseCount using the Configuration REST API.
Need a video? Watch a short primer about Advanced Search at this link, or view below!