Commit graph

105 commits

Author SHA1 Message Date
Alex Lovell-Troy
1f2e72dab6
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management 2025-03-07 17:10:31 -05:00
555990c6b6
collect: return collection output from CollectInventory() 2025-02-26 16:18:42 -07:00
5843bc1768
refactor: moved internal functions to pkg and updated refs 2025-02-20 17:09:21 -07:00
David Allen
fd54f367b8
cmd: exported commands for external use 2025-02-04 13:51:57 -07:00
Alex Lovell-Troy
6f18094680
Refactor how versioning information is indicated in the build and in the source. 2024-10-30 12:36:07 -06:00
Alex Lovell-Troy
237eb6219b
Add better version reporting. 2024-10-30 10:09:32 -06:00
David Allen
9e289b4946
Merge branch 'main' into manager-data
Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
2024-10-24 17:57:00 -06:00
26522ebd12
version: more small tweaks 2024-10-16 13:32:16 -06:00
e31e91ec15
refactor: changed crawler function name 2024-10-15 13:52:23 -06:00
David Allen
b4efe756b0
Updated version command and main to handle building with version info 2024-08-28 13:19:21 -06:00
David Allen
c8297534cc
Added version command and corresponding implementation 2024-08-28 12:34:49 -06:00
David Allen
5b1e3e732e
Changed firmware.* back to firmware-* 2024-08-14 14:34:16 -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
42dbfeb4f9
Fixed lint errors 2024-08-13 17:45:08 -06:00
David Allen
bb49129d31
Changed showing target host to use debug instead of verbose flag 2024-08-13 16:48:34 -06:00
David Allen
7285492815
Fixed root persistent flags not binding correctly 2024-08-13 14:44:11 -06:00
David Allen
809aa91ec6
Changed transfer-protocol flag to scheme to match other commands 2024-08-13 14:11:14 -06:00
David Allen
15de7c16c0
Fixed viper flag binding in collect cmd 2024-08-13 13:40:26 -06:00
David Allen
81ec43a923
Minor changes to fix lint errors 2024-08-13 10:41:06 -06:00
David Allen
5a2356d7c2
Fixed crawl command help string 2024-08-12 16:35:58 -06:00
David Allen
3287d76588
Separated auth from util and fixed help strings 2024-08-12 13:05:28 -06:00
David Allen
dce823c6d8
Added URL sanitization for SMD host and moved auth from util 2024-08-12 13:04:52 -06:00
f7159c9b66
Fixed issue with collect requests and other minor changes 2024-08-11 14:25:21 -06:00
51e24e2edd
Changed how arguments are passed to update command 2024-08-11 14:21:56 -06:00
fc6afc8559
Minor change 2024-08-09 17:35:24 -06:00
24fba89a98
Reformatted scan help message 2024-08-09 17:11:37 -06:00
David Allen
8a2541717d
Added flag to show cache info with list command and other minor changes 2024-08-09 07:42:28 -06:00
David Allen
46fc35d4ad
Removed extra print statement 2024-08-08 12:23:10 -06:00
4cc3f7f7ac
Changed order of adding default ports to add host correctly 2024-08-07 19:57:37 -06:00
3d6daa757a
Fixed error message format for list command 2024-08-07 19:20:11 -06:00
David Allen
dd829cd10e
Fixed '--subnet' flag not adding hosts to scan 2024-08-07 13:15:16 -06:00
David Allen
2c841906b2
Updated 'cmd' package 2024-08-07 10:58:03 -06:00
David Allen
1ea779e802
Changed short help message for root command 2024-07-30 14:23:53 -06:00
David Allen
b27e6b6a73
Renamed vars and switched to use zerolog 2024-07-30 14:02:12 -06:00
David Allen
fe3c339195
Corrected the username/password flag names 2024-07-24 10:34:28 -06:00
David Allen
d73575ab05
Fixed imports and removed unused query params 2024-07-24 10:24:12 -06:00
David Allen
f498d07aa2
Fixed small issue with command string 2024-07-24 10:22:48 -06:00
David Allen
f7b08da064
Added more API documentation 2024-07-23 16:18:21 -06:00
David Allen
eba9dfa1e7
Added more documentation and changed param names 2024-07-22 14:22:02 -06:00
David Allen
c537e496da
Fixed issue with required param 2024-07-22 14:20:06 -06:00
David Allen
1ab5c8a7df
Added initial round of comments for API documentation 2024-07-18 18:18:03 -06:00
David Allen
796a67d5ab
Tidied up CLI flag names 2024-07-17 15:42:00 -06:00
David Allen
396cbae31e
Merge pull request #37 from OpenCHAMI/36-running-the-crawl-subcommand-without-arguments-causes-a-crash
fix #36 and provide better error handling
2024-07-02 15:15:13 -06:00
Alex Lovell-Troy
09eb48a241
Update crawl command to improve URI handling and provide clearer instructions 2024-07-02 16:55:17 -04:00
Alex Lovell-Troy
afe84f6129
chore: Clean up URI handling in crawl command 2024-07-02 16:37:39 -04:00
Alex Lovell-Troy
eccd9adb41
Improve crawl instruction and log Redfish Version 2024-07-02 16:25:28 -04:00
Alex Lovell-Troy
fdc574f5f2
Improved Error handling without panics 2024-07-01 13:53:32 -04:00
Alex Lovell-Troy
3386690f17
Add uri positional argument and remove uri flag 2024-07-01 10:59:42 -04:00
Chris Harris
6aeffc92f1
Add timestamp to scan results cache 2024-06-28 12:16:45 -04:00
Alex Lovell-Troy
a7d5b0ebbb
Add standalone command for querying a single BMC and outputting inventory json 2024-06-27 08:56:45 +02:00