As an administrator, you can set up rules in the Google Admin console. To configure a rule, you set up conditions for the rule, and specify what actions to perform when the conditions are met. A rule is simply a way of saying, if x happens, automatically do y.
For example:
- Set up rules to be notified of specific activity within your domain—such as a suspicious sign-in attempt, a compromised mobile device, or when another administrator changes settings.
- Set up rules using the security investigation tool to automate actions that happen in response to activity within your domain.
- Create custom alerts based on your organization’s log event data (previous called audit logs).
Multiple rule types are viewable and configurable from the Rules page, including activity rules, reporting rules, data protection rules, ChromeOS action rules, system defined rules, and trust rules. For more details and instructions, go to the sections below.
Types of rules & required admin privileges
Create rules
To access the Rules page, go to the Admin console Home page, and click Rules. From there, you'll see a list of the different rules that have been set up for your organization. You can change what's viewable on this page by clicking Add a filter, and then filtering by various criteria such as Rule type, Rule name, Rule status, and more.
For more details and step-by-step instructions, go to these articles:
- Create and manage reporting rules
- Create and manage activity rules
- Admin access to reporting rules & activity rules
- Create data protection rules
- Create and manage ChromeOS action rules
- View and edit system-defined rules
- Create and manage trust rules for Drive sharing
Note: When creating a rule, you can also use one of several rule cards at the top of the page. The cards enable you to create new rules based on common use-case examples. You can also use the cards to review existing rules. From one of the rule cards, click View list to view a list of existing rules, or click Create rule to create a new rule.
Manage rules
Start an investigation from the Rules page
If you have access to the security investigation tool, you can start an investigation to analyze the results of the rules you have created. From the Rules page, click Investigate to start an investigation based on the Rule log events data source. You can also start the same investigation from the investigation tool. For details and instructions, see Rules log events: Security investigation tool.