Commit graph

17 commits

Author SHA1 Message Date
264b8780a3
fix: removed Run() to display error message with non-existent sub-commands 2025-07-09 09:51:44 -06:00
David Allen
04e1fb26c9
Split the collect Command For Customization (#93)
* feat: initial implementation of command split

* feat: update collect and new send cmd

* chore: cleanup unused code

* chore: refactored getting username

* chore: more refactoring and cleanup

* feat: update send cmd implementation

* chore: changed/updated example config

* chore: made cmd more consistent and added formatting

* refactor: removed --host flag from scan

* chore: cleaned up and fixed issue with client

* chore: cleaned up CLI flags in collect cmd

* feat: updated crawl to include managers and output YAML optionally

* refactor: updated and improved send implementation

* refactor: minor improvements

* refactor: added util func to check for empty slices

* fix: issue with reading from stdin

* refactor: added scheme trimming function for URIs

* refactor: changed host arg back to positional

* refactor: removed unused vars and added --output-dir flag

* fix: make -f for secrets persistent

* refactor: removed --host flag and request in collect

* refactor: changed --output flag to --output-file

* fix: updated flags for collect

* fix: typo in crawler error

* fix: dir being created when outputDir not set

* fix: reading stdin and data args

* fix: made output using -v and -o consistent

* readme: added info about command split

* updated changelog adding missing version entries

* chore: updated example to use host as positional arg

* fix: issue with reading --data arg

* fix: remove unused import from collect pkg

Signed-off-by: Devon Bautista <devonb@lanl.gov>

---------

Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
Signed-off-by: Devon Bautista <devonb@lanl.gov>
Co-authored-by: Devon Bautista <devonb@lanl.gov>
2025-05-29 15:15:46 -04:00
Devon Bautista
63dc2c07a6
chore: run gofmt 2025-04-14 16:37:20 -06:00
c950532e88
refactor: improvements to CLI and update pkg 2025-03-28 13:12:38 -06:00
667fd39213
lint: apply changes from golint 2025-03-25 14:54:09 -06:00
3a1fc3fe38
fix: added username/password to collect params 2025-03-25 14:15:39 -06:00
8f96a2f686
refactor: changed short opts for secret store 2025-03-24 14:29:16 -06:00
daa7a32b14
refactor: added basic input format and cleanup 2025-03-24 13:36:02 -06:00
34af75c1d2
refactor: change error message to warning 2025-03-24 11:35:37 -06:00
01a88beb97
fix: secrets remove not updating local store and return error when not found 2025-03-20 10:17:33 -06:00
17350ab99b
fix: changed number of minimum args for secrets list 2025-03-20 09:27:39 -06:00
7990ec097d
refactor: added flag to set secrets file for crawl 2025-03-20 09:11:21 -06:00
df77e075ef
refactor: changed required number of args for secrets list 2025-03-20 08:59:15 -06:00
932daeafe1
refactor: added func to remove secrets from store 2025-03-19 11:10:26 -06:00
5b79031afa
refactor: updated secrets cmd implementation 2025-03-17 18:34:08 -06:00
23bd31a1aa
feat: add 'secrets' command to root 2025-03-17 11:39:23 -06:00
f18d279468
refactor: updated description/example and added 'secrets-file' flag to cmd 2025-03-17 10:37:04 -06:00