Keeper-Security / keeper-sdk-dotnet

.Net and PowerShell version of Keeper Commander, a CLI and SDK interface for the Keeper Security platform.
https://docs.keeper.io/secrets-manager/commander-cli/using-commander/dotnet-powershell
MIT License
29 stars 20 forks source link

MSPInfoCommand() - output #96

Closed davewatson91 closed 1 year ago

davewatson91 commented 1 year ago

Hi team,

Trying to automate my billing, however unfortunately can't make use of the billing report command due to my billing system only allowing a proration through it's own system, which just updates daily (so I need to update my end with a daily count).

Basically, I'm trying to use the msp-info command (through python), and it returns the currently active licenses, which is perfect. However - this command seems to be slightly different to most others, in that it won't allow different output formatters, or even for me to assign the output to a variable to try and parse - it's completely stuck.

Hoping you might be able to update this to reflect the others where an output format can be selected, so it can be parsed and used in the rest of the script.

Thanks!

sk-keeper commented 1 year ago

Sorry for the late response. msp-info --format=json command returns JSON output

davewatson91 commented 1 year ago

No worries - I had a support ticket in as well where I was updated and got the commit when it was made 😄