Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Reports Since Last Edited #359

Open
gsa-hub opened this issue Oct 31, 2021 · 1 comment
Open

Additional Reports Since Last Edited #359

gsa-hub opened this issue Oct 31, 2021 · 1 comment
Milestone

Comments

@gsa-hub
Copy link
Contributor

gsa-hub commented Oct 31, 2021

Additional Reports Since Last Edit
Google has made additional audit log reports available to query. This update just adds the new log names to the valid options. No actual functionality is changed in this patch.

To Reproduce
Attempt to query a log that is not specified as valid

Error message returned by Google
Get-GSActivityReport : Cannot convert argument "applicationName", with value: "groups_enterprise", for "List" to
type "Google.Apis.Admin.Reports.reports_v1.ActivitiesResource+ListRequest+ApplicationNameEnum": "Cannot convert value
"groups_enterprise" to type "Google.Apis.Admin.Reports.reports_v1.ActivitiesResource+ListRequest+ApplicationNameEnum".
Error: "Unable to match the identifier name groups_enterprise to a valid enumerator name. Specify one of the following
enumerator names and try again:
AccessTransparency, Admin, Calendar, Chat, Drive, Gcp, Gplus, Groups, GroupsEnterprise, Jamboard, Login, Meet, Mobile,
Rules, Saml, Token, UserAccounts""

gsa-hub added a commit to gsa-hub/PSGSuite that referenced this issue Oct 31, 2021
@gsa-hub
Copy link
Contributor Author

gsa-hub commented Oct 31, 2021

I gave the wrong error message, here is the right one for Get-GSActivityReport:

Get-GSActivityReport : Cannot validate argument on parameter 'ApplicationName'. The argument "groups_enterprise" does
not belong to the set "Admin,Calendar,Drive,Groups,GPlus,Login,Mobile,Rules,Token" specified by the ValidateSet
attribute. Supply an argument that is in the set and then try the command again.

@FISHMANPET FISHMANPET added this to the v2.37.0 milestone Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants