Wazuh SSO with Google Workspace

Sign in to the Wazuh dashboard with Google Workspace accounts over SAML, with group-based role mapping, access limited to security staff and a tested fallback admin.

On this page

How Wazuh SSO with Google Workspace works and what the page covers

Security leads often find that analysts sign in to the Wazuh dashboard with personal Google accounts, which leaves no single access policy for who can view alerts, agent data and administrative settings. Wazuh supports SAML single sign-on alongside its internal user database, and the documented route is a custom SAML app in Google Workspace paired with the matching Wazuh dashboard configuration. This page covers that work end to end: creating the SAML app, mapping the identity attributes Google sends to Wazuh roles, limiting access to the security staff who need it, and keeping a local fallback admin account so the dashboard stays reachable if the identity provider fails.

The exact Wazuh configuration keys, the attribute names Google must send, and the steps for the Wazuh release you run must come from the Wazuh single sign-on guide, not from this page. The guide sits in the Wazuh single sign-on documentation, and its settings can change between releases. Before you start, confirm the release in use against the Wazuh release notes, because the 4.14 line receives patch releases every one to two months and a dashboard upgrade can alter how SAML settings behave.

Plan two decisions before any configuration: which Google Workspace groups or organizational units will map to Wazuh roles, and who owns the fallback admin credentials and how they are tested. Also confirm with your Google Workspace administrator which edition and admin roles are in place, since app creation and group membership changes need administrative rights. The sections that follow walk through each of these decisions in order, with checks you can run in a test tenant before you change production access.

What you need before the Google Workspace app is created

Six items need to be in place before anyone opens the Google Admin console. Together they decide whether the SAML app can be built, whether browsers can reach the dashboard securely and whether you can recover if sign-in breaks. Confirm each one against the Wazuh single sign-on documentation and your own environment before the first change.

Wazuh on a 4.14 release

Confirm the Wazuh version you run is on the 4.14 line and check it against the release notes. The SAML settings and dashboard behavior in the single sign-on guide depend on the version, so a patch that is out of date can change what you configure. Record the exact version, including the patch number, in your change ticket. If you are behind, plan the upgrade before adding SSO rather than during it.

Wazuh release notes

Workspace admin with SAML app rights

You need a Google Workspace super administrator or a delegated admin who can create custom SAML apps in the Admin console. Confirm that custom SAML app creation is available in your Workspace edition and that your admin role includes it. Someone who can build the app should also be able to change its attribute mapping later, so name a second person as backup before the work starts.

Dashboard hostname with valid TLS

Pick the hostname users will type into the browser for the Wazuh dashboard, and confirm it resolves inside your network or on the public internet as your design requires. Install a certificate from a trusted authority that matches this name. Google sends SAML responses back to this address, so an expired or self-signed certificate breaks sign-in for every user. Check the certificate chain on each browser you support.

Google group for security staff

Create a Google group that contains only the people who should reach the Wazuh dashboard. This group is what limits access, so its membership must be reviewed as carefully as the admin role itself. Decide whether analysts and administrators need separate groups so each can map to its own Wazuh role. Name the group clearly and record its owner, because the group becomes the source of truth for who can sign in.

Tested local admin account

Keep a local Wazuh administrator account that does not depend on Google, and log in with it before you change anything. This is the break-glass path if the SAML app is misconfigured, a certificate expires or Google sign-in is unavailable. Store its credentials in your approved secrets store, restrict who can read them and confirm the password is rotated under your own policy. Do not disable it until SSO has been tested end to end.

Documented rollback plan

Write down how you will restore the previous sign-in method if the SAML change fails. Record the Wazuh configuration you will modify, a backup copy of it, the steps to revert it and who approves the rollback. Also confirm which dashboard users are active today so you can check their access after the change. Test the plan on a non-production Wazuh instance where possible, and confirm the steps against the single sign-on documentation for your version.

Wazuh single sign-on docs

How a Wazuh dashboard login flows through Google Workspace

The flow starts when an analyst opens the Wazuh dashboard in a browser. The dashboard redirects the browser to Google Workspace, which authenticates the user and returns a signed SAML assertion through the browser. The dashboard reads the group attribute in that assertion and assigns the matching Wazuh role, so access follows Google group membership. The local admin account sits outside this path and signs in directly to the dashboard. Check that the assertion is validated inside the client network, and test the break-glass account separately.

