Provide API that produces information as to which platforms would be scanned if the scan command was run #4912
-
HI. Are there any plans to provide API that produces information as to which platforms would be scanned if the scan command was run. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hi @binarymist We have the We are proposing to change its behavior to not force the scan if the relevant files are not there. But still seems not what you want. Please, open a feature request for this, and provide us some use cases so we can prioritize it, accordingly. |
Beta Was this translation helpful? Give feedback.
-
Hi, we're also looking for such API so we can clear all the non supported extensions from the repo before scanning it (as we don't like to show files with 0 findings) |
Beta Was this translation helpful? Give feedback.
Hi @binarymist
Whenever a scan is triggered, we output the technologies that will be scanned (the ones we could identify).
We have the
-t, --type strings
flag that will scan only specific technologies. This forces the scan of specified techs even if the relevant files are not present (which is the opposite of your request).We are proposing to change its behavior to not force the scan if the relevant files are not there. But still seems not what you want.
Please, open a feature request for this, and provide us some use cases so we can prioritize it, accordingly.
Or, consider to contribute with such an API! We would be glad to help you in the process!