Domain Report

199 views
Skip to first unread message

Snehal Kapse

unread,
Dec 18, 2024, 11:06:39 PM12/18/24
to google-ap...@googlegroups.com
Hi,

As a google administrator can we get below details using GAM? We want to fetch what configurations are done under the settings below.

Is any API available for this?

Security > 2-Step Verification
User > Security
Security > Account Recovery
Security > Password management
Security > Advanced Protection Program
Users > Security
Security > Google session control
Security > Login challenges
Security > Context-Aware Access


The purpose of Shivaami is to make a positive change in the life of the people we connect by offering solutions and services which bring profit and happiness.

Ross Scroggs

unread,
Dec 19, 2024, 11:22:43 AM12/19/24
to google-ap...@googlegroups.com
See: https://github.com/GAM-team/GAM/wiki/Cloud-Identity-Policies

gam redirect stdout ./policies.txt show policies 


Ross

----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/CACYFH4ZR0n2y-ZgQLnM7Mnu1AAsQ0F%3DdJKb06OZ1R%3DcTYY%2BhpQ%40mail.gmail.com.

Brian Pugh

unread,
Dec 19, 2024, 11:36:13 PM12/19/24
to GAM for Google Workspace
I get this returned, Ross:

C:\GAMWork>gam redirect stdout ./policies.txt show policies
Command: gam redirect stdout ./policies.txt show >>>policies<<< 

Thank you,
Brian

Ross Scroggs

unread,
Dec 20, 2024, 10:28:11 AM12/20/24
to google-ap...@googlegroups.com

Brian Pugh

unread,
Dec 20, 2024, 11:16:25 AM12/20/24
to google-ap...@googlegroups.com
it is: 

c:\>gam version
GAMADV-XTD3 7.00.14 



















Brian Pugh, IT/Educational Technologies



Associated Hebrew Schools | Danilack Middle School

p: 416.494.7666, | e: bp...@ahschools.com

w: www.associatedhebrewschools.com

252 Finch Ave W., Toronto, ON M2R 1M9


facebook.png twitter.png instagram.png 


This email is confidential and is intended for the above-named recipient(s) only. If you are not the intended recipient, please delete this email from your system. Any unauthorized use or disclosure of this email is prohibited.




You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/cg6OFoZuDP0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/B554AD57-5E5E-4B2F-8C84-5ED23A1F8693%40gmail.com.

Ross Scroggs

unread,
Dec 20, 2024, 11:27:54 AM12/20/24
to google-ap...@googlegroups.com
The command was added in 7.00.27, current is 7.02.03.


Ross
----
Ross Scroggs


Brian Pugh

unread,
Dec 20, 2024, 12:05:57 PM12/20/24
to google-ap...@googlegroups.com
Updated now to current version, but 

c:\GAMWork>gam redirect stdout ./policies.txt show policies
Getting all Policies, may take some time on a large Google Workspace Account...
Policy Show Failed: Request had insufficient authentication scopes.



















Brian Pugh, IT/Educational Technologies



Associated Hebrew Schools | Danilack Middle School

p: 416.494.7666, | e: bp...@ahschools.com

w: www.associatedhebrewschools.com

252 Finch Ave W., Toronto, ON M2R 1M9


facebook.png twitter.png instagram.png 


This email is confidential and is intended for the above-named recipient(s) only. If you are not the intended recipient, please delete this email from your system. Any unauthorized use or disclosure of this email is prohibited.



Ross Scroggs

unread,
Dec 20, 2024, 12:08:34 PM12/20/24
to google-ap...@googlegroups.com

Brian Pugh

unread,
Dec 20, 2024, 3:03:26 PM12/20/24
to google-ap...@googlegroups.com
Did everything and got 550+ pages of policies...very nice!

Thank you, Ross. And have a very Merry Christmas!



















Brian Pugh, IT/Educational Technologies



Associated Hebrew Schools | Danilack Middle School

p: 416.494.7666, | e: bp...@ahschools.com

w: www.associatedhebrewschools.com

252 Finch Ave W., Toronto, ON M2R 1M9


facebook.png twitter.png instagram.png 


This email is confidential and is intended for the above-named recipient(s) only. If you are not the intended recipient, please delete this email from your system. Any unauthorized use or disclosure of this email is prohibited.



Snehal Kapse

unread,
Dec 22, 2024, 1:19:34 AM12/22/24
to google-ap...@googlegroups.com
Hi,

I have updated the GAM version & also allowed scope but still getting below error.

image.png



--
Please feel free to contact me if you need any further information.

