Commit graph

177 commits

Author SHA1 Message Date
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
David Allen
472735fb9d
Added an error catch for CollectAll in cmd 2024-05-16 15:41:07 -06:00
David Allen
66bf6e0557
Fixed viper defaults for certs 2024-05-16 10:36:53 -06:00
David J. Allen
f4540ea4ce
Changed db.path flag to cache 2024-05-10 14:54:34 -06:00
David J. Allen
ac86a12ce0
Made user and pass flags required together 2024-05-10 13:52:00 -06:00
David J. Allen
886a5d4d82
Fixed default output path for flag 2024-05-10 13:46:51 -06:00
David J. Allen
b3ba75ea9a
Added format flag to convery output to JSON and slighly changed scanning logic 2024-05-10 13:41:08 -06:00
David J. Allen
9663b677ba
Removed and updated flags 2024-05-10 10:09:37 -06:00
David J. Allen
b6d429f072
Changed the default storage location for scanning cache 2024-05-09 14:53:44 -06:00
David J. Allen
e93f49eb82
Added more output for debugging 2024-05-09 13:18:38 -06:00
David J. Allen
0403b2bcbc
Changed the wording of error messages slightly 2024-05-08 13:39:51 -06:00
David J. Allen
2289209604
Made scanned results optional with verbose flag 2024-05-08 12:58:55 -06:00
David J. Allen
60770dadc0
Removed GET request in collect and minor changes 2024-05-08 12:48:02 -06:00
David J. Allen
e91460528b
Added access token to params passed to CollectAll func 2024-05-07 16:57:11 -06:00
David J. Allen
b873613939
Minor changes and fixes 2024-05-07 16:51:07 -06:00
David J. Allen
6bf9035d96
Fixed cert flags 2024-05-07 15:51:51 -06:00
David J. Allen
2edcb2199e
Updated imports and generate automatic environment with viper 2024-05-07 15:50:47 -06:00
David J. Allen
2b421e8af5
Merge branch 'main' into config-file 2024-05-07 14:57:34 -06:00
David J. Allen
b5c0d9ce2a
Changed cert flags and added cert for gofish 2024-05-06 14:01:29 -06:00
David J. Allen
09c5af44b9
Added checks for access token when running command 2024-03-15 17:43:25 -06:00
David J. Allen
7760857ae5
Added login flow to get access token 2024-03-15 17:22:00 -06:00
Alex Lovell-Troy
cccf0dfdf2 move to OpenCHAMI and update changelog 2023-11-03 09:47:57 -04:00
David J. Allen
955c9fb4bd Change import to use new repo 2023-10-31 07:55:03 -06:00
David J. Allen
2baae37f5f Initial implementation of config file 2023-10-19 17:08:36 -06:00
David Allen
1db4349eb0
Merge pull request #18 from davidallendj/tidy-code
Rename `Query*` functions in `internal/collect.go` to `Collect*`
2023-10-19 08:47:57 -06:00
David J. Allen
c7061d4768 Rename some update command arguments and reformat output for JSON 2023-10-18 14:35:57 -06:00
David Allen
d7d1265fca
Merge branch 'bikeshack:main' into tidy-code 2023-10-18 13:08:05 -06:00
David J. Allen
c48b42407f Removed extra print statement 2023-10-17 14:48:26 -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