Filter messages with attachments
Apps > Google Workspace > Gmail > Compliance. Requires having the Gmail Settings administrator privilege. Scroll to the Attachment compliance setting, point at the setting, and click Configure. If the setting is already configured, click Edit or Add another.
Read more