Support scanning conda environments with arbitrary prefix #7976
duncanmmacleod
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
The conda environment scanning is great, but is currently restricted to only those environments that live under the
<conda-root>/envs
tree (which is the default location for new environments).It would be great to be able to scan any conda environment that exists in an arbitrary path, e.g. one created via
I think this might 'just' require patching the
fileRegex
intrivy/pkg/fanal/analyzer/language/conda/meta/meta.go
Line 21 in de523ff
to something more general, like
or supporting parsing the
CONDA_PREFIX
environment variable that is commonly used to indicate the active (or primary) environment.Target
Container Image
Scanner
Vulnerability
Beta Was this translation helpful? Give feedback.
All reactions