Vulnerability Contextual Analysis is disabled by default for new artifacts in all resources that are marked for indexing by Xray. To enable, do the following:
In Classic Navigation, navigate to the Administration module, go to Xray Settings | General and click Indexed Resources.
In New Navigation, navigate to the Administration module, go to Xray Settings and click Indexed Resources.
Select the repository or build and select Configure.
Enable the Vulnerability Contextual Analysis option.
Note
Contextual Analysis is applied on new scans only, and not on existing scans. The analysis will run on indexed resources, however, it will not run on the Index Artifacts History. For more information, see Indexing Xray Resources.
Starting from Xray version 3.66.x and above, you can scan an existing artifact for Vulnerability Contextual Analysis.
Take note that in some cases, as deep scanning is involved, the scan might take longer to complete.