Commit graph

25 commits

Author SHA1 Message Date
1405b42f97
updated all references 2025-06-28 08:38:08 -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
db6d958934
fix: move BMC credentials getter that logs to util func 2025-04-16 22:42:19 -06:00
036a5d3ab7
util: refactor checking if path exists 2024-10-15 15:25:03 -06:00
David Allen
affba7dfa3
Added CheckUntil() for tests 2024-09-26 10:26:03 -06:00
David Allen
81ec43a923
Minor changes to fix lint errors 2024-08-13 10:41:06 -06:00
David Allen
411102881d
Removed files from util 2024-08-12 13:07:30 -06:00
4cc3f7f7ac
Changed order of adding default ports to add host correctly 2024-08-07 19:57:37 -06:00
David Allen
dd829cd10e
Fixed '--subnet' flag not adding hosts to scan 2024-08-07 13:15:16 -06:00
David Allen
6d1dae25ec
Major 'internal' package refactor 2024-08-07 10:59:10 -06:00
David Allen
0922bbf5f9
Removed unused updating code and bmclib dependency and other minor changes 2024-07-30 14:05:55 -06:00
David Allen
aefce13f57
Refactored/reorganized utils 2024-07-24 11:52:12 -06:00
David Allen
1ab5c8a7df
Added initial round of comments for API documentation 2024-07-18 18:18:03 -06:00
David Allen
63669ad369
Changed how CollectSystem fetches system data 2024-05-22 14:44:32 -06:00
David Allen
b024675e92
Added error related util functions 2024-05-16 15:18:12 -06:00
David J. Allen
a75530e96b
Fixed TLS errors in collect 2024-05-08 14:46:29 -06:00
David J. Allen
0403b2bcbc
Changed the wording of error messages slightly 2024-05-08 13:39:51 -06:00
David J. Allen
f1db827c61
Minor changes to MakeRequest function 2024-05-08 12:53:10 -06:00
David J. Allen
2baae37f5f Initial implementation of config file 2023-10-19 17:08:36 -06:00
David J. Allen
48b2264053 Changed GenerateHosts implementation to take IP, CIDR, and subnet masks arguments for scanning 2023-10-17 14:45:35 -06:00
David J. Allen
555ecf679d Added function implementations to generate hosts by subnet and CIDR 2023-10-16 14:37:23 -06:00
David J. Allen
ac1dc023c0 Added missing error check to MakeRequest function 2023-10-05 13:52:07 -06:00
David J. Allen
d09b71262a Minor formatting 2023-10-05 12:57:08 -06:00
David J. Allen
54dde2dda6 Added ability to update endpoint when conflicting with existing + processor info
Signed-off-by: David J. Allen <allend@lanl.gov>
2023-09-28 14:46:21 -06:00
David J. Allen
b504550d98 Refactored, renamed, and reorganized code 2023-09-19 13:55:46 -06:00