Endor Labs performs an approximate scan in situations where dependency resolution is impossible. This can happen due to build errors or incomplete dependency information. In such cases, an approximate scan estimates dependencies based on the available, unresolved dependency data. Since an approximate scan relies on unresolved dependency information, it is not as accurate as a scan based on resolved dependency information. However, an approximate scan can still provide valuable insights and help you identify potential issues.Documentation Index
Fetch the complete documentation index at: https://docs.endorlabs.com/llms.txt
Use this file to discover all available pages before exploring further.
How an approximate scan works
The approximate scan looks at the unresolved dependency data and estimates the resolved version based on the information available. For example, if the version is pinned then the approximate scan uses that version. If the version is not specified, then it uses the latest version. The scan generates the findings based on these approximations. False positives can occur if the actual resolved version is different from the approximated version, or if multiple places include the same dependency.Ignore findings from approximate scans
If you know the approximate scan is inaccurate and want to ignore the findings, add an exception policy. See create an exception policy from a template for details on how to create an exception policy. When you create the exception policy, choose the following options:- Select Custom as the policy template when you Define Exception Criteria.
- Select Yes for the Approximate Dependency option.