Skip to content

avanwouwe/wazuh-gworkspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wazuh-gworkspace

Wazuh wodle that integrates all Google Workspace audit events (including Drive, Groups, Calendar, SAML and Admin).

screenshot of Workspace events in Wazuh

Advantages with respect to the standard Google GCP integration provided by Wazuh:

  • does not require complex Pub / Sub configuration
  • integrates all auditable Google Workspace events / product types visible in Google Workspace Reporting (i.e. Drive, Calendar, Admin, etc)
  • integrates the alerts visible in Google Workspace Alert Center
  • includes rules with sensible levels (based on the equivalent actions in the O365 integration)

Disadvantages / limitations:

  • only covers Google Workspace audit events and Google Workspace Alert Center, not GCP
  • batch-driven instead of event-driven, resulting in a delay between the event and it's recovery
  • the @timestamp of events is the moment of injection, not the moment of the event, which is stored in data.timestamp
  • tested on an organisation with 100 users (if you have successfully deployed on a bigger organisation, please let me know)

Installation:

Frequently Asked Questions

What if I have several Google Workspace tenants?

Just follow the installation procedure several times. So:

  • create a service account in each tenant
  • create separate directories
    • /var/ossec/wodles/gworkspace-tenant-A/
    • /var/ossec/wodles/gworkspace-tenant-B/
    • etc
  • create the respective service accounts, and place them in the service_account_key.json of their directories.
  • in ossec.conf create separate <wodle>entries, where the <command>is changed:
  <wodle name="command">
    <disabled>no</disabled>
    <tag>gworkspace</tag>
    <command>/var/ossec/wodles/gworkspace-tenant-A/gworkspace -a all -o 2</command>
    <interval>10m</interval>
    <ignore_output>no</ignore_output>
    <run_on_start>yes</run_on_start>
    <timeout>0</timeout>
  </wodle>

All the events include a data.gworkspace.customerIdthat identifies the Google Workspace customer. If you want a specific label you can add a <tag>name</tag> to the ossec.conf.

About

Wazuh wodle that integrates Google Workspace admin events (just like the O365 integration)

Resources

License

Stars

Watchers

Forks

Packages

No packages published