GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.51k stars 470 forks source link

Provide a list of Commands issued to Chrome Devices #1281

Closed stephengale801 closed 3 years ago

stephengale801 commented 3 years ago

gam getcommand cros <deviceid> commandid <commandid> requires knowledge of Command ID. In order to use this command effectively, the ability to list the commands issued to a device and filter them by state is required.

Please consider adding a gam getcommands cros <deviceid> [state [commandstate]] [expiretime [commandexpire]] to list the commands which have been issued to a device, returning all items for a device with the optional parameters to filter by state and expiration time.

taers232c commented 3 years ago

See: https://developers.google.com/admin-sdk/reports/v1/appendix/activity/admin-chrome-os-settings#CHANGE_CHROME_OS_SETTING

gam report admin event ISSUE_DEVICE_COMMAND start -30d

What API are you looking at that returns the data you're requesting?

Ross

On Tue, Nov 10, 2020 at 7:25 AM stephengale801 notifications@github.com wrote:

gam getcommand cros commandid requires knowledge of Command ID. In order to use this command effectively, the ability to list the commands issued to a device and filter them by state is required.

Please consider adding a gam getcommands cros [state [commandstate]] [expiretime [commandexpire]] to list the commands which have been issued to a device, returning all items for a device with the optional parameters to filter by state and expiration time.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1281, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL4PNN6QGFPFAQJCBMTSPFLOTANCNFSM4TQZRNVA .

--

Ross Scroggs ross.scroggs@gmail.com

stephengale801 commented 3 years ago

Thanks Ross - Was looking for this information to be available in the device object return, but if it is available in the report API, we can work with that. Thanks again.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.