Ben McDonald
488ad241f6
ADd secure, remove username and password
...
Signed-off-by: Ben McDonald <ben.mcdonald@hpe.com>
2025-07-03 13:12:53 -07:00
Ben McDonald
4cfd48da63
Add support for scanning PDU components by probing JAWS as well as redfish
...
Signed-off-by: Ben McDonald <ben.mcdonald@hpe.com>
2025-07-03 13:11:29 -07:00
8fb8908883
fix: added another check for power
2025-06-25 15:34:45 -06:00
ffe5132d8e
fix: panic from invalid chassis in crawler
2025-06-25 15:20:09 -06:00
e170787958
chore: added power control odata.id to cralwer output
2025-06-25 11:49:34 -06:00
cb1d90b840
refactor: added tags to power struct
2025-06-19 16:53:43 -06:00
f12a6c6713
refactor: power struct and actions
2025-06-19 16:51:55 -06:00
448c5fb1ca
refactor: changed links to store ODataID instead of ID
2025-06-19 16:13:41 -06:00
c6b80c8ddc
refactor: updated crawler to add relevant power output
2025-06-18 16:10:16 -06:00
Ben McDonald
068478d9bc
Run gofmt
2025-06-17 11:21:42 -07:00
Ben McDonald
940e7fee2a
Add socket type and construct correct xname
2025-06-13 09:26:10 -07:00
Ben McDonald
6b3d317086
Remove system info
2025-06-12 15:25:48 -07:00
Ben McDonald
266b3df0b7
Print data in SMD format
2025-06-06 13:53:53 -07:00
Ben McDonald
56522a3f29
Add some code to query PDUs
2025-06-06 13:25:19 -07:00
Ben McDonald
7aeb3aa6c5
Add some initial files
2025-06-05 15:33:03 -07: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
Ben McDonald
bff549bcfa
Remove https from RedfishEndpoints post
2025-05-28 09:57:20 -07:00
jose-angel gomez-lopez
17ec8b07a7
#92 making sure that the argument of net.ParseIP is a pure IP address (x.x.x.x), without any prefix
2025-05-26 10:15:00 +02:00
cf1fcc7646
fix: added check to stop collect on error
2025-04-21 15:37:15 -06:00
Devon Bautista
db6d958934
fix: move BMC credentials getter that logs to util func
2025-04-16 22:42:19 -06:00
Devon Bautista
b50b31ff40
fix(bmc): check for default key
2025-04-16 17:41:46 -06:00
Devon Bautista
1847a5ed41
fix: adjust secret store precedence in collect command
2025-04-16 16:33:07 -06:00
Devon Bautista
ad0708d2ad
refactor: split BMC data structures into pkg/bmc package
2025-04-16 16:33:06 -06:00
82e1c45036
feat: add default secret to local store
2025-03-31 15:35:15 -06:00
c950532e88
refactor: improvements to CLI and update pkg
2025-03-28 13:12:38 -06:00
667fd39213
lint: apply changes from golint
2025-03-25 14:54:09 -06:00
841a97dce4
refactor: changed var name for clarity and added logging details
2025-03-25 14:16:19 -06:00
d4d0bc8a2c
fix: collect not falling back to CLI args correctly
2025-03-25 09:53:58 -06:00
7cd927d503
refactor: minor changes to error messages
2025-03-24 11:36:53 -06:00
6c5fc993b0
refactor: export function to save JSON secrets
2025-03-20 10:18:22 -06:00
e38402edc3
refactor: changed removing secret from store returns error
2025-03-20 09:28:24 -06:00
ceeaa5d891
refactor: minor changes to store in collect
2025-03-19 15:31:24 -06:00
a8f0c12505
fix: added missing funcs for secret store implementations
2025-03-19 11:36:29 -06:00
932daeafe1
refactor: added func to remove secrets from store
2025-03-19 11:10:26 -06:00
5ecc051fef
refactor: added optional secrets file parameter and lookup in collect
2025-03-17 10:34:53 -06:00
c3a7ebf975
chore: added pre-condition guards for secrets
2025-03-17 10:14:36 -06:00
a1276360fe
refactor: added function to open secrets store by checking env var
2025-03-14 13:28:47 -06:00
David Allen
c5ee0c6a4c
fix: update goimports in update.go
2025-03-13 11:32:47 -06:00
David Allen
ac4f591061
Merge branch 'main' into 71-bug-redfishv1updateserviceactionssimpleupdate-gives-errors-for-openbmc
...
Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
2025-03-13 11:10:18 -06:00
Alex Lovell-Troy
9615f523f1
feat: enhance firmware update functionality and add BMC identification support
2025-03-13 10:58:36 -06:00
524a38a475
collect: return collection output from CollectInventory()
2025-03-13 10:54:55 -06:00
1477da9693
refactor: moved internal functions to pkg and updated refs
2025-03-13 10:52:37 -06:00
Alex Lovell-Troy
853e27c312
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management
2025-03-13 10:50:32 -06:00
5bbd0b8998
fix: changed 'update' cmd to use gofish
2025-03-13 10:48:29 -06:00
ebcd3ff917
refactor: moved internal functions to pkg and updated refs
2025-03-13 10:47:28 -06:00
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
Alex Lovell-Troy
d8e47cd1a1
feat: enhance firmware update functionality and add BMC identification support
2025-02-06 17:25:56 -05:00
4f6011381b
crawler: include IP in manager's ethernet interfaces
2024-10-22 14:23:24 -06:00