Commit graph

208 commits

Author SHA1 Message Date
Alex Lovell-Troy
b58167a322
Merge pull request #19 from synackd/add-arm64
Goreleaser: Add arm64 builds
2024-04-24 12:06:02 -04:00
Devon Bautista
8817e071b8 Goreleaser: Add arm64 builds 2024-04-24 09:57:48 -06:00
David Allen
1e302b25d0
Merge pull request #17 from OpenCHAMI/auth
Add ability to perform logins and supply access token to make requests to protected endpoints
2024-04-11 11:51:28 -06:00
David J. Allen
be1d473950
Added access token to collect header if supplied 2024-03-15 17:43:53 -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
David J. Allen
6b6b694f42
Added auth-related dependencies 2024-03-15 17:20:50 -06:00
Alex Lovell-Troy
44e75aee5c
Merge pull request #1 from OpenCHAMI/rehome
move to OpenCHAMI and update changelog
2023-11-03 17:25:06 +02:00
Alex Lovell-Troy
5794a42593 Adding dev container to standardize Linux build 2023-11-03 15:18:22 +00:00
Alex Lovell-Troy
8a7c0b3085 container registry entries must be lowercase 2023-11-03 09:53:27 -04: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 Allen
28daa4a137
Merge pull request #21 from davidallendj/update-docs
Updated the `README.md` with Docker info
2023-10-25 13:18:45 -06:00
David J. Allen
2af5ed651a Updated the README.md with Docker info 2023-10-25 13:17:12 -06:00
David Allen
97bfcada06
Merge pull request #20 from davidallendj/optimization
Fixed `magellan` running much slow when using Docker container
2023-10-25 12:25:18 -06:00
David J. Allen
c5611f598f Changed the error message when attempting to add redfish endpoint 2023-10-25 12:13:53 -06:00
David J. Allen
47f773df2a Changed how the data is outputted to stdout and fixed xname issue 2023-10-25 12:13:21 -06:00
David J. Allen
e039099263 Changed how arguments are passed to magellan.sh script 2023-10-24 14:33:32 -06:00
David Allen
091045ad1e
Merge pull request #19 from davidallendj/optimization
Refactor code to reuse clients for each BMC
2023-10-24 10:16:12 -06:00
David J. Allen
6a59ba2a41 Moved clients back into goroutine and add checks 2023-10-24 10:03:33 -06:00
David J. Allen
b610eda4d8 Moved clients out of goroutine to be reused through collection process 2023-10-24 09:20:48 -06:00
David J. Allen
7a1c799910 Changed Collect* function calls to reuse gofish client 2023-10-24 08:21:30 -06:00
David J. Allen
14447ee51e Formatted commands in magellan.sh script 2023-10-24 08:04:53 -06:00
David J. Allen
b85aae84c3 Fixed HTTP response status code check for all successful codes 2023-10-24 08:04:14 -06:00
Alex Lovell-Troy
81d45ffad2 Removing darwin to simplify release builds 2023-10-23 18:24:03 -04:00
Alex Lovell-Troy
ce61aed9a4 Revised Dockerfile and goreleaser to allow for CI 2023-10-23 16:12:18 -04:00
David Allen
4298912ee7
Merge pull request #9 from davidallendj/update-docker
Update Dockerfile and `magellan.sh` script to run in container
2023-10-19 17:11:41 -06:00
David J. Allen
90dff1f8e3 Merge branch 'main' into update-docker 2023-10-19 17:11:07 -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 Allen
af2ebecc69
Merge pull request #17 from davidallendj/update-firmware
Rename some `update` command arguments and reformat output for JSON
2023-10-18 14:37:20 -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 Allen
186825eb3e
Merge pull request #14 from davidallendj/improve-scan
Add ability to use subnet mask and CIDR with `--subnet` flag
2023-10-17 16:31:09 -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
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
8c4439ea81 Renamed functions in collect.go 2023-10-16 13:48:55 -06:00
David Allen
994bf07716
Merge pull request #13 from davidallendj/tidy-code
Tidy code and other minor changes and bug fixes
2023-10-16 10:48:08 -06:00
David Allen
075cbf0733
Merge pull request #10 from davidallendj/update-firmware
Added `update` command to update firmware
2023-10-16 10:35:37 -06:00
David J. Allen
d5e8ed5e99 Set force-update to false by default 2023-10-12 14:03:26 -06:00
David J. Allen
916050ad4d Change collect output to include EthernetInterfaces in Systems object 2023-10-12 14:03:04 -06:00
David J. Allen
b76d5e61ff Minor changes and fixes 2023-10-11 15:00:13 -06:00
David J. Allen
174e2084fc Removed extra print in QueryEthernetInterfaces 2023-10-10 11:56:33 -06:00
David J. Allen
37aa24defc Merge branch 'update-firmware' of https://github.com/davidallendj/magellan into update-firmware 2023-10-10 11:53:13 -06:00
David J. Allen
346d886edb Fixed issue QueryEthernetInterfaces not returning anything 2023-10-10 11:53:11 -06:00
David Allen
2c4cd02a5a
Merge branch 'main' into update-firmware 2023-10-10 11:14:31 -06:00
David Allen
fb8e726cdf
Merge pull request #12 from davidallendj/improve-scan
Improve `scan` by adding another HTTP request to redfish
2023-10-10 10:52:02 -06:00
David J. Allen
4d6ffd213b Added checks for connectGofish to prevent panics 2023-10-10 10:35:44 -06:00
David J. Allen
f59d68797d Moved ScannedResult to scan.go and implemented redfish probe 2023-10-09 11:20:36 -06:00