-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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
scandirectly intocollect. - 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
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request