These settings can be found in the Admin console at:
Apps > Google Workspace > Settings for Gmail > Spam, Phishing, and Malware > Add Another Rule
You may consider turning off these warnings when conducting anti-phishing training with your end users. These new options provide more flexibility around the visibility of these warnings across your organization however you choose to configure them.
Getting started
Admins: Warning banners can be turned on or off at the domain and OU level. Visit the Help Center to learn more about how to add custom spam filters to Gmail.
End users: No action required — your admin configuration will determine whether you see spam warning banners in Gmail.
In the Google Cloud Community, connect with Googlers and other Google Workspace admins like yourself. Participate in product discussions, check out the Community Articles, and learn tips and tricks that will make your work and life easier. Be the first to know what's happening with Google Workspace.
On the “What’s new in Google Workspace?” Help Center page, learn about new products and features launching in Google Workspace, including smaller changes that haven’t been announced on the Google Workspace Updates blog.