Describe the feature
The collect command should allow taking JSON or YAML input formats similar to the output of the scan command. This would enable two things:
- Allow you to pipe the output of
scan directly into collect.
- Allow you to manually create JSON or YAML files as input to bypass needing the scan entirely while also retaining the concurrency benefit of using
collect.
This change should only require the collect command to accept incoming data either through standard input or via a data flag (i.e. --data or -d ). This may also require specifying the input format with another flag explicitly (i.e. --input-format or -f).
Why do you want this feature?
This allows bypassing scan but still use collect when BMCs are already known.
Alternatives you've considered
It's possible to achieve similar results using crawl, but this would be down sequentially not using goroutines.
Additional context
No response
Code of Conduct
Describe the feature
The
collectcommand should allow taking JSON or YAML input formats similar to the output of thescancommand. This would enable two things:scandirectly intocollect.collect.This change should only require the
collectcommand to accept incoming data either through standard input or via a data flag (i.e.--dataor-d). This may also require specifying the input format with another flag explicitly (i.e.--input-formator-f).Why do you want this feature?
This allows bypassing
scanbut still usecollectwhen BMCs are already known.Alternatives you've considered
It's possible to achieve similar results using
crawl, but this would be down sequentially not using goroutines.Additional context
No response
Code of Conduct