Google Workspace authenticates users, while Wazuh maps the returned group attribute to roles and keeps a local admin path.

The configuration sequence for SAML with Google Workspace

This sequence takes a Wazuh dashboard from local-only sign-in to Google Workspace SAML sign-in limited to a security staff group, with a local admin kept as fallback. Each step ends with a check so the team knows it can move on.

  1. Confirm the Wazuh version and back up configuration

    The platform or security engineer records the installed Wazuh version on the server and dashboard, then checks the SAML guide for that release before changing anything. They back up the Wazuh configuration files and the security settings that hold users and roles, and store the backup where it can be restored. Done means the version is written in the change record, the backup has been restored to a test location or verified as readable, and the team knows which guide section applies to their release.

  2. Record the dashboard URL and certificate

    The engineer confirms the exact public or internal URL users will open for the Wazuh dashboard, including the hostname that matches the certificate on that endpoint. They export the certificate chain the dashboard presents and note its expiry date, since the identity provider must trust the same host name that users reach. Done means the hostname, the certificate chain and its expiry are recorded, and a browser can open the dashboard over HTTPS with no name mismatch warning.

  3. Create the custom SAML app in Google Workspace

    A Google Workspace super administrator creates a custom SAML app in the Admin console and names it so security staff can recognize it. They enter the Assertion Consumer Service (ACS) URL, the entity ID and the name ID format exactly as the Wazuh SSO guide specifies for the release in use. Done means the app saves without validation errors, and the admin can see the app listed under SAML apps with the values matching the Wazuh guide line for line.

  4. Add the group or attribute claim

    The admin adds an attribute mapping in the Google SAML app so the assertion carries the group information or attribute that Wazuh uses for role decisions. The attribute name must match the name the Wazuh guide expects, because a mismatch produces a valid login with no role. Done means a test assertion, captured with a SAML tracer or the Google test tool, shows the expected attribute name and a value for a staff account.

  5. Assign only the security staff group

    The admin turns on the SAML app for the security staff group only and leaves it off for all other organizational units and groups. The engineer then confirms that a user outside the group cannot start sign-in through the app. Done means one staff account can reach the app, one account outside the group is refused, and both results are logged in the change record.

  6. Enter Google metadata into Wazuh SAML settings

    The admin downloads the identity provider metadata from the Google app and the engineer enters it into the Wazuh SAML configuration, following the guide for the release. The engineer keeps the local admin account active and does not disable password sign-in until the final test passes. Done means the configuration file validates, the Wazuh services start cleanly, and the dashboard shows a Google sign-in option on the login page.

  7. Map groups to Wazuh roles

    The engineer maps the Google group or attribute value to a Wazuh role, starting with the least privileged role that lets analysts do their work. Administrator roles go only to a named list of people, and the mapping is written down so reviewers can trace each decision. Done means a staff account signs in and the dashboard shows only the permissions of the assigned role, confirmed by checking the security settings page as that user.

  8. Reload services and test both sign-in paths

    The engineer restarts or reloads the Wazuh services as the guide directs, then runs a fresh test login from a staff account and a separate test with the local admin account. They also confirm that a user outside the security group cannot sign in through Google. Done means the staff login works with the expected role, the local admin still signs in, and the outside user is refused, with the results recorded before the change is closed.

Which Google attributes map to which Wazuh roles

This table pairs each Google Workspace source (group membership or user attribute) with the SAML assertion field that carries it and the Wazuh role it should grant. Read each row as a chain: the Google group must produce the claim, the claim must match the Wazuh mapping, and the Wazuh role must be checked with a test login. The main takeaway is that role and claim names must match the Wazuh guide and your deployed Wazuh version, and anyone without a mapped group should get no dashboard role.

