googleworkspace / solutions

Community contributed solutions for Google Workspace
https://developers.google.com/gsuite/solutions
Apache License 2.0
298 stars 95 forks source link

Automate process to enforce 2 steps on G Suite user accounts #94

Open St3ph-fr opened 4 years ago

St3ph-fr commented 4 years ago

Solution title: 2 Steps Authentication for all

One sentence summary : Apps script code to automate users 2 Steps enrollment with custom email notifications, manager copying or not, and enforcement with Google Groups.

Description (1 - 2 paragraphs): This script is dedicated to G Suite admins to enforce 2 steps on the domain. Admin can setup custom email message to notify users with an option to copying manager of users if it is in the directory. This script can replace the Google process, as email is sent by a known person it have more impact and users can contact back support if needed. As it run with triggers admin just have to add emails in the sheets and the script do the rest. At the end 2 steps is enforced on the account to increase security on the domain.

Design Details: There is a sheets to add emails with in columns information about the status of each email to know if 2 steps is enforced, if user receive the emails etc....

This script is already a repo : https://github.com/St3ph-fr/2-Step-for-all

Once a repo owner has approved this issue, you may use our template directory to make a pull request for you solution. You may either submit the full implementation to this repo or if you already have the implementation in another repo, simply link it in the README.

asrivas commented 4 years ago

Sounds good! My only nit is let's make the title and summary more general: something like: Title: "Enforce 2 step security for a group or company" Summary: "Give admins the power to enforce security policies to prevent phising/hijacking"

asrivas commented 4 years ago

Here is the template to get started: https://github.com/gsuitedevs/solutions/tree/master/template