Export Findings to Google Security Command Center
Send Mondoo findings to Google Security Command Center using Workload Identity Federation or a service account key.
Send your Mondoo findings to Google Security Command Center (SCC) so your Google Cloud security team sees Mondoo results alongside Google's own detections. Unlike the storage and warehouse exports, this integration writes SCC findings rather than files or tables. For how exports work in general, read Continuous Data Exports.
Before you begin
-
A Google Cloud organization with Security Command Center enabled
-
An SCC source that Mondoo writes findings to. Create one with
gcloud scc sources createand note its full resource name, in the formatorganizations/ORGANIZATION_ID/sources/SOURCE_ID. -
Editor or Owner access to the Mondoo space from which you want to export findings, or another role with permission to add integrations.
-
Permission in GCP to create service accounts, Workload Identity Pools, and organization-level IAM policy bindings
Choose an authentication method
Mondoo can authenticate to GCP in two ways:
-
Workload Identity Federation (WIF) (recommended): Keyless. You create a Workload Identity Pool, an OIDC provider for Mondoo, and a service account in GCP, then paste the audience URL and service account email into Mondoo. Nothing to rotate.
-
Service account key: A static JSON key file. Simplest to set up, but you're responsible for securely storing and regularly rotating the key.
With WIF, Mondoo acts as an OIDC identity provider. When it's time to export, Mondoo issues a short-lived OIDC token and presents it to GCP. GCP validates the token against Mondoo's public signing keys (fetched from Mondoo's OIDC discovery endpoint), then issues temporary GCP credentials that Mondoo uses to write findings. No static keys are stored or transmitted.
Step 1: Create a GCP service account
Create a GCP service account that Mondoo will impersonate to write findings. Do not create a key for this service account; WIF replaces the need for static keys.
-
In the GCP Console, navigate to IAM & Admin > Service Accounts.
-
Select Create Service Account.
-
Give the service account a name (for example,
mondoo-scc-export) and select Create and Continue. -
Select Done. Note the service account email address (for example,
mondoo-scc-export@PROJECT_ID.iam.gserviceaccount.com). -
Grant the service account the Security Center Findings Editor role (
roles/securitycenter.findingsEditor) on the organization that owns the SCC source:gcloud organizations add-iam-policy-binding ORGANIZATION_ID \ --member="serviceAccount:mondoo-scc-export@PROJECT_ID.iam.gserviceaccount.com" \ --role="roles/securitycenter.findingsEditor"
Step 2: Create a Workload Identity Pool
A Workload Identity Pool is a GCP resource that manages external identities. You create one pool and add Mondoo as an OIDC provider within it.
If you already created a Workload Identity Pool and Mondoo OIDC provider for another integration, you can reuse it. Skip to Step 4.
-
In the GCP Console, navigate to IAM & Admin > Workload Identity Federation.
-
Select Create Pool.
-
Enter a name for the pool (for example,
mondoo-export-pool) and an optional description. -
Make sure the pool is Enabled and select Continue.
Step 3: Add Mondoo as an OIDC provider to the pool
Within the Workload Identity Pool, add Mondoo as a trusted OpenID Connect (OIDC) identity provider.
-
In the pool you just created, select Add Provider.
-
For Select a provider, choose OpenID Connect (OIDC).
-
Enter a provider name (for example,
mondoo-provider). -
Set the Issuer (URL) to the Mondoo STS endpoint for your environment:
Environment Issuer URL Mondoo (US) https://sts.us.mondoo.comMondoo (EU) https://sts.eu.mondoo.comMondoo Edge https://sts.edge.mondoo.comDedicated deployment https://sts.mondoo.CUSTOMER.com -
Under Audiences, select Allowed audiences and leave the default value.
-
Under Attribute Mapping, add this mapping:
Google attribute OIDC attribute google.subjectassertion.sub -
Select Save.
Step 4: Note the WIF audience URL
After creating the provider, note the full audience URL. It follows this format:
https://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/providers/PROVIDER_IDStep 5: Create the SCC export integration in Mondoo
-
In the Mondoo App, navigate to the space from which you want to export findings. In the side navigation bar, select Integrations, then select INSTALL. Under Data Exports, select Google Security Command Center.
-
In the Integration name box, enter a name for the integration.
-
In the Source Name box, enter the full SCC source resource name, for example
organizations/123456/sources/789. -
Under Configure authentication, select the Workload Identity Federation (recommended) tab.
-
In the WIF Audience URL box, enter the audience URL from Step 4.
-
In the Service Account Email (for impersonation) box, enter the email of the service account you created in Step 1.
-
Select Create Integration.
Creating the integration immediately attempts a first export, but the GCP binding that authorizes Mondoo doesn't exist yet, so that attempt fails. That's expected. Complete Step 6, then run a fresh export in Step 7.
Step 6: Authorize the WIF subject to impersonate the service account
On the integration details page, find the WifSubject field and copy its value. It has the format INTEGRATION_ID@integrations.SPACE_ID.spaces.iam.REGION.mondoo.app, where REGION is the short name of your Mondoo region (for example, us).
Back in GCP, grant that subject the Workload Identity User role on the service account:
gcloud iam service-accounts add-iam-policy-binding \
mondoo-scc-export@PROJECT_ID.iam.gserviceaccount.com \
--project=PROJECT_ID \
--role="roles/iam.workloadIdentityUser" \
--member="principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_VALUE"Step 7: Verify the integration
Select RUN on the integration details page to trigger an immediate export, then check Security Command Center > Findings in the Google Cloud console.
Verify
After it's created, find your integration under Integrations in your space's side navigation. Select it to open the detail page, then:
- Check the status. Active means the integration is healthy and exporting on schedule. Not ready means the first export hasn't finished yet. Error means the last export failed.
- Check the last export. The Export Details section shows when the last export succeeded and when Mondoo last attempted one.
- Review the activity log. Most Recent Activity lists each export run's messages, such as when a job started, finished, or failed and why. Filter it to errors, warnings, or info messages.
Manage this integration
On the integration's detail page, you can:
- Trigger a manual export. Exports run automatically about every 24 hours. To export immediately, select RUN.
- Change the settings. Select the pencil icon to edit the integration, for example to update credentials.
- Remove the integration. Select the trash can icon and confirm. Mondoo stops future exports but does not delete data that has already been exported.
Troubleshoot
If the status is Error, or Last Successful Export in Export Details is older than you expect, check Most Recent Activity for the failure message. For every status and the fixes for common errors, read Integration Status and Troubleshooting.
Next steps
Last updated on
Snowflake
Set up continuous export of assets, vulnerabilities, and scan results from Mondoo to a Snowflake database.
Splunk
Send Mondoo vulnerability findings to Splunk through the HTTP Event Collector, mapped to the Splunk CIM Vulnerabilities data model, or collect more Mondoo data with the Mondoo apps for Splunk.