Google Workspace sourceSAML assertion fieldWazuh role or permissionCheck to confirm
Security staff group (members of the group that holds all security analysts)Group claim with the group name or ID, as configured in the Google SAML appMapped to the Wazuh role for security staff, with the access level your policy setsLog in as a member and confirm the expected dashboard modules and agent groups are visible
Read-only analyst group (members who review alerts but change nothing)Group claim with a distinct value from the security staff groupMapped to a read-only Wazuh role, with no rights to edit rules, users or agent configurationLog in as a member and attempt a configuration change, which should be denied
Administrator group (a small, named set of platform owners)Group claim with a distinct value and a narrow membership listMapped to the Wazuh administrator role, reviewed on a fixed scheduleConfirm the administrator group membership matches the approved list before enabling the mapping
User attribute such as department or job title, if used instead of groupsCustom attribute mapped in the Google SAML app attribute settingsMapped only if the Wazuh guide supports attribute-based roles for your versionConfirm in a test tenant before relying on it, since group-based mapping is usually simpler to audit
Users outside every mapped groupNo role claim, or an empty role claimNo dashboard role assigned; the login should be denied or land without accessSign in with a test account outside all groups and confirm no dashboard access is granted
Break-glass local admin accountNot sent through SAML; kept in the Wazuh internal user databaseLocal administrator, used only when the identity provider is unavailableConfirm the account works from the internal login path and that its use is logged
Claim and role names in the Wazuh configurationValues must match the attribute names in the Wazuh guide for your releaseRole names must match the roles defined in the deployed Wazuh versionCompare the mapping file against the Wazuh single sign-on guide for the version you run after each upgrade

Limiting access to security staff in Google and in Wazuh

Access should be controlled in two separate layers, and each layer must be checked on its own. In Google Workspace, the decision is who may receive a SAML assertion for the Wazuh app at all. In Wazuh, the decision is what a signed-in user may do once the assertion arrives, which is set by role mapping from the group attributes in the assertion. Assign the Wazuh SAML app only to the security staff group in Google, so that someone outside that group is refused at the identity provider and never reaches the Wazuh login. Then confirm the refusal with a test account outside the group, because a broad assignment (such as an all-users setting on the app) will otherwise let every Workspace account sign in to the dashboard.

A valid Google account should never be enough to hold a role in Wazuh. Map roles only from a specific group claim, and make sure the mapping has no default role for users who present an assertion without a matching group. Where Wazuh receives a user with no mapped role, the account should either be denied or land in a role with no security data access. Test this with an account that is authenticated by Google but belongs to no security group, and record what the dashboard shows. Confirm the exact attribute name and the default behavior in the Wazuh single sign-on documentation for your version before you rely on either.

Two common changes widen access without anyone deciding to. Google groups can contain other groups, so adding a general team to the security group may grant the whole team the app. Delegated administrators can also change app assignments or group membership if your Workspace admin roles are broad. Review group membership and nesting on a fixed schedule, restrict who can edit the security group, and log changes to app assignment. Ask whoever runs the Workspace tenant to confirm which admin roles can modify SAML apps and group membership, since those are the settings that decide who can sign in.

Security settings that protect the SAML login

Single sign-on moves the front door to Google, but the Wazuh dashboard still holds alerts, agent data and admin functions. The controls below cover who can reach the login, how the break-glass path stays available, and how the trust material and access are watched after go-live.

Strong sign-in for the security group

Apply stricter authentication to the Google group that receives Wazuh access, since anyone who passes Google sign-in will reach the dashboard. Review the 2-step verification and session length options your Workspace edition offers, and confirm which of them can be scoped to an organizational unit or group. Check that the policy applies to the security group rather than to the whole domain, and test it with an account that is not in the group to confirm the denial.

Wazuh SSO docs

Offline and tested local admin

Keep the local Wazuh admin credential outside the identity provider so an SSO outage or a misconfigured SAML app does not lock out every operator. Store the credential in a sealed, access-logged location, and record who can retrieve it. Test the local login on a schedule, because a break-glass account that has never been used is often broken when it is needed.

Restrict dashboard network access

Limit which networks can reach the Wazuh dashboard, either through firewall rules on the dashboard host or through the reverse proxy your organization already runs. Confirm that the proxy passes the SAML response and callback paths correctly, and that direct access to the dashboard port is closed. Review this with your network team, since SAML login failures often come from proxy header or URL handling rather than from the identity provider.

Track SAML certificate expiry

The SAML signing certificate from Google and the certificate and key your dashboard uses for SAML have separate expiry dates. Record both in your certificate inventory, assign an owner, and set alerts well before expiry. When Google rotates or renews its signing certificate, the metadata in Wazuh must be updated, or sign-in will fail for every security user at once.

Review access logs after go-live

Review Wazuh audit and access logs during the first weeks after go-live to confirm that only the intended group signed in, that the expected roles were assigned, and that local admin logins were rare and deliberate. Compare the sign-in records with the security group membership on the Google side. Set a recurring review, and decide who receives the output and how exceptions are escalated.

Remove leavers from the group