Thanks & Regards,
 Snehal Kapse| Google Workspace Support Engineer 

Snehal Kapse

unread,
Dec 22, 2024, 1:39:55 AM12/22/24
to google-ap...@googlegroups.com
Hi,

It's done. Thanks

Is their any way that I can only get below policies by defining the command in such way.

Snehal Kapse

unread,
Dec 22, 2024, 1:42:08 AM12/22/24
to google-ap...@googlegroups.com
Hi,

It's done. Thanks

Is there any way that I can only get below policies by defining the command?


Security > 2-Step Verification
User > Security
Security > Account Recovery
Security > Password management
Security > Advanced Protection Program
Users > Security
Security > Google session control
Security > Login challenges
Security > Context-Aware Access


Ross Scroggs

unread,
Dec 22, 2024, 10:51:03 AM12/22/24
to google-ap...@googlegroups.com
Try rhis: gam print  policies filter "setting.type.matches('security.*')"

Ross
----
Ross Scroggs


On Dec 21, 2024, at 10:41 PM, 'Snehal Kapse' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Hi,

It's done. Thanks

Is there any way that I can only get below policies by defining the command?

Security > 2-Step Verification
User > Security
Security > Account Recovery
Security > Password management
Security > Advanced Protection Program
Users > Security
Security > Google session control
Security > Login challenges
Security > Context-Aware Access


On Sun, Dec 22, 2024 at 12:08 PM Snehal Kapse <snehal...@shivaami.com> wrote:
Hi,

It's done. Thanks

Is their any way that I can only get below policies by defining the command in such way.


On Sun, Dec 22, 2024 at 11:48 AM Snehal Kapse <snehal...@shivaami.com> wrote:
Hi,

I have updated the GAM version & also allowed scope but still getting below error.

<image.png>

Snehal Kapse

unread,
Dec 24, 2024, 5:20:25 AM12/24/24
to google-ap...@googlegroups.com
Hi Ross,

I need some details about the output to understand it in a better way. Can we connect over meet?

Ross Scroggs

unread,
Dec 24, 2024, 10:55:42 AM12/24/24
to google-ap...@googlegroups.com
I am in California (UTC-8) and am available to Meet starting at 7:30AM

Ross
----
Ross Scroggs


Ross Scroggs

unread,
Dec 24, 2024, 11:39:21 AM12/24/24
to google-ap...@googlegroups.com
Try this, you'll get easier to read utput.

gam show policies filter "setting.type.matches('security.*')"

Ross
----
Ross Scroggs


Snehal Kapse

unread,
Dec 25, 2024, 6:03:51 AM12/25/24
to google-ap...@googlegroups.com
Hi,

Please find the report attached in this email. We have multiple entries for parent OU.

policy - Copy.csv

Ross Scroggs

unread,
Dec 25, 2024, 11:21:15 AM12/25/24
to google-ap...@googlegroups.com
See: https://cloud.google.com/identity/docs/concepts/policy-api-concepts

Try: gam redirect csv ./policies.csv sortheaders setting.type,policyQuery.orgUnitPath,policyQuery.sortOrder print policies filter "setting.type.matches('security.*')"

Ross
----
Ross Scroggs


Snehal Kapse

unread,
Dec 26, 2024, 1:38:31 AM12/26/24
to google-ap...@googlegroups.com
Hi,

Still getting multiple entries.

image.png

Ross Scroggs

unread,
Dec 26, 2024, 10:42:27 AM12/26/24
to google-ap...@googlegroups.com
GAM outputs what the API delivers, you'll have to ask Google what it means.

Ross
----
Ross Scroggs


On Dec 25, 2024, at 10:37 PM, 'Snehal Kapse' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Hi,

Still getting multiple entries.

<image.png>

Jay Lee

unread,
Dec 26, 2024, 11:09:06 AM12/26/24
to google-ap...@googlegroups.com

Snehal Kapse

unread,
Jan 3, 2025, 8:24:53 AMJan 3
to google-ap...@googlegroups.com
Hi,

In some settings I'm not getting the value that is enabled or disabled.

image.png

Ross Scroggs

unread,
Jan 3, 2025, 11:35:05 AMJan 3
to google-ap...@googlegroups.com
Look farther to the left foa a heading: setting.value.contentComplianceRules

Ross
----
Ross Scroggs


On Jan 3, 2025, at 5:23 AM, 'Snehal Kapse' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Hi,

In some settings I'm not getting the value that is enabled or disabled.

<image.png>
Reply all
Reply to author
Forward
0 new messages