Commit graph

14 commits

Author SHA1 Message Date
fb3a936224
updated all references 2025-07-10 20:54:25 -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
David Allen
9991f02631
Updated warning message and changed SMD client to use pointer receivers 2024-08-27 15:55:16 -06:00
David Allen
5d811f31ab
Changed interface func from GetClient() to GetInternalClient() 2024-08-27 14:40:23 -06:00
David Allen
abd83454ad
Added Init() to Client interface 2024-08-27 14:38:03 -06:00
David Allen
3b297351ec
Fixed panic when setting --cacert from invalid client 2024-08-27 14:30:03 -06:00
0454735c70
Changed collect messages to using JSON format 2024-08-22 08:44:32 -06:00
989ec611c6
Added response body into error messages 2024-08-21 16:50:24 -06:00
David Allen
4597f63d12
Fixed issue with host string and added internal url package 2024-08-14 10:57:30 -06:00
David Allen
81ec43a923
Minor changes to fix lint errors 2024-08-13 10:41:06 -06:00
David Allen
c0a6d3bb6f
More minor changes 2024-08-12 13:09:15 -06:00
a6c95ef646
Removed unused variables in client package 2024-08-11 14:24:08 -06:00
David Allen
c5a348562b
Refactored how clients work to reduce hard-coded dependencies 2024-08-09 07:59:28 -06:00
David Allen
386e9f2777
Renamed smd package to client 2024-07-30 14:03:34 -06:00