Access to Wazuh should end the same day a person leaves the security team, which means the Google group membership must be removed as part of the offboarding checklist. Confirm whether existing dashboard sessions stay active after the group change and how long they last. Also check whether Wazuh keeps a local user record for each person who signed in, and remove or disable it if so.

How to test the login before security staff depend on it

Test the sign-in path before any security analyst relies on it. Start with a pilot using named accounts in each role: one Google Workspace user mapped to the administrator role, one mapped to an analyst role, and one mapped to a read-only or reporting role if your role model includes it. For each account, confirm that the dashboard loads, that the Wazuh role shown in the user settings matches the group the user holds in Google Workspace, and that the permitted actions match that role. Check the attribute or group values that arrive in the SAML response, since a mismatch there is the most common reason a role is wrong. Confirm the exact attribute names and the mapping steps with the Wazuh single sign-on guide, because they depend on the version you run.

Run a negative test with a user outside the security group. Sign in with a Google Workspace account that belongs to the organization but is not in the security group, and confirm that Wazuh refuses access or grants no role. Also test an account from a different organizational unit or a suspended account, if your Google Workspace setup uses them. Negative tests catch the errors that matter most here: a default role that is too broad, or a SAML application that was assigned to the whole domain. Then test the fallback administrator login with SAML disabled, confirming that the local account works, that its password is stored where only the break-glass holders can reach it, and that its use generates an alert or log entry you can review.

Finally, check that session end and logout behave as expected. Sign out from Wazuh and confirm that the session is closed, then sign in again and check that the Google Workspace session prompt appears as your policy requires. Remove a user from the security group and confirm that the next sign-in is refused. Record each test with the date, tester, account used, expected result, actual result and any change made. Keep these records as evidence of access control for later review by your compliance or audit team, and store them where they can be retrieved. Treat the record as part of the configuration, and repeat the tests after any change to the SAML application, the role mapping or the Wazuh version.

Common Google Workspace SAML failures in Wazuh and their fixes

This table pairs the symptoms security teams usually see when Google Workspace SAML sign-in to the Wazuh dashboard fails with the likely cause and a fix for each. Compare the values in Google and in Wazuh against the Wazuh single sign-on guide and the logs before changing anything, because a single mismatched URL or attribute can produce several symptoms at once.

SymptomLikely causeFix
Google reports an error after sign-in and the browser never returns to the dashboardAssertion Consumer Service (ACS) URL in the Google SAML app does not match the dashboard hostname after a hostname or DNS changeConfirm the ACS URL in the Google app matches the dashboard address exactly, including scheme and path, then update the Wazuh configuration and retest
SAML response is rejected with an audience or issuer errorEntity ID in the Google app differs from the entity ID value configured in WazuhCopy the entity ID from the Wazuh SSO guide into the Google app, check for trailing slashes or case differences, and save both sides
User signs in successfully but lands with no access or a default read-only viewAttribute mapping is missing or the attribute name does not match the role mapping in WazuhCheck which attributes Google sends in the SAML response, align the attribute name with the Wazuh role mapping and test with a known analyst account
User is refused by Google before reaching WazuhUser is not in a group or organizational unit assigned to the SAML app in GoogleAdd the user or group to the app in the Google admin console, wait for changes to propagate, and retest with the same account
Sign-in fails for all users after a period that worked beforeGoogle re-issued or rotated the signing certificate, so the certificate in Wazuh no longer validates responsesDownload the current certificate from the Google app, replace the value in the Wazuh configuration and confirm the certificate expiry date in the app settings
Assertions are rejected as not yet valid or expiredClock skew between the Wazuh host, the browser and GoogleConfirm the Wazuh server and the dashboard host sync to a reliable time source, then retry; compare timestamps in the SAML logs
Browser shows a certificate warning or cannot load the dashboardDashboard hostname does not resolve, or the certificate chain is incomplete or issued for a different nameVerify DNS for the dashboard hostname, install the full certificate chain and confirm the certificate covers the exact hostname users type
Administrators are locked out of the dashboard after SAML changesSAML settings were changed without a tested local fallback admin accountKeep a documented local admin account, test it before changing SAML settings, and restore SAML settings from a saved copy if sign-in breaks

Questions buyers ask before setting up Google Workspace SSO for Wazuh

What drives the cost of Google Workspace SSO for Wazuh?

The cost follows the amount of configuration and proof the work needs, not the Google license. The main drivers are the number of Wazuh roles you map, how many Google groups exist and who owns them, whether the Wazuh server runs as a cluster, and how much testing and documentation your security and compliance teams expect. Each of these adds configuration, test cases and review. Your own staff are paid for their time whether or not you hire a partner. A quote should itemize the Google admin work, the Wazuh configuration, the test cycles and the handover documents, and should state which items are one-time and which recur, such as periodic review of group membership. Ask the provider to show how each driver changes the scope.

How long does Wazuh SSO with Google Workspace take to set up?

The duration depends mainly on approvals and test cycles rather than on a fixed figure. The configuration itself is short, but the work waits on the Google Workspace admin who creates the custom SAML app, on the security group owner who confirms which groups get access, and on the DNS and certificate owner who prepares the Wazuh dashboard URL. Testing then runs in cycles: sign in as an administrator, an analyst and a user with no role, fix mappings, and repeat. Your change process may add a window for production changes. Plan the timeline around those dependencies, and ask any provider to list each approval and test window it expects.

What does the client need to supply for this work?

You need four named people or teams before work starts. A Google Workspace super administrator or delegated admin must create and manage the custom SAML app and the group settings. A security group owner must decide which Google groups map to which Wazuh roles and approve the list of people with access. A DNS and certificate owner must control the hostname for the Wazuh dashboard and the TLS certificate it presents. Finally, you need a test window in which the Wazuh administrators can sign in, check roles and confirm the fallback admin account still works. Name these owners in the written scope so that no step waits on an unclear decision.

Can a small team set up Google Workspace SSO for Wazuh alone?

A team with Wazuh and Google Workspace administration experience can usually do it alone, using the Wazuh single sign-on documentation as the reference. The work requires access to the Wazuh server configuration, a Workspace super administrator, and careful testing of role mapping before you limit access. The risks are locking out administrators, mapping too many users to a privileged role and leaving the local fallback account unprotected. A small team should document the steps, test with non-production users first and keep a tested break-glass path. If nobody on the team has done SAML before, a partner can plan the build and review the configuration with you.

Do Google Workspace edition limits affect custom SAML apps for Wazuh?

Confirm this with the Google Workspace admin documentation for your edition before you commit to a design, because edition limits change over time. Google's pricing page lists user limits, storage and data region options by edition, but it does not settle whether every edition supports the custom SAML app setup that Wazuh needs. Check the admin help for SAML app configuration, group attribute support and the number of groups you plan to send in assertions. Also confirm whether your organization is allowed to create custom SAML apps under its current admin policies. Record the answers in the design document so the decision is traceable.

What happens to Wazuh access if a Google account is suspended?

A suspended Google account cannot complete SAML sign-in, so the user loses dashboard access at the identity provider step. Sessions that were already open may last until they expire, so check the Wazuh session settings and your Google session policies. The fallback local admin account is the control for keeping administrators able to sign in during an identity outage, and it must be stored securely, tested and reviewed. Remove the user from the mapped Google groups as part of offboarding, and confirm that the Wazuh user role no longer applies. Test a suspension in the test window so you know the actual behavior before an incident.

How DeployOpen scopes and delivers Wazuh SSO with Google Workspace

DeployOpen is a Chainscore Labs company that plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For Wazuh SSO with Google Workspace, we fix the scope in writing first, then build the SAML connection, role mapping and fallback admin path inside your environment and hand over the evidence your security team needs to review it.

How we scope

  • Confirm which Wazuh dashboard instance, hostnames and certificates the SAML connection will use.
  • Agree which Google Workspace groups map to which Wazuh roles, and who approves each group.
  • Document the break-glass local admin procedure and who holds its credentials before any build starts.

How we build

  • Create the custom SAML app in your Google Workspace admin console and configure attribute mapping for roles.
  • Restrict the app to the security staff group so only approved users can reach the Wazuh dashboard.
  • Test sign-in for administrator, analyst and denied-user accounts, then confirm the fallback admin still works.

How we hand over

  • Deliver written configuration records for the Google app, Wazuh SAML settings and role mapping.
  • Provide test results with each scenario, including denied access and fallback login, for your security review.
  • Walk your administrators through onboarding and offboarding steps for Google groups and Wazuh roles.

How we support

  • Offer ongoing support, Wazuh upgrade checks and continuous testing as retainers after handover.
  • Re-verify SAML settings after Wazuh patch releases and Google Workspace admin changes.
  • Ask any support provider to confirm response scope and coverage in the written agreement before you sign